:root {
  color-scheme: light;
  --paper: #f6f5ed;
  --white: #fff;
  --ink: #22291e;
  --muted: #57604f;
  --accent: #38632c;
  --soft: #e9ede0;
  --line: #c8cbbb;
  --dark: #151b15;
  --bright: #f2c84b;
  --amber: #b18919;
  --focus: #286b27;
  --max: 1280px;
  --gutter: clamp(20px, 5vw, 76px);
  --space: clamp(60px, 8vw, 112px);
  --h1: clamp(3.1rem, 6.4vw, 6.35rem);
  --h2: clamp(2.2rem, 4.3vw, 4.25rem);
  --h3: clamp(1.3rem, 2.15vw, 1.85rem);
  font-family: "Sora", "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ol, ul, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .24em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.site-header :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--bright); }
main:focus { outline: none; }
::selection { background: var(--bright); color: var(--dark); }
.wrap { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 16px; background: var(--white); color: var(--ink); }

h1, h2, h3 { font-weight: 500; line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.12; letter-spacing: -.032em; }
h1 em, h2 em { font-family: "Newsreader", Georgia, serif; font-weight: 300; font-style: italic; letter-spacing: -.035em; color: var(--accent); }
.lead { color: var(--muted); font-size: clamp(1.08rem, 1.55vw, 1.3rem); line-height: 1.55; max-width: 48ch; }
.kicker { display: flex; align-items: center; gap: .75rem; font-size: .75rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; line-height: 1.35; }
.kicker-dot { width: .52rem; height: .52rem; flex: none; background: var(--accent); }
.kicker-index { color: var(--accent); min-width: 2.15em; font-variant-numeric: tabular-nums; }
.arrow { flex: none; }

.site-header { background: var(--dark); color: var(--white); position: relative; z-index: 2; }
.site-header::before { content: ''; display: block; height: 1px; background: #85869b33; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 77px; }
.brand { display: inline-flex; align-items: center; min-height: 48px; min-width: 110px; text-decoration: none; }
.brand .logo { width: 155px; height: auto; }
.logo-text { color: inherit; font-weight: 750; font-size: .95rem; line-height: 1.1; }
.main-nav { display: flex; gap: clamp(22px, 3.3vw, 50px); align-items: center; }
.main-nav a { display: inline-flex; align-items: center; gap: .65em; min-height: 44px; font-size: .94rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current] { text-decoration: underline; }
.main-nav a:last-child { padding: 0 15px; border: 1px solid #75877e; }
.main-nav a:last-child .arrow { width: 16px; }
.menu-toggle { display: none; }
.menu-icon { width: 20px; height: 14px; position: relative; flex: none; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; right: 0; border-top: 1.5px solid currentColor; }
.menu-icon::before { top: 3px; }
.menu-icon::after { bottom: 3px; }
.menu-toggle[aria-expanded='true'] .menu-icon::before { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-icon::after { bottom: 6px; transform: rotate(-45deg); }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: .85rem; padding: .72em 1.05em .72em 1.15em; background: var(--ink); color: var(--white); border: 1px solid transparent; font-weight: 650; text-decoration: none; font-size: .93rem; line-height: 1.3; }
.button:hover { background: var(--accent); }
.button--outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.button--outline:hover { color: var(--white); background: var(--ink); }
.button--bright { color: var(--dark); background: var(--bright); }
.button--bright:hover { color: var(--dark); background: var(--amber); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }

.home-hero { background: var(--paper); padding: clamp(42px, 6vw, 86px) 0 clamp(45px, 6vw, 85px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(26px, 4.7vw, 66px); }
.hero-grid > * { min-width: 0; }
.home-intro h1 { font-size: clamp(3.15rem, 6.6vw, 6.45rem); line-height: .98; text-wrap: initial; margin: .21em 0 .28em; }
.home-intro h1 em { white-space: nowrap; }
.hero-actions, .hero-grid .button { margin-top: clamp(22px, 3vw, 35px); }
.hero-actions .button { margin-top: 0; }
.home-intro .lead { max-width: 37ch; }
.hero-image { position: relative; }
.hero-image::before { content: ''; position: absolute; z-index: 0; inset: -10px -10px 26px 15%; background: linear-gradient(145deg, var(--bright), #f2e1b9); }
.photo { position: relative; }
.photo img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; background: var(--soft); }
.photo figcaption { display: flex; align-items: center; gap: 8px; min-height: 36px; padding-top: .55em; color: var(--muted); font-size: .74rem; }
.photo figcaption::before { content: ''; width: 15px; border-top: 1px solid var(--accent); flex: none; }
.home-photo img { aspect-ratio: 1.25; }
.group-photo img { aspect-ratio: 1.32; }
.desktop-break { display: none; }

.section { padding: var(--space) 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr); align-items: end; gap: 24px clamp(22px, 5vw, 80px); margin-bottom: clamp(26px, 4.8vw, 60px); }
.section-heading h2, .detail-grid h2 { margin-top: .25em; }
.section-heading > p { color: var(--muted); max-width: 42ch; }
.roster { background: var(--white); }
.company-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.company-row { display: grid; grid-template-columns: 42px clamp(112px, 15vw, 190px) minmax(0, 1fr) 45px; align-items: center; gap: clamp(12px, 3vw, 42px); position: relative; min-height: 125px; padding: 20px 8px 20px 2px; border-bottom: 1px solid var(--line); }
.company-row:hover, .company-row:focus-within { background: var(--paper); }
.row-index { color: var(--accent); font-variant-numeric: tabular-nums; font-size: .85rem; font-weight: 650; }
.row-logo { display: grid; place-items: center; min-height: 58px; padding: 0; }
.row-logo .logo { width: auto; max-height: 50px; max-width: 150px; object-fit: contain; }
.company-row.cucina-by-nova { color: var(--ink); }
.company-row.cucina-by-nova .logo-text { color: white; }
.row-copy a { text-decoration: none; }
.row-copy a::after { content: ''; position: absolute; inset: 0; }
.row-copy a:hover, .row-copy a:focus-visible { text-decoration: underline; }
.row-copy p { font-size: .97rem; color: var(--muted); margin-top: .28em; }
.row-switch { display: grid; place-items: center; width: 42px; height: 48px; }
.after-list { margin-top: 24px; }

.complements { background: var(--soft); }
.complement-grid, .related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 3vw, 36px); }
.complement-grid article, .related-grid article { padding: clamp(20px, 3vw, 38px); border: 1px solid var(--line); background: var(--paper); }
.case-number { color: var(--accent); display: flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 19px; }
.case-number span { width: 25px; border-top: 1px solid currentColor; }
.complement-grid article p, .related-grid article p { color: var(--muted); margin-top: 12px; }
.text-links { list-style: none; padding: 0; margin-top: 19px; }
.text-links li + li { border-top: 1px solid var(--line); }
.text-links a { font-weight: 650; display: inline-flex; gap: 10px; align-items: center; min-height: 44px; padding: 8px 0; }
.text-links a:hover { color: var(--accent); }
.text-links .arrow { width: 17px; }

.cta-band { background: var(--dark); color: var(--white); padding: clamp(43px, 7vw, 83px) 0; border-bottom: 1px solid #41594c; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 36px; }
.band-inner > div { max-width: 720px; }
.band-inner .button { flex: none; }
.cta-band .kicker { color: var(--bright); }
.cta-band .kicker-dot { background: var(--bright); }
.cta-band h2 { margin: .23em 0 .19em; font-size: clamp(2.2rem, 4vw, 3.9rem); }
.cta-band p:not(.kicker) { color: #dae4db; }

.site-footer { background: var(--dark); color: #e1ebe3; padding: 45px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.8fr .7fr; gap: 30px 48px; padding-bottom: 44px; }
.footer-brand .logo { width: 148px; }
.footer-brand p { margin-top: 9px; font-size: .94rem; }
.site-footer h2 { font-size: .83rem; letter-spacing: .09em; text-transform: uppercase; color: var(--bright); margin-bottom: 11px; }
.site-footer ul { list-style: none; padding: 0; }
.footer-companies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.site-footer a { text-decoration: none; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 36px; font-size: .92rem; }
.site-footer a:hover { text-decoration: underline; }
.footer-base { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; border-top: 1px solid #4e6659; padding: 16px 0; font-size: .81rem; }
.footer-base > div { display: flex; flex-wrap: wrap; gap: 6px 21px; }
.footer-base a { display: inline-flex; align-items: center; min-height: 36px; }

.page-intro, .group-hero { padding: clamp(48px, 7vw, 98px) 0 clamp(46px, 6vw, 85px); }
.page-intro h1, .group-hero h1 { margin: .2em 0 .24em; }
.page-intro h1 { text-wrap: initial; }
.group-hero h1 { font-size: clamp(2.85rem, 5.5vw, 5.9rem); text-wrap: initial; }
.group-story { background: var(--white); }
.domains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 42px); }
.domains article { border-top: 1px solid var(--line); padding-top: 20px; }
.domains h3 { margin: .55em 0 .35em; }
.domains article > p:last-child { color: var(--muted); }
.territory { border-bottom: 1px solid var(--line); }
.territory .section-heading { margin: 0; }

.directory { background: var(--white); padding-top: clamp(23px, 4.7vw, 62px); }
.directory-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; margin-bottom: 20px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { min-height: 44px; padding: 7px 15px; background: var(--white); border: 1px solid #87978c; color: var(--ink); font-weight: 650; font-size: .9rem; }
.filters button:hover { background: var(--soft); }
.filters button[aria-pressed='true'] { background: var(--ink); color: var(--white); border-color: var(--ink); }
#filter-count { color: var(--muted); font-size: .9rem; }

.company-page { color: var(--ink); }
.company-hero { background: var(--soft); padding: 16px 0 clamp(38px, 6vw, 76px); }
.breadcrumb { margin-bottom: clamp(20px, 3.8vw, 42px); font-size: .81rem; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; }
.breadcrumb li + li::before { content: '/'; padding-right: 10px; color: var(--muted); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; }
.company-brand { display: inline-flex; align-items: center; justify-content: center; padding: 0; min-height: 62px; margin-bottom: 21px; }
.company-brand .logo { max-height: 44px; max-width: 168px; width: auto; object-fit: contain; }
.cucina-by-nova .company-brand { color: white; }
.company-intro h1 { font-size: clamp(2.65rem, 5.3vw, 5.25rem); margin: .18em 0 .26em; text-wrap: initial; }
.company-intro .lead { color: var(--ink); }
.company-photo img { aspect-ratio: 1.25; }
.hero-reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.hero-reverse .company-photo { grid-row: 1; grid-column: 1; }
.hero-reverse .company-intro { grid-row: 1; grid-column: 2; }
.iona .company-photo img { aspect-ratio: 1.36; }
.cucina-by-nova .company-photo img { aspect-ratio: 1.18; }
.audience { padding: 23px 0; background: var(--ink); color: white; }
.audience-inner { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 28px; }
.audience h2 { font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.audience ul { list-style: none; display: flex; flex-wrap: wrap; gap: 7px 20px; padding: 0; }
.audience li { display: flex; align-items: center; gap: 9px; font-size: .94rem; }
.audience li::before { content: ''; display: inline-block; width: 4px; height: 4px; background: var(--bright); }
.detail-section { background: var(--white); }
.detail-tint { background: var(--soft); }
.detail-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px clamp(24px, 6vw, 96px); }
.detail-grid h2 { font-size: clamp(2.1rem, 3.8vw, 3.7rem); }
.detail-items { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.detail-items > * { border-bottom: 1px solid var(--line); padding: 20px 0; }
.detail-items li { display: grid; grid-template-columns: 27px minmax(0, 1fr); gap: 12px; }
.detail-items h3 { margin-bottom: .36em; }
.detail-items p { max-width: 68ch; }
.detail-related { background: var(--paper); }
.related-grid article { background: var(--white); }
.official { padding-bottom: 27px; }
.official .text-links { margin: 0; }

.contact-section { background: var(--white); padding-top: clamp(25px, 5vw, 68px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 32px clamp(28px, 6vw, 90px); align-items: start; }
.contact-guide h2 { font-size: clamp(1.55rem, 2.6vw, 2.3rem); margin-bottom: 12px; }
.contact-guide .button { margin: 17px 0 30px; }
.contact-links { list-style: none; padding: 0; }
.contact-links li { padding: 12px 0; border-top: 1px solid var(--line); }
.contact-links span { display: block; color: var(--muted); font-size: .85rem; }
.contact-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 35px; font-weight: 650; overflow-wrap: anywhere; }
.demo-panel { padding: clamp(20px, 4vw, 47px); border: 1px solid var(--line); background: var(--paper); }
.demo-panel h2 { margin: .2em 0 .3em; font-size: clamp(2.05rem, 3.8vw, 3.6rem); }
.demo-panel label { display: block; font-weight: 650; margin: 20px 0 6px; }
.demo-panel label span { font-size: .9rem; font-weight: 400; }
.demo-panel select, .demo-panel textarea { width: 100%; min-height: 48px; border: 1px solid #7a8b80; background: var(--white); color: var(--ink); padding: 10px 12px; border-radius: 0; }
.demo-panel textarea { display: block; resize: vertical; }
.demo-panel button { margin-top: 17px; }
.demo-result:not(:empty) { padding: 12px; margin-top: 12px; border-inline-start: 3px solid var(--accent); background: var(--soft); font-weight: 650; }
#contact-context { font-size: .9rem; color: var(--muted); }
#contact-context:not(:empty) { margin-top: 7px; }
.legal-content { padding-bottom: var(--space); }
.legal-content section { max-width: 67ch; padding: 24px 0; border-top: 1px solid var(--line); }
.legal-content h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .35em; }
.error-page { min-height: 54vh; }

@media (min-width: 1280px) { .desktop-break { display: initial; } }
@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: .9fr 1.45fr .7fr; column-gap: 24px; }
  .company-intro h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); }
}
@media (max-width: 767px) {
  .header-inner { min-height: 65px; flex-wrap: wrap; }
  .brand .logo { width: 118px; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; background: transparent; border: 0; color: white; }
  .main-nav { display: flex; align-items: stretch; gap: 0 13px; flex-wrap: wrap; }
  .main-nav a { font-size: .88rem; }
  .main-nav a:last-child { border: 0; padding: 0; }
  .menu-toggle:not([hidden]) + .main-nav { position: absolute; inset: 100% 0 auto; display: grid; padding: 8px var(--gutter) 16px; background: var(--dark); border-top: 1px solid #4e6659; }
  .menu-toggle:not([hidden]) + .main-nav a { border-bottom: 1px solid #4e6659; min-height: 51px; }
  .hero-grid, .hero-reverse, .section-heading, .detail-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-reverse .company-photo, .hero-reverse .company-intro { grid-column: auto; grid-row: auto; }
  .home-hero { padding-top: 33px; }
  .home-intro h1 { font-size: clamp(3rem, 9.3vw, 4.75rem); }
  .hero-image::before { inset: -6px -6px 23px 13%; }
  .hero-actions { gap: 8px; }
  .home-photo img { aspect-ratio: 1.42; }
  .company-photo img { aspect-ratio: 1.45; }
  .section-heading { gap: 14px; }
  .domains { grid-template-columns: minmax(0, 1fr); }
  .band-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-companies { grid-template-columns: minmax(0, 1fr); }
  .site-footer nav a { min-height: 44px; }
}
@media (max-width: 530px) {
  .header-inner { column-gap: 12px; }
  .company-row { grid-template-columns: 23px minmax(0, 1fr) 34px; gap: 4px 10px; padding-block: 13px; }
  .row-index { grid-row: 1; align-self: center; }
  .row-logo { grid-column: 2; justify-self: start; min-height: 32px; max-width: 126px; padding: 4px 8px; }
  .row-logo .logo { max-height: 25px; }
  .row-copy { grid-column: 2; }
  .row-copy p { font-size: .88rem; }
  .row-switch { grid-row: 1 / 3; grid-column: 3; width: 34px; height: 44px; }
  .complement-grid, .related-grid { grid-template-columns: minmax(0, 1fr); }
  .section-heading h2 br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.company-page.nova-energie { --ink: #142B24; --accent: #22791D; --soft: #F5F7F1; --bright: #C8F074; }
.company-page.bati-fm { --ink: #30271F; --accent: #855712; --soft: #F9F3E7; }
.company-page.inovat { --ink: #152332; --accent: #466B2A; --soft: #EFF4EB; }
.company-page.jnt-plomberie-climatisation { --ink: #103052; --accent: #155CA3; --soft: #EBF4F8; }
.company-page.kryos { --ink: #06294F; --accent: #28628C; --soft: #EDF5FB; }
.company-page.iona { --ink: #0D2939; --accent: #446479; --soft: #EFF3F5; }
.company-page.cucina-by-nova { --ink: #24201A; --accent: #77561C; --soft: #F7F0E3; }
.company-page.novaly-group .photo img, .photo.novaly-group img { object-position: 50% 52%; }
.company-page.nova-energie .photo img, .photo.nova-energie img { object-position: 50% 52%; }
.company-page.bati-fm .photo img, .photo.bati-fm img { object-position: 48% 45%; }
.company-page.inovat .photo img, .photo.inovat img { object-position: 56% 55%; }
.company-page.jnt-plomberie-climatisation .photo img, .photo.jnt-plomberie-climatisation img { object-position: 43% 50%; }
.company-page.kryos .photo img, .photo.kryos img { object-position: 46% 47%; }
.company-page.iona .photo img, .photo.iona img { object-position: 50% 44%; }
.company-page.cucina-by-nova .photo img, .photo.cucina-by-nova img { object-position: 54% 53%; }
.company-page.hero-novaly .photo img, .photo.hero-novaly img { object-position: 43% 53%; }
.field-image[data-field-open="0"] > img { object-position: 50% 52%; }
.field-image[data-field-open="1"] > img { object-position: 50% 50%; }
.field-image[data-field-open="2"] > img { object-position: 50% 50%; }
.field-image[data-field-open="3"] > img { object-position: 50% 50%; }
.field-image[data-field-open="4"] > img { object-position: 50% 45%; }
.field-image[data-field-open="5"] > img { object-position: 50% 50%; }
.field-image[data-field-open="6"] > img { object-position: 54% 50%; }
.field-image[data-field-open="7"] > img { object-position: 50% 56%; }
.field-image[data-field-open="8"] > img { object-position: 50% 50%; }
.field-image[data-field-open="9"] > img { object-position: 50% 50%; }