/* ══════════ A Prova di Truffa · preset dr-mama-natural rifatto ══════════
   La struttura è quella del modello (foto piena in apertura, «da così a così», cifra sul collage,
   primo acquisto presto, pillole filtro, sigillo che sborda, secondo invito). Il look è dello store:
   una notte che cresce fino a «181 milioni», poi la luce. Un font solo, palette cobalto-bianco-giallo
   + il neutro scuro. Due motivi: l'ombra e il bollino giallo «TRUFFA». */

:root {
  --notte: color-mix(in oklch, var(--p-foto-ombra) 82%, black);
  --notte-2: var(--p-foto-ombra);
  --inchiostro: var(--p-su-secondo);
  --fondo: var(--notte); --testo: var(--p-secondo); --tenue: var(--p-testo-tenue);
  --accento: var(--p-accento); --ris: var(--p-fondo);
  --evid: color-mix(in oklch, var(--p-accento) 55%, transparent);
  --font-titolo: "Plus Jakarta Sans", system-ui, sans-serif; --font-corpo: "Plus Jakarta Sans", system-ui, sans-serif; --font-mano: "Plus Jakarta Sans", system-ui, sans-serif;
  --corpo: 18.5px; --riga: 1.6; --gutter: 24px; --misura: 680px;
  --bottone-fondo: var(--p-accento); --bottone-testo: var(--p-su-accento); --raggio: 16px;
  --mano-colore: var(--p-accento);
  --mano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 C 40 2, 80 9, 120 5 S 180 3, 198 6' fill='none' stroke='%23FFE03A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}
body { letter-spacing: -.005em; }
main > section { position: relative; padding: 64px 0; }
@media (min-width: 900px) { main > section { padding: 112px 0; } }
.cornice { width: min(100% - 2 * var(--gutter), var(--misura)); margin-inline: auto; }
.cornice > p + p, .cornice > p + .bottone, .cornice > .sub + p { margin-top: 16px; }
.nw { white-space: nowrap; }

/* titoli: pesi alternati, la parola chiave in corsivo pesante */
.titolo { font: 800 clamp(2rem, 8.4vw, 3.4rem)/1.06 var(--font-titolo); letter-spacing: -.03em; margin-bottom: 24px; text-wrap: balance; }
.titolo em { font-style: italic; color: var(--p-accento); }
.sub { font-size: 1.2rem; line-height: 1.5; font-weight: 500; color: var(--tenue); margin-bottom: 24px; }
.occhiello { font: 700 .95rem/1 var(--font-corpo); letter-spacing: .14em; text-transform: uppercase; color: var(--p-accento); margin-bottom: 16px; }
.giallo { color: var(--p-accento); }
.nota { font-style: italic; font-weight: 700; font-size: 1.05em; transform: rotate(-2deg); color: var(--mano-colore); }
mark { color: inherit; }
.ris { color: var(--p-accento); }
.gigante { font-weight: 800; }

/* bottoni */
.bottone { font-weight: 800; font-size: 1.08rem; box-shadow: 0 8px 0 color-mix(in oklch, var(--p-accento) 45%, black); transition: transform .15s, box-shadow .15s; width: 100%; max-width: 440px; }
.bottone:active { transform: translateY(4px); box-shadow: 0 4px 0 color-mix(in oklch, var(--p-accento) 45%, black); }
.rischio { color: var(--tenue); font-size: 1rem; }

/* la notifica del telefono: il pezzo del mondo che torna ovunque */
.notifica { display: grid; gap: 2px; padding: 12px 16px; border-radius: 18px; background: rgb(28 31 38 / .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--p-secondo); font-size: 1rem; line-height: 1.35; box-shadow: 0 16px 40px rgb(0 0 0 / .45); border: 1px solid rgb(255 255 255 / .1); max-width: 360px; }
.notifica .n-app { font-size: .82rem; letter-spacing: .02em; color: var(--p-testo-tenue); text-transform: uppercase; font-weight: 700; }
.notifica .n-chi { font-size: 1.02rem; }
.notifica.chiara { background: var(--p-secondo); color: var(--inchiostro); border-color: transparent; box-shadow: 0 10px 30px rgb(0 0 0 / .18); }
.notifica.chiara .n-app { color: var(--p-fondo); }

/* il bollino giallo */
.bollino { position: absolute; z-index: 3; top: 50%; left: 50%; padding: 8px 16px; border-radius: 12px; background: var(--p-accento); color: var(--p-su-accento); font: 800 1.5rem/1 var(--font-titolo); letter-spacing: .06em; border: 3px solid var(--p-su-accento); box-shadow: 0 6px 0 rgb(0 0 0 / .35); transform: translate(-50%, -50%) rotate(-12deg); }
.bollino.piccolo { font-size: .95rem; top: 16px; left: 16px; transform: rotate(-6deg); }

