/* ══════════ stile.css — Diventa Chef a Domicilio · preset dr-framer-masterclass ══════════
   Struttura del modello (bottone sempre a portata, cerchi → risultati → livelli col nastro, prezzo nel bottone,
   blocco pieno con la diagonale), look di questo store: porcellana, salvia, pomodoro; un font solo (Archivo);
   il motivo che torna ovunque è la pennellata di salsa. */

:root {
  --fondo: var(--p-fondo); --testo: var(--p-testo); --tenue: var(--p-testo-tenue);
  --accento: var(--p-accento); --ris: var(--p-risultato); --evid: var(--p-evidenzia);
  --mano-colore: var(--p-accento);
  --corpo: 19.5px; --riga: 1.5;
  --font-titolo: "Archivo", system-ui, sans-serif; --font-corpo: "Archivo", system-ui, sans-serif; --font-mano: "Archivo", system-ui, sans-serif;
  --gutter: 24px; --misura: 680px;
  --bottone-fondo: var(--p-accento); --bottone-testo: var(--p-su-accento); --raggio: 14px;
  --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='%23E04A2F' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
body { font-stretch: 100%; }
::selection { background: var(--p-evidenzia); }

/* ── strumenti del testo, alla maniera di questo store ── */
strong { font-weight: 800; color: var(--p-titoli); }
.ris { color: var(--p-risultato); font-weight: 800; }
.nota { font-family: var(--font-corpo); font-style: italic; font-weight: 600; font-size: 1.02rem; color: var(--p-accento); transform: rotate(-2deg); padding-left: 1.6em; position: relative; }
.nota::before { content: ""; position: absolute; left: 0; top: .1em; width: 1.2em; height: 1em; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M2 3 C 6 14, 12 16, 21 14 M16 9 L21 14 L15 18' fill='none' stroke='%23E04A2F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.gigante { font-weight: 900; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.02em; color: var(--p-titoli); }

/* ── ossatura ── */
main > section { position: relative; padding: 72px var(--gutter); background: var(--p-fondo); }
main > section > * { max-width: var(--misura); margin-left: auto; margin-right: auto; }
@media (min-width: 900px) { main > section { padding: 120px 48px; } }

.etichetta { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--p-accento); text-align: center; margin-bottom: 12px; }
.etichetta-chiara { color: #FFB59F; }
.titolo { font-weight: 900; font-stretch: 112%; text-transform: uppercase; text-align: center; font-size: clamp(1.65rem, 7.2vw, 3.1rem); line-height: 1.05; letter-spacing: -.015em; color: var(--p-titoli); text-wrap: balance; }
.sub { text-align: center; color: var(--p-testo); margin-top: 16px; font-size: 21px; line-height: 1.38; font-weight: 500; text-wrap: balance; }
.filetto { width: 150px; height: 18px; margin: 14px auto 0; fill: none; stroke: var(--p-accento); stroke-width: 7; stroke-linecap: round; }
.filetto use { stroke-dasharray: 420; stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s cubic-bezier(.6,.1,.2,1); }
.filetto.da-disegnare use { stroke-dashoffset: 420; }
.filetto.da-disegnare.disegnato use { stroke-dashoffset: 0; }
.nota-riga { text-align: center; margin-top: 18px; }

/* bottoni */
.bottone { font-weight: 800; font-stretch: 105%; font-size: 1.08rem; text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 10px 24px -12px rgb(224 74 47 / .7); transition: transform .2s, box-shadow .2s; }
.bottone:hover { transform: translateY(-2px); }
.bottone-due { background: var(--p-evidenzia); color: var(--p-secondo); box-shadow: none; }
.bottone-piccolo { min-height: 42px; padding: 0 1.1em; font-size: .9rem; }
.bottone-grande { min-height: 64px; width: 100%; font-size: 1.12rem; }
.rischio { text-align: center; color: var(--p-testo-tenue); font-size: 17px; }
.rischio s { opacity: .7; }
.rischio b { color: var(--p-titoli); }
section > .bottone { display: flex; width: 100%; margin-top: 28px; }

/* header */
.testata { position: sticky; top: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); background: color-mix(in oklch, var(--p-fondo) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--p-bordo); }
.marchio { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-stretch: 115%; text-transform: uppercase; font-size: .78rem; line-height: 1.02; letter-spacing: .02em; color: var(--p-secondo); }
.marchio-segno { width: 30px; height: 30px; border-radius: 50%; background: var(--p-superficie); box-shadow: inset 0 0 0 3px var(--p-secondo); position: relative; }
.marchio-segno::after { content: ""; position: absolute; inset: 8px 5px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14'%3E%3Cpath d='M2 10 C 12 2, 26 2, 38 6' fill='none' stroke='%23E04A2F' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* foto segnaposto: si vede intenzionale finché non arriva la foto vera (data-foto → img/<nome>) */
.foto { position: relative; overflow: hidden; background:
  radial-gradient(60% 70% at 70% 30%, rgb(255 214 170 / .55), transparent 70%),
  radial-gradient(50% 60% at 20% 90%, rgb(224 74 47 / .35), transparent 70%),
  linear-gradient(160deg, #3c5a46, var(--p-secondo)); }
.foto[style*="background-image"] { background-size: cover; background-position: center; }
.foto-segno { position: absolute; inset: 0; background: no-repeat center/min(46%, 220px) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Ccircle cx='60' cy='60' r='44' fill='none' stroke='%23F6F1E9' stroke-opacity='.35' stroke-width='2'/%3E%3Ccircle cx='60' cy='60' r='30' fill='none' stroke='%23F6F1E9' stroke-opacity='.2' stroke-width='1.5'/%3E%3Cpath d='M36 66 C 50 50, 70 50, 86 58' fill='none' stroke='%23E04A2F' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* il libro (copertina in codice: solo titolo e USP) */
.libro { container-type: inline-size; position: relative; aspect-ratio: 3/4; border-radius: 4px 10px 10px 4px; padding: 16% 12% 12%; display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; color: var(--p-su-secondo); background:
  linear-gradient(90deg, rgb(0 0 0 / .28) 0 3%, rgb(255 255 255 / .1) 3% 4.2%, transparent 4.2%),
  radial-gradient(80% 60% at 70% 100%, rgb(224 74 47 / .55), transparent 70%),
  var(--p-secondo); box-shadow: 18px 24px 40px -18px rgb(23 19 14 / .6), inset 0 0 0 1px rgb(255 255 255 / .08); }
.libro::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 14%; height: 18%; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40'%3E%3Cpath d='M4 30 C 34 6, 80 4, 116 16' fill='none' stroke='%23E04A2F' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.libro-tit { font-weight: 900; font-stretch: 100%; text-transform: uppercase; font-size: 12cqw; line-height: 1; overflow-wrap: anywhere; }
.libro-usp { font-size: max(7.5cqw, 10px); line-height: 1.3; opacity: .85; }
.libro-tag { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #FFB59F; }
.libro-b1 { background: linear-gradient(90deg, rgb(0 0 0 / .22) 0 3%, transparent 3%), radial-gradient(70% 60% at 30% 100%, rgb(255 230 200 / .4), transparent 70%), var(--p-accento); }
.libro-b1 .libro-tag { color: var(--p-su-accento); }
.libro-b1::after { filter: brightness(0) invert(1); opacity: .8; }
.libro-b2 { background: linear-gradient(90deg, rgb(0 0 0 / .14) 0 3%, transparent 3%), var(--p-superficie); color: var(--p-secondo); }
.libro-b2 .libro-tag { color: var(--p-accento); }

/* ═════ S01 apertura ═════ */
#apertura { padding-top: 14px; padding-bottom: 0; text-align: center; overflow: hidden; }
.ap-prova { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 16.5px; line-height: 1.2; color: var(--p-testo-tenue); }
.facce { display: flex; }
.facce i, .volto { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .75rem; color: #fff; background: var(--c); border: 2px solid var(--p-fondo); margin-left: -8px; }
.facce i:first-child { margin-left: 0; }
.stelle { color: #E9A23B; letter-spacing: .08em; }
.ap-pre { margin-top: 10px; font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--p-testo-tenue); }
.ap-titolo { margin-top: 6px; display: flex; flex-direction: column; align-items: center; text-transform: uppercase; color: var(--p-titoli); line-height: .95; }
.ap-titolo > span { display: block; }
.ap-titolo .l1 { font-weight: 900; font-stretch: 118%; font-size: clamp(1.75rem, 8.2vw, 3.8rem); letter-spacing: -.01em; }
.ap-titolo .l1b { margin-top: .22em; font-weight: 700; font-stretch: 92%; font-size: clamp(1.12rem, 5.2vw, 2.2rem); letter-spacing: .01em; color: var(--p-testo-tenue); }
.ap-titolo .l2 { position: relative; margin-top: .02em; }
.ap-titolo .cifra { display: block; font-weight: 900; font-stretch: 112%; font-size: clamp(3.7rem, 18vw, 7.6rem); line-height: .9; letter-spacing: -.045em; color: var(--p-accento); }
.ap-titolo .tratto { position: absolute; left: 4%; right: 2%; bottom: -.1em; width: 96%; height: .3em; fill: none; stroke: var(--p-secondo); stroke-width: 9; stroke-linecap: round; overflow: visible; }
.ap-titolo .tratto use { stroke-dasharray: 430; stroke-dashoffset: 430; animation: pennella 1.1s .55s cubic-bezier(.6,.1,.2,1) forwards; }
@keyframes pennella { to { stroke-dashoffset: 0; } }
.ap-titolo .l3 { margin-top: .5em; font-weight: 800; font-stretch: 100%; font-size: clamp(1.2rem, 5.4vw, 2.3rem); line-height: 1.25; text-wrap: balance; }
.ap-coda { margin-top: .2em; text-transform: uppercase; font-weight: 800; font-size: clamp(1.2rem, 5.4vw, 2.3rem); line-height: 1.25; color: var(--p-titoli); }
.ap-coda em { font-style: normal; font-weight: 900; background: var(--p-secondo); color: var(--p-su-secondo); padding: .02em .28em .06em; border-radius: 6px; white-space: nowrap; }
.ap-titolo .cifra { animation: arriva .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes arriva { from { transform: translateY(18%) scale(.94); opacity: .2; } }
.ap-sub { margin-top: 12px; font-size: 18.5px; line-height: 1.4; color: var(--p-testo); text-wrap: pretty; }
.ap-bottoni { display: grid; gap: 8px; margin-top: 14px; }
.ap-bottoni .bottone { width: 100%; font-size: 1rem; font-stretch: 96%; letter-spacing: 0; padding: 0 .8em; }
#apertura .rischio { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; }
.scudo { width: 16px; height: 18px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'%3E%3Cpath d='M8 1 L15 4 V9 C15 13 12 16 8 17 C4 16 1 13 1 9 V4 Z' fill='%23233D2E'/%3E%3Cpath d='M5 9 L7.3 11.3 L11 7' fill='none' stroke='%23F6F1E9' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
@media (min-width: 900px) { #apertura { padding-top: 40px; } .ap-bottoni { grid-template-columns: minmax(0, 420px); justify-content: center; } .ap-sub { font-size: 1.2rem; max-width: 620px; } }
.ap-foto { margin-top: 26px; max-width: 1180px; aspect-ratio: 4/5; border-radius: 22px 22px 0 0; }
@media (min-width: 760px) { .ap-foto { aspect-ratio: 16/9; } }
.ap-comanda { position: absolute; top: 18px; left: 16px; background: var(--p-superficie); color: var(--p-secondo); padding: 14px 16px 12px; border-radius: 4px; font-weight: 700; font-size: 17px; box-shadow: 0 12px 24px -12px rgb(0 0 0 / .45); transform: rotate(-4deg); text-align: left; }
.ap-comanda b { display: block; font-size: 1.9rem; font-weight: 900; font-stretch: 112%; color: var(--p-accento); line-height: 1; }
.comanda-buco { position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--p-accento); box-shadow: 0 2px 4px rgb(0 0 0 / .3); }
.ap-libro { position: absolute; right: 6%; bottom: 6%; width: 44%; max-width: 260px; transform: rotate(5deg); }

/* ═════ S02 tre piatti ═════ */
.piatti { display: grid; gap: 56px; margin-top: 48px; max-width: 1100px; }
@media (min-width: 900px) { .piatti { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.piatto-voce { text-align: center; }
.piatto { width: min(70vw, 250px); aspect-ratio: 1; border-radius: 50%; margin: 0 auto 22px; background: radial-gradient(circle at 50% 50%, #fff 0 52%, #f1ece3 53% 60%, #fff 61% 66%, #e6dfd3 67%); box-shadow: 0 30px 50px -28px rgb(35 61 46 / .55), 0 0 0 10px var(--p-fondo-alt); }
.piatto .piatto-cibo { position: absolute; inset: 24%; border-radius: 46% 54% 50% 50%; transform: scale(.4); opacity: 0; transition: transform 1.1s cubic-bezier(.2,.8,.2,1), opacity .8s; }
.piatto-voce.pieno .piatto-cibo, .piatto[style*="background-image"] .piatto-cibo { transform: none; opacity: 1; }
.piatto[style*="background-image"] .piatto-cibo { display: none; }
.c1 { background: radial-gradient(circle at 40% 40%, #f0c070, #d48b3a 60%, #b5532f); }
.c2 { background: radial-gradient(circle at 45% 40%, #f7d36a, #e1a83a 70%); }
.c3 { background: linear-gradient(#6b4630 0 18%, #f3e6cf 18% 48%, #c99a6b 48% 58%, #f3e6cf 58% 86%, #7b5136 86%); border-radius: 10px; inset: 30%; }
.piatto-voce h3 { font-weight: 900; font-stretch: 108%; text-transform: uppercase; font-size: 1.32rem; line-height: 1.1; color: var(--p-titoli); text-wrap: balance; }
.piatto-voce p { margin-top: 10px; color: var(--p-testo); font-size: 19.5px; text-wrap: pretty; }

/* ═════ S03 mercato ═════ */
#mercato { background: var(--p-fondo-alt); }
.titolo-gira .gira { display: grid; justify-items: center; color: var(--p-accento); height: 1.1em; overflow: hidden; margin-top: .1em; font-size: .8em; }
.gira-parola { grid-area: 1/1; transform: translateY(110%); transition: transform .6s cubic-bezier(.6,.1,.2,1); white-space: nowrap; }
.gira-parola.su { transform: none; }
.gira-parola.via { transform: translateY(-110%); }
.mesi { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 32px; max-width: 520px; }
.mesi i { font-style: normal; text-align: center; font-weight: 800; font-size: .82rem; text-transform: uppercase; padding: 10px 0; border-radius: 8px; background: var(--p-superficie); color: var(--p-testo-tenue); transition: background .4s, color .4s; }
.mesi i.acceso { background: var(--p-secondo); color: var(--p-su-secondo); }
.mesi-conto { text-align: center; font-weight: 700; margin-top: 12px; }
.prezzi { display: grid; gap: 14px; margin-top: 36px; max-width: 1000px; }
@media (min-width: 900px) { .prezzi { grid-template-columns: repeat(3, 1fr); } }
.prezzo-voce { background: var(--p-superficie); border-radius: 18px; padding: 22px 22px 20px; border-left: 6px solid var(--p-accento); }
.prezzo-n { font-weight: 700; color: var(--p-testo-tenue); font-size: 17px; }
.prezzo-n b { font-size: 3.2rem; font-weight: 900; font-stretch: 112%; color: var(--p-titoli); letter-spacing: -.03em; }
.prezzo-voce p:last-child { margin-top: 2px; }

/* ═════ S04 big idea ═════ */
#bigidea { padding: 0; }
#bigidea > * { max-width: none; }
.bi-palco { position: relative; min-height: 112vh; display: flex; align-items: flex-end; }
.bi-foto { position: absolute; inset: 0; }
.bi-pannello { position: relative; margin: 0 14px 40px; padding: 30px 24px 28px; border-radius: 22px; background: rgb(35 61 46 / .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--p-su-secondo); max-width: 640px; text-align: left; }
@media (min-width: 900px) { .bi-palco { align-items: center; } .bi-pannello { margin: 0 0 0 8vw; padding: 44px 44px 40px; } }
.bi-pannello .etichetta { text-align: left; }
.bi-cappello { font-weight: 700; font-size: 20px; opacity: .9; }
.bi-titolo { color: var(--p-su-secondo); font-size: clamp(2.6rem, 13vw, 5.4rem); margin-top: 6px; }
.bi-titolo .ris { color: #FFB59F; }
.bi-testo { margin-top: 16px; font-size: 1.1rem; }

/* ═════ S05 esperienza ═════ */
.barrati { list-style: none; padding: 0; margin-top: 30px; display: grid; gap: 8px; text-align: center; }
.barrati li { font-weight: 900; font-stretch: 100%; text-transform: uppercase; font-size: clamp(1.25rem, 6vw, 2.4rem); color: var(--p-testo-tenue); opacity: .75; }
.barrato::after { height: .14em; }
.resta { text-align: center; margin-top: 22px; font-size: 1.3rem; }
.telefono { margin-top: 32px; max-width: 360px; background: #ECE5DD; border-radius: 28px; padding: 14px 14px 20px; border: 8px solid #1d1d1f; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .5); }
.tel-testa { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid rgb(0 0 0 / .08); }
.tel-testa b { display: block; font-size: 1rem; }
.tel-testa small { font-size: .8rem; color: #667; }
.tel-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #b8604a; color: #fff; font-weight: 800; }
.bolla { margin-top: 14px; background: #fff; border-radius: 4px 16px 16px 16px; padding: 12px 14px; font-size: 19px; line-height: 1.45; box-shadow: 0 1px 1px rgb(0 0 0 / .08); color: #1d1d1f; }
.chiusa { text-align: center; margin-top: 28px; font-weight: 800; font-size: 1.3rem; color: var(--p-titoli); }

/* ═════ S06 preventivo ═════ */
#come { background: var(--p-fondo-alt); }
.preventivo { margin-top: 36px; background: var(--p-superficie); border-radius: 6px; padding: 26px 22px 24px; box-shadow: 0 30px 60px -36px rgb(35 61 46 / .6); position: relative; max-width: 560px;
  -webkit-mask: radial-gradient(10px at 50% 0, #0000 98%, #000) 50% / 26px 100% repeat-x; mask: radial-gradient(10px at 50% 0, #0000 98%, #000) 50% / 26px 100% repeat-x; }
.prev-testa { border-bottom: 2px dashed var(--p-bordo); padding-bottom: 14px; }
.prev-int { font-weight: 900; font-stretch: 108%; text-transform: uppercase; font-size: 1.12rem; color: var(--p-titoli); }
.prev-data { color: var(--p-testo-tenue); font-size: 17px; }
.prev-righe { list-style: none; padding: 0; margin: 6px 0 0; }
.prev-righe li { position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--p-bordo); }
.prev-righe li::before { content: ""; position: absolute; left: 0; top: 16px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--p-bordo); transition: background .4s, border-color .4s; }
.prev-righe li::after { content: ""; position: absolute; left: 6px; top: 23px; width: 15px; height: 10px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Cpath d='M3 11 C 7 14, 9 17, 11 17 C 15 10, 21 5, 27 3' fill='none' stroke='%23FCFAF6' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E"); opacity: 0; transition: opacity .3s .2s; }
.prev-righe li.fatta::before { background: var(--p-accento); border-color: var(--p-accento); }
.prev-righe li.fatta::after { opacity: 1; }
.prev-righe b { display: block; font-weight: 800; font-size: 1.1rem; color: var(--p-titoli); }
.prev-righe span { display: block; color: var(--p-testo); font-style: italic; font-size: 19px; }
.prev-totale { margin-top: 16px; font-weight: 800; color: var(--p-titoli); }
.prev-nota { margin-top: 10px; }

/* ═════ S07 prima/dopo ═════ */
.pd { position: relative; margin-top: 36px; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; max-width: 760px; }
@media (min-width: 900px) { .pd { aspect-ratio: 16/10; } }
.pd-lato { position: absolute; inset: 0; }
.pd-prima { clip-path: inset(0 calc(100% - var(--x)) 0 0); background: radial-gradient(60% 50% at 30% 30%, rgb(255 255 255 / .55), transparent 70%), linear-gradient(170deg, #e7ddcd, #cdbfa8); }
.pd-dopo { background: radial-gradient(40% 35% at 65% 45%, rgb(255 190 110 / .55), transparent 70%), radial-gradient(30% 25% at 30% 60%, rgb(224 74 47 / .4), transparent 70%), linear-gradient(170deg, #2f4a3a, #15241b); }
.pd-chip { position: absolute; top: 16px; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.pd-prima .pd-chip { left: 16px; background: var(--p-superficie); color: var(--p-secondo); }
.pd-dopo .pd-chip { right: 16px; background: var(--p-accento); color: var(--p-su-accento); }
.pd-maniglia { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.pd-linea { position: absolute; top: 0; bottom: 0; left: var(--x); width: 4px; margin-left: -2px; background: var(--p-superficie); z-index: 2; pointer-events: none; }
.pd-linea span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--p-superficie); box-shadow: 0 6px 18px rgb(0 0 0 / .35); }
.pd-linea span::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; color: var(--p-accento); font-size: 1.3rem; letter-spacing: .1em; }

/* ═════ S08 calcolatore ═════ */
#calcolo { background: var(--p-secondo); color: var(--p-su-secondo); }
#calcolo .titolo { color: var(--p-su-secondo); }
#calcolo .sub { color: rgb(252 250 246 / .8); }
#calcolo .etichetta { color: #FFB59F; }
.notifica { display: flex; align-items: center; gap: 12px; max-width: 380px; background: rgb(252 250 246 / .95); color: #1d1d1f; border-radius: 18px; padding: 12px 14px; margin-bottom: 34px; box-shadow: 0 20px 40px -20px rgb(0 0 0 / .6); }
.notifica-icona { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--p-accento); color: #fff; font-weight: 900; }
.notifica b { display: block; font-size: 1rem; }
.notifica small { font-size: .9rem; color: #555; }
.notifica-cifra { margin-left: auto; font-size: 1.15rem; color: var(--p-risultato); }
.calc { margin-top: 30px; background: rgb(252 250 246 / .07); border: 1px solid rgb(252 250 246 / .16); border-radius: 22px; padding: 22px; max-width: 560px; }
.calc-voce { display: block; margin-bottom: 22px; }
.calc-voce > span { display: flex; justify-content: space-between; font-weight: 700; }
.calc-v { color: #FFB59F; font-size: 1.25rem; }
.calc input[type=range] { width: 100%; margin-top: 10px; accent-color: var(--p-accento); height: 28px; }
.calc-esito { border-top: 1px dashed rgb(252 250 246 / .25); padding-top: 18px; text-align: center; }
.calc-n { font-weight: 900; font-stretch: 112%; font-size: clamp(3.6rem, 18vw, 5.6rem); line-height: 1; letter-spacing: -.04em; color: var(--p-su-secondo); }
.calc-mese { font-size: 1.05rem; opacity: .9; }
.calc-avv { margin-top: 16px; font-size: 16.5px; opacity: .75; text-align: center; }

/* ═════ S09 portate (i livelli del modello col nastro) ═════ */
.portate { display: grid; gap: 16px; margin-top: 36px; max-width: 1100px; }
@media (min-width: 900px) { .portate { grid-template-columns: repeat(3, 1fr); } }
.portata { position: relative; background: var(--p-superficie); border-radius: 18px; padding: 24px 22px 10px; box-shadow: 0 18px 40px -30px rgb(35 61 46 / .55); }
.portata-nome { font-weight: 900; font-stretch: 115%; text-transform: uppercase; font-size: 1.6rem; color: var(--p-titoli); margin-bottom: 4px; padding-right: 48px; }
.nastro { position: absolute; top: 0; right: 22px; width: 34px; height: 46px; background: var(--n); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); }
.p-a { --n: var(--p-accento); } .p-b { --n: var(--p-secondo); } .p-c { --n: #E9A23B; }
.portata details { border-color: var(--p-bordo); }
.portata details:last-child { border-bottom: 0; }
.portata summary { font-size: 1.08rem; color: var(--p-titoli); }
.portata summary::after { color: var(--p-accento); }


/* ═════ S10 il mio lavoro (blocco pieno con la diagonale) ═════ */
#lavoro { padding: 0; background: var(--p-secondo); color: var(--p-su-secondo); overflow: hidden; }
#lavoro > * { max-width: none; }
.lav-foto { height: 62vh; min-height: 380px; clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); }
.lav-pannello { position: relative; padding: 24px var(--gutter) 80px; max-width: 820px; margin: 0 auto; }
.lav-pannello::before { content: ""; position: absolute; left: 0; right: 0; top: -40px; height: 14px; background: var(--p-accento); transform: skewY(-4deg); transform-origin: right; }
.lav-pannello .etichetta { text-align: left; }
.lav-cappello { font-size: 21px; font-weight: 600; opacity: .95; }
.lav-frase { color: var(--p-su-secondo); font-size: clamp(2.3rem, 11vw, 5rem); margin-top: 12px; }
@media (min-width: 900px) { .lav-foto { height: 70vh; } .lav-pannello { padding-bottom: 120px; } }

/* ═════ S11 testimonianze ═════ */
.voci { display: grid; gap: 16px; margin-top: 40px; max-width: 1120px; }
@media (min-width: 900px) { .voci { grid-template-columns: repeat(3, 1fr); } .voce-grande { grid-column: span 2; } }
.voce { background: var(--p-superficie); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.voce p { font-size: 19.5px; line-height: 1.45; }
.voce-grande p { font-size: 21px; font-weight: 600; color: var(--p-titoli); }
.voce-scura { background: var(--p-secondo); color: var(--p-su-secondo); }
.voce-scura .ris { color: #FFB59F; }
.voce-chiara { background: var(--p-evidenzia); }
.voce footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.voce footer b { display: block; font-size: 1rem; }
.voce footer small { font-size: .9rem; opacity: .75; }
.volto { width: 52px; height: 52px; font-size: 1.1rem; margin: 0; border: 0; flex: none; }

/* ═════ S12 bonus ═════ */
#bonus { background: var(--p-fondo-alt); }
.bonus-lista { display: grid; gap: 22px; margin-top: 40px; max-width: 980px; }
@media (min-width: 900px) { .bonus-lista { grid-template-columns: 1fr 1fr; } }
.bonus-scheda { background: var(--p-superficie); border-radius: 22px; padding: 26px 22px 24px; text-align: center; }
.bonus-cop { padding: 10px 0 22px; perspective: 900px; }
.bonus-cop .libro { width: min(62%, 240px); margin: 0 auto; transform: rotateY(-14deg) rotate(-2deg); }
.bonus-n { font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--p-accento); }
.bonus-scheda h3 { font-weight: 900; font-stretch: 110%; text-transform: uppercase; font-size: 1.45rem; line-height: 1.05; margin-top: 6px; color: var(--p-titoli); }
.bonus-scheda > p:not(.bonus-n):not(.bonus-prezzo) { margin-top: 10px; color: var(--p-testo-tenue); }
.bonus-prezzo { margin-top: 14px; font-size: 1.3rem; white-space: nowrap; }
.bonus-prezzo s { color: var(--p-testo-tenue); }
.bonus-prezzo b { display: inline-block; margin-left: 8px; background: var(--p-accento); color: var(--p-su-accento); padding: 4px 12px; border-radius: 8px; font-weight: 900; letter-spacing: .06em; }

/* ═════ S13 adatto ═════ */
.adatto-lista { list-style: none; padding: 0; margin-top: 36px; display: grid; gap: 16px; max-width: 1000px; }
@media (min-width: 760px) { .adatto-lista { grid-template-columns: 1fr 1fr; } }
.adatto-lista li { background: var(--p-superficie); border-radius: 20px; overflow: hidden; }
.adatto-foto { aspect-ratio: 16/9; }
.adatto-foto::after { content: ""; position: absolute; inset: 0; background: no-repeat center/90px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cpath d='M14 44 C 26 52, 34 62, 40 64 C 60 36, 84 18, 108 12' fill='none' stroke='%23E04A2F' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E"); opacity: .9; }
.adatto-lista p { padding: 18px 20px 22px; font-weight: 700; font-size: 1.12rem; color: var(--p-titoli); }

/* ═════ S14 offerta ═════ */
#offerta { background: var(--p-secondo); color: var(--p-su-secondo); text-align: center; }
#offerta .titolo { color: var(--p-su-secondo); }
#offerta .sub { color: rgb(252 250 246 / .82); }
.pillole { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.pillole span { border: 1px solid rgb(252 250 246 / .3); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 700; }
.off-libri { display: flex; justify-content: center; align-items: flex-end; margin-top: 34px; max-width: 520px; }
.off-libri .libro { width: 32%; }
.off-libri .libro-main { width: 42%; z-index: 2; margin: 0 -5%; }
.off-libri .libro-b1 { transform: rotate(-7deg) translateY(6%); }
.off-libri .libro-b2 { transform: rotate(7deg) translateY(6%); }

.ricevi { margin-top: 36px; text-align: left; background: rgb(252 250 246 / .07); border: 1px solid rgb(252 250 246 / .16); border-radius: 20px; padding: 20px; max-width: 560px; }
.ricevi-tit { font-weight: 900; font-stretch: 110%; text-transform: uppercase; }
.ricevi ul { list-style: none; padding: 0; margin: 10px 0 0; }
.ricevi li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgb(252 250 246 / .14); }
.ricevi li b { white-space: nowrap; }
.ricevi-tot { font-weight: 800; border-bottom: 0 !important; }
.off-prezzo { color: #FFB59F; margin-top: 26px; font-size: clamp(5rem, 28vw, 9rem); white-space: nowrap; }
.off-sotto { font-weight: 700; }
.copie { display: flex; gap: 6px; justify-content: center; margin-top: 22px; }
.copie i { width: 22px; height: 30px; border-radius: 3px; background: rgb(252 250 246 / .18); }
.copie i.resta { background: var(--p-accento); box-shadow: 0 0 0 3px rgb(224 74 47 / .35); }
.off-copie { margin-top: 10px; }
.off-copie b { color: #FFB59F; font-size: 1.3rem; }
#offerta .bottone { margin-top: 24px; }
.off-pag { margin-top: 12px; font-size: 17px; opacity: .8; }

/* ═════ S15 garanzia ═════ */
#garanzia { text-align: center; }
.timbro { position: relative; width: 168px; height: 168px; margin: 0 auto 26px; }
.timbro svg { width: 100%; height: 100%; animation: gira 22s linear infinite; }
.timbro text { font: 800 15.5px/1 "Archivo", sans-serif; letter-spacing: .14em; fill: var(--p-accento); }
.timbro-n { position: absolute; inset: 34px; border-radius: 50%; background: var(--p-accento); color: var(--p-su-accento); display: grid; place-content: center; font-weight: 900; font-stretch: 115%; font-size: 2.6rem; line-height: .9; }
.timbro-n small { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
@keyframes gira { to { transform: rotate(360deg); } }
.gar-testo { margin-top: 20px; text-wrap: pretty; }

/* ═════ S16 domande ═════ */
#domande { background: var(--p-fondo-alt); }
.faq { margin-top: 30px; }
.faq summary { color: var(--p-titoli); }
.faq summary::after { color: var(--p-accento); }

/* ═════ S17 congedo ═════ */
#congedo { text-align: center; padding-bottom: 120px; }
.cong-sopra { font-size: 1.3rem; font-weight: 700; }
.cong-gigante { margin-top: 8px; font-size: clamp(3.2rem, 17vw, 7rem); }
.filetto-centro { width: 200px; }
.cong-chiusa { margin-top: 22px; text-wrap: pretty; }
.piede { margin-top: 72px; font-size: 16.5px; color: var(--p-testo-tenue); display: grid; gap: 12px; }
.piede p { font-size: 16.5px; }

/* barra d'acquisto */
[data-barra-acquisto] { background: var(--p-secondo); color: var(--p-su-secondo); box-shadow: 0 16px 40px -12px rgb(0 0 0 / .5); }
.barra-prezzo s { opacity: .6; } .barra-prezzo b { font-size: 1.3rem; font-weight: 900; }

@media (prefers-reduced-motion: reduce) {
  .ap-titolo .tratto use { stroke-dashoffset: 0; }
  .gira-parola:first-child { transform: none; }
  .piatto .piatto-cibo { transform: none; opacity: 1; }
}

/* ═════ testimonianze sparse ═════ */
section[data-meccanica="testimonianza-sola"] { padding-top: 40px; padding-bottom: 40px; }
.voce-sola { max-width: 600px; padding: 28px 24px; }
.voce-sola p { font-size: 21px; font-weight: 600; line-height: 1.4; }
.voce-sola:not(.voce-scura) { box-shadow: 0 24px 50px -36px rgb(35 61 46 / .6); }

/* ═════ tradizione ═════ */
#tradizione { background: var(--p-fondo); }
.ricette { display: grid; gap: 12px; margin-top: 32px; max-width: 980px; }
@media (min-width: 900px) { .ricette { grid-template-columns: repeat(3, 1fr); } }
.ricetta { background: var(--p-superficie); border-radius: 6px; padding: 18px 20px 20px; border-top: 6px solid var(--p-accento); box-shadow: 0 18px 30px -24px rgb(35 61 46 / .55); background-image: repeating-linear-gradient(transparent 0 31px, rgb(35 61 46 / .08) 31px 32px); background-position: 0 14px; }
.ricetta:nth-child(2) { transform: rotate(1.2deg); border-top-color: var(--p-secondo); }
.ricetta:nth-child(3) { transform: rotate(-1deg); border-top-color: #E9A23B; }
.ricetta-n { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--p-accento); }
.ricetta p { font-weight: 800; font-size: 1.2rem; color: var(--p-titoli); margin-top: 4px; }
.trad-testo { margin-top: 28px; text-align: center; text-wrap: pretty; }

/* ═════ sogno ═════ */
#vita { background: var(--p-fondo-alt); }
.desideri { list-style: none; padding: 0; margin-top: 36px; display: grid; gap: 16px; max-width: 1000px; }
@media (min-width: 760px) { .desideri { grid-template-columns: 1fr 1fr; } }
.desideri li { background: var(--p-superficie); border-radius: 20px; overflow: hidden; }
.des-foto { aspect-ratio: 16/9; }
.des-testo { padding: 18px 20px 22px; }
.des-testo b { display: block; font-weight: 900; font-stretch: 105%; font-size: 1.2rem; line-height: 1.2; color: var(--p-titoli); }
.des-testo p { margin-top: 6px; color: var(--p-testo); font-size: 19.5px; }
.vita-testo { margin-top: 32px; text-align: center; font-size: 1.15rem; text-wrap: pretty; }
.vita-domanda { margin-top: 28px; text-align: center; font-weight: 900; font-stretch: 105%; font-size: 1.45rem; line-height: 1.25; color: var(--p-titoli); }
.sogni { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.sogni span { background: var(--p-secondo); color: var(--p-su-secondo); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 17px; }
.sogni span:nth-child(2n) { background: var(--p-accento); color: var(--p-su-accento); }
.vita-chiusa { margin-top: 24px; text-align: center; font-weight: 700; text-wrap: pretty; }

/* ═════ dentro: il libro ═════ */
.dentro-libro { margin-top: 36px; perspective: 1000px; }
.dentro-libro .libro { width: min(62%, 300px); margin: 0 auto; transform: rotateY(-16deg) rotate(-2deg); }

/* ═════ i blocchi di testo: righe corte, pesi diversi (mai muri) ═════ */
.blocco { margin-top: 30px; display: grid; gap: 4px; text-align: center; }
.blocco-sx { text-align: left; margin-top: 18px; }
.b-piccola { font-size: 20px; line-height: 1.4; color: var(--p-testo); text-wrap: balance; }
.b-forte { font-size: clamp(1.5rem, 6.6vw, 2.3rem); font-weight: 900; font-stretch: 104%; line-height: 1.12; color: var(--p-titoli); margin: 8px 0 6px; text-wrap: balance; }
.b-righe { display: grid; gap: 6px; margin: 10px 0; }
.b-righe span { font-weight: 800; font-size: 21px; color: var(--p-titoli); }
.b-righe span::before { content: ""; display: inline-block; width: .9em; height: .45em; margin-right: .45em; vertical-align: .12em; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14'%3E%3Cpath d='M2 10 C 12 2, 26 2, 38 6' fill='none' stroke='%23E04A2F' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.blocco-chiaro .b-piccola, .blocco-chiaro .b-forte, .blocco-chiaro .b-righe span, .blocco-chiaro strong { color: var(--p-su-secondo); }
.blocco-chiaro .b-forte { font-size: clamp(1.35rem, 6vw, 2rem); }
#bigidea .bi-titolo { margin-bottom: 4px; }
/* sogni */
#sogni { background: var(--p-fondo); }
.sogni-foto { aspect-ratio: 16/10; border-radius: 22px; max-width: 900px; }
.titolo-piccolo { margin-top: 40px; font-size: clamp(1.5rem, 6.6vw, 2.6rem); }
.vita-chiusa { font-size: 20px; }
/* testimonianza dell'apertura */
#voce-carla { padding-top: 48px; padding-bottom: 8px; }
.voce-apertura { background: var(--p-superficie); border-left: 6px solid var(--p-accento); }
img.volto { object-fit: cover; padding: 0; }
.adatto-foto[style*="background-image"]::after { inset: auto 12px 12px auto; width: 56px; height: 56px; border-radius: 50%; background-color: var(--p-fondo); background-size: 34px; }
