/* =====================================================================
   Due Torri Servizi — v5 «MANIFESTO BOLOGNESE»
   Voce del Manifesto (Anton, timbri, ticker) + calore della Rossa
   (crema, cotto, ocra, portici, corsivo Fraunces) + notte dell'hero v4.
   Indice: 0 token · 1 base · 2 componenti · 3 header · 4 hero ·
   5 manifesto · 6 racconto · 7 provate voi · 8 verità · 9 prova ·
   10 stagioni · 11 clienti · 12 faq · 13 cta · 14 footer ·
   15 reveal · 16 responsive · 17 movimento ridotto
   ===================================================================== */

/* ---------- 0 · Token ---------- */
:root {
  --crema: #FFFFFF;
  --intonaco: #F4F6F9;
  --ink: #1F2933;
  --ink-60: rgba(31, 41, 51, .7);
  --cotto: #0F2A4A;
  --cotto-d: #0A1F38;
  --terra: #3A7CA5;
  --rosso: #D62828;
  --ocra: #3A7CA5;
  --ocra-l: #A9CDE6;
  --notte: #0A1D33;
  --navy: #0F2A4A;
  --blu: #2E6B94; /* azzurro scurito per AA (5,3:1 su #F4F6F9) */

  /* alias usati dalle regole dell'hero v4 */
  --paper: #FFFFFF;
  --blue: var(--blu);
  --red: var(--rosso);
  --muted: #5B6672;
  --salvia: #6A9E7F;
  --red-on-dark: #FF6B6B;

  --anton: "Anton", "Impact", "Arial Narrow", sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Archivo", "Arial", system-ui, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --wrapw: 1440px;
  --gut: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --t-micro: 160ms;
  --t-state: 280ms;
  --hdr-h: 72px;
}

/* ---------- 1 · Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hdr-h); }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--crema); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
::selection { background: var(--ocra-l); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ocra); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrapw); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skiplink { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--crema); padding: 10px 14px; }
.skiplink:focus { left: 8px; }
.mono { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.lbl { font-family: var(--cond); font-weight: 600; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; }
.red { color: var(--rosso); }

/* grana d'intonaco su tutta la pagina */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .16; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- 2 · Componenti ---------- */
/* riga-etichetta sopra ogni sezione (da B) */
.eyebrow { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid currentColor; padding-top: 14px; margin-bottom: clamp(36px, 5vw, 72px); }
.eyebrow span:last-child { text-align: right; opacity: .72; }

/* titoli: Anton maiuscolo con una frase in corsivo Fraunces */
.t-big, .t-giant { font-family: var(--anton); font-weight: 400; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; }
.t-big { font-size: clamp(3rem, 7.4vw, 7.6rem); }
.t-giant { font-size: clamp(4.4rem, 13vw, 13.5rem); line-height: .86; letter-spacing: -.02em; }
.t-big em, .t-giant em { text-transform: none; font-weight: 350; letter-spacing: -.035em; line-height: 1; }
.t-big > .mk, .t-giant > .mk { display: block; }

/* timbro (da B) */
.stamp { display: inline-block; border: 3px solid currentColor; outline: 1px solid currentColor; outline-offset: -8px; padding: 14px 22px 12px; transform: rotate(-9deg); font: 400 1.5rem/1.05 var(--anton); text-transform: uppercase; letter-spacing: .04em; text-align: center; white-space: nowrap; }
.stamp small { display: block; margin-top: 6px; font: 600 .62rem/1.3 var(--cond); letter-spacing: .18em; }
.st-red { color: var(--rosso); }
.st-ocra { color: var(--ocra-l); }
.st-ink { color: var(--ink); }
.st-cotto { color: var(--cotto); }
/* il timbro "batte" sulla carta quando entra */
.js .stamp.rv { opacity: 0; transform: rotate(-9deg) scale(1.6); transition: opacity .25s ease .35s, transform .45s cubic-bezier(.3, 1.6, .5, 1) .35s; }
.js .stamp.rv.in { opacity: 1; transform: rotate(-9deg) scale(1); }

/* link-azione con freccia (da B) */
.action { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 14px 0; border-bottom: 2px solid currentColor; font-weight: 700; font-size: 15px; text-decoration: none; }
.arr { display: inline-block; transition: transform .25s var(--ease); }
a:hover .arr, button:hover .arr { transform: translate(3px, -3px); }

/* bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px; font: 700 1.02rem/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background var(--t-state), color var(--t-state), transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn-red { background: var(--rosso); color: #fff; }
.btn-red:hover { background: #a8231f; }
.btn-crema { background: var(--crema); color: var(--cotto); }
.btn-crema:hover { background: var(--ocra-l); color: var(--ink); }
.btn-wa { background: #15803d; color: #fff; } /* verde WhatsApp scurito: 5:1 col bianco */
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--crema); font: 700 .9rem/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; transition: background .3s, color .3s; }
.pill:hover { background: var(--cotto); border-color: var(--cotto); }
.pill-line { background: transparent; color: var(--ink); }
.pill-line:hover { color: var(--crema); }
.pill-crema { background: transparent; color: var(--crema); border-color: var(--crema); }
.pill-crema:hover, .pill-crema[aria-expanded="true"] { background: var(--crema); color: var(--navy); border-color: var(--crema); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: 7px 13px 6px; border: 1.2px solid currentColor; border-radius: 999px; font-size: .8rem; }