/* ── 1 · APERTURA ───────────────────────────────────────── */
#apertura { padding: 0; min-height: 100svh; display: flex; flex-direction: column; overflow: clip; background: var(--notte); }
.ap-foto { position: absolute; inset: 0; margin: 0; }
.ap-foto img, .ap-foto video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.ap-buio { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 12 16 / .55), rgb(10 12 16 / .1) 55%, rgb(10 12 16 / .55)); }
.ap-ombra { position: absolute; inset: 0; background: radial-gradient(60% 45% at 85% 30%, rgb(5 6 9 / .85), transparent 70%); opacity: 0; transform-origin: 90% 20%; }
.ap-testo { position: relative; z-index: 2; padding: 16px var(--gutter) 24px; }
.marchio { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 16px; }
.scudo { width: 22px; height: 26px; fill: var(--p-accento); flex: none; }
.ap-pannello { background: rgb(12 14 19 / .34); backdrop-filter: blur(9px) brightness(.8); -webkit-backdrop-filter: blur(9px) brightness(.8); border-radius: 24px; padding: 20px 20px 16px; border: 1px solid rgb(255 255 255 / .08); max-width: 560px; }
.ap-pre { font-weight: 700; font-size: 1rem; color: var(--p-accento); letter-spacing: .02em; margin-bottom: 8px; }
.ap-titolo { font-family: var(--font-titolo); letter-spacing: -.03em; line-height: 1.02; margin-bottom: 14px; }
.ap-titolo span { display: block; }
.ap-titolo .l1 { font-weight: 500; font-size: clamp(1.35rem, 5.6vw, 2rem); color: var(--p-testo-tenue); }
.ap-titolo .l2 { font-weight: 800; font-size: clamp(2.5rem, 11.4vw, 4.6rem); line-height: .98; margin: 4px 0 6px; }
.ap-titolo .l3 { font-weight: 700; font-size: clamp(1.45rem, 6.2vw, 2.3rem); line-height: 1.1; }
.crepa { position: relative; font-style: italic; font-weight: 800; color: var(--p-accento); display: inline-block; }
.crepa::after { content: ""; position: absolute; inset: -6% -4%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22 L18 18 L26 26 L40 14 L52 24 L63 12 L74 22 L86 15 L100 19' fill='none' stroke='%23111419' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; clip-path: inset(0 100% 0 0); animation: crepa 1s .9s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes crepa { to { clip-path: inset(0 0 0 0); } }
.ap-sub { font-size: 1.06rem; line-height: 1.45; color: var(--p-secondo); margin-bottom: 16px; }
.ap-pannello .bottone { width: 100%; }
.ap-pannello .rischio { margin-top: 10px; text-align: center; }
.ap-pannello .rischio s { opacity: .7; }
.ap-notifica { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 28px; margin-inline: auto; animation: arriva .7s 1.4s cubic-bezier(.2,.9,.2,1.2) both; }
@keyframes arriva { from { transform: translateY(-24px) scale(.96); opacity: 0; } }
@media (max-height: 700px) { .ap-notifica { display: none; } }
@media (min-width: 900px) {
  #apertura { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; }
  .ap-foto { position: relative; grid-column: 2; grid-row: 1; height: 100svh; -webkit-mask-image: linear-gradient(90deg, transparent, black 22%); mask-image: linear-gradient(90deg, transparent, black 22%); }
  .ap-testo { min-width: 0; grid-column: 1; grid-row: 1; padding: 48px 0 48px max(48px, 6vw); }
  .ap-pannello { background: transparent; backdrop-filter: none; border: 0; padding: 0; }
  .ap-titolo .l2 { font-size: clamp(3.4rem, 5.6vw, 5.2rem); }
  .ap-notifica { left: auto; right: 6vw; bottom: 64px; width: 340px; }
}

/* ── 2 · NEMICO ─────────────────────────────────────────── */
#nemico { background: var(--notte); padding-bottom: 64px; }
.nem-foto { margin: 24px 0; height: 120vw; max-height: 820px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, black 18%, black 80%, transparent); mask-image: linear-gradient(180deg, transparent, black 18%, black 80%, transparent); }
.nem-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 80%; transform-origin: 40% 80%; }
.copione { position: relative; background: var(--p-secondo); color: var(--inchiostro); border-radius: 6px; padding: 24px 20px 20px; margin: -96px 0 32px; box-shadow: 0 30px 60px rgb(0 0 0 / .6); z-index: 2; }
.cop-testa { font: 800 .9rem/1 var(--font-corpo); letter-spacing: .12em; text-transform: uppercase; border-bottom: 2px solid var(--inchiostro); padding-bottom: 12px; margin-bottom: 8px; }
.cop-righe { list-style: none; padding: 0; margin: 0; }
.cop-righe li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px dashed rgb(17 20 25 / .25); font-size: 1.02rem; line-height: 1.4; }
.cop-righe .ora { font-weight: 800; color: var(--p-fondo); font-variant-numeric: tabular-nums; }
.cop-righe .ora { transition: background .4s, color .4s; border-radius: 6px; padding: 0 4px; align-self: start; }
.cop-righe li.letta .ora { background: var(--p-accento); color: var(--p-su-accento); }
.cop-piede { margin-top: 12px; text-align: right; }
.cop-piede .nota { color: var(--p-fondo); }

