/* Shared header contract across all languages and routes. */
.brand-header { position:fixed; z-index:100; inset:0 0 auto; min-height:82px; display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:24px; padding:0 max(20px,calc((100vw - 1440px)/2)); color:var(--white); border-bottom:1px solid #ffffff48; transition:background .3s,color .3s; }
.brand-header.is-scrolled,.brand-header.menu-visible { color:var(--basalt); background:rgba(232,226,215,.97); backdrop-filter:blur(18px); border-color:var(--line); }
.brand-header .wordmark { font-size:1.65rem; line-height:1; }
.brand-nav { display:flex; align-items:center; gap:clamp(14px,1.6vw,28px); }
.brand-nav a { display:flex; align-items:center; min-height:44px; font-size:.875rem; font-weight:500; white-space:nowrap; text-decoration:none; }
.brand-nav a:hover,.brand-nav a[aria-current] { text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1px; }
.brand-languages { display:flex; align-items:center; gap:4px; padding-left:16px; border-left:1px solid currentColor; }
.brand-languages a { display:grid; place-items:center; min-width:32px; min-height:44px; font-size:.875rem; opacity:.65; }
.brand-languages a[aria-current] { opacity:1; text-decoration:underline; text-underline-offset:5px; }
.brand-menu { display:none; }
.brand-header :focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.hero-content { width:min(950px,calc(100vw - 40px)); bottom:clamp(120px,14vh,160px); }
.hero h1 { font-size:clamp(3.6rem,6.4vw,6.9rem); line-height:1; max-width:950px; }
.hero-intro { max-width:650px; }
.footer-slogan { font-family:var(--serif); font-size:1.25rem; margin-top:20px; }
@media(max-width:1199px) {
 .brand-header { grid-template-columns:1fr auto auto; gap:20px; }
 .brand-menu { display:flex; align-items:center; gap:10px; padding:0; min-height:44px; background:none; color:inherit; border:0; font-size:.875rem; cursor:pointer; }
 .brand-menu-icon { display:grid; gap:5px; width:20px; }
 .brand-menu-icon i { height:1px; background:currentColor; }
 .brand-nav { display:none; position:absolute; top:100%; left:0; right:0; padding:20px; max-height:calc(100dvh - 82px); overflow:auto; background:var(--limestone); color:var(--basalt); border-bottom:1px solid var(--line); }
 .brand-nav.is-open { display:flex; flex-direction:column; align-items:stretch; gap:0; }
 .brand-nav a { min-height:56px; font-size:1.125rem; }
}
@media(max-width:720px) {
 .brand-header { padding-inline:16px; gap:12px; min-height:74px; }
 .brand-header .wordmark { font-size:1.3rem; }
 .brand-languages { padding-left:8px; gap:0; }
 .brand-languages a { min-width:28px; font-size:.8125rem; }
 .brand-menu { font-size:.8125rem; }
 .brand-menu-icon { display:none; }
 .brand-nav { max-height:calc(100dvh - 74px); }
 .hero-content { width:100%; bottom:auto; }
 .hero h1 { font-size:clamp(2.75rem,10.5vw,4rem); line-height:1.04; overflow-wrap:normal; }
 .hero-intro { font-size:1rem; }
}
@media(prefers-reduced-motion:reduce) { .brand-header { transition:none; } }

.possibility-card::after, .possibility-card figcaption { pointer-events:none; }

/* Direct contact remains available on every route. */
.direct-whatsapp { position:fixed; z-index:90; right:24px; bottom:max(20px,env(safe-area-inset-bottom)); display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 20px; background:var(--rosso); color:var(--white); border:1px solid var(--white); font-size:.875rem; font-weight:600; text-decoration:none; }
.direct-whatsapp:hover { background:var(--basalt); }
.direct-whatsapp:focus-visible { outline:2px solid var(--rosso); outline-offset:4px; }
body.menu-open .direct-whatsapp { visibility:hidden; }
.possibility-grid > .possibility-card:last-child {
 grid-column:1 / -1;
 position:relative;
 justify-self:center;
 width:100%;
 min-height:clamp(560px,78svh,920px);
 margin-top:clamp(32px,5vw,72px);
 overflow:hidden;
 background:var(--basalt);
 color:var(--white);
}
.possibility-grid > .possibility-card:last-child > img {
 position:absolute;
 inset:0;
 width:100%;
 height:100%;
 aspect-ratio:auto;
 object-fit:cover;
}
.possibility-grid > .possibility-card:last-child::after {
 display:block;
 background:linear-gradient(0deg,rgba(12,12,11,.82),rgba(12,12,11,.04) 62%);
}
.possibility-grid > .possibility-card:last-child figcaption {
 position:absolute;
 z-index:2;
 left:max(20px,calc((100vw - 1440px) / 2));
 right:max(20px,calc((100vw - 1440px) / 2));
 bottom:clamp(38px,6vw,82px);
 padding:0;
 color:var(--white);
}
.possibility-grid > .possibility-card:last-child h3 { max-width:980px; color:inherit; }
.possibility-grid > .possibility-card:last-child p { max-width:620px; color:rgba(255,255,255,.82); }
.possibility-grid > .possibility-card:last-child .hotspot-layer { inset:0; aspect-ratio:auto; }
@media(min-width:721px) {
 body .possibilities .possibility-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .possibility-grid > .possibility-card:not(:last-child) h3 { font-size:clamp(2rem,3vw,3.2rem); }
}
.material-popover { pointer-events:auto; max-height:calc(100% - 24px); overflow:auto; overscroll-behavior:contain; }
.possibility-grid > .possibility-card .material-popover p { color:var(--basalt); opacity:1; }
.has-open-hotspot .material-hotspot { visibility:hidden; }
.possibility-grid > .possibility-card:last-child.has-open-hotspot figcaption { visibility:hidden; }
.material-popover-close { min-height:44px; min-width:44px; }
body:has(.material-popover) .direct-whatsapp { visibility:hidden; }
.site-footer {
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 grid-template-areas:
  "wordmark wordmark"
  "description description"
  "links links"
  "slogan copyright";
 align-items:end;
 gap:0 40px;
 min-height:0;
 padding-top:clamp(64px,8vw,104px);
 padding-bottom:100px;
}
.site-footer .footer-wordmark { grid-area:wordmark; margin:0 0 20px; line-height:.9; }
.site-footer > p[data-copy="footerLine"] { grid-area:description; margin:0; max-width:620px; line-height:1.65; }
.site-footer .footer-links {
 grid-area:links;
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:24px;
 margin:clamp(44px,6vw,76px) 0 28px;
 padding-top:20px;
 border-top:1px solid var(--line);
 line-height:1.5;
}
.site-footer .footer-slogan { grid-area:slogan; margin:0; color:var(--basalt); line-height:1.25; }
.site-footer .copyright {
 position:static;
 grid-area:copyright;
 align-self:end;
 margin:0;
 white-space:nowrap;
 line-height:1.5;
}
.detail-footer {
 display:grid;
 grid-template-columns:minmax(0,1fr) auto auto;
 align-items:center;
 gap:20px clamp(24px,4vw,64px);
 min-height:112px;
 padding-top:30px;
 padding-bottom:100px;
 line-height:1.55;
}
.detail-footer > :first-child { max-width:680px; }
.detail-footer a { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:5px; }
.detail-footer .audience-footer-links { gap:12px 28px; }
.detail-footer .audience-footer-links a { padding-block:8px; }
@media(max-width:820px) {
 .detail-footer { grid-template-columns:minmax(0,1fr) auto; }
 .detail-footer > :first-child { grid-column:1 / -1; }
}
@media(max-width:720px) {
 .material-hotspot { width:44px; height:44px; }
 .material-popover {
  position:absolute; top:12px; right:12px; width:calc(100% - 24px);
  margin:0; padding:12px 16px 16px; border:1px solid var(--line);
  background:var(--white); box-shadow:0 8px 28px #0003;
 }
 .material-popover h4 { margin:8px 0 12px; font-size:1.5rem; line-height:1.1; }
 .material-popover p { font-size:.875rem; line-height:1.5; margin:0; }
 .material-popover-close { display:block; margin-left:auto; }
 .direct-whatsapp { right:16px; min-height:44px; padding:10px 16px; }
 .possibility-grid > .possibility-card:last-child {
  min-height:78svh;
  margin-top:24px;
  margin-bottom:0;
 }
 .possibility-grid > .possibility-card:last-child figcaption { left:20px; right:20px; bottom:34px; }
 .possibility-grid > .possibility-card:last-child h3 { font-size:clamp(2.8rem,12vw,4rem); }
 .site-footer {
  grid-template-columns:1fr;
  grid-template-areas:"wordmark" "description" "links" "slogan" "copyright";
  gap:0;
  padding-top:64px;
  padding-bottom:96px;
 }
 .site-footer .footer-wordmark { font-size:clamp(3rem,14vw,4.4rem); }
 .site-footer .footer-links { align-items:flex-start; gap:12px; margin:44px 0 28px; }
 .site-footer .footer-slogan { margin-bottom:24px; font-size:1.15rem; }
 .site-footer .copyright { justify-self:start; }
 .detail-footer {
  grid-template-columns:1fr;
  gap:16px;
  padding:30px 20px 96px;
 }
 .detail-footer > :first-child { grid-column:auto; }
 .detail-footer > * + * { padding-top:16px; border-top:1px solid color-mix(in srgb,var(--granite) 18%,transparent); }
 .detail-footer .audience-footer-links { display:grid; grid-template-columns:1fr 1fr; gap:8px 20px; }
}
