/* Pagine /diagnosi-gratuita e /privacy: stesso linguaggio della home (Claude Design
   "Pietro V3 Vivid Modern"): Syne 800 con la parola finale in gradiente, card bianche con
   raggio 16 e ombra morbida, bottoni a pillola, aloni rosso-oro, entrate dal basso con la
   curva della home (GSAP power3.out). Font serviti in locale, nessuno stile inline (CSP rigida). */

@font-face { font-family: "Syne"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/Syne-Bold.woff2") format("woff2"); }
@font-face { font-family: "Syne"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/Syne-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/Manrope-Regular.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/Manrope-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/Manrope-Bold.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/Manrope-ExtraBold.woff2") format("woff2"); }

:root {
  --crema: #FAF8F3;
  --sabbia: #F0EDE5;
  --inchiostro: #141010;
  --carta: #FFFFFF;
  --rosso: #C8102E;
  --oro: #F0C100;
  --firma: linear-gradient(135deg, var(--rosso), var(--oro));
  --filo: rgba(20, 16, 16, .07);
  --bordo-campo: rgba(20, 16, 16, .14);
  --tenue: rgba(20, 16, 16, .6);
  --errore: #B00D27;
  --banda-critico: #C8102E;
  --banda-insufficiente: #D2560B;
  --banda-discreto: #B8860B;
  --banda-buono: #1F8A4C;
  --raggio-card: 16px;
  --raggio-campo: 12px;
  --pillola: 100px;
  --ombra-card: 0 2px 14px rgba(20, 16, 16, .05);
  --ombra-alta: 0 2px 14px rgba(20, 16, 16, .05), 0 30px 70px -34px rgba(20, 16, 16, .22);
  --curva: cubic-bezier(.215, .61, .355, 1);   /* power3.out, come le animazioni GSAP della home */
  --titolo: "Syne", system-ui, sans-serif;
  --testo: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--crema); color: var(--inchiostro); font-family: var(--testo); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--rosso); outline-offset: 3px; border-radius: 6px; }

.salta { position: absolute; left: 16px; top: -60px; background: var(--inchiostro); color: var(--crema); padding: 10px 16px; border-radius: var(--pillola); font-weight: 600; text-decoration: none; z-index: 200; }
.salta:focus { top: 12px; }