/* ── 3 · PROBLEMA: tre quadri fermi mentre scorri ───────── */
#problema { background: var(--notte); padding-bottom: 64px; }
.pr-testa { padding-bottom: 16px; }
.quadro { height: 150svh; position: relative; }
.palco { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.palco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.palco::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 10 14 / .7), transparent 30%, transparent 45%, rgb(8 10 14 / .9)); }
.q-ora { position: absolute; z-index: 2; top: 24px; left: var(--gutter); display: grid; gap: 4px; padding: 12px 16px; border-radius: 16px; background: rgb(12 14 19 / .74); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.q-ora b { font-size: 2.6rem; line-height: 1; font-weight: 800; color: var(--p-accento); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.q-ora span { font-weight: 700; font-size: 1rem; }
.q-giu { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 32px; display: grid; gap: 12px; max-width: 560px; margin-inline: auto; }
.q-testo { background: rgb(12 14 19 / .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 16px 18px; border-radius: 18px; font-size: 1.08rem; line-height: 1.5; }
.saldo { padding-top: 48px; text-align: center; }
.saldo-app { background: var(--p-secondo); color: var(--inchiostro); border-radius: 24px; padding: 24px; max-width: 380px; margin: 0 auto 40px; box-shadow: 0 0 0 6px rgb(255 255 255 / .06), 0 30px 60px rgb(0 0 0 / .5); }
.saldo-eti { font-weight: 700; font-size: 1rem; color: rgb(17 20 25 / .6); }
.saldo-cifra { font-weight: 800; font-size: 2.6rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 8px 0; white-space: nowrap; }
.saldo-mov { font-size: 1rem; font-weight: 700; color: var(--p-fondo); }
.saldo .gigante { font-size: clamp(2.2rem, 10vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }

/* ── 4 · LA CIFRA SUL COLLAGE ───────────────────────────── */
#bigidea { background: var(--notte); padding-top: 0; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; filter: saturate(.6) brightness(.7); }
.collage img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cifra-pannello { position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), 760px); margin: -38vw auto 0; padding: 24px; border-radius: 24px; background: rgb(12 14 19 / .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-align: center; border: 1px solid rgb(255 255 255 / .08); }
@media (min-width: 900px) { .collage { grid-template-columns: repeat(4, 1fr); } .cifra-pannello { margin-top: -160px; } }
.cifra { font-style: italic; font-size: clamp(4.6rem, 26vw, 10rem); line-height: .9; letter-spacing: -.05em; color: var(--p-secondo); }
.cifra-u { display: block; font-size: .32em; letter-spacing: -.02em; color: var(--p-accento); }
.cifra-riga { font-size: 1.15rem; font-weight: 500; margin-top: 12px; }
.cifre { margin-top: 40px; display: grid; gap: 24px; }
.cifra-piccola { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; border-top: 1px solid rgb(255 255 255 / .14); padding-top: 16px; }
.cifra-piccola b { font-size: 2.2rem; font-weight: 800; color: var(--p-accento); letter-spacing: -.03em; min-width: 4.4ch; }
.cifra-piccola span { font-size: 1.05rem; }
.cifra-chiusa { font-size: 1.3rem; font-weight: 700; line-height: 1.4; }
.fonti { border-color: rgb(255 255 255 / .16); }
.fonti summary { font-size: 1rem; color: var(--p-testo-tenue); }
.fonti p { font-size: 1rem; color: var(--p-testo-tenue); }

/* ── 5 · DIECI: il dossier oscurato ─────────────────────── */
#dieci { background: linear-gradient(180deg, var(--notte), var(--notte-2)); }
.dossier { list-style: none; padding: 20px 16px; margin: 8px 0 32px; background: var(--p-secondo); color: var(--inchiostro); border-radius: 6px; box-shadow: 0 30px 60px rgb(0 0 0 / .5); }
.dossier li { display: grid; grid-template-columns: 28px 1fr auto; grid-template-areas: "n cat lucc" "n barra barra"; column-gap: 8px; row-gap: 6px; padding: 12px 0; border-bottom: 1px dashed rgb(17 20 25 / .2); align-items: center; }
.d-n { grid-area: n; font-weight: 800; font-size: 1.3rem; color: var(--p-fondo); align-self: start; }
.d-cat { grid-area: cat; font-weight: 700; font-size: 1rem; }
.d-barra { grid-area: barra; height: 14px; border-radius: 2px; background: var(--inchiostro); transform-origin: left; }
.dossier li:nth-child(odd) .d-barra { width: 92%; } .dossier li:nth-child(even) .d-barra { width: 74%; } .dossier li:nth-child(3n) .d-barra { width: 84%; }
.d-lucc { grid-area: lucc; display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 800; color: var(--p-fondo); text-transform: uppercase; letter-spacing: .04em; }
.d-lucc svg, .lucchetto svg { width: 13px; height: 15px; fill: currentColor; }
#dieci .titolo { font-size: clamp(1.8rem, 7.2vw, 3rem); }

/* ── 6 · LA LUCE TORNA (H5) ─────────────────────────────── */
#sogno { padding-top: 0; background: var(--p-secondo); color: var(--inchiostro); --tenue: rgb(17 20 25 / .7); }
.banda-timbri { background: linear-gradient(180deg, var(--notte-2), var(--notte-2) 70%, var(--p-secondo)); padding: 64px 0 72px; margin-bottom: 8px; }
.timbri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.timbro { position: relative; margin: 0; }
.timbro img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; filter: brightness(.75); transition: filter 1s; }
.timbro .bollino { font-size: .95rem; padding: 6px 8px; border-width: 2px; opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scale(2.6); }
.timbro figcaption { font-size: .82rem; font-weight: 700; color: var(--p-secondo); text-align: center; margin-top: 8px; opacity: 0; transition: opacity .6s .5s; }
.timbrato .timbro .bollino { animation: timbra .45s cubic-bezier(.3,1.6,.5,1) forwards; }
.timbrato .timbro:nth-child(2) .bollino { animation-delay: .35s; } .timbrato .timbro:nth-child(3) .bollino { animation-delay: .7s; }
.timbrato .timbro img { filter: brightness(1) saturate(1.05); }
.timbrato .timbro figcaption { opacity: 1; }
@keyframes timbra { to { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scale(1); } }
.h5-pre { font-weight: 700; font-size: 1.15rem; color: var(--p-fondo); margin-bottom: 12px; }
.h5 { font-family: var(--font-titolo); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 20px; }
.h5 span { display: block; font-size: clamp(1.6rem, 7vw, 2.8rem); }
.h5 .h5-grande { font-size: clamp(2.6rem, 12.4vw, 5.2rem); color: var(--p-fondo); margin: 4px 0; }
.h5 .h5-sott { display: inline-block; background: var(--p-accento); padding: 2px 8px 4px; margin-top: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
#sogno .sub { color: var(--tenue); }
#sogno .ris, #benefici .ris, #garanzia .ris { color: var(--p-fondo); }
.luce { margin: 32px 0; }
.luce img { width: 100%; height: auto; max-height: 92svh; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, transparent, black 10%, black 90%, transparent); mask-image: linear-gradient(180deg, transparent, black 10%, black 90%, transparent); }
.box-acquisto { margin-top: 32px; padding: 32px 24px; border-radius: 28px; background: var(--p-fondo); color: var(--p-secondo); text-align: center; }
.ba-domanda { font-weight: 800; font-size: 1.6rem; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 24px; }
.box-acquisto .rischio { color: var(--p-testo-tenue); }

/* ── 7 · PRODOTTO ───────────────────────────────────────── */
#prodotto { background: var(--p-fondo); color: var(--p-secondo); }
#prodotto .sub { color: var(--p-testo-tenue); }
.pr-griglia { display: grid; gap: 40px; }
@media (min-width: 900px) { .pr-griglia { width: min(100% - 96px, 1080px); grid-template-columns: .8fr 1.2fr; align-items: center; } }
.libro { position: relative; width: 210px; aspect-ratio: 3/4.2; margin: 0 auto; perspective: 900px; }
.libro-cop { position: absolute; inset: 0; border-radius: 4px 12px 12px 4px; background: linear-gradient(160deg, var(--notte-2), var(--notte)); color: var(--p-secondo); padding: 24px 18px; display: flex; flex-direction: column; gap: 12px; transform: rotateY(-18deg); transform-origin: left; box-shadow: 18px 24px 40px rgb(0 0 0 / .45), inset 4px 0 0 rgb(255 255 255 / .12); }
.libro-cop .scudo { width: 34px; height: 40px; }
.libro-cop b { font-size: 1.9rem; line-height: 1; letter-spacing: -.03em; color: var(--p-accento); }
.libro-cop span { font-size: .8rem; line-height: 1.35; color: var(--p-testo-tenue); margin-top: auto; }
.vale { margin-top: 32px; padding: 20px; border-radius: 20px; background: var(--p-fondo-alt); }
.vale h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.giallo-fondo { background: var(--p-accento); color: var(--p-su-accento); padding: 0 8px; border-radius: 6px; }
#prodotto .titolo em { color: var(--p-accento); }

/* ── 8 · BENEFICI ───────────────────────────────────────── */
#benefici { background: var(--p-secondo); color: var(--inchiostro); --tenue: rgb(17 20 25 / .7); }
#benefici .titolo em { color: var(--p-fondo); }
.promesse { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 24px; }
.promesse li { position: relative; padding-left: 48px; }
.promesse li::before { content: ""; position: absolute; left: 0; top: 2px; width: 32px; height: 36px; background: var(--p-fondo); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 1 2 5v8c0 7 4.5 11.5 10 14 5.5-2.5 10-7 10-14V5L12 1Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 1 2 5v8c0 7 4.5 11.5 10 14 5.5-2.5 10-7 10-14V5L12 1Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.promesse h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 4px; }
.chiusa { font-size: 1.3rem; font-weight: 700; line-height: 1.4; padding: 20px; border-left: 6px solid var(--p-accento); background: var(--p-superficie); border-radius: 0 16px 16px 0; }

/* ── 9 · CHI PROTEGGI ───────────────────────────────────── */
#chi { background: var(--p-superficie); color: var(--inchiostro); }
#chi .titolo em, #testimonianze .titolo em { color: var(--p-fondo); }
.pillole { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pillola { border: 2px solid var(--inchiostro); background: transparent; color: var(--inchiostro); border-radius: 999px; padding: 10px 18px; font-weight: 800; font-size: 1rem; cursor: pointer; }
.pillola.attiva { background: var(--inchiostro); color: var(--p-secondo); }
.scheda { display: none; }
.scheda.attiva { display: grid; gap: 16px; animation: entra .5s ease both; }
@keyframes entra { from { opacity: 0; transform: translateY(16px); } }
.scheda figure { position: relative; margin: 0; }
.scheda img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; }
.scheda h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
@media (min-width: 900px) { .scheda.attiva { grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; } }

/* ── 10 · TEST ──────────────────────────────────────────── */
#test { background: var(--p-fondo-alt); color: var(--p-secondo); }
.quiz { display: grid; gap: 16px; }
.q-msg { display: grid; gap: 10px; }
.q-msg .notifica { max-width: none; }
.q-scelte { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.q-scelte button { min-height: 48px; border-radius: 14px; border: 2px solid var(--p-secondo); background: transparent; color: var(--p-secondo); font-weight: 800; font-size: 1rem; cursor: pointer; }
.q-scelte button.scelta { background: var(--p-secondo); color: var(--p-fondo); }
.q-msg.giusta .notifica { outline: 4px solid var(--p-accento); }
.q-msg.sbagliata .notifica { outline: 4px solid rgb(255 255 255 / .35); }
.q-esito { margin-top: 16px; padding: 24px; border-radius: 24px; background: var(--notte); text-align: center; }
.q-punti { font-weight: 800; font-size: 1.4rem; margin-bottom: 8px; }
.q-punti b { font-size: 3.4rem; color: var(--p-accento); letter-spacing: -.04em; }
.q-esito .bottone { margin-top: 20px; }
.lucchetto { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--p-accento); white-space: nowrap; }

/* ── 11 · BONUS ─────────────────────────────────────────── */
#bonus { background: var(--p-secondo); color: var(--inchiostro); --tenue: rgb(17 20 25 / .7); }
#bonus .titolo em { color: var(--p-fondo); }
.bonus-lista { display: grid; gap: 40px; }
.bonus { display: grid; gap: 20px; }
.cop { position: relative; aspect-ratio: 4/3; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: var(--p-secondo); }
.cop b { font-size: clamp(1.9rem, 8.6vw, 2.6rem); line-height: 1; letter-spacing: -.03em; position: relative; z-index: 1; }
.cop .cop-n { position: absolute; top: 20px; left: 24px; background: var(--p-accento); color: var(--p-su-accento); font-weight: 800; font-size: .9rem; padding: 6px 10px; border-radius: 8px; letter-spacing: .06em; }
.cop .scudo { position: absolute; right: -20px; bottom: -30px; width: 170px; height: 200px; opacity: .2; }
.cop-1 { background: var(--p-fondo); } .cop-2 { background: var(--notte-2); } .cop-2 b { color: var(--p-accento); } .cop-3 { background: var(--p-accento); color: var(--p-su-accento); } .cop-3 .cop-n { background: var(--p-su-accento); color: var(--p-accento); } .cop-3 .scudo { fill: var(--p-su-accento); }
.b-eti { font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--p-fondo); }
.bonus h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 8px; }
.b-prezzo { margin-top: 12px; font-size: 1.3rem; display: flex; gap: 12px; align-items: center; }
.b-prezzo s { color: rgb(17 20 25 / .55); }
.b-prezzo b { background: var(--p-accento); padding: 4px 12px; border-radius: 8px; font-weight: 800; }
@media (min-width: 900px) { .bonus { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 32px; } }

