/* PITITTO'S · SITO ALLA DOH · la faccia (2/12/2026)
   Rosso #B72925 e giallo #FFEA4F misurati sul logo vero (post 002), crema #FFF4DE. Giallo per UNA cosa: il bottone «Ordina su WhatsApp» (e il logo, che e' giallo di suo).
   Titoli Baloo 2 800 (tondo e panciuto come la scritta del logo), testi Nunito. Etichette mai sotto 12 px, testi mai sotto 14. */
:root { --rosso: #B72925; --giallo: #FFEA4F; --crema: #FFF4DE; --scuro: #4A1210; --fondo-scuro: #7E1A17; --tit: 'Baloo 2', 'Nunito', system-ui, sans-serif; --txt: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html { scroll-behavior: auto; overflow-x: clip; }
body { font-family: var(--txt); font-size: 17px; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; } ul, ol { list-style: none; }
a { color: inherit; } button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 3px solid var(--giallo); outline-offset: 3px; }
.salta { position: fixed; left: 12px; top: -80px; z-index: 950; background: var(--crema); color: var(--scuro); padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.salta:focus { top: 12px; }
.ancora { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
.riga { display: block; overflow: hidden; }
.riga > span { display: inline-block; will-change: transform; }
/* il logo vero: la scritta del post 002 usata come maschera, cosi' prende il colore del posto dove sta */
.lo { display: block; aspect-ratio: 1200 / 350; background: currentColor; -webkit-mask: url(img/logo.webp) center / contain no-repeat; mask: url(img/logo.webp) center / contain no-repeat; }

.bottone { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid currentColor; font-family: var(--txt); font-weight: 800; font-size: 17px; letter-spacing: .01em; text-decoration: none; white-space: nowrap; transition: transform .2s; }
.bottone:hover { transform: translateY(-2px); }
.bottone.giallo { background: var(--giallo); border-color: var(--giallo); color: var(--scuro); box-shadow: 0 6px 0 rgba(74, 18, 16, .28); }
.bottone.scuro { background: var(--scuro); border-color: var(--scuro); color: var(--crema); }
.bottone.scuro.vuoto { background: none; color: var(--scuro); }
.bollino { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: clamp(128px, 11.5vw, 172px); aspect-ratio: 1; border-radius: 50%; background: var(--crema); color: var(--rosso); transform: rotate(-11deg); line-height: 1.08; padding: 10px; }
.bollino span { font-weight: 800; font-size: clamp(12px, .95vw, 14px); }
.bollino b { font-family: var(--tit); font-weight: 800; font-size: clamp(19px, 1.75vw, 26px); line-height: 1; margin: 2px 0; }
.bollino i { font-style: normal; font-weight: 700; font-size: 12px; max-width: 9.5em; }

/* ---------- la testata a pillola ---------- */
header.testa { --tinta: #FFF4DE; position: fixed; z-index: 500; left: 50%; top: 14px; transform: translateX(-50%); width: min(1180px, calc(100vw - 28px)); display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 22px; border-radius: 999px; color: var(--tinta); border: 2px solid transparent; transition: background-color .25s, border-color .25s; }
header.testa.piena { background: var(--rosso); border-color: rgba(255, 244, 222, .22); }
.testa-logo { flex: none; width: 112px; color: var(--giallo); }
header.testa.scura .testa-logo { color: var(--rosso); }
.testa-nav { display: flex; gap: 4px; margin-left: auto; }
.testa-nav a { padding: 9px 14px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; }
.testa-nav a:hover { background: rgba(255, 244, 222, .16); }
.testa-ordina { flex: none; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--giallo); color: var(--scuro); font-weight: 800; font-size: 15px; }
.testa-menu { display: none; }

/* ---------- PRIMO TEMPO: il palco fermo ---------- */
.volo { position: relative; height: 1360vh; height: 1360svh; }
.palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: var(--crema); }
.fondo, .allaga, .strato { position: absolute; inset: 0; width: 100%; height: 100%; }
.fondo { background: var(--rosso); }
.fondo2 { position: absolute; inset: 0; visibility: hidden; will-change: opacity; }
.allaga { visibility: hidden; }
.ripiego { position: absolute; right: 2vw; top: 14vh; width: min(52vw, 86vh); height: auto; }
.tela-su .ripiego { display: none; }
#tela { pointer-events: none; }

/* 1 · apertura */
.ap { position: absolute; inset: 0; pointer-events: none; }
.ap > * { pointer-events: auto; }
.ap-h1 { position: absolute; left: 5.2vw; top: 13.6vh; font-family: var(--txt); font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transform-origin: 0 50%; }
.ap-titolo { position: absolute; left: 5vw; top: 18vh; font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: min(12.2vw, 21vh); line-height: .84; letter-spacing: -.012em; pointer-events: none; }
.ap-titolo .riga { padding-top: .08em; margin-top: -.08em; }
.ap-titolo .r3 { font-size: .43em; line-height: 1.02; color: var(--giallo); margin-top: .12em; letter-spacing: 0; }
.ap-sotto { position: absolute; left: 5.2vw; top: calc(18vh + min(12.2vw, 21vh) * 2.3); font-weight: 700; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.4; transform-origin: 0 0; }
.ap-bottoni { position: absolute; left: 5.2vw; top: calc(18vh + min(12.2vw, 21vh) * 2.3 + 78px); display: flex; gap: 12px; transform-origin: 0 50%; }
.ap-bollino { position: absolute; right: 4.2vw; top: 15vh; }

/* 2-3 · carosello */
.ca { position: absolute; inset: 0; pointer-events: none; color: var(--ink, #FFF4DE); }
.ca-titolo { position: absolute; left: 5.2vw; top: 15vh; font-family: var(--tit); font-weight: 800; font-size: min(3.5vw, 6.4vh); line-height: 1; max-width: 12em; }
.ca-titolo em { font-style: normal; text-decoration: underline; text-decoration-thickness: .09em; text-underline-offset: .12em; }
.ca-parola { position: absolute; left: 0; right: 0; top: 48.5vh; transform: translateY(-50%); overflow: hidden; visibility: hidden; color: var(--ink, #FFF4DE); pointer-events: none; }
.ca-parola { height: 34vh; }
.ca-parola span { position: absolute; left: 0; top: 0; display: block; white-space: nowrap; font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: 34vh; line-height: 1; opacity: .14; will-change: transform; }
.ca-nomi li { position: absolute; left: 0; right: 0; top: 77vh; text-align: center; }
.ca-nomi h3 { font-family: var(--tit); font-weight: 800; font-size: min(3.9vw, 7vh); line-height: 1.02; }
.ca-nomi p { font-weight: 700; font-size: clamp(16px, 1.35vw, 21px); margin-top: 2px; }
.ca-pallini { position: absolute; left: 50%; bottom: 4.4vh; transform: translateX(-50%); display: flex; gap: 12px; visibility: hidden; }
.ca-pallini li { width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink, #FFF4DE); transition: transform .25s; }
.ca-pallini li.qui { transform: scale(1.45); }
.ca-tocca { position: absolute; left: 0; top: 0; border-radius: 50%; visibility: hidden; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ca-pillola { position: absolute; left: 0; top: 0; padding: 7px 15px; border-radius: 999px; background: var(--crema); color: var(--scuro); font-weight: 800; font-size: 14px; white-space: nowrap; pointer-events: none; box-shadow: 0 4px 0 rgba(74, 18, 16, .22); }

/* 4 · le azioni */
.azione { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; background: #2a1408; will-change: transform; }
.azione.chiara { background: #F2F2F2; object-position: 50% 50%; }
.az { position: absolute; inset: 0; pointer-events: none; }
.az-b { position: absolute; left: 5.2vw; bottom: 9vh; max-width: 62vw; color: var(--crema); text-shadow: 0 2px 22px rgba(30, 8, 4, .55), 0 1px 3px rgba(30, 8, 4, .5); }
.az-b.scura { color: var(--rosso); text-shadow: 0 0 18px #F4F4F4, 0 0 8px #F4F4F4; }
.az-b.scura .az-t { font-size: min(6.6vw, 12vh); }
.az-occ { font-weight: 800; font-size: clamp(15px, 1.25vw, 19px); letter-spacing: .02em; margin-bottom: 6px; }
.az-t { font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: min(8.2vw, 15vh); line-height: .88; }
.az-t.riga { padding-top: .06em; }
.az-b[data-az="1"] .az-t2 { font-size: min(5.2vw, 9.6vh); line-height: .96; }

/* 5 · la box */
.scatola { position: absolute; left: 0; top: 0; will-change: transform; }
.sx-ombra { position: absolute; left: -9%; right: -9%; top: 6%; bottom: -16%; background: radial-gradient(closest-side, rgba(50, 8, 6, .42), rgba(50, 8, 6, 0)); }
.sx-alette { display: none; }
.sx-fondo { position: absolute; inset: 0; border-radius: 2.5%; background: #A97F4B; box-shadow: inset 0 0 0 calc(var(--bordo, 10px)) #C9A067, inset 0 0 0 calc(var(--bordo, 10px) + 2px) rgba(60, 30, 8, .35), inset 0 18px 30px 10px rgba(60, 30, 8, .32); --bordo: 3.2cqw; container-type: inline-size; }
.scatola { container-type: inline-size; }
.sx-fondo i { position: absolute; inset: 7%; border-radius: 1.5%; background: #F1E3C8; background-image: repeating-linear-gradient(115deg, rgba(160, 120, 70, .09) 0 2px, transparent 2px 9px); transform: rotate(-1.2deg); box-shadow: 0 2px 6px rgba(60, 30, 8, .25); }
.scatola img { position: absolute; left: 0; top: 0; height: auto; max-width: none; visibility: hidden; will-change: transform; }
.sx-coperchio { position: absolute; inset: -1.2%; border-radius: 2.5%; background: #D4AE76; background-image: repeating-linear-gradient(90deg, rgba(120, 80, 30, .07) 0 2px, transparent 2px 7px); box-shadow: inset 0 0 0 2px rgba(120, 80, 30, .25), 0 8px 18px rgba(50, 8, 6, .3); transform-origin: 50% 0; display: flex; align-items: center; justify-content: center; will-change: transform; }
.sx-coperchio.dentro { background-color: #C29A63; box-shadow: inset 0 0 0 2px rgba(120, 80, 30, .25), inset 0 -14px 24px rgba(60, 30, 8, .2); }
.sx-tondo { width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--rosso); display: flex; align-items: center; justify-content: center; color: var(--giallo); transform: rotate(-4deg); }
.sx-tondo .lo { width: 76%; }
.sx-coperchio.dentro .sx-tondo { visibility: hidden; }
.tv { position: absolute; inset: 0; pointer-events: none; color: var(--crema); }
.tv-lato { position: absolute; left: 5.2vw; top: 17vh; width: 40vw; }
.tv-titolo { font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: min(6.4vw, 12vh); line-height: .9; padding-top: .06em; }
.tv-titolo em { font-style: normal; display: block; }
.tv-conta { font-family: var(--tit); font-weight: 800; line-height: 1; margin: 1.2vh 0 2vh; visibility: hidden; transform-origin: 0 50%; will-change: transform; }
.tv-conta b { font-size: min(9vw, 16vh); font-variant-numeric: tabular-nums; }
.tv-conta i { font-style: normal; font-size: min(4.2vw, 7.6vh); opacity: .55; }
.tv-gettoni { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; visibility: hidden; transform-origin: 0 0; will-change: transform; }
.tv-gettoni li { border: 2px solid rgba(255, 244, 222, .38); border-radius: 16px; padding: 11px 14px 12px; line-height: 1.2; transition: background-color .25s, color .25s, border-color .25s, transform .25s; }
.tv-gettoni b { display: block; font-family: var(--tit); font-weight: 800; font-size: clamp(18px, 1.6vw, 24px); }
.tv-gettoni span { font-weight: 700; font-size: clamp(13px, 1vw, 15px); opacity: .9; }
.tv-gettoni li.qui { background: var(--crema); border-color: var(--crema); color: var(--rosso); transform: rotate(-1.2deg); }
.tv-gettoni li.qui:nth-child(even) { transform: rotate(1.4deg); }
.tv-carta { position: absolute; left: 5.2vw; top: 21vh; width: min(36vw, 470px); background: var(--crema); color: var(--scuro); border-radius: 26px; padding: 26px 30px 24px; visibility: hidden; pointer-events: auto; box-shadow: 0 10px 0 rgba(74, 18, 16, .25); will-change: transform; }
.tv-carta h3 { font-family: var(--tit); font-weight: 800; font-size: clamp(26px, 2.5vw, 36px); line-height: 1; color: var(--rosso); }
.tv-prezzo { font-family: var(--tit); font-weight: 800; font-size: clamp(64px, 7.4vw, 108px); line-height: .95; color: var(--rosso); margin-top: 4px; }
.tv-riga { font-weight: 800; font-size: 17px; }
.tv-seconda { margin-top: 12px; padding-top: 12px; border-top: 2px dashed rgba(74, 18, 16, .25); font-weight: 700; font-size: 17px; }
.tv-seconda b { font-family: var(--tit); font-weight: 800; font-size: 1.7em; color: var(--rosso); line-height: 1; margin-right: 4px; }
.tv-bottoni { margin-top: 16px; }
.tv-nota { margin-top: 14px; font-weight: 700; font-size: 13px; opacity: .8; }

/* ---------- SECONDO TEMPO ---------- */
/* 6 · la scheda */
.scegli { position: relative; height: 350vh; height: 350svh; background: var(--crema); color: var(--scuro); }
.sc-fermo { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: 3vw; align-items: center; padding: 96px 5.2vw 4vh; }
#sc-titolo span { display: block; font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: min(6.2vw, 12vh); line-height: .88; }
#sc-titolo .sc-t2 { color: var(--rosso); }
.sc-sotto { margin-top: 2.4vh; font-weight: 700; font-size: clamp(16px, 1.3vw, 20px); max-width: 17em; }
.sc-carta { --carta-col: #B5301C; --carta-ink: #FFF4DE; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); background: #fff; border-radius: 28px; overflow: hidden; height: min(74vh, 640px); box-shadow: 0 10px 0 rgba(74, 18, 16, .12); }
.sc-foto { position: relative; background: var(--carta-col); }
.sc-foto img { position: absolute; left: 9%; top: 11%; width: 82%; height: 78%; object-fit: cover; border-radius: 20px; visibility: hidden; transform: rotate(-2deg) scale(.94); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.sc-foto img.qui { visibility: visible; transform: rotate(-2deg) scale(1); }
.sc-num { position: absolute; left: 22px; top: 14px; font-family: var(--tit); font-weight: 800; font-size: 30px; color: var(--carta-ink); }
.sc-elenco { display: flex; flex-direction: column; justify-content: center; padding: 10px 0; }
.sc-elenco li { flex: 1; display: flex; max-height: 84px; }
/* fluidita' (2/12): la riga sotto il nome c'e' sempre (nascosta), cosi' il cambio di voce non rifa' l'impaginazione dell'elenco: solo colore e transform */
.sc-elenco button { width: 100%; text-align: left; padding: 0 26px; display: flex; flex-direction: column; justify-content: center; line-height: 1.15; }
.sc-elenco b { font-family: var(--tit); font-weight: 800; font-size: clamp(21px, 1.95vw, 29px); line-height: 1.05; }
.sc-elenco b { transform: translateY(.42em); }
.sc-elenco span { display: block; visibility: hidden; font-weight: 700; font-size: clamp(14px, 1.05vw, 15.5px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-elenco button.qui { background: var(--col); color: var(--ink); }
.sc-elenco button.qui b { transform: none; }
.sc-elenco button.qui span { visibility: visible; }

/* 7 · la frase di marca: giallo pieno */
.frase { position: relative; min-height: 100vh; min-height: 100svh; background: var(--giallo); color: var(--rosso); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: 4vw; align-items: center; padding: 110px 5.2vw 8vh; }
.fr-lato { position: relative; }
.fr-occ { font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.6vh; }
#fr-titolo span { display: block; white-space: nowrap; font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: min(8.4vw, 17.5vh); line-height: .86; }
#fr-titolo .fr-c { font-style: normal; color: #3E7C3A; }
.fr-bollino { position: absolute; right: 2vw; top: 4vh; width: min(15vw, 210px); aspect-ratio: 1; border-radius: 50%; background: var(--rosso); color: var(--giallo); display: flex; align-items: center; justify-content: center; transform: rotate(12deg); }
.fr-bollino .lo { width: 76%; }
.fr-col { font-weight: 700; font-size: clamp(16px, 1.25vw, 19px); color: var(--scuro); }
.fr-col p + p { margin-top: 14px; }
.fr-col b { display: block; font-family: var(--tit); font-weight: 800; font-size: clamp(21px, 1.8vw, 27px); line-height: 1.1; color: var(--rosso); }
.fr-link { display: inline-block; margin-top: 18px; font-weight: 800; color: var(--rosso); }

/* 8 · tre passi, carte impilate */
.passi { position: relative; height: 400vh; height: 400svh; background: #55603A; color: var(--crema); border-radius: 34px 34px 0 0; margin-top: -34px; }
.pa-fermo { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4vw; align-items: center; padding: 96px 5.2vw 4vh; overflow: hidden; }
#pa-titolo span { display: block; font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: min(7vw, 13vh); line-height: .88; }
#pa-titolo .pa-t2 { color: #E9C46A; }
.pa-sotto { font-weight: 700; font-size: clamp(16px, 1.3vw, 20px); margin-top: 1.4vh; }
.pa-elenco { margin-top: 3.4vh; display: grid; gap: 8px; max-width: 30em; }
.pa-elenco li { display: flex; align-items: baseline; gap: 14px; padding: 12px 18px; border-radius: 14px; font-family: var(--tit); font-weight: 800; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.1; }
.pa-elenco i { font-style: normal; font-size: .7em; opacity: .8; }
.pa-elenco li.qui { background: var(--crema); color: var(--scuro); }
.pa-pila { position: relative; width: min(100%, 60vh, 520px); aspect-ratio: 4 / 5; justify-self: center; }
.pa-carta { position: absolute; inset: 0; border-radius: 26px; padding: 22px 24px 0; display: flex; flex-direction: column; overflow: hidden; transition: transform .45s cubic-bezier(.3, .9, .3, 1); will-change: transform; box-shadow: 0 8px 0 rgba(30, 30, 10, .22); }
.pa-carta.c1 { background: var(--crema); color: var(--scuro); } .pa-carta.c2 { background: #E9C46A; color: var(--scuro); } .pa-carta.c3 { background: #E79A8B; color: var(--scuro); }
.pa-num { font-family: var(--tit); font-weight: 800; font-size: clamp(40px, 4vw, 60px); line-height: .9; color: var(--rosso); align-self: flex-start; }
.pa-carta h3 { font-family: var(--tit); font-weight: 800; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05; margin-top: 2px; }
.pa-carta p:not(.pa-num) { font-weight: 700; font-size: clamp(14.5px, 1.1vw, 16.5px); line-height: 1.3; margin-top: 4px; min-height: 2.6em; }
.pa-film { flex: 1; min-height: 0; position: relative; margin: 12px -24px 0; background: #3a2a18 center / cover no-repeat; }
.pa-film video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; visibility: hidden; }
.pa-film video.vivo { visibility: visible; }
html:not(.js) .pa-carta video { flex: 1; min-height: 0; }

/* 9 · l'abbanniata: pannello rosso scuro che sale */
.abbanniata { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; min-height: 100vh; min-height: 100svh; background: var(--fondo-scuro); color: var(--crema); border-radius: 34px 34px 0 0; padding: 14vh 5.2vw 12vh; }
.ab-testa { position: relative; }
#ab-titolo { font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: min(10vw, 19vh); line-height: .9; }
.ab-sotto { font-weight: 700; font-style: italic; font-size: clamp(17px, 1.5vw, 22px); margin-top: 6px; }
.ab-bollino { position: absolute; right: 1vw; top: -2vh; background: var(--crema); transform: rotate(10deg); }
.ab-colonne { display: grid; grid-template-columns: 1fr 1fr; gap: 0 5vw; margin-top: 6vh; }
.ab-colonne li { display: flex; flex-direction: column; padding: 2.4vh 0 2.2vh; border-top: 2px solid rgba(255, 244, 222, .22); line-height: 1.1; }
.ab-colonne b { font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: clamp(25px, 3.5vw, 54px); line-height: 1; }
.ab-colonne span { font-weight: 700; font-style: italic; font-size: clamp(16px, 1.4vw, 21px); color: #F3C9A9; margin-top: 3px; }

/* 10 · ci trovi in due posti + domande */
.dove { position: relative; z-index: 2; background: var(--crema); color: var(--scuro); padding: 13vh 5.2vw 12vh; border-radius: 34px 34px 0 0; margin-top: -34px; }
#dv-titolo { font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: min(7.4vw, 14vh); line-height: .9; color: var(--rosso); }
.dv-carte { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 5vh; }
.dv-carte.una { grid-template-columns: minmax(0, 720px); }
.dv-carta { background: #fff; border-radius: 26px; padding: 28px 30px 30px; box-shadow: 0 8px 0 rgba(74, 18, 16, .1); font-weight: 700; font-size: 17px; }
.dv-carta.dv-natale { background: #3E7C3A; color: var(--crema); }
.dv-occ { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--rosso); }
.dv-natale .dv-occ { color: #E9C46A; }
.dv-carta h3 { font-family: var(--tit); font-weight: 800; font-size: clamp(32px, 3.6vw, 52px); line-height: 1; margin: 4px 0 10px; }
.dv-azioni { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.domande { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: 4vw; margin-top: 12vh; }
.do-occ { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--rosso); }
#do-titolo { font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: min(5.6vw, 10vh); line-height: .95; }
.do-elenco details { border-top: 2px solid rgba(74, 18, 16, .16); }
.do-elenco details:last-child { border-bottom: 2px solid rgba(74, 18, 16, .16); }
.do-elenco summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-family: var(--tit); font-weight: 800; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.15; }
.do-elenco summary::-webkit-details-marker { display: none; }
.do-elenco summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.3em; color: var(--rosso); transition: transform .25s; }
.do-elenco details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.do-elenco details p { padding: 0 44px 22px 0; font-weight: 700; font-size: 17px; max-width: 44em; }

/* 11 · la chiusura e il piede */
.chiusa { position: relative; z-index: 2; min-height: 92vh; min-height: 92svh; background: var(--rosso); color: var(--crema); display: flex; align-items: center; justify-content: center; text-align: center; padding: 14vh 5.2vw; }
#ch-titolo { font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: min(12vw, 22vh); line-height: .86; max-width: 7em; }
.piede { position: relative; z-index: 2; background: #5C1311; color: var(--crema); overflow: hidden; }
.pi-nome { padding: 9vh 4vw 0; will-change: transform; }
/* fluidita' 2/12: il nome spento e il nome pieno sono due livelli; cambia solo l'opacita' di quello giallo (prima la maschera si ridipingeva) */
.pi-nome { position: relative; }
.pi-nome i, .pi-nome b { display: block; aspect-ratio: 1600 / 312; background: rgba(255, 244, 222, .16); -webkit-mask: url(img/logo-nome.webp) center / contain no-repeat; mask: url(img/logo-nome.webp) center / contain no-repeat; }
.pi-nome b { position: absolute; left: 4vw; right: 4vw; bottom: 0; background: var(--giallo); opacity: 0; will-change: opacity; transition: opacity .25s steps(3); }
.pi-nome.pieno b { opacity: 1; }
@keyframes pi-sale { from { transform: translate3d(0, 70%, 0); } to { transform: none; } }
.piede.sale-css .pi-nome { animation: pi-sale cubic-bezier(.2, .7, .3, 1) both; animation-timeline: view(); animation-range: cover 0% cover 50vh; }
.pi-colonne { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4vw; padding: 9vh 5.2vw 8vh; font-weight: 700; font-size: 17px; }
.pi-colonne h2 { font-family: var(--tit); font-weight: 800; font-size: 26px; line-height: 1; color: #E9C46A; margin-bottom: 12px; }
.pi-colonne p + p { margin-top: 10px; }
.pi-colonne a { text-underline-offset: 3px; }
.pi-fine { position: relative; background: var(--rosso); border-radius: 34px 34px 0 0; padding: 12vh 5.2vw 0; text-align: center; overflow: hidden; }
.pf-titolo span { display: block; font-family: var(--tit); font-weight: 800; text-transform: uppercase; font-size: min(7.6vw, 14vh); line-height: .9; }
.pf-titolo .pf-2 { font-size: min(4.6vw, 8.6vh); margin-top: .12em; }
.pf-bot { margin-top: 4vh; position: relative; z-index: 2; }
.pf-mucchio { position: relative; height: clamp(190px, 25vw, 360px); margin: 3vh -5.2vw 0; }
.pf-mucchio img { position: absolute; bottom: -9%; width: 17.5%; height: auto; }
.pf-mucchio img:nth-child(1) { left: -2%; transform: rotate(-12deg); }
.pf-mucchio img:nth-child(2) { left: 9%; width: 22%; bottom: -4%; transform: rotate(8deg); z-index: 2; }
.pf-mucchio img:nth-child(3) { left: 25%; bottom: -14%; transform: rotate(20deg); }
.pf-mucchio img:nth-child(4) { left: 38%; width: 18.5%; bottom: -8%; transform: rotate(-6deg); z-index: 2; }
.pf-mucchio img:nth-child(5) { left: 52%; bottom: -16%; transform: rotate(-24deg); }
.pf-mucchio img:nth-child(6) { left: 62%; width: 22%; bottom: -2%; transform: rotate(-14deg) scaleX(-1); z-index: 2; }
.pf-mucchio img:nth-child(7) { left: 76%; bottom: -12%; transform: rotate(14deg); }
.pf-mucchio img:nth-child(8) { left: 86%; width: 18%; bottom: -8%; transform: rotate(9deg); z-index: 2; }
.pi-fondo { position: relative; background: #3F0D0C; padding: 3vh 5.2vw; font-weight: 600; font-size: 14px; line-height: 1.6; color: #F3D9C4; }
.pf-legale { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 6px 0; }
.pf-legale a, .pf-legale button { font-weight: 800; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.pf-nota { opacity: .85; max-width: 60em; }

/* ---------- larghezze di mezzo ---------- */
@media (max-width: 1100px) and (min-width: 760px) {
  .testa-nav a { padding: 9px 9px; font-size: 14px; }
  .sc-fermo { grid-template-columns: minmax(0, .62fr) minmax(0, 1.7fr); }
  .tv-lato { width: 44vw; }
}

/* ---------- telefono ---------- */
@media (max-width: 759px) {
  body { font-size: 16px; }
  header.testa { top: 10px; padding: 6px 6px 6px 16px; gap: 8px; }
  .testa-logo { width: 96px; }
  .testa-ordina { min-height: 42px; padding: 0 16px; margin-left: auto; }
  .testa-ordina span { display: none; }
  .testa-menu { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 2px solid currentColor; font-weight: 800; font-size: 14px; }
  .testa-nav { display: none; position: absolute; right: 0; top: calc(100% + 8px); flex-direction: column; gap: 0; background: var(--crema); color: var(--scuro); border-radius: 20px; padding: 8px; min-width: 190px; box-shadow: 0 8px 0 rgba(74, 18, 16, .22); }
  header.testa.aperta .testa-nav { display: flex; }
  .testa-nav a { padding: 12px 16px; font-size: 16px; }
  .bottone { min-height: 50px; padding: 0 20px; font-size: 16px; }

  .ap-h1 { left: 5vw; top: 9.4vh; font-size: 12px; letter-spacing: .1em; }
  .ap-h1 span { display: none; }
  .ap-titolo { left: 5vw; top: 12.2vh; font-size: min(23.5vw, 13.6vh); }
  .ap-titolo .r3 { font-size: .405em; }
  .ap-sotto { display: none; }
  .ap-bottoni { left: 5vw; right: 5vw; top: auto; bottom: max(2.4vh, 14px); gap: 8px; }
  .ap-bottoni .bottone { flex: 1; padding: 0 10px; font-size: 15px; }
  .ap-bollino { right: 6vw; top: 39vh; width: 108px; }
  .ap-bollino b { font-size: 17px; } .ap-bollino span { font-size: 12px; }

  .ca-titolo { left: 5vw; top: 11.5vh; font-size: min(8vw, 5.4vh); max-width: 9em; }
  .ca-parola { top: 43vh; }
  .ca-parola { height: 24vh; }
  .ca-parola span { font-size: 24vh; }
  .ca-nomi li { top: 69vh; padding: 0 4vw; }
  .ca-nomi h3 { font-size: min(8.6vw, 5.6vh); }
  .ca-nomi p { font-size: 16px; }
  .ca-pallini { bottom: 5.5vh; }

  .az-b, .az-b.scura { left: 5vw; right: 5vw; top: 12.5vh; bottom: auto; max-width: none; }
  .az-t { font-size: min(15.5vw, 9vh); }
  .az-b[data-az="1"] .az-t2 { font-size: min(8.8vw, 5.4vh); }
  .az-occ { font-size: 15px; }
  .az-b.scura { top: auto; bottom: 4.5vh; }
  .az-b.scura .az-t { font-size: min(14vw, 8.4vh); }

  .tv-lato { left: 5vw; right: 5vw; top: 10.5vh; width: auto; }
  .tv-titolo { font-size: min(11vw, 6.4vh); }
  .tv-titolo em { display: inline; }
  .tv-conta { position: absolute; right: 0; top: -1.2vh; margin: 0; }
  .tv-conta b { font-size: min(15vw, 8.4vh); } .tv-conta i { font-size: min(7vw, 4vh); }
  .tv-gettoni { margin-top: 1.6vh; gap: 7px; }
  .tv-gettoni li { padding: 7px 11px 8px; border-radius: 13px; }
  .tv-gettoni b { font-size: 17px; } .tv-gettoni span { font-size: 12.5px; display: block; line-height: 1.15; }
  .tv-carta { left: 5vw; right: 5vw; top: 10.5vh; width: auto; padding: 16px 20px 16px; border-radius: 22px; }
  .tv-carta h3 { font-size: 23px; }
  .tv-prezzo { font-size: min(17vw, 9vh); display: inline-block; }
  .tv-riga { font-size: 15px; } .tv-seconda { font-size: 15px; margin-top: 8px; padding-top: 8px; }
  .tv-bottoni { margin-top: 10px; } .tv-bottoni .bottone { min-height: 46px; width: 100%; }
  .tv-nota { margin-top: 8px; font-size: 12.5px; }

  .scegli { height: 380vh; height: 380svh; }
  .sc-fermo { display: flex; flex-direction: column; align-items: stretch; gap: 1.4vh; padding: max(11vh, 80px) 4vw 1.6vh; }
  #sc-titolo span { display: inline; font-size: min(10.4vw, 5.8vh); margin-right: .22em; }
  .sc-num { display: none; }
  .sc-sotto { display: none; }
  .sc-carta { grid-template-columns: 1fr; grid-template-rows: 25vh minmax(0, 1fr); flex: 1; height: auto; min-height: 0; border-radius: 22px; }
  .sc-foto img { left: 5%; top: 8%; width: 90%; height: 84%; border-radius: 14px; transform: rotate(-1.2deg) scale(.95); }
  .sc-foto img.qui { transform: rotate(-1.2deg); }
  .sc-num { left: 14px; top: 6px; font-size: 22px; }
  .sc-elenco { padding: 2px 0; }
  .sc-elenco li { max-height: none; }
  .sc-elenco button { padding: 0 16px; }
  .sc-elenco b { font-size: min(20px, 2.9vh); }
  .sc-elenco span { font-size: 13.5px; line-height: 1.15; white-space: normal; }
  .sc-elenco b { transform: translateY(.7em); }

  .frase { grid-template-columns: minmax(0, 1fr); gap: 3vh; padding: 13vh 5vw 9vh; align-content: center; }
  #fr-titolo span { font-size: min(11.8vw, 9vh); }
  .fr-bollino { right: 0; top: -3vh; width: 25vw; }

  .passi { height: 400vh; height: 400svh; }
  .pa-fermo { display: flex; flex-direction: column; align-items: stretch; gap: 1.6vh; padding: max(11vh, 80px) 5vw 2vh; }
  #pa-titolo span { display: inline; font-size: min(10.6vw, 6vh); margin-right: .22em; }
  .pa-sotto { font-size: 15px; margin-top: 0; }
  .pa-elenco { margin-top: .6vh; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px; }
  .pa-elenco li { padding: 6px 12px; font-size: 14px; border-radius: 999px; gap: 6px; border: 2px solid rgba(255, 244, 222, .3); }
  .pa-elenco li, .pa-elenco li.qui { font-size: 0; gap: 0; } .pa-elenco li i { font-size: 14px; }
  .pa-pila { flex: 1; min-height: 0; width: 88%; aspect-ratio: auto; align-self: center; margin-top: 8.5vh; }
  .pa-carta { padding: 14px 18px 0; border-radius: 22px; }
  .pa-film { margin: 8px -18px 0; }
  .pa-num { font-size: 34px; } .pa-carta h3 { font-size: 22px; } .pa-carta p:not(.pa-num) { min-height: 0; font-size: 14.5px; }

  .abbanniata { padding: 11vh 5vw 9vh; border-radius: 26px 26px 0 0; }
  #ab-titolo { font-size: min(12.6vw, 9vh); }
  .ab-bollino { display: none; }
  .ab-colonne { grid-template-columns: 1fr; margin-top: 4vh; }
  .ab-colonne b { font-size: min(7.4vw, 30px); }
  .dove { padding: 10vh 5vw 9vh; border-radius: 26px 26px 0 0; }
  #dv-titolo { font-size: min(12.4vw, 8.4vh); }
  .dv-carte { grid-template-columns: 1fr; gap: 14px; margin-top: 3.4vh; }
  .dv-carta { padding: 22px 22px 24px; border-radius: 22px; font-size: 16px; }
  .dv-azioni .bottone { flex: 1; }
  .domande { grid-template-columns: 1fr; gap: 2vh; margin-top: 8vh; }
  #do-titolo { font-size: 11vw; }
  .do-elenco details p { font-size: 16px; padding-right: 10px; }
  .chiusa { min-height: 80vh; min-height: 80svh; }
  #ch-titolo { font-size: min(19vw, 13vh); }
  .pi-nome { padding: 6vh 4vw 0; }
  .pi-colonne { grid-template-columns: 1fr; gap: 4vh; padding: 6vh 5vw; font-size: 16px; }
  .pi-fine { padding-top: 8vh; border-radius: 26px 26px 0 0; }
  .pf-titolo span { font-size: 12.4vw; } .pf-titolo .pf-2 { font-size: 7.2vw; }
  .pf-mucchio { height: 42vw; }
  .pf-mucchio img { width: 30%; }
  .pf-mucchio img:nth-child(2), .pf-mucchio img:nth-child(6) { width: 36%; }
  .pf-mucchio img:nth-child(1) { left: -7%; } .pf-mucchio img:nth-child(2) { left: 12%; } .pf-mucchio img:nth-child(3) { left: 38%; } .pf-mucchio img:nth-child(4) { left: 58%; width: 30%; }
  .pf-mucchio img:nth-child(5) { left: 78%; } .pf-mucchio img:nth-child(6), .pf-mucchio img:nth-child(7), .pf-mucchio img:nth-child(8) { display: none; }
  .pi-fondo { font-size: 13.5px; }
}
/* telefono basso (barra di Safari aperta) */
@media (max-width: 759px) and (max-height: 700px) {
  .ap-bollino { top: 46vh; right: 6vw; width: 96px; }
  .ap-bollino b { font-size: 15px; }
  .sc-carta { grid-template-rows: 21vh minmax(0, 1fr); }
  .sc-elenco span { display: none; }
  .sc-elenco b, .sc-elenco button.qui b { transform: none; }
  .tv-gettoni span { display: none; }
  .pa-carta p:not(.pa-num) { display: none; }
}
/* telefono coricato */
@media (orientation: landscape) and (max-height: 560px) {
  .ap-sotto, .ap-bollino { display: none; }
  .ap-bottoni { top: auto; bottom: 4vh; }
  .ap-titolo { top: 20vh; font-size: 19vh; }
  .sc-elenco span { display: none !important; }
  .sc-elenco b { transform: none; }
  .tv-gettoni span { display: none; }
  .pa-carta p:not(.pa-num) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bottone, .pa-carta, .sc-foto img { transition: none; } }