/* fasce-colonnato (da A): archi che "scendono" dal colore sopra al colore sotto */
.portico { height: clamp(64px, 8.5vw, 120px); background-repeat: repeat-x; background-size: auto 100%; will-change: background-position; }
.pt-notte { background-color: var(--crema); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 120' width='140' height='120'%3E%3Cpath fill='%230A1D33' d='M0 0h140v120h-16V70a54 54 0 0 0-108 0v50H0z'/%3E%3Cpath fill='none' stroke='%23A9CDE6' stroke-opacity='.35' d='M22 120V70a48 48 0 0 1 96 0v50'/%3E%3C/svg%3E"); }
.pt-crema { background-color: var(--intonaco); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 120' width='140' height='120'%3E%3Cpath fill='%23FFFFFF' d='M0 0h140v120h-16V70a54 54 0 0 0-108 0v50H0z'/%3E%3Cpath fill='none' stroke='%230F2A4A' stroke-opacity='.3' d='M22 120V70a48 48 0 0 1 96 0v50'/%3E%3C/svg%3E"); }
.pt-intonaco { background-color: var(--navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 120' width='140' height='120'%3E%3Cpath fill='%23F4F6F9' d='M0 0h140v120h-16V70a54 54 0 0 0-108 0v50H0z'/%3E%3C/svg%3E"); }
.pt-crema-on-cotto { background-color: var(--cotto); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 120' width='140' height='120'%3E%3Cpath fill='%23FFFFFF' d='M0 0h140v120h-16V70a54 54 0 0 0-108 0v50H0z'/%3E%3Cpath fill='none' stroke='%23A9CDE6' stroke-opacity='.6' d='M22 120V70a48 48 0 0 1 96 0v50'/%3E%3C/svg%3E"); }

/* ---------- 3 · Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 70; color: var(--crema); transition: background var(--t-state), color var(--t-state), box-shadow var(--t-state), transform .4s var(--ease); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: var(--hdr-h); }
.hdr.solid { background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(31, 41, 51, .14); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; transition: opacity .8s var(--ease); }
.brand svg { width: 18px; height: 36px; }
.brand b { display: block; font: 400 1.62rem/.9 var(--anton); letter-spacing: .01em; color: var(--rosso); }
.brand small { display: block; margin-top: 3px; font: 600 .62rem/1 var(--cond); letter-spacing: .42em; }
.hdr:not(.solid) .brand svg polygon { fill: #A9CDE6; }
.hdr:not(.solid) .brand b { color: #FF6B6B; }
.intro-running .brand { opacity: 1; }
@keyframes brandPulse { 0% { transform: scale(1); } 45% { transform: scale(1.08); } 100% { transform: scale(1); } }
.brand.pulse svg { animation: brandPulse .45s var(--ease); transform-origin: 50% 100%; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; padding: 8px 0; font: 600 .86rem/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ocra); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr-tel { font: 500 .8rem/1 var(--mono); letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.hdr-cta { display: inline-flex; align-items: center; gap: 14px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--rosso); color: #fff; font: 700 .9rem/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .3s; }
.hdr-cta:hover { background: var(--cotto); }

/* ---------- 4 · Hero v4 (regole portate da site.css + v3.css + hero-v4.css) ---------- */
.hero { position: relative; height: 100svh; min-height: 660px; max-height: 1080px; overflow: hidden; color: var(--paper); background: linear-gradient(180deg, #0A1D33 0%, #0F2A4A 70%, #0C2340 100%); isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .9s var(--ease); touch-action: pan-y; }
.hero canvas.on { opacity: 1; }
.hero.aim canvas { cursor: crosshair; }
.hero-fallback { position: absolute; right: 4%; bottom: 0; height: 86%; width: auto; display: block; opacity: .8; }
.hero canvas.on ~ .hero-fallback { display: none; }
.no-webgl .hero canvas { display: none; }
.no-webgl .hero .hero-fallback { display: block; }
.no-webgl .hero .hero-meta { display: none; }
.hero-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: 104px; pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero .coords { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 26px; color: #A9CDE6; }
.hero .coords .red { color: var(--rosso); }
/* titolo fuso: Anton per i servizi, Fraunces per il luogo */
.hero h1 { max-width: 9.2em; font: 400 clamp(3.2rem, 6.9vw, 7.4rem)/.88 var(--anton); text-transform: uppercase; letter-spacing: -.005em; color: var(--crema); text-shadow: 0 2px 30px rgba(10, 29, 51, .5); }
.hero h1 .h1-a { display: block; white-space: nowrap; }
.hero h1 em { display: block; margin-top: .08em; font-size: .62em; line-height: 1.05; text-transform: none; letter-spacing: -.03em; color: var(--ocra-l); font-weight: 350; }
.hero .lead { max-width: 46ch; margin-top: 26px; color: rgba(255, 255, 255, .82); }
.season-line { display: flex; gap: 10px; align-items: baseline; margin-top: 8px; max-width: 48ch; font-size: .95rem; color: rgba(255, 255, 255, .72); }
.season-line .mono { color: var(--ocra-l); flex: none; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.hero-cta .tel-big { font: 500 1rem/1 var(--mono); letter-spacing: .02em; text-decoration: none; color: var(--crema); }
.hero-cta .tel-big span { color: #A9CDE6; margin-right: 8px; font-size: .72rem; letter-spacing: .1em; }
.hero-meta { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; pointer-events: none; }
.hero-meta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: rgba(255, 255, 255, .66); }
.hero-meta .phase { transition: opacity var(--t-state); }
.hero-meta .phase b { font-weight: 500; color: rgba(255, 255, 255, .66); }
.skip { pointer-events: auto; padding: 10px 14px; border: 1.5px solid rgba(255, 255, 255, .4); background: #0F2A4A; color: var(--paper); cursor: pointer; transition: border-color var(--t-micro); }
.skip:hover { border-color: var(--paper); }
.skip[hidden] { display: none; }
.hint { opacity: 0; transition: opacity .6s; }
.hint.on { opacity: 1; }
.pin { position: absolute; z-index: 2; left: 0; top: 0; padding-left: 16px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity var(--t-state); color: var(--paper); text-shadow: 0 1px 8px #0A1D33; }
.pin::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1.5px; background: var(--rosso); }
.pin span { display: block; color: #c9cbeb; }
.aim-read { position: absolute; z-index: 3; pointer-events: none; opacity: 0; color: var(--ocra-l); transform: translate(14px, 14px); transition: opacity var(--t-micro); }
.hero.aim:hover .aim-read { opacity: 1; }
.cad { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.cad line, .cad path { fill: none; stroke: var(--paper); stroke-opacity: .5; stroke-width: 1; }
.cad .tick { stroke-width: 1.4; stroke-opacity: .8; }
.cad text { font: 500 11px var(--mono); letter-spacing: .08em; fill: var(--paper); paint-order: stroke; stroke: #0F2A4A; stroke-width: 4px; stroke-linejoin: round; opacity: 0; transition: opacity .4s var(--ease) .45s; }
.cad text.red { fill: #ff8580; }
.cad .draw { stroke-dasharray: var(--l, 400); stroke-dashoffset: var(--l, 400); transition: stroke-dashoffset .7s var(--ease); }
.cad.in .draw { stroke-dashoffset: 0; }
.cad.in text { opacity: 1; }
.cad .reference { stroke-dasharray: 3 4; }
.cad.in .reference { stroke-dashoffset: 0; }
.hero :focus-visible { outline-color: var(--ocra-l); }

/* ---------- 5 · Manifesto (crema) ---------- */
.manifesto { padding: clamp(56px, 7vw, 110px) 0 clamp(56px, 6vw, 90px); background: var(--crema); overflow: hidden; }
.poster { font-family: var(--anton); font-weight: 400; text-transform: uppercase; }
.poster > .mk { display: block; }
.p-serio { font-size: clamp(4rem, 12.6vw, 13rem); line-height: .92; letter-spacing: -.02em; white-space: nowrap; }
.p-mid { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: .2em 0 .25em; }
.p-ital { text-transform: none; font: 350 clamp(2rem, 6vw, 6.6rem)/1 var(--serif); font-style: italic; letter-spacing: -.04em; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; padding-left: .1em; }
.p-ital em { color: var(--cotto); }
.p-mid .stamp { margin-right: clamp(10px, 4vw, 60px); font-size: clamp(1.1rem, 2vw, 1.8rem); }
.p-toppa { font-size: clamp(4rem, 14.4vw, 15rem); line-height: .96; letter-spacing: -.03em; color: var(--rosso); white-space: nowrap; }
.man-foot { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 40px; align-items: start; margin-top: clamp(30px, 4vw, 54px); padding-top: 24px; border-top: 3px solid var(--ink); }
.man-sign { font: 400 1.9rem/1.05 var(--anton); text-transform: uppercase; }
.man-sign small { display: block; margin-top: 10px; font: 600 .74rem/1.2 var(--cond); letter-spacing: .16em; color: var(--ink-60); }
.man-foot > p:nth-child(2) { max-width: 40ch; font-size: 1rem; line-height: 1.6; }
.man-foot .action { justify-self: end; min-width: 280px; }

/* ticker su cotto (da B) */
.ticker { display: flex; align-items: stretch; background: var(--cotto); color: var(--crema); border-block: 1.5px solid var(--ink); overflow: hidden; position: relative; z-index: 1; }
.ticker-win { flex: 1; overflow: hidden; padding: 18px 0 16px; }
.ticker-track { display: flex; width: max-content; animation: run 38s linear infinite; }
.ticker-track span { padding-right: 46px; font: 400 clamp(1.4rem, 2.4vw, 2.1rem)/1 var(--anton); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.ticker-track i { padding-inline: 26px; font-style: normal; color: var(--ocra-l); }
.ticker-btn { flex-shrink: 0; width: 64px; border: 0; border-left: 1.5px solid var(--ink); background: var(--cotto); color: var(--crema); font-size: 18px; }
.ticker-btn:hover { background: var(--cotto-d); }
.ticker:hover .ticker-track, .ticker.paused .ticker-track { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- 6 · Il racconto (notte) ---------- */
.storia { position: relative; background: radial-gradient(120% 60% at 30% 0%, #0F2A4A 0%, var(--notte) 60%); color: var(--crema); padding-top: clamp(80px, 10vw, 150px); }
.storia .eyebrow { color: rgba(255, 255, 255, .8); }
.storia-head { padding-bottom: clamp(40px, 6vw, 90px); }
.storia-head .t-big em { color: var(--ocra-l); }
.storia-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); max-width: var(--wrapw); margin-inline: auto; padding-inline: var(--gut); gap: clamp(30px, 4vw, 70px); }
.storia-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: calc(var(--hdr-h) + 20px) 0 28px; }
.storia-stage { position: relative; height: 100%; border-radius: 2000px 2000px 0 0; overflow: hidden; background: var(--navy); box-shadow: 0 0 0 1px rgba(169, 205, 230, .35), 0 0 0 10px var(--notte), 0 0 0 11px rgba(169, 205, 230, .18); }
.storia-scena { position: absolute; inset: 0; display: grid; place-items: center;
  background:
    linear-gradient(rgba(169, 205, 230, .09) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(169, 205, 230, .09) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(80% 60% at 50% 70%, #1B3D63 0%, var(--navy) 70%); }
.scena-ph { color: rgba(255, 255, 255, .55); padding: 8px 12px; border: 1px dashed rgba(255, 255, 255, .3); }
.storia-hud { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; align-items: center; padding: 18px 26px 22px; color: rgba(255, 255, 255, .75); background: linear-gradient(transparent, rgba(10, 29, 51, .85)); pointer-events: none; }
.hud-n b { font: 400 1.6rem/1 var(--anton); color: var(--ocra-l); letter-spacing: 0; }
.hud-t { text-align: right; }
.hud-bar { grid-column: 1 / -1; display: block; height: 2px; background: rgba(255, 255, 255, .15); }
.hud-bar b { display: block; height: 100%; width: 0; background: var(--ocra-l); }
.cap { position: relative; min-height: 105vh; display: flex; flex-direction: column; justify-content: center; padding: 12vh 0; }
.cap-n { font: 400 clamp(7rem, 14vw, 14rem)/.8 var(--anton); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(169, 205, 230, .7); margin-bottom: 18px; transition: color .6s var(--ease); }
.cap.on .cap-n { color: var(--ocra-l); -webkit-text-stroke-color: var(--ocra-l); }
.cap h3 { font: 400 clamp(2.6rem, 4.6vw, 4.8rem)/.92 var(--anton); text-transform: uppercase; }
.cap h3 .cap-k { display: block; }
.cap h3 em { display: block; margin-top: .14em; font-size: .7em; text-transform: none; color: var(--ocra-l); letter-spacing: -.03em; font-weight: 350; }
.cap h3 em b { margin-left: .22em; font-family: var(--anton); font-style: normal; font-weight: 400; text-transform: uppercase; color: var(--rosso); font-size: 1.35em; letter-spacing: 0; }
.cap p { max-width: 44ch; margin-top: 22px; color: rgba(255, 255, 255, .82); font-size: 1.05rem; line-height: 1.65; }
.cap .chips { color: rgba(255, 255, 255, .85); }
.cap .stamp { align-self: flex-start; margin: 26px 0 6px 6px; font-size: 1.4rem; }
.cap > * { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .cap:not(.on) > :not(.cap-n) { opacity: .28; }
.qa .cap > * { opacity: 1 !important; }

/* ---------- 7 · Provate voi (la vetrata) ---------- */
.provate { background: var(--crema); padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.prov-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(30px, 4vw, 56px); }
.prov-head .t-big em { color: var(--cotto); }
.prov-head p { max-width: 38ch; color: var(--ink-60); }
.vetrata { position: relative; aspect-ratio: 1200 / 560; border-radius: 2000px 2000px 0 0 / 640px 640px 0 0; overflow: hidden; background: #dfe8ee; box-shadow: 0 0 0 2px var(--ink), 0 0 0 12px var(--intonaco), 0 0 0 13.5px rgba(15, 42, 74, .5); touch-action: none; user-select: none; -webkit-user-select: none; cursor: none; }
.vista { position: absolute; inset: 0; width: 100%; height: 100%; }
.sporco { position: absolute; inset: 0; width: 100%; height: 100%; }
/* telaio: montanti e traverso, come una vetrata ad arco */
.telaio { position: absolute; inset: 0; pointer-events: none; }
.telaio i { position: absolute; background: var(--ink); }
.telaio i:nth-child(1) { left: 33.333%; top: 0; bottom: 0; width: 8px; margin-left: -4px; }
.telaio i:nth-child(2) { left: 66.666%; top: 0; bottom: 0; width: 8px; margin-left: -4px; }
.telaio i:nth-child(3) { left: 0; right: 0; top: 62%; height: 8px; }
.vet-hint { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; padding: 12px 20px 11px; border-radius: 999px; background: var(--ink); color: var(--crema); pointer-events: none; transition: opacity .5s; }
.vet-hint .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ocra-l); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.7); opacity: .4; } }
.vetrata.touched .vet-hint { opacity: 0; }
.vet-pct { position: absolute; right: 22px; bottom: 18px; padding: 7px 11px; background: rgba(255, 255, 255, .9); color: var(--ink); pointer-events: none; }
.vet-pct b { font-weight: 500; }
.vet-done { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.vet-done .stamp { font-size: clamp(1.8rem, 4.4vw, 4rem); padding: 18px 30px 16px; background: rgba(255, 255, 255, .88); opacity: 0; transform: rotate(-9deg) scale(1.8); transition: opacity .2s, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.vet-done .stamp small { font-size: clamp(.6rem, .9vw, .8rem); }
.vetrata.clean .vet-done .stamp { opacity: 1; transform: rotate(-9deg) scale(1); }
.vet-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 34px; flex-wrap: wrap; }
.vet-msg { max-width: 60ch; font-size: 1.1rem; opacity: .7; transition: opacity .6s; }
.vet-msg em { color: var(--cotto); font-size: 1.15em; }
.vet-msg .action { margin-left: 12px; padding: 6px 0; font-size: 14px; }
.vetrata.clean + .vet-foot .vet-msg, .vet-foot.done .vet-msg { opacity: 1; }
.vet-btns { display: flex; gap: 10px; flex-wrap: wrap; }
/* spazzola: anello d'acqua che segue il puntatore */
.brush { position: absolute; left: 0; top: 0; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px rgba(31, 41, 51, .35), inset 0 0 24px rgba(255, 255, 255, .5); pointer-events: none; opacity: 0; transition: opacity .3s; }
.vetrata:hover .brush, .vetrata.dragging .brush { opacity: 1; }

/* ---------- 8 · La verità (ink) ---------- */
.verita { background: var(--ink); color: var(--crema); padding: clamp(56px, 7vw, 110px) 0 clamp(80px, 10vw, 150px); }
.verita .eyebrow { color: rgba(255, 255, 255, .7); }
.ver-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(36px, 6vw, 100px); }
.verita .t-big em { color: var(--ocra-l); }
.ver-note { margin-top: 26px; max-width: 30ch; color: rgba(255, 255, 255, .7); }
.truth li { display: grid; grid-template-columns: 68px 1fr; gap: 18px; align-items: center; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.truth li:first-child { padding-top: 0; }
.truth .mark { font: 300 4.4rem/.9 var(--sans); color: var(--rosso); }
.truth p { font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1.14; letter-spacing: -.035em; font-weight: 500; }
.truth .no p { color: rgba(255, 255, 255, .62); }
.truth .ln { position: relative; display: inline-block; }
.strike { position: absolute; left: -2%; top: 30%; width: 104%; height: 50%; overflow: visible; pointer-events: none; }
.strike path, .circle path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.strike path { stroke: var(--rosso); stroke-width: 4.5; }
.js .strike { clip-path: inset(-20% 100% -20% 0); transition: clip-path .7s cubic-bezier(.6, 0, .3, 1) .45s; }
.js .truth .ln + .ln .strike { transition-delay: 1.05s; }
.js .truth .no.in .strike { clip-path: inset(-20% -2% -20% 0); }
.truth li.si { margin-top: 26px; padding: 26px 24px; border: 0; background: var(--cotto); transform: rotate(-1.5deg); }
.truth .si .mark { color: var(--ocra-l); font-size: 3.6rem; }
.truth .si p { font-family: var(--serif); font-style: italic; font-weight: 400; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; letter-spacing: -.02em; }
.truth mark { position: relative; background: none; color: var(--ocra-l); white-space: nowrap; }
.circle { position: absolute; left: -9%; top: -32%; width: 118%; height: 164%; overflow: visible; pointer-events: none; }
.circle path { stroke: var(--ocra-l); stroke-width: 3; }
.js .circle { clip-path: inset(-10% 100% -10% 0); transition: clip-path 1s cubic-bezier(.6, 0, .3, 1) .6s; }
.js .truth .si.in .circle { clip-path: inset(-10% -10% -10% -10%); }
/* frase che si "inchiostra" parola per parola (da A) */
.inked { margin-top: clamp(70px, 10vw, 150px); max-width: 19ch; font: 350 clamp(2.3rem, 6.2vw, 6.6rem)/1 var(--serif); font-style: italic; letter-spacing: -.035em; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.inked .q { color: var(--ocra-l); margin-left: -.42em; font-style: normal; }
.inked strong { font-weight: 500; color: var(--ocra-l); }
.js .inked .w { opacity: .14; transition: opacity .35s linear; }
.js .inked .w.on { opacity: 1; }

/* ---------- 9 · Si vede. Punto. (crema) ---------- */
.prova { background: var(--crema); padding: clamp(56px, 7vw, 110px) 0 clamp(70px, 8vw, 120px); }
.prova-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 90px); }
.prova-head p { max-width: 36ch; justify-self: end; font-size: 1.1rem; line-height: 1.55; }
.prova-head p em { color: var(--cotto); font-size: 1.12em; }
.archi { position: relative; display: grid; grid-template-columns: .9fr 1.25fr .78fr; gap: clamp(18px, 2.6vw, 42px); align-items: end; }
.ba { position: relative; min-width: 0; }
.ba .frame { position: relative; overflow: hidden; isolation: isolate; background: var(--intonaco); touch-action: pan-y; box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 9px var(--crema), 0 0 0 10.5px rgba(15, 42, 74, .55); }
.ba .frame.semi { border-radius: 2000px 2000px 0 0; }
.ba .frame.ribassato { border-radius: 50% 50% 0 0 / 36% 36% 0 0; }
.ba img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ba .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--p, 50%)); }
.ba .line { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 2px; margin-left: -1px; background: var(--crema); pointer-events: none; z-index: 2; }
.ba .knob { position: absolute; top: 62%; left: 50%; width: 48px; height: 58px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 999px 999px 6px 6px; background: var(--cotto); color: var(--crema); box-shadow: 0 6px 18px rgba(31, 41, 51, .35); }
.ba .knob svg { width: 24px; height: 24px; }
.ba input { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba input:focus-visible ~ .line .knob { outline: 3px solid var(--ocra); outline-offset: 3px; }
.ba .tagp, .ba .tagd { position: absolute; bottom: 14px; z-index: 2; padding: 5px 10px 4px; border-radius: 999px; font: 700 .76rem/1.2 var(--cond); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.ba .tagp { left: 14px; background: var(--ink); color: var(--crema); }
.ba .tagd { right: 14px; background: var(--crema); color: var(--ink); }
.ba figcaption { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; padding-top: 10px; border-top: 2px solid var(--ink); font-weight: 600; }
.ba figcaption .n { font: italic 400 1.4rem/1 var(--serif); color: var(--cotto); }
.ba figcaption .lbl { margin-left: auto; font-size: .76rem; color: var(--ink-60); }
.verified { position: absolute; right: 22%; top: -40px; z-index: 4; font-size: clamp(1.1rem, 1.8vw, 1.6rem); background: var(--crema); }
.prova-hint { margin-top: 34px; color: var(--ink-60); }

/* ---------- 10 · Stagioni (intonaco) ---------- */
.stagioni { background: var(--intonaco); padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.stag-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 70px); }
.stag-head .t-big em { color: var(--cotto); }
.stag-head p { max-width: 34ch; color: var(--ink-60); }
.cal { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(18px, 2.5vw, 36px); align-items: stretch; }
.cal-board { position: relative; display: flex; flex-direction: column; padding: clamp(18px, 2.4vw, 34px); background: var(--crema); border: 1.5px solid var(--ink); }
.cal-months, .bands { display: grid; grid-template-columns: 112px repeat(12, minmax(0, 1fr)); column-gap: 4px; }
.cal-months { margin-bottom: 16px; }
.cal-months button { height: 46px; padding: 0; border: 0; border-bottom: 2px solid transparent; background: none; font: 700 .92rem/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-60); transition: color .2s, border-color .2s; }
.cal-months button:hover { color: var(--ink); }
.cal-months button[aria-pressed="true"] { color: var(--cotto); border-bottom-color: var(--cotto); }
.cal-months button.now::after { content: "●"; display: block; margin-top: 4px; font-size: 6px; color: var(--rosso); }
.bands { position: relative; flex: 1; row-gap: clamp(14px, 2.6vw, 34px); align-items: center; align-content: space-evenly; padding: 10px 0; }
.bands .pn { font: italic 400 clamp(1.1rem, 1.8vw, 1.6rem)/1 var(--serif); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; letter-spacing: -.02em; }
.band { height: 26px; border-radius: 999px; background: var(--cotto); opacity: .28; transition: opacity .35s var(--ease); position: relative; z-index: 1; }
.band.on { opacity: 1; }
.band.peak { background: var(--ocra-l); opacity: .45; height: 12px; margin-inline: 4px; z-index: 2; box-shadow: 0 0 0 1.5px var(--ink); }
.band.peak.on { opacity: 1; }
/* colonna del mese scelto: un arco disegnato */
.colsel { position: absolute; top: -10px; bottom: -10px; z-index: 0; border: 1.5px solid var(--ink); border-bottom: 0; border-radius: 999px 999px 0 0; background: rgba(169, 205, 230, .22); transition: left .45s var(--ease), width .45s var(--ease); }
.cal-legend { display: flex; gap: 24px; margin-top: 18px; font-size: .78rem; color: var(--ink-60); }
.cal-legend span::before { content: ""; display: inline-block; width: 26px; height: 10px; margin-right: 8px; border-radius: 999px; background: var(--cotto); vertical-align: middle; }
.cal-legend .lg-pk::before { background: var(--ocra-l); height: 7px; box-shadow: 0 0 0 1.5px var(--ink); }
.cal-panel { display: flex; flex-direction: column; padding: clamp(22px, 2.8vw, 40px); background: var(--cotto); color: var(--crema); border-radius: 2000px 2000px 0 0 / 220px 220px 0 0; padding-top: clamp(70px, 7vw, 110px); }
.cal-panel > .lbl { color: var(--ocra-l); text-align: center; }
.cal-m { font: 400 clamp(3.2rem, 5.6vw, 5.6rem)/.9 var(--anton); text-transform: uppercase; text-align: center; margin: 10px 0 12px; }
.cal-sub { text-align: center; font: italic 400 1.15rem/1.3 var(--serif); color: var(--ocra-l); margin-bottom: 20px; }
.cal-panel ul { border-top: 1px solid rgba(255, 255, 255, .3); margin-bottom: 26px; }
.cal-panel li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: .95rem; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.cal-panel li::before { content: "✓"; color: var(--ocra-l); font-weight: 700; }
.cal-panel li.hot::before { content: "●"; color: var(--ocra-l); }
.cal-panel li b { display: block; color: var(--crema); font: 700 1rem/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase; }
.cal-panel .btn { margin-top: auto; align-self: stretch; }
.cal-fine { margin-top: 14px; text-align: center; font-size: .72rem; color: rgba(255, 255, 255, .7); }

/* ---------- 11 · Clienti (navy) ---------- */
.clienti { background: var(--navy); color: var(--crema); padding: clamp(40px, 6vw, 90px) 0 clamp(56px, 6vw, 90px); overflow: hidden; }
.clienti .eyebrow { color: rgba(255, 255, 255, .75); }
.cli-head { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.cli-72 { font: 400 clamp(9rem, 22vw, 22rem)/.8 var(--anton); letter-spacing: -.05em; color: var(--ocra-l); }
.cli-72 small { display: block; margin: 16px 0 0 8px; font: 600 .9rem/1 var(--cond); letter-spacing: .3em; text-transform: uppercase; color: var(--crema); }
.cli-head .t-big { font-size: clamp(2.8rem, 5.6vw, 6rem); }
.cli-head .t-big em { color: var(--ocra-l); }
.cli-head p { margin-top: 24px; max-width: 46ch; color: rgba(255, 255, 255, .75); }
.marquee { margin-top: clamp(50px, 6vw, 90px); display: grid; gap: 18px; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.mq-row { overflow: hidden; }
.mq-track { display: flex; gap: 16px; width: max-content; animation: run 120s linear infinite; }
.mq-row.rev .mq-track { animation-direction: reverse; animation-duration: 140s; }
.marquee:hover .mq-track { animation-play-state: paused; }
.lg { flex: none; position: relative; width: 168px; height: 206px; display: grid; place-items: center; padding: 52px 22px 22px; border-radius: 2000px 2000px 0 0; background: var(--crema); transition: transform .5s var(--ease), background .4s; }
.lg::after { content: ""; position: absolute; inset: 8px 8px 0; border: 1px solid rgba(31, 41, 51, .18); border-bottom: 0; border-radius: 2000px 2000px 0 0; pointer-events: none; }
.lg img { max-height: 76px; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: .85; transition: filter .5s, opacity .5s; }
.lg:hover { transform: translateY(-8px); background: #fff8ec; }
.lg:hover img { filter: none; opacity: 1; }
.cli-more { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; color: rgba(255, 255, 255, .7); }
.cli-more .pill span { font-size: 1.2em; transition: transform .3s; }
.cli-more .pill[aria-expanded="true"] span { transform: rotate(45deg); }
.cli-all { margin-top: 28px; }
.cli-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: rgba(31, 41, 51, .18); border: 1px solid rgba(31, 41, 51, .18); }
.cli-grid li { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 14px 14px; background: var(--crema); color: var(--ink); text-align: center; }
.cli-grid img { height: 60px; width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cli-grid span { font: 600 .74rem/1.2 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-60); }

/* ---------- 12 · FAQ (crema) ---------- */
.faq { background: var(--crema); padding: clamp(56px, 7vw, 110px) 0 clamp(70px, 9vw, 130px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--hdr-h) + 30px); }
.faq-side .t-big { font-size: clamp(3rem, 6vw, 6.2rem); }
.faq-side .t-big em { color: var(--cotto); }
.faq-side p { margin: 24px 0 28px; max-width: 34ch; color: var(--ink-60); }
.faq-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.faq-tabs button { min-height: 46px; padding: 0 20px; font-size: 1rem; border: 1.5px solid var(--ink); border-radius: 999px; background: none; font: inherit; letter-spacing: inherit; }
.faq-tabs button[aria-selected="true"] { background: var(--ink); color: var(--crema); }
.faq-panel { border-top: 3px solid var(--ink); }
.faq details { border-bottom: 1px solid rgba(31, 41, 51, .25); }
.faq summary { position: relative; display: grid; grid-template-columns: 54px 1fr 40px; gap: 12px; align-items: baseline; padding: 24px 0; cursor: pointer; list-style: none; font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq .qn { font: 400 1.2rem/1 var(--anton); color: var(--cotto); }
.faq summary i { position: relative; justify-self: end; align-self: center; width: 32px; height: 32px; border: 1.5px solid var(--ink); border-radius: 50%; transition: transform .35s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--ocra-l); }
.faq summary:hover { color: var(--cotto); }
.faq details p { padding: 0 52px 26px 66px; font: italic 400 1.25rem/1.45 var(--serif); font-variation-settings: "opsz" 40, "SOFT" 100; color: var(--ink); }

/* ---------- 13 · CTA finale (cotto) ---------- */
.cta { background: var(--cotto); color: var(--crema); padding-bottom: clamp(70px, 9vw, 130px); }
.cta .portico { margin-bottom: clamp(40px, 6vw, 80px); }
.cta .eyebrow { color: rgba(255, 255, 255, .8); }
.cta-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.cta-top .t-giant { font-size: clamp(3.8rem, 10.4vw, 11rem); }
.cta-top .stamp { flex-shrink: 0; margin-top: 30px; transform: rotate(9deg); font-size: clamp(1.2rem, 2.2vw, 2rem); }
.js .cta-top .stamp.rv { transform: rotate(9deg) scale(1.6); }
.js .cta-top .stamp.rv.in { transform: rotate(9deg) scale(1); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); margin-top: clamp(36px, 5vw, 70px); padding-top: 30px; border-top: 3px solid var(--ink); }
.cta-copy > p:first-child { max-width: 40ch; font-size: 1.15rem; line-height: 1.6; }
.cta-copy em { color: var(--ocra-l); font-size: 1.12em; }
.cta-phone { display: block; margin-top: 30px; font: 400 clamp(3rem, 6.6vw, 6.4rem)/.95 var(--anton); letter-spacing: -.01em; text-decoration: none; transition: color .3s; }
.cta-phone small { display: block; margin-bottom: 8px; font: 600 .82rem/1 var(--cond); letter-spacing: .2em; text-transform: uppercase; color: var(--ocra-l); }
.cta-phone:hover { color: var(--ocra-l); }
.cta-hours { margin: 14px 0 18px; font-size: .78rem; color: rgba(255, 255, 255, .75); }
.cta-form { display: grid; gap: 20px; align-content: start; }
.field label { display: block; margin-bottom: 6px; font-size: .78rem; color: var(--ocra-l); }
.field input, .field select { width: 100%; height: 52px; padding: 0 2px; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .55); border-radius: 0; background: transparent; color: var(--crema); font: 500 1.15rem var(--sans); outline: none; transition: border-color .3s; }
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FFFFFF' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 4px center / 14px; }
.field select option { color: var(--ink); }
.field input::placeholder { color: rgba(255, 255, 255, .45); }
.field input:focus, .field select:focus { border-bottom-color: var(--ocra-l); }
.cta-form .btn { justify-self: start; margin-top: 8px; }
.cta-form .ok { min-height: 1.2em; color: var(--ocra-l); }

/* ---------- 14 · Footer (notte) ---------- */
.foot { background: var(--notte); color: rgba(255, 255, 255, .75); padding-top: clamp(56px, 7vw, 100px); overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot .brand b { color: #FF6B6B; }
.foot .brand small { color: #A9CDE6; }
.foot-cols p, .foot-cols li { font-size: .98rem; line-height: 1.65; }
.foot-cols > div:first-child p { margin-top: 18px; max-width: 34ch; }
.foot-cols em { color: var(--ocra-l); }
.foot h4 { margin-bottom: 12px; font-size: .78rem; color: var(--ocra-l); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--crema); text-decoration: underline; text-underline-offset: 4px; }
.giant { margin: clamp(40px, 6vw, 80px) 0 0; padding-bottom: .04em; font: 400 26.5vw/.82 var(--anton); letter-spacing: -.035em; text-transform: uppercase; text-align: center; white-space: nowrap; color: var(--cotto); user-select: none; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .74rem; }

/* barra mobile */
.mbar { display: none; }

/* cursore personalizzato: solo su link e foto trascinabili (da A) */
.cur { position: fixed; left: 0; top: 0; z-index: 95; display: none; align-items: center; justify-content: center; width: 84px; height: 96px; margin: -56px 0 0 -42px; border-radius: 999px 999px 8px 8px; background: var(--cotto); pointer-events: none; opacity: 0; transform: scale(.3); transition: opacity .25s, transform .35s var(--ease) , background .3s; }
.cur span { font: 700 .72rem/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--crema); }
.has-cur .cur { display: flex; }
.cur.on { opacity: 1; }
.cur.on.big { transform: scale(1); }

/* ---------- 15 · Reveal ---------- */
/* titoli: maschera dal basso, 600 ms */
.mk { display: block; overflow: hidden; padding: .2em 0 .06em; margin: -.2em 0 -.06em; } /* spazio per gli accenti (È, À) */
.mk > span { display: block; }
.js .mk > span { transform: translateY(105%); transition: transform .6s var(--ease); }
.js .mk.in > span { transform: none; }
.t-big > .mk:nth-child(2) > span, .t-giant > .mk:nth-child(2) > span, .poster > :nth-child(2) .mk > span { transition-delay: .08s; }
.t-big > .mk:nth-child(3) > span, .t-giant > .mk:nth-child(3) > span, .poster > :nth-child(3) > span { transition-delay: .16s; }
.js .rv:not(.stamp) { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in:not(.stamp) { opacity: 1; transform: none; }
/* ?qa=1: tutto già rivelato per gli screenshot */
.qa .mk > span, .qa .rv, .qa .stamp.rv { transition: none !important; }

/* ---------- 16 · Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .hdr-tel { margin-left: auto; }
}
@media (min-width: 721px) and (max-width: 1080px) {
  .hero h1 { font-size: clamp(3rem, 7.4vw, 5rem); }
  .hero .lead, .hero .season-line { max-width: 38ch; }
  .hero .hint { display: none; }
  .man-foot { grid-template-columns: 1fr 1fr; }
  .man-foot .action { grid-column: 1 / -1; justify-self: start; }
  .cal { grid-template-columns: 1fr; }
  .cal-panel { border-radius: 28px; padding-top: 34px; }
}
@media (max-width: 900px) {
  .ver-grid, .faq-grid, .cta-grid, .prov-head, .stag-head, .prova-head { grid-template-columns: 1fr; }
  .prova-head p { justify-self: start; }
  .faq-side { position: static; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > div:first-child { grid-column: 1 / -1; }
  .cal { grid-template-columns: 1fr; }
  .cal-panel { border-radius: 28px; padding-top: 34px; }
  .archi { grid-template-columns: 1fr 1fr; }
  .archi .ba:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .verified { right: 6%; top: -30px; }
}
@media (max-width: 720px) {
  :root { --hdr-h: 64px; }
  body { padding-bottom: 64px; }
  .hdr-cta, .hdr-tel { display: none; }
  .brand b { font-size: 1.4rem; }

  /* hero mobile: torri nella fascia alta, testo in basso su velatura notte */
  .hero { height: 100svh; min-height: 780px; max-height: none; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 34%, rgba(15, 42, 74, .6) 44%, #0F2A4A 52%, #0C2340 100%); }
  .hero-copy { justify-content: flex-end; padding: 0 var(--gut) 42px; }
  .hero .coords { max-width: 100%; margin-bottom: 14px; font-size: .63rem; line-height: 1.7; gap: 3px 10px; }
  .hero .coords span:last-child { flex-basis: 100%; padding-left: 16px; }
  .hero h1 { font-size: clamp(2.6rem, 13.2vw, 4rem); }
  .hero h1 em { font-size: .66em; }
  .hero .lead { font-size: .98rem; margin-top: 14px; line-height: 1.5; }
  .hero .season-line { display: none; }
  .hero .hero-cta { gap: 16px; margin-top: 22px; }
  .hero .hero-meta { bottom: auto; top: 70px; }
  .hero-meta .phase, .hero-meta .hint { display: none; }
  .hero-meta .wrap { justify-content: flex-end; }
  .hero-fallback { height: 45%; top: 54px; bottom: auto; right: 19%; }
  .hero .cad text { font-size: 9px; letter-spacing: .02em; }

  .eyebrow { font-size: .7rem; gap: 14px; }
  .t-big { font-size: clamp(2.7rem, 13.4vw, 4.4rem); }
  .t-giant { font-size: clamp(3.6rem, 21vw, 6rem); }
  .stamp { font-size: 1.05rem; padding: 10px 14px 9px; outline-offset: -6px; border-width: 2px; }

  .p-serio { font-size: 15.6vw; white-space: normal; }
  .p-mid { flex-wrap: wrap; gap: 14px; margin: .3em 0 .35em; }
  .p-ital { flex-basis: 100%; font-size: 10.4vw; }
  .p-mid .stamp { margin: 0 0 0 auto; font-size: .9rem; }
  .p-toppa { font-size: 15.2vw; }
  .man-foot { grid-template-columns: 1fr; gap: 20px; }
  .man-foot .action { justify-self: stretch; min-width: 0; }
  .ticker-btn { width: 48px; }

  /* racconto mobile: scena in alto, capitoli che scorrono sotto */
  .storia-body { display: block; padding: 0; }
  .storia-sticky { top: 0; z-index: 2; height: auto; padding: calc(var(--hdr-h) + 8px) 16px 14px; background: var(--notte); box-shadow: 0 18px 24px -6px var(--notte); }
  .storia-stage { height: 40svh; border-radius: 999px 999px 0 0 / 300px 300px 0 0; }
  .storia-caps { position: relative; z-index: 1; padding: 0 16px; }
  .cap { min-height: 0; justify-content: flex-start; padding: 36px 0 18svh; }
  .cap h3 em { font-size: .62em; }
  .cap > * { position: relative; }
  .cap-n { font-size: 5.6rem; margin-bottom: 8px; }
  .cap h3 { font-size: 2.6rem; }
  .cap p { font-size: 1rem; }

  .vetrata { aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0 / 260px 260px 0 0; }
  .telaio i:nth-child(1) { left: 50%; }
  .telaio i:nth-child(2) { display: none; }
  .telaio i:nth-child(3) { top: 58%; }
  .vet-msg .action { margin: 12px 0 0; display: flex; }
  .vet-hint { white-space: nowrap; }

  .truth li { grid-template-columns: 44px 1fr; gap: 12px; padding: 20px 0; }
  .truth .mark { font-size: 3rem; }
  .truth p { font-size: 1.45rem; }
  .truth li.si { padding: 20px 14px; }
  .truth mark { white-space: normal; }
  .inked { font-size: clamp(2.2rem, 10.6vw, 3.4rem); }
  .inked .q { margin-left: -.3em; }

  .archi { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ba .knob { width: 40px; height: 48px; }
  .ba .tagp, .ba .tagd { font-size: .64rem; bottom: 10px; }
  .ba .tagp { left: 10px; } .ba .tagd { right: 10px; }
  .ba figcaption { flex-wrap: wrap; gap: 4px 10px; }
  .ba figcaption .lbl { margin-left: 0; flex-basis: 100%; }
  .verified { right: 4%; top: -24px; font-size: .95rem; }

  .cal-board { padding: 14px 10px; }
  .cal-months { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 2px; }
  .cal-months .sp { display: none; }
  .cal-months button { height: 40px; font-size: .84rem; }
  .bands { grid-template-columns: 68px repeat(12, minmax(0, 1fr)); column-gap: 2px; row-gap: 12px; }
  .bands .pn { font-size: .98rem; }
  .band { height: 14px; }
  .band.peak { height: 6px; margin-inline: 1px; }
  .cal-legend { flex-wrap: wrap; gap: 8px 18px; }

  .cli-head { grid-template-columns: 1fr; }
  .cli-72 { font-size: 46vw; }
  .lg { width: 132px; height: 164px; padding: 42px 16px 16px; }
  .lg img { max-height: 58px; }
  .cli-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .faq summary { grid-template-columns: 34px 1fr 34px; gap: 8px; padding: 20px 0; font-size: 1.08rem; }
  .faq details p { padding: 0 8px 22px 42px; font-size: 1.1rem; }

  .cta-top { display: block; }
  .cta-top .t-giant { font-size: clamp(3.2rem, 16.6vw, 5rem); line-height: .96; }
  .cta-top .stamp { margin: 22px 0 0 6px; }
  .cta-phone { font-size: 15vw; }

  .foot-cols { grid-template-columns: 1fr; }
  .legal { flex-direction: column; }

  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; inset: auto 0 0; z-index: 85; gap: 1px; padding-bottom: env(safe-area-inset-bottom); background: rgba(31, 41, 51, .2); transform: translateY(110%); transition: transform var(--t-state) var(--ease); }
  .mbar.on { transform: none; }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 62px; background: var(--crema); color: var(--ink); text-decoration: none; font: 700 .8rem/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; }
  .mbar svg { width: 22px; height: 22px; }
  .mbar .q { flex-direction: row; gap: 8px; background: var(--rosso); color: #fff; }
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .hero .hint, .hero .aim-read { display: none; }
  .vetrata { cursor: auto; }
}

/* ---------- 17 · Movimento ridotto: tutto fermo e visibile ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .mk > span, .js .rv, .js .stamp.rv { opacity: 1 !important; transform: none !important; }
  .js .stamp.rv { transform: rotate(-9deg) !important; }
  .js .inked .w { opacity: 1; }
  .js .strike, .js .circle { clip-path: none; }
  .js .cap:not(.on) > :not(.cap-n) { opacity: 1; }
  .mq-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .mq-row.rev { display: none; }
  .mq-track .dup { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .ticker-btn { display: none; }
  .brush { display: none; }
}

/* ---------- Materia: solo una carta lieve sulle sezioni blu (img/gen, PhotoCraft) ----------
   Le sezioni chiare restano bianche e pulite, come chiede la palette aziendale. */
body::after { display: none; }
.storia, .clienti, .ticker, .cta { background-image: url("../img/gen/tx-inchiostro.webp"); background-size: 520px; background-blend-mode: soft-light; }
.storia { background-image: url("../img/gen/tx-inchiostro.webp"), radial-gradient(120% 60% at 30% 0%, #163A63 0%, var(--notte) 60%); background-size: 520px, auto; background-blend-mode: soft-light, normal; }

/* ---------- Tavole litografiche nei capitoli del racconto ---------- */
.tavola { position: relative; align-self: flex-start; width: min(400px, 100%); margin: 34px 0 0; padding: 10px 10px 0; background: var(--crema); color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 22px 40px -18px rgba(0, 0, 0, .7); transform: rotate(var(--rot, -1.6deg)); }
.tavola.tv-b { --rot: 1.4deg; align-self: flex-end; }
.tavola img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; background: var(--intonaco); }
.tavola figcaption { display: flex; justify-content: space-between; padding: 9px 2px 10px; color: var(--cotto); }
.tavola::before { content: ""; position: absolute; top: -9px; left: 50%; width: 74px; height: 20px; margin-left: -37px; background: rgba(169, 205, 230, .78); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.cap .tav-nota { max-width: none; margin-top: 16px; line-height: 1.5; color: rgba(255, 255, 255, .55); font-size: .66rem; }
@media (max-width: 720px) {
  .tavola, .tavola.tv-b { align-self: stretch; width: auto; margin-top: 26px; }
}

/* ---------- Pulizia col cursore sull'edificio 3D ---------- */

.pulisci { position: absolute; left: 26px; right: 26px; bottom: 78px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 14px; pointer-events: none; color: var(--crema); }
.pulisci .pl-t { padding: 7px 12px; border-radius: 999px; background: rgba(10, 29, 51, .72); }
.pulisci .pl-c { display: none; }
@media (pointer: coarse) { .pulisci .pl-m { display: none; } .pulisci .pl-c { display: inline; } }
.pulisci .pl-v { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(10, 29, 51, .72); white-space: nowrap; }
.pulisci .pl-v i { position: relative; width: 54px; height: 4px; background: rgba(255, 255, 255, .2); }
.pulisci .pl-v i::after { content: ""; position: absolute; inset: 0; width: var(--pp, 0%); background: var(--ocra-l); transition: width .3s; }
.pulisci b { color: var(--ocra-l); font-weight: 600; }
.pulisci.done .pl-t { background: var(--cotto); }
@media (max-width: 720px) { .pulisci { left: 12px; right: 12px; bottom: 64px; font-size: .62rem; } .pulisci .pl-v i { width: 34px; } }


/* ============ Palette aziendale (modifiche cliente) ============
   Blu notte per header, footer e titoli; rosso solo per CTA e dettagli; bianco e grigio chiarissimo
   alternati; azzurro per accenti (#3A7CA5 su chiaro, #A9CDE6 sul blu per il contrasto AA). */
.hdr.solid { background: rgba(15, 42, 74, .95); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.hdr .brand svg polygon { fill: #A9CDE6; }
.brand b, .hdr:not(.solid) .brand b, .foot .brand b { color: var(--red-on-dark); }
.hdr.solid .nav a::after { background: #A9CDE6; }
.manifesto, .prova, .faq { background-color: #FFFFFF; }
.provate, .stagioni { background-color: var(--intonaco); }
.pt-notte { background-color: var(--intonaco); }
.foot { background: var(--notte); color: rgba(255, 255, 255, .78); }
/* titoli in blu notte sulle sezioni chiare, accenti corsivi in azzurro */
.manifesto .poster, .provate .t-big, .prova .t-giant, .stagioni .t-big, .faq .t-big { color: var(--navy); }
.p-ital em, .provate .t-big em, .prova-head p em, .stagioni .t-big em, .faq .t-big em, .ba figcaption .n, .faq .qn { color: var(--blu); }
.prova .t-giant .red, .p-toppa { color: var(--rosso); }
/* ticker blu notte, testo bianco, separatori azzurri */
.ticker, .ticker-btn { background-color: var(--navy); color: #fff; }
.ticker-track i { color: #A9CDE6; }
.ticker-btn:hover { background-color: var(--cotto-d); }
/* timbri sobri */
.stamp { outline-offset: -7px; }
.st-ocra { color: #A9CDE6; }
/* il calendario: barre blu, picchi azzurri */
.band { background: var(--navy); }
.band.peak { background: var(--blu); }
/* chip "cura del verde": salvia, solo per verde e metodi senza detergenti */
.cap .chips li.chip-verde { color: #BFE0CC; border-color: #8FC1A3; background: rgba(106, 158, 127, .2); }
/* bottoni: rosso per le azioni principali, bianco su blu per le secondarie */
.btn-crema { background: #fff; color: var(--navy); }
.btn-crema:hover { background: #A9CDE6; color: var(--navy); }
.cta .btn-crema { background: var(--rosso); color: #fff; }
.cta .btn-crema:hover { background: #B71F1F; }

/* ---------- Valori: righe più lunghe del vecchio manifesto ---------- */
.p-serio { font-size: clamp(3.4rem, 11.2vw, 11.6rem); }
.p-toppa { font-size: clamp(3.4rem, 11.6vw, 12rem); }
.man-foot { grid-template-columns: 1fr; }
.man-foot .action { justify-self: start; }
.cta-top .t-giant { font-size: clamp(3.2rem, 8.2vw, 8.8rem); }
.cli-head { grid-template-columns: 1fr; }

/* ---------- I risultati: prima e dopo affiancati, senza trascinamento ---------- */
.ba .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba .ph { position: relative; overflow: hidden; aspect-ratio: var(--ar); background: var(--intonaco); border-radius: 4px; }
.ba .ph:first-child { border-radius: 999px 0 0 4px / 160px 0 0 4px; }
.ba .ph:last-child { border-radius: 0 999px 4px 0 / 0 160px 4px 0; }
.ba .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ph .tagp { left: 10px; right: auto; }
.ba .ph .tagd { left: 10px; right: auto; background: var(--rosso); color: #fff; }
.archi { grid-template-columns: 1fr 1fr 1fr; align-items: start; }

@media (max-width: 720px) {
  .p-serio { font-size: 12.4vw; white-space: normal; }
  .p-toppa { font-size: 12.2vw; }
  .cta-top .t-giant { font-size: clamp(2.6rem, 12vw, 4.4rem); }
  .archi { grid-template-columns: 1fr; }
  .archi .ba:nth-child(2) { grid-column: auto; order: 0; }
}
@media (min-width: 721px) and (max-width: 1080px) { .archi { grid-template-columns: 1fr 1fr; } }
/* capitolo 4 più lungo: lo scroll dà il tempo di vedere la lista spuntata voce per voce */
.cap[data-cap="4"] { min-height: 175vh; }
@media (max-width: 720px) { .cap[data-cap="4"] { min-height: 0; padding-bottom: 70svh; } }
.prova .t-giant { font-size: clamp(3.2rem, 7.4vw, 8rem); line-height: .92; }
.cta .stamp.st-ink { color: #A9CDE6; }
@media (max-width: 720px) { .prova .t-giant { font-size: clamp(2.8rem, 15vw, 5rem); } }

/* ---------- Link rapidi in fondo alla pagina ---------- */
[id] { scroll-margin-top: calc(var(--hdr-h) + 16px); }
.quick { display: grid; gap: 18px; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16); }
.quick-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.quick-row h4 { flex-basis: 110px; flex-shrink: 0; margin: 0; color: #A9CDE6; font-size: .78rem; }
.quick a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 999px; color: #fff; font: 600 .9rem/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background var(--t-micro), border-color var(--t-micro), color var(--t-micro); }
.quick a:hover, .quick a:focus-visible { background: #fff; border-color: #fff; color: var(--navy); text-decoration: none; }
.quick .q-red { background: var(--rosso); border-color: var(--rosso); }
.quick .q-red:hover { background: #B71F1F; border-color: #B71F1F; color: #fff; }
.quick .q-wa { border-color: #25b064; }
.quick-act { padding-top: 6px; }
@media (max-width: 720px) {
  .quick-row h4 { flex-basis: 100%; }
  .quick a { min-height: 42px; padding: 0 14px; font-size: .82rem; }
}

/* ---------- Link alle pagine servizio nei capitoli del racconto ---------- */
.cap .cap-link { align-self: flex-start; margin-top: 22px; gap: 18px; color: #fff; border-bottom-color: #A9CDE6; }
.cap .cap-link:hover { color: #A9CDE6; }

/* hero su schermi bassi (es. portatili 1920×800): il titolo non deve salire sotto l'header */
.hero h1 { font-size: clamp(3rem, min(6.9vw, 11vh), 7.4rem); }
@media (min-width: 721px) and (max-height: 900px) {
  .hero-copy { padding-top: calc(var(--hdr-h) + 20px); padding-bottom: 78px; }
  .hero .lead { margin-top: 18px; }
  .hero .season-line { display: none; }
}


/* ---------- Hero: scenografia a layer (generati con Codex, scontornati con PhotoCraft) ----------
   cielo notturno → colli bolognesi con San Luca all'orizzonte → canvas 3D → foschia bassa.
   --hz (orizzonte in px) e --px (cursore -1..1) li aggiorna js/intro.js dalla camera 3D; --scena è la dissolvenza. */
.scena, .sc-foschia { position: absolute; pointer-events: none; opacity: var(--scena, 0); }
/* il cielo è l'immagine principale (LCP): visibile al 2% fin dal primo rendering, così non viene ricontato quando la scena sfuma a fine intro */
.scena { opacity: max(.02, var(--scena, 0)); }
.scena { inset: 0; overflow: hidden; z-index: 0; }
.sc-cielo { position: absolute; inset: -3% -3% 0; width: 106%; max-width: none; height: 103%; object-fit: cover; object-position: 50% 100%; transform: translate3d(calc(var(--px, 0) * -8px), 0, 0); } /* alba: allineato in basso, la fascia pesca-oro arriva sopra i colli */
.sc-colli { --ch: clamp(58px, 9.5vh, 104px); position: absolute; height: var(--ch); width: auto; max-width: none; left: calc(58vw - 0.559 * 28.07 * var(--ch));
  top: 0; filter: saturate(.55) brightness(.7); transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--hz, 42vh) - var(--ch) * .8), 0); }
#globe { position: absolute; z-index: 0; }
.sc-foschia { left: -6%; right: -6%; bottom: -2%; width: 112%; max-width: none; height: 30%; object-fit: cover; object-position: 50% 100%; z-index: 1; opacity: max(.02, calc(var(--scena, 0) * .38)); transform: translate3d(calc(var(--px, 0) * -34px), 0, 0); }
@media (max-width: 720px) { .sc-colli { left: calc(50vw - 0.559 * 28.07 * var(--ch)); } .sc-foschia { display: none; } }
@media (prefers-reduced-motion: reduce) { .sc-cielo, .sc-foschia { transform: none; } .sc-colli { transform: translate3d(0, calc(var(--hz, 42vh) - var(--ch) * .8), 0); } .sc-velo { transform: translate3d(0, var(--vy), 0); } } /* niente parallasse, ma colli e velo restano sull'orizzonte */
.sc-colli { -webkit-mask-image: linear-gradient(#000 62%, transparent 100%); mask-image: linear-gradient(#000 62%, transparent 100%); }
.sc-foschia { -webkit-mask-image: linear-gradient(transparent, #000 55%); mask-image: linear-gradient(transparent, #000 55%); }


/* ---------- Form sopralluogo: campi aggiuntivi, errori, alternative WhatsApp/email ---------- */
.field textarea { width: 100%; min-height: 84px; padding: 10px 2px; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .55); background: transparent; color: #fff; font: 500 1.05rem/1.5 var(--sans); outline: none; resize: vertical; }
.field textarea::placeholder { color: rgba(255, 255, 255, .45); }
.field textarea:focus { border-bottom-color: #A9CDE6; }
.field [aria-invalid="true"] { border-bottom-color: #FF8A8A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: rgba(255, 255, 255, .7); }
.form-note a { color: #A9CDE6; }
.form-alt { display: flex; flex-wrap: wrap; gap: 12px; }
.form-alt[hidden] { display: none; }
.btn-line { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); }
.btn-line:hover { background: #fff; color: var(--navy); }
.cta-form .btn[disabled] { opacity: .6; cursor: progress; }
.legal a { color: inherit; }
/* contatti: il titolo nuovo è più lungo, il timbro non deve sbordare */
.cta-top .t-giant { font-size: clamp(3.2rem, 7.2vw, 8.4rem); min-width: 0; }
.cta { overflow-x: clip; }
@media (min-width: 721px) { .cta-top { position: relative; } .cta-top .stamp { position: absolute; right: 6px; top: 0; margin-top: 18px; } }

/* ---------- Hero: velo di foschia sull'orizzonte ----------
   Fonde cielo dipinto, colli e pianura 3D in un'unica scena: stesso colore del cielo all'orizzonte (campionato da cielo.webp),
   sopra il canvas e sotto il testo. Segue l'orizzonte calcolato dalla camera (--hz) con transform, non con top: così non conta come layout shift (CLS). */
.sc-velo { position: absolute; left: -2%; right: -2%; z-index: 1; pointer-events: none; opacity: var(--scena, 0);
  top: 0; --vy: calc(var(--hz, 42vh) - 13vh); height: 30vh;
  /* alba: foschia rosa-lilla all orizzonte (campionata da alba.webp e dalla nebbia 3D) */
  background: linear-gradient(to bottom, rgba(252, 178, 118, 0) 0%, rgba(252, 172, 120, .32) 18%, rgba(242, 150, 125, .5) 34%, rgba(165, 112, 138, .56) 46%, rgba(104, 86, 116, .4) 62%, rgba(90, 78, 108, 0) 100%);
  transform: translate3d(calc(var(--px, 0) * -10px), var(--vy), 0); }
.sc-colli { -webkit-mask-image: linear-gradient(#000 40%, transparent 96%); mask-image: linear-gradient(#000 40%, transparent 96%); }
@media (max-width: 720px) { .sc-velo { --vy: calc(var(--hz, 30vh) - 9vh); height: 22vh; } .sc-cielo { height: calc(var(--hz, 30vh) * 1.72); } } /* alba su mobile: tutta la sfumatura sta sopra i colli */

/* ---------- 18 · Sezioni a fogli sovrapposti ----------
   Ogni sezione si ferma quando il suo fondo tocca il fondo dello schermo (--stk-h misurata da js/v5.js) e la successiva sale a coprirla.
   Colonnati e ticker non si fermano: salgono insieme al foglio che segue. */
.impila main > * { position: relative; }
.impila main > section { position: sticky; top: min(0px, calc(100svh - var(--stk-h, 100svh))); }
.impila main > section:not(.hero) { box-shadow: 0 -22px 40px -18px rgba(10, 29, 51, .38); }
.impila main > .portico { filter: drop-shadow(0 -8px 12px rgba(10, 29, 51, .22)); }
.impila main > .portico + section { box-shadow: none; }
.impila .foot { position: relative; }

/* sezione del tutto coperta dalla successiva: non si disegna più (resta nel documento per tastiera e lettori di schermo) */
.impila main > section.coperto { opacity: 0; }

.cta-urg { margin-top: -8px; }
.cta-urg a { color: inherit; text-decoration: underline; }