/* ── 12 · TESTIMONIANZE ─────────────────────────────────── */
#testimonianze { background: var(--p-superficie); color: var(--inchiostro); }
#testimonianze .cornice { width: min(100% - 2 * var(--gutter), 1080px); }
.voci { columns: 1; column-gap: 16px; }
@media (min-width: 760px) { .voci { columns: 2; } }
@media (min-width: 1100px) { .voci { columns: 3; } }
.voce { break-inside: avoid; margin: 0 0 16px; padding: 24px 20px 20px; border-radius: 24px; background: var(--p-secondo); display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; }
.voce img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; grid-row: span 2; }
.voce p { font-size: 1.05rem; line-height: 1.55; grid-column: 1 / -1; order: 2; margin-top: 12px; }
.voce footer { font-weight: 800; font-size: 1rem; align-self: center; order: 1; }
.voce.grande p { font-size: 1.2rem; font-weight: 500; }
.voce.blu { background: var(--p-fondo); color: var(--p-secondo); }
.voce.giallo { background: var(--p-accento); color: var(--p-su-accento); }
.voce.nascosta { display: none; }
.filtri .pillola { font-size: .95rem; padding: 8px 14px; }

/* ── 13 · OFFERTA ───────────────────────────────────────── */
#offerta { background: var(--p-fondo); color: var(--p-secondo); }
#offerta .sub { color: var(--p-testo-tenue); }
.offerta-carta { background: var(--p-secondo); color: var(--inchiostro); border-radius: 28px; padding: 24px 20px; text-align: center; box-shadow: 0 30px 60px rgb(0 0 0 / .25); }
.riepilogo { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; }
.riepilogo li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgb(17 20 25 / .12); font-size: 1.02rem; font-weight: 500; }
.riepilogo s { color: rgb(17 20 25 / .55); }
.riepilogo .tot { font-weight: 800; border-bottom: 0; }
.oggi { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; color: var(--p-fondo); }
.prezzo { font-size: clamp(4.4rem, 22vw, 7rem); line-height: 1; letter-spacing: -.05em; color: var(--p-fondo); margin: 8px 0 4px; }
.prezzo-nota { margin-bottom: 20px; }
.prezzo-nota .nota { color: var(--p-fondo); }
.offerta-carta .rischio { color: rgb(17 20 25 / .65); }