.solo-lettori { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.firma { background: var(--firma); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- Barra di navigazione (identica alla home) ---------- */
.barra { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 22px; background: rgba(250, 248, 243, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(20, 16, 16, .06); }
.barra-interno { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.barra .marchio { font-size: 17px; }
.barra-link { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.voce { text-decoration: none; font-weight: 500; opacity: .4; transition: opacity .2s; }
.voce:hover, .voce[aria-current="page"] { opacity: 1; }
.voce[aria-current="page"] { font-weight: 600; }
.pillola-firma { background: var(--firma); color: #fff; padding: 10px 22px; border-radius: var(--pillola); font-weight: 600; text-decoration: none; }
@media (min-width: 861px) { .barra { padding: 18px 48px; } .barra-link { gap: 28px; } }
/* Come in home: sotto i 480 px la barra è sempre Servizi, Chi sono e Contattami (si nasconde «Diagnosi gratuita»). */
@media (max-width: 480px) {
  .barra-link .voce[href="/diagnosi-gratuita"] { display: none; }
}

/* ---------- Impaginazione e aloni ---------- */
.scena-pagina { position: relative; overflow-x: clip; }
.alone { position: absolute; border-radius: 50%; pointer-events: none; }
.alone-rosso { top: -140px; right: -180px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(200, 16, 46, .13) 0%, transparent 70%); }
.alone-oro { top: 380px; left: -230px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(240, 193, 0, .12) 0%, transparent 70%); }

.pagina-diagnosi { position: relative; max-width: 1100px; margin: 0 auto; padding: 116px 22px 80px; display: grid; gap: 40px;
  grid-template-areas: "apertura" "modulo" "ricevi"; }
.apertura { grid-area: apertura; }
.modulo-area { grid-area: modulo; width: 100%; max-width: 640px; }
.ricevi { grid-area: ricevi; }

@media (min-width: 1000px) {
  .pagina-diagnosi { grid-template-columns: minmax(0, 1fr) 470px; column-gap: 72px; row-gap: 72px; padding: 150px 48px 110px;
    grid-template-areas: "apertura modulo" "ricevi modulo"; align-items: start; }
  .modulo-area { position: sticky; top: 104px; max-width: none; }
}

/* ---------- Apertura ---------- */
.apertura { container-type: inline-size; }
.apertura h1 { font-weight: inherit; }
.etichetta { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(20, 16, 16, .12); border-radius: var(--pillola); padding: 8px 18px;
  font-family: var(--testo); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; color: rgba(20, 16, 16, .6); margin-bottom: 30px; }
.punto { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--firma); }
/* Il titolo si misura sulla colonna (cqi): tre righe corte, grandi come l'apertura della home,
   che stanno nella colonna a ogni larghezza (Syne 800 è molto larga: misurata in Chrome). */
.titolo-grande { display: block; font-family: var(--titolo); font-weight: 800; font-size: clamp(40px, 15.5cqi, 96px); line-height: .94; letter-spacing: -.045em; }
.titolo-grande .riga-titolo { display: block; white-space: nowrap; }
.sottotitolo { margin-top: 26px; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.6; color: var(--tenue); max-width: 33em; }
.promesse { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.promesse li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: var(--pillola); background: var(--carta);
  box-shadow: var(--ombra-card); font-size: 13.5px; font-weight: 600; }
.promesse li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--firma); }

/* ---------- Card del modulo ---------- */
.card { background: var(--carta); border-radius: var(--raggio-card); box-shadow: var(--ombra-alta); padding: 26px 20px 24px; }
@media (min-width: 560px) { .card { padding: 34px 34px 30px; } }

.tappe { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tappa { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; font-size: 12px; font-weight: 600; color: rgba(20, 16, 16, .4); transition: color .3s; }
.tappa-segno { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--testo); font-weight: 800; font-size: 13px;
  background: var(--sabbia); color: rgba(20, 16, 16, .5); transition: background .35s, color .35s, transform .35s var(--curva); }
.tappa.attiva { color: var(--inchiostro); }
.tappa.attiva .tappa-segno { background: var(--inchiostro); color: var(--crema); transform: scale(1.08); }
.tappa.fatta { color: var(--inchiostro); }
.tappa.fatta .tappa-segno { background: var(--firma); color: #fff; }
.binario { margin-top: 14px; height: 4px; border-radius: var(--pillola); background: var(--sabbia); overflow: hidden; }
.binario span { display: block; height: 100%; width: var(--progresso, 25%); background: var(--firma); border-radius: var(--pillola); transition: width .6s var(--curva); }

fieldset.passo { border: 0; margin-top: 28px; min-width: 0; }
.passo > legend { font-family: var(--titolo); font-weight: 800; font-size: clamp(26px, 3vw, 30px); line-height: 1.1; letter-spacing: -.04em; padding: 0; }
.passo > legend:focus { outline: none; }
.passo .intro-passo { margin-top: 8px; font-size: 15px; color: var(--tenue); }
.passo.entra-avanti { animation: passo-avanti .5s var(--curva) both; }
.passo.entra-indietro { animation: passo-indietro .5s var(--curva) both; }
@keyframes passo-avanti { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes passo-indietro { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

.campo { margin-top: 20px; }
.campo > label, .gruppo > legend { display: block; font-family: var(--testo); font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.facoltativo { font-weight: 400; color: var(--tenue); }
.aiuto { font-size: 13.5px; color: var(--tenue); margin-top: 7px; line-height: 1.5; }

input[type="text"], input[type="email"], input[inputmode="url"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--inchiostro); background: var(--carta);
  border: 1px solid var(--bordo-campo); border-radius: var(--raggio-campo); padding: 14px 17px; min-height: 52px;
  transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: rgba(20, 16, 16, .35); }
textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
select { appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--inchiostro) 50%), linear-gradient(135deg, var(--inchiostro) 50%, transparent 50%);
  background-position: calc(100% - 23px) 52%, calc(100% - 17px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
input:hover, select:hover, textarea:hover { border-color: rgba(20, 16, 16, .28); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--rosso); box-shadow: 0 0 0 4px rgba(200, 16, 46, .12); }
[aria-invalid="true"] { border-color: var(--errore) !important; }

/* Scelte a pillola: radio e checkbox veri, stilizzati (tastiera e lettori di schermo invariati). */
fieldset.gruppo { border: 0; margin-top: 22px; min-width: 0; }
.gruppo > .aiuto { margin: -2px 0 10px; }
.scelte { display: flex; flex-wrap: wrap; gap: 8px; }
.scelte.colonna { flex-direction: column; }
.scelta { position: relative; }
.scelta input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.scelta span { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px 10px 14px; border: 1px solid var(--bordo-campo);
  border-radius: var(--pillola); font-size: 15px; line-height: 1.35; background: var(--carta);
  transition: border-color .2s, background-color .25s, color .25s, transform .2s var(--curva); }
.scelte.colonna .scelta span { border-radius: 14px; }
.scelta span::before { content: ""; flex: none; width: 16px; height: 16px; border: 1.5px solid var(--bordo-campo); border-radius: 50%; background: var(--carta); transition: background .25s, border-color .25s; }
.scelta input[type="checkbox"] + span::before { border-radius: 5px; }
.scelta:hover span { border-color: rgba(20, 16, 16, .3); }
.scelta input:active + span { transform: scale(.98); }
.scelta input:checked + span { background: var(--inchiostro); border-color: var(--inchiostro); color: var(--crema); }
.scelta input:checked + span::before { border-color: transparent; background: var(--firma); box-shadow: inset 0 0 0 3px var(--inchiostro); }
.scelta input:focus-visible + span { outline: 3px solid var(--rosso); outline-offset: 2px; }
.gruppo[aria-invalid="true"] .scelta span { border-color: var(--errore); }

.consenso { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-top: 16px; font-size: 14px; line-height: 1.55; }
.consenso input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--rosso); cursor: pointer; }
.consenso a { font-weight: 600; }

.errore-campo { color: var(--errore); font-size: 13.5px; font-weight: 600; margin-top: 6px; }
.trappola { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin-top: 20px; min-height: 65px; }

.comandi { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 30px; flex-wrap: wrap-reverse; }
.bottone { font: inherit; font-size: 16px; font-weight: 700; border: 0; border-radius: var(--pillola); padding: 16px 30px; min-height: 52px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .2s var(--curva), box-shadow .3s, background-color .2s; }
.bottone.primario { background: var(--firma); color: #fff; margin-left: auto; box-shadow: 0 10px 24px -12px rgba(200, 16, 46, .55); }
.bottone.primario:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(200, 16, 46, .6); }
.bottone.freccia::after { content: "→"; transition: transform .25s var(--curva); }
.bottone.freccia:hover::after { transform: translateX(4px); }
.bottone.secondario { background: rgba(20, 16, 16, .06); color: var(--inchiostro); font-weight: 600; }
.bottone.secondario:hover { background: rgba(20, 16, 16, .1); }
.bottone[disabled] { opacity: .55; cursor: progress; transform: none; }
@media (max-width: 420px) { .comandi .bottone { flex: 1 1 100%; } .bottone.primario { margin-left: 0; } }

.avviso { margin-top: 18px; padding: 13px 15px; border-radius: var(--raggio-campo); font-size: 14.5px; line-height: 1.5;
  background: #FBEFF1; color: var(--errore); font-weight: 600; }
.piccolo { margin-top: 14px; font-size: 13px; color: var(--tenue); }
.senza-sito { margin-top: 20px; font-size: 14px; color: var(--tenue); padding: 12px 14px; border-radius: var(--raggio-campo); background: var(--crema); }
.senza-sito a { font-weight: 600; color: var(--rosso); }

/* ---------- Conferma ---------- */
.conferma { animation: passo-avanti .6s var(--curva) both; }
.spunta { width: 64px; height: 64px; display: block; margin-bottom: 22px; }
.spunta-cerchio { fill: none; stroke: url(#grad-spunta); stroke-width: 3.5; stroke-dasharray: 183; stroke-dashoffset: 183; animation: traccia .8s var(--curva) .1s forwards; }
.spunta-segno { fill: none; stroke: url(#grad-spunta); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: traccia .45s var(--curva) .75s forwards; }
@keyframes traccia { to { stroke-dashoffset: 0; } }
.conferma h2 { font-family: var(--titolo); font-weight: 800; font-size: clamp(32px, 4vw, 40px); line-height: 1; letter-spacing: -.045em; }
.conferma h2:focus { outline: none; }
.conferma > p { margin-top: 14px; color: var(--tenue); }
.conferma strong { color: var(--inchiostro); overflow-wrap: anywhere; }
.prossimi { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.prossimi li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; font-size: 14.5px; line-height: 1.45; padding: 12px 14px; border-radius: 14px; background: var(--crema); }
.prossimi-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--carta); font-family: var(--testo); font-weight: 800; font-size: 13px; box-shadow: var(--ombra-card); }
.conferma .bottone { margin-top: 24px; }

/* ---------- Cosa ricevi: le tre pagine a ventaglio ---------- */
.occhiello { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .32; margin-bottom: 12px; }
.ricevi h2 { font-family: var(--titolo); font-weight: 800; font-size: clamp(34px, 4.2vw, 52px); line-height: 1; letter-spacing: -.04em; }

.ventaglio { position: relative; height: 290px; margin: 40px auto 8px; max-width: 460px; }
.foglio-pdf { position: absolute; top: 10px; left: 50%; width: 164px; aspect-ratio: 210 / 297; margin-left: -82px; background: var(--carta); border-radius: 8px;
  box-shadow: 0 2px 10px rgba(20, 16, 16, .06), 0 22px 40px -22px rgba(20, 16, 16, .3); padding: 16px 14px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .6s var(--curva); }
.f1 { transform: translateX(-118px) rotate(-8deg); z-index: 1; }
.f2 { transform: translateY(-10px); z-index: 2; }
.f3 { transform: translateX(118px) rotate(7deg); z-index: 3; }
@media (hover: hover) and (min-width: 1000px) {
  .ventaglio:hover .f1 { transform: translateX(-150px) rotate(-12deg) translateY(4px); }
  .ventaglio:hover .f2 { transform: translateY(-22px); }
  .ventaglio:hover .f3 { transform: translateX(150px) rotate(11deg) translateY(4px); }
}
.pdf-num { font-family: var(--titolo); font-weight: 800; font-size: 14px; line-height: 1; background: var(--firma); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pdf-titolo { height: 7px; width: 80%; border-radius: 3px; background: rgba(20, 16, 16, .75); margin: 4px 0 2px; }
.pdf-riga { height: 4px; border-radius: 2px; background: rgba(20, 16, 16, .14); }
.pdf-riga.corta { width: 62%; }
.pdf-tabella { margin-top: 6px; border-radius: 5px; outline: 1px solid var(--filo); padding: 7px; display: grid; gap: 7px; }
.pdf-tabella.tre { grid-template-columns: repeat(3, 1fr); }
.pdf-tabella.due { grid-template-columns: 1fr 2fr; }
.pdf-cella { height: 4px; border-radius: 2px; background: rgba(20, 16, 16, .12); }
.pdf-canale { display: flex; align-items: center; gap: 6px; }
.pdf-canale b { flex: 1; height: 4px; border-radius: 2px; background: rgba(20, 16, 16, .12); }
.stato { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.stato.giallo { background: #E5B000; }
.stato.grigio { background: #D4D0C8; }
.stato.verde { background: var(--banda-buono); }
.stato.rosso { background: var(--banda-critico); }
.pdf-punteggio { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 6px; margin-top: 4px; }
.pdf-punteggio .asse { font-family: var(--titolo); font-weight: 800; font-size: 8.5px; letter-spacing: -.02em; }
.barra-pdf { height: 6px; border-radius: 3px; background: rgba(20, 16, 16, .07); overflow: hidden; }
.riempi { display: block; height: 100%; border-radius: 3px; width: var(--valore); transform-origin: left; animation: riempi 1.1s var(--curva) both; }
.riempi.discreto { --valore: 68%; background: var(--banda-discreto); animation-delay: 1.2s; }
.riempi.buono { --valore: 86%; background: var(--banda-buono); animation-delay: 1.35s; }
.riempi.insufficiente { --valore: 52%; background: var(--banda-insufficiente); animation-delay: 1.5s; }
@keyframes riempi { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.legenda { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.legenda li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--carta); border-radius: var(--raggio-card); padding: 18px 20px; box-shadow: var(--ombra-card);
  transition: transform .3s, box-shadow .3s; }
.legenda li:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20, 16, 16, .1); }
.legenda-num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(200, 16, 46, .08); font-family: var(--titolo); font-weight: 800; font-size: 15px; color: var(--rosso); }
.legenda h3 { font-size: 16px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.legenda p { font-size: 14px; color: var(--tenue); line-height: 1.55; margin-top: 3px; }

@media (max-width: 420px) {
  .ventaglio { height: 250px; }
  .foglio-pdf { width: 136px; margin-left: -68px; padding: 13px 11px; }
  .f1 { transform: translateX(-96px) rotate(-8deg); }
  .f3 { transform: translateX(96px) rotate(7deg); }
}

/* ---------- Nessun dato inventato ---------- */
.onesta { background: var(--inchiostro); color: var(--crema); padding: 88px 22px; position: relative; overflow: hidden; }
.onesta::before { content: ""; position: absolute; top: -220px; right: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, .28) 0%, rgba(240, 193, 0, .1) 45%, transparent 70%); pointer-events: none; }
.onesta-interno { position: relative; max-width: 1004px; margin: 0 auto; }   /* allineato alla colonna di contenuto sopra (1100 - 2 × 48) */
.onesta .occhiello { opacity: .5; }
.onesta h2 { font-family: var(--titolo); font-weight: 800; font-size: clamp(38px, 6vw, 76px); line-height: .95; letter-spacing: -.045em; max-width: 12ch; }
.onesta p:last-child { margin-top: 24px; max-width: 36em; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; color: rgba(250, 248, 243, .72); }
@media (min-width: 861px) { .onesta { padding: 120px 48px; } }

/* ---------- SEO, GEO e AEO in breve · chi firma la diagnosi ---------- */
.approfondimenti { padding: 88px 22px 0; }
.approfondimenti-interno { max-width: 1004px; margin: 0 auto; }
.approfondimenti h2 { font-family: var(--titolo); font-weight: 800; font-size: clamp(34px, 4.2vw, 52px); line-height: 1; letter-spacing: -.04em; margin-bottom: 28px; }
.assi-brevi { display: grid; gap: 14px; }
@media (min-width: 861px) { .assi-brevi { grid-template-columns: repeat(3, 1fr); } }
.asse-breve { background: var(--carta); border-radius: var(--raggio-card); box-shadow: var(--ombra-card); padding: 24px 24px 26px; }
.asse-breve h3 { font-family: var(--titolo); font-weight: 700; font-size: 19px; letter-spacing: -.02em; line-height: 1.2; }
.asse-breve p { margin-top: 10px; font-size: 15.5px; line-height: 1.65; color: rgba(20, 16, 16, .75); }
.firma-diagnosi { margin-top: 56px; background: var(--carta); border-radius: var(--raggio-card); box-shadow: var(--ombra-alta); padding: 30px 28px; max-width: 760px; }
.firma-diagnosi h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 14px; }
.firma-diagnosi p { font-size: 16px; line-height: 1.7; color: rgba(20, 16, 16, .78); }
.firma-diagnosi p + p { margin-top: 12px; }
.firma-piede { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px !important; color: var(--tenue) !important; }
.firma-piede a { color: var(--rosso); font-weight: 700; text-decoration: none; }
@media (min-width: 861px) { .approfondimenti { padding: 120px 48px 0; } }

/* ---------- Domande frequenti ---------- */
.domande { padding: 88px 22px; }
.domande-interno { max-width: 1004px; margin: 0 auto; }
.domande h2 { font-family: var(--titolo); font-weight: 800; font-size: clamp(34px, 4.2vw, 52px); line-height: 1; letter-spacing: -.04em; margin-bottom: 32px; }
.domande-lista { display: grid; gap: 14px; }
@media (min-width: 1000px) { .domande-lista { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.domanda { background: var(--carta); border-radius: var(--raggio-card); box-shadow: var(--ombra-card); padding: 24px 26px; }
.domanda h3 { font-family: var(--titolo); font-weight: 700; font-size: clamp(19px, 1.9vw, 22px); line-height: 1.2; letter-spacing: -.02em; }
.domanda-risposta { margin-top: 10px; font-size: 16px; line-height: 1.7; color: rgba(20, 16, 16, .78); }
.domanda-dettaglio { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--tenue); }
.domanda-dettaglio a { color: var(--rosso); font-weight: 700; text-decoration: none; white-space: nowrap; }
.domanda-dettaglio a:hover { text-decoration: underline; }
@media (min-width: 861px) { .domande { padding: 120px 48px; } }

/* ---------- Entrate: come l'apertura della home (dal basso, 40px, power3.out, sfalsate) ---------- */
.entra { animation: entra .85s var(--curva) both; }
.r1 { animation-duration: .55s; animation-delay: .05s; }
.r2 { animation-delay: .3s; }
.r3 { animation-duration: .7s; animation-delay: .65s; }
.r4 { animation-duration: .7s; animation-delay: .85s; }
.r5 { animation-duration: .9s; animation-delay: 1s; }
@keyframes entra { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.pagina-diagnosi { animation: respiro 1s cubic-bezier(.25, .46, .45, .94) both; }
@keyframes respiro { from { transform: scale(1.03); } to { transform: none; } }

/* Rivelazioni allo scorrimento (IntersectionObserver in diagnosi.js): senza JavaScript tutto resta visibile. */
.rivela { transition: opacity .8s var(--curva), transform .8s var(--curva); }
.js-rivela .rivela:not(.visibile) { opacity: 0; transform: translateY(40px); }
.legenda li.rivela:nth-child(2) { transition-delay: .12s; }
.legenda li.rivela:nth-child(3) { transition-delay: .24s; }

/* ---------- Piè di pagina ---------- */
.piede { border-top: 1px solid var(--filo); }
.piede div { max-width: 1100px; margin: 0 auto; padding: 24px 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(20, 16, 16, .45); }
.piede a { text-decoration: none; }
.piede a:hover { text-decoration: underline; }
@media (min-width: 861px) { .piede div { padding: 24px 48px; } }

/* ---------- Barra semplice (pagina privacy) ---------- */
.testata { max-width: 1120px; margin: 0 auto; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; }
.marchio { font-family: var(--titolo); font-weight: 800; font-size: 19px; letter-spacing: -.02em; background: var(--firma); -webkit-background-clip: text; background-clip: text; color: transparent; text-decoration: none; }
.torna { font-size: 14px; font-weight: 600; text-decoration: none; opacity: .6; }
.torna:hover { opacity: 1; }

/* ---------- Informativa privacy ---------- */
.documento { max-width: 720px; margin: 0 auto; padding: 24px 24px 80px; }
.documento h1 { font-family: var(--titolo); font-weight: 800; font-size: clamp(34px, 5vw, 52px); line-height: 1; letter-spacing: -.04em; }
.documento .aggiornato { margin-top: 12px; font-size: 14px; color: var(--tenue); }
.documento h2 { font-family: var(--titolo); font-weight: 700; font-size: 21px; letter-spacing: -.03em; margin-top: 40px; }
.documento p, .documento li { margin-top: 12px; font-size: 16px; line-height: 1.7; }
.documento ul { padding-left: 22px; }
.documento table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; background: var(--carta); border-radius: var(--raggio-card); outline: 1px solid var(--filo); overflow: hidden; }
.documento th, .documento td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--filo); line-height: 1.5; }
.documento th { font-weight: 700; background: color-mix(in srgb, var(--sabbia) 50%, var(--carta)); }
.documento tr:last-child td { border-bottom: 0; }
.tabella-scorre { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rivela { opacity: 1; transform: none; }
}