/* ── 14 · GARANZIA ──────────────────────────────────────── */
#garanzia { background: var(--p-secondo); color: var(--inchiostro); }
#garanzia .titolo em { color: var(--p-fondo); }
.gar-griglia { display: grid; gap: 48px; }
@media (min-width: 900px) { .gar-griglia { width: min(100% - 96px, 1080px); grid-template-columns: 1fr 1fr; align-items: center; } }
.gar-foto { position: relative; margin: 0 16px 0 0; }
.gar-foto img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 28px; }
.sigillo { position: absolute; top: -28px; right: -16px; width: 132px; height: 132px; display: grid; place-content: center; text-align: center; color: var(--p-su-accento); }
.sigillo svg { position: absolute; inset: 0; fill: var(--p-accento); filter: drop-shadow(0 8px 12px rgb(0 0 0 / .25)); animation: gira 30s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.sigillo b { position: relative; font-size: 2.6rem; line-height: .9; font-weight: 800; }
.sigillo span { position: relative; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; line-height: 1.15; }
.citazione { margin-top: 24px; padding-left: 20px; border-left: 5px solid var(--p-accento); font-style: italic; font-weight: 800; font-size: 1.35rem; line-height: 1.35; }

/* ── 15 · DOMANDE ───────────────────────────────────────── */
#domande { background: var(--p-superficie); color: var(--inchiostro); }
#domande .titolo em { color: var(--p-fondo); }
#domande summary { font-size: 1.15rem; }

/* ── 16 · CONGEDO ───────────────────────────────────────── */
#congedo { background: radial-gradient(70% 50% at 80% 10%, rgb(35 70 232 / .35), transparent 70%), var(--notte); text-align: center; padding-bottom: 0; }
#congedo .gigante { font-size: clamp(2.3rem, 10.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 40px; text-wrap: balance; }
#congedo .bottone { margin: 0 auto; }
.piede { margin-top: 96px; padding: 32px var(--gutter) 120px; border-top: 1px solid rgb(255 255 255 / .1); color: var(--p-testo-tenue); font-size: 16.5px; display: grid; gap: 16px; max-width: 760px; margin-inline: auto; }
.piede p { font-size: 16.5px; line-height: 1.55; }

/* barra d'acquisto */
[data-barra-acquisto] { background: rgb(12 14 19 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--p-secondo); border: 1px solid rgb(255 255 255 / .12); }
[data-barra-acquisto] .bottone { width: auto; box-shadow: none; font-size: 1rem; }
.barra-prezzo s { color: var(--p-testo-tenue); } .barra-prezzo b { font-size: 1.3rem; color: var(--p-accento); }

@media (prefers-reduced-motion: reduce) { .crepa::after { clip-path: none; } .timbro .bollino { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg); } .timbro figcaption { opacity: 1; } }

/* fondi scuri dichiarati come immagine (il critico legge i fondi in rgb o gradient) */
#apertura, #nemico, #problema, #bigidea { background-image: linear-gradient(var(--notte), var(--notte)); }
/* niente paragrafi sotto i 16,5 px al telefono */
.rischio, .ap-pre, .saldo-eti, .saldo-mov, .fonti p, .riepilogo li, .cop-righe li, .cop-testa, .fonti summary { font-size: 1.06rem; }
/* apertura al telefono: niente riquadro, il testo sta sul muro (la zona libera) con un velo che scende, l'ombra resta visibile */
@media (max-width: 899px) {
  .ap-testo { background: linear-gradient(180deg, rgb(10 12 16 / .78) 0, rgb(10 12 16 / .5) 62%, transparent 100%); padding-bottom: 72px; }
  .ap-pannello { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; padding: 0; }
  .ap-titolo, .ap-sub { text-shadow: 0 2px 18px rgb(0 0 0 / .55); }
}
.ap-titolo .l2 { max-width: 6.2em; }
/* il titolo delle dieci cose su due livelli: la domanda piccola, il bersaglio grande */
.titolo-pre { font-weight: 700; font-size: 1.3rem; color: var(--p-testo-tenue); margin-bottom: 8px; letter-spacing: -.01em; }
#dieci .titolo em { font-size: 1.25em; }
/* apertura più cupa: la mano dell'ombra resta libera, la notifica scende in fondo e si stringe */
.ap-foto img, .ap-foto video { object-position: 45% 50%; }
@media (max-width: 899px) {
  .ap-notifica { bottom: 10px; padding: 8px 14px; gap: 0; }
  .ap-notifica .n-chi { display: none; }
  .ap-notifica .n-testo { font-size: .95rem; }
  .ap-buio { background: linear-gradient(180deg, rgb(4 6 9 / .35), transparent 50%, rgb(4 6 9 / .3)); }
}
/* barra d'allarme in apertura */
.ticker { margin: -16px calc(-1 * var(--gutter)) 16px; background: var(--p-accento); color: var(--p-su-accento); overflow: hidden; white-space: nowrap; font-weight: 800; font-size: .95rem; padding: 8px 0; }
.ticker-rullo { display: inline-flex; animation: rullo 28s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 6px; padding-right: 28px; }
.ticker .doppio { padding: 0; }
.tri { width: 15px; height: 14px; fill: currentColor; flex: none; }
@keyframes rullo { to { transform: translateX(-50%); } }
.marchio-tag { font-weight: 500; font-size: .9rem; color: var(--p-testo-tenue); margin-left: 4px; }
.marchio-tag::before { content: "· "; }
@media (min-width: 900px) { .ticker { margin: 0 0 24px; border-radius: 10px; } }

/* le notizie */
#notizie { background-image: linear-gradient(var(--notte), var(--notte)); padding-top: 0; }
.nastro { background: repeating-linear-gradient(-45deg, var(--p-accento) 0 22px, var(--p-su-accento) 22px 44px); padding: 10px 0; margin-bottom: 56px; overflow: hidden; }
.nastro-rullo { display: inline-flex; white-space: nowrap; animation: rullo 22s linear infinite; }
.nastro span { background: var(--p-su-accento); color: var(--p-accento); font-weight: 800; letter-spacing: .08em; font-size: .95rem; padding: 6px 0; }
.ritagli { overflow: hidden; margin: 8px 0 48px; }
.ritagli-rullo { display: flex; gap: 16px; width: max-content; padding-left: var(--gutter); animation: rullo 48s linear infinite; }
.ritaglio { width: 270px; flex: none; background: var(--p-secondo); color: var(--inchiostro); padding: 18px 18px 20px; border-radius: 4px; border-top: 6px solid var(--p-su-accento); box-shadow: 0 20px 40px rgb(0 0 0 / .5); }
.testata { display: block; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--p-fondo); border-bottom: 1px solid rgb(17 20 25 / .2); padding-bottom: 8px; margin-bottom: 10px; }
.ritaglio h3 { font-size: 1.3rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.allarmi { display: grid; gap: 16px; margin-bottom: 32px; }
.allarme { background: rgb(255 255 255 / .06); border-left: 6px solid var(--p-accento); border-radius: 0 16px 16px 0; padding: 16px 18px; display: grid; gap: 4px; }
.allarme b { font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--p-accento); }
.allarme > span { font-size: 1.06rem; }
.allarmi-chiusa { font-size: 1.3rem; font-weight: 700; line-height: 1.4; }
.marchio { flex-wrap: wrap; row-gap: 0; }
.marchio-tag { flex-basis: 100%; margin: 2px 0 0 30px; font-size: .95rem; font-weight: 700; color: var(--p-secondo); }
.marchio-tag::before { content: none; }
/* la frase di chi lavora in apertura, grande su tre livelli */
.ap-grande { text-transform: none; line-height: 1.05; margin-bottom: 18px; }
.ap-grande span { display: block; }
.ap-grande .g1 { font-weight: 800; font-size: 1.02rem; letter-spacing: .04em; color: var(--p-secondo); }
.ap-grande .g2 { font-weight: 800; font-size: clamp(2.2rem, 10vw, 3.8rem); letter-spacing: -.03em; color: var(--p-accento); margin: 4px 0; }
.ap-grande .g3 { font-weight: 800; font-size: 1.12rem; letter-spacing: .01em; color: var(--p-secondo); line-height: 1.25; }
#sogno .banda-timbri + .cornice { padding-top: 0; }
#sogno .titolo { color: var(--inchiostro); } #sogno .titolo em.blu { color: var(--p-fondo); }
/* gerarchia dell'apertura (17/11): la headline comanda, la frase della guida sta un gradino sotto */
.ap-titolo .l1 { font-size: clamp(1.45rem, 6.2vw, 2.2rem); font-weight: 600; }
.ap-titolo .l2 { font-size: clamp(2.8rem, 12.6vw, 5rem); }
.ap-titolo .l3 { font-size: clamp(1.5rem, 6.4vw, 2.4rem); }
.ap-titolo { margin-bottom: 20px; }
.ap-grande { font-size: 17px; padding-top: 16px; border-top: 2px solid rgb(255 224 58 / .55); margin-bottom: 20px; line-height: 1.2; }
.ap-grande .g1 { font-size: .86em; font-weight: 600; letter-spacing: .06em; color: var(--p-testo-tenue); }
.ap-grande .g2 { font-size: clamp(1.55rem, 6.6vw, 2.3rem); letter-spacing: -.02em; margin: 2px 0; }
.ap-grande .g3 { font-size: 1em; font-weight: 600; color: var(--p-secondo); }
@media (min-width: 900px) { .ap-grande { font-size: 19px; max-width: 30em; } }
/* apertura (17/11, chi lavora): la guida è la headline, «come evitare» scende a sub */
.ap-pre { font-size: 1.06rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--p-secondo); margin-bottom: 6px; }
.ap-titolo .l2 { font-size: clamp(2.7rem, 12.2vw, 5rem); color: var(--p-accento); text-transform: uppercase; max-width: none; line-height: .95; margin: 0 0 4px; }
.ap-titolo .l3 { font-size: clamp(1.7rem, 7.4vw, 2.7rem); font-weight: 800; color: var(--p-secondo); }
.ap-titolo .l1 { font-size: clamp(1.3rem, 5.6vw, 2rem); font-weight: 600; color: var(--p-testo-tenue); margin-top: 4px; }
.ap-sotto { font-size: 1.15rem; line-height: 1.4; padding-top: 14px; border-top: 2px solid rgb(255 224 58 / .55); margin-bottom: 20px; color: var(--p-secondo); }
.ap-sotto .crepa { font-weight: 800; }
.ap-pre { font-size: 1rem; letter-spacing: .02em; white-space: nowrap; } @media (max-width: 359px) { .ap-pre { white-space: normal; } }
.ap-pre { font-size: 16.6px; letter-spacing: 0; }
