/* sito.css — generato da scripts/unisci_css.py. Non modificarlo a mano: modifica i sorgenti
   (font.css, base.css, standard.css, stile.css) e rilancia lo script. */

/* ===== font.css ===== */
/* Generato da scripts/scarica_font.py — caratteri ospitati sul sito (Fontsource, licenze in font/) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../font/cormorant-garamond-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../font/cormorant-garamond-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url(../font/cormorant-garamond-latin-ext-500-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url(../font/cormorant-garamond-latin-500-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../font/cormorant-garamond-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../font/cormorant-garamond-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url(../font/cormorant-garamond-latin-ext-600-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url(../font/cormorant-garamond-latin-600-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(../font/jost-latin-ext-300-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(../font/jost-latin-300-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../font/jost-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../font/jost-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../font/jost-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../font/jost-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../font/dancing-script-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../font/dancing-script-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ===== base.css ===== */
/* base.css — parte tecnica comune ai siti PrimoPosto.
   Lo stile vero (colori, caratteri, impaginazione) va in css/stile.css secondo DESIGN.md.
   I token di movimento si sovrascrivono in stile.css in base alla scelta "Discrete" o "Marcate". */

:root {
  /* Movimento: valori per "Discrete". Per "Marcate" vedi il blocco più sotto. */
  --mov-durata-breve: 180ms;
  --mov-durata: 320ms;
  --mov-durata-lunga: 600ms;
  --mov-curva: cubic-bezier(0.22, 1, 0.36, 1);
  --mov-distanza: 12px;
  /* Parallax: Basso 0.04, Medio 0.08, Alto 0.12 (frazione dell'altezza dell'elemento). */
  --parallax: 0.08;
  --altezza-azione-mobile: 64px;
}
:root[data-animazioni="marcate"] {
  --mov-durata-breve: 220ms;
  --mov-durata: 420ms;
  --mov-durata-lunga: 900ms;
  --mov-distanza: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* altrimenti img { display: block } lo annullerebbe */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100svh; text-rendering: optimizeLegibility; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }

.salta-al-contenuto { position: absolute; left: -9999px; }
.salta-al-contenuto:focus { left: 16px; top: 16px; z-index: 100; }
.nascosto { position: absolute !important; left: -9999px !important; }

/* Elemento 3D: canvas fisso a tutto schermo, non intercetta i clic. */
#scena-3d { position: fixed; inset: 0; width: 100vw; height: 100svh; z-index: 0; pointer-events: none; opacity: 0; transition: opacity var(--mov-durata-lunga) var(--mov-curva); }
#scena-3d.scena-pronta { opacity: 1; }
#poster-3d { position: absolute; z-index: 0; pointer-events: none; }
main, .testata, .piede { position: relative; z-index: 1; }

/* Popup su <dialog>: le transizioni di apertura/chiusura arrivano da transitions-dev (modal). */
.popup { max-width: min(720px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: 0; border: 0; overflow: auto; }
.popup::backdrop { background: rgb(0 0 0 / 0.45); }
.popup__contenuto { position: relative; padding: 32px 24px; }
.popup__chiudi { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; background: none; border: 0; font-size: 28px; line-height: 1; }

/* Mappa caricata solo al clic. */
.mappa { position: relative; }
.mappa iframe { width: 100%; aspect-ratio: 12 / 7; border: 0; }

/* Pulsante fisso su mobile. */
.azione-mobile { display: none; }
@media (max-width: 767px) {
  .azione-mobile { display: flex; align-items: center; justify-content: center; position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); min-height: 52px; z-index: 50; }
  body { padding-bottom: calc(var(--altezza-azione-mobile) + env(safe-area-inset-bottom)); }
}

.avviso-cookie { position: fixed; left: 16px; right: 16px; bottom: calc(var(--altezza-azione-mobile) + 24px); z-index: 60; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px; }
@media (min-width: 768px) { .avviso-cookie { left: auto; max-width: 420px; bottom: 24px; } }

/* Comparsa dei testi allo scroll (attivata da js/sito.js). */
.js [data-rivela] { opacity: 0; transform: translateY(var(--mov-distanza)); transition: opacity var(--mov-durata-lunga) var(--mov-curva), transform var(--mov-durata-lunga) var(--mov-curva); }
.js [data-rivela].visibile { opacity: 1; transform: none; }

/* Movimento ridotto: niente spostamenti, solo cambi di opacità brevi. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js [data-rivela] { transform: none; }
  #scena-3d { display: none; }
}

/* ===== standard.css ===== */
/* standard.css — "standard Lucio": componenti presenti in TUTTI i siti PrimoPosto (vedi
   references/standard-lucio.md). Vince sulle regole di stile di taste-skill.
   I colori arrivano dalle variabili del progetto, definite in css/stile.css:
     --fondo-scuro, --fondo-chiaro, --testo-chiaro, --testo-chiaro-tenue, --testo-scuro, --testo-tenue,
     --accento, --accento-scuro, --bianco, --luce-1, --luce-2, --luce-3 (luci sfumate, in formato "r g b").
   Qui ci sono solo forme, movimento e comportamenti. */

:root {
  --raggio: 24px;
  --raggio-piccolo: 14px;
  --molla: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Schermata di caricamento con il logo ----------
   Markup: <div class="caricamento"> con il logo (SVG in linea: i pezzi con class="c-pezzo" e
   style="--i:N" entrano in sequenza; oppure un <img class="caricamento__logo">) e
   <span class="caricamento__barra">. js/standard.js la alza dopo almeno 1,7 s. */
.caricamento { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--fondo-scuro); clip-path: inset(0 0 0 0); transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 0.9s; animation: c-via 0.6s ease 5s forwards; }
.caricamento.finito { clip-path: inset(0 0 100% 0); visibility: hidden; }
.caricamento svg, .caricamento__logo { width: min(62vw, 340px); height: auto; overflow: visible; }
.caricamento__logo { animation: c-pezzo 0.9s var(--molla) 0.2s both; }
.caricamento .c-pezzo { opacity: 0; transform-box: fill-box; transform-origin: left center; animation: c-pezzo 0.6s var(--molla) forwards; animation-delay: calc(0.15s + var(--i, 0) * 0.12s); }
.caricamento__barra { position: absolute; left: 50%; bottom: 18vh; width: 120px; height: 3px; margin-left: -60px; border-radius: 3px; background: rgb(255 255 255 / 0.15); overflow: hidden; }
.caricamento__barra::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: var(--accento); transform-origin: left; animation: c-barra 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes c-pezzo { from { opacity: 0; transform: translateX(-14px) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes c-barra { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes c-via { to { opacity: 0; visibility: hidden; } } /* rete di sicurezza se il JS non parte */

/* ---------- Forme arrotondate: pulsanti a pillola ---------- */
.pulsante { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--accento); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform var(--mov-durata-breve) var(--molla), box-shadow var(--mov-durata) var(--mov-curva); }
.pulsante::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--accento-scuro); transform: translateX(-101%); transition: transform var(--mov-durata) var(--mov-curva); }
.pulsante:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -10px rgb(0 0 0 / 0.45); }
.pulsante:hover::before { transform: none; }
.pulsante:active { transform: translateY(0) scale(0.96); }
.pulsante .icona { width: 20px; height: 20px; transition: transform var(--mov-durata) var(--molla); }
.pulsante:hover .icona { transform: rotate(-12deg) scale(1.15); }
.pulsante--chiaro { background: var(--testo-chiaro); color: var(--testo-scuro); }
.pulsante--chiaro::before { background: #fff; }
.pillola { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.08); color: inherit; font-weight: 700; font-size: 0.9375rem; text-decoration: none; transition: background-color var(--mov-durata-breve), transform var(--mov-durata-breve) var(--molla); }
.pillola:hover { background: rgb(255 255 255 / 0.16); transform: translateY(-3px); }
.icona { width: 20px; height: 20px; flex: none; }

/* ---------- Icone social (cerchi con l'icona; con o senza etichetta) ---------- */
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 6px; border-radius: 999px; background: rgb(255 255 255 / 0.08); font-weight: 700; text-decoration: none; transition: background-color var(--mov-durata-breve), transform var(--mov-durata-breve) var(--molla); }
.social a:hover { background: rgb(255 255 255 / 0.16); transform: translateY(-3px); }
.social .tondo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accento); color: #fff; transition: transform var(--mov-durata) var(--molla); }
.social a:hover .tondo { transform: rotate(-10deg) scale(1.1); }
.social--icone a { padding: 0; min-height: 0; background: none; }
.social--icone .tondo { width: 44px; height: 44px; }

/* ---------- Motion ricco in entrata (attivato da js/standard.js) ---------- */
/* Titoli [data-parole]: parole che salgono da una maschera, una dopo l'altra. */
.js .parola { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .parola > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: left bottom; transition: transform 0.9s cubic-bezier(0.2, 0.9, 0.25, 1); transition-delay: calc(var(--p, 0) * 70ms); }
.js .visibile .parola > span { transform: none; }
/* Testi [data-rivela]: salgono e si mettono a fuoco, sfasati nella stessa colonna. */
.js [data-rivela] { filter: blur(6px); transition: opacity var(--mov-durata-lunga) var(--mov-curva), transform var(--mov-durata-lunga) var(--mov-curva), filter var(--mov-durata-lunga) var(--mov-curva); transition-delay: calc(var(--ritardo, 0) * 1ms); }
.js [data-rivela].visibile { filter: none; }
/* Elenchi [data-sequenza]: voci in sequenza. */
.js [data-sequenza] > * { opacity: 0; transform: translateX(-18px); transition: opacity 0.6s var(--mov-curva), transform 0.6s var(--mov-curva); transition-delay: calc(var(--i, 0) * 80ms + 150ms); }
.js [data-sequenza].visibile > * { opacity: 1; transform: none; }
/* Foto [data-foto]: si scoprono da sinistra e si assestano. */
.js [data-foto] { clip-path: inset(0 100% 0 0 round var(--raggio)); transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.18, 1); }
.js [data-foto] > img, .js [data-foto] > video, .js [data-foto] > picture { scale: 1.18; transition: scale 1.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js [data-foto].visibile { clip-path: inset(0 0 0 0 round 0); }
.js [data-foto].visibile > img, .js [data-foto].visibile > video, .js [data-foto].visibile > picture { scale: 1; }
/* Pulsanti in un blocco .azioni[data-rivela]: rimbalzo all'arrivo. */
.js .azioni[data-rivela] > * { opacity: 0; transform: scale(0.85); transition: transform 0.6s var(--molla), opacity 0.4s; transition-delay: calc(var(--i, 0) * 90ms + 250ms); }
.js .azioni[data-rivela].visibile > * { opacity: 1; transform: none; }
/* L'apertura aspetta che la schermata di caricamento si alzi. */
.js:not(.pronto) #apertura [data-rivela] { opacity: 0 !important; transform: translateY(var(--mov-distanza)) !important; }
.js:not(.pronto) #apertura .parola > span { transform: translateY(105%) rotate(4deg) !important; }

/* ---------- Luci sfumate in movimento nelle sezioni scure ----------
   Markup: sezione con class="con-sfondo" e come primo figlio
   <div class="sfondo-vivo" aria-hidden="true"><span></span><span></span><span></span></div>.
   Ferme fuori schermo (classe .ferma da js/standard.js); due sole su mobile. */
.sfondo-vivo { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sfondo-vivo span { position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%; opacity: 0.55; will-change: transform; }
.sfondo-vivo span:nth-child(1) { left: -18vmax; top: -12vmax; background: radial-gradient(closest-side, rgb(var(--luce-1) / 0.55), rgb(var(--luce-1) / 0)); animation: vagare-1 11s ease-in-out infinite alternate; }
.sfondo-vivo span:nth-child(2) { right: -20vmax; top: 18%; background: radial-gradient(closest-side, rgb(var(--luce-2) / 0.38), rgb(var(--luce-2) / 0)); animation: vagare-2 9s ease-in-out infinite alternate; }
.sfondo-vivo span:nth-child(3) { left: 22%; bottom: -26vmax; background: radial-gradient(closest-side, rgb(var(--luce-3) / 0.5), rgb(var(--luce-3) / 0)); animation: vagare-3 13s ease-in-out infinite alternate; }
.sfondo-vivo.ferma span { animation-play-state: paused; }
@media (max-width: 767px) { .sfondo-vivo span:nth-child(3) { display: none; } }
@keyframes vagare-1 { 50% { transform: translate(22vw, 14vh) scale(1.25); } 100% { transform: translate(8vw, 34vh) scale(0.9); } }
@keyframes vagare-2 { 0% { transform: scale(1.1); } 50% { transform: translate(-26vw, -10vh) scale(0.85); } 100% { transform: translate(-12vw, 22vh) scale(1.2); } }
@keyframes vagare-3 { 0% { transform: scale(0.9); } 50% { transform: translate(-18vw, -22vh) scale(1.2); } 100% { transform: translate(20vw, -8vh); } }
.con-sfondo { overflow: hidden; }
.con-sfondo > :not(.sfondo-vivo) { position: relative; z-index: 1; }
/* Se la sezione è una griglia che su mobile forza grid-column sui figli, escludi .sfondo-vivo
   (es. .sezione > :not(.sfondo-vivo) { grid-column: 1 / -1 }), altrimenti la luce si taglia ai margini. */

/* ---------- Testata e menu mobile con la X sempre visibile ----------
   Le sezioni chiare hanno data-tono="chiaro": la testata diventa chiara sopra di loro.
   NIENTE backdrop-filter sulla testata: renderebbe il pannello fisso del menu prigioniero della barra. */
.testata { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--margine, 24px); transition: background-color var(--mov-durata) var(--mov-curva), color var(--mov-durata) var(--mov-curva); }
.testata--scura { background: color-mix(in srgb, var(--fondo-scuro) 95%, transparent); color: var(--testo-chiaro); }
.testata--chiara { background: color-mix(in srgb, var(--fondo-chiaro) 97%, transparent); color: var(--testo-scuro); box-shadow: 0 1px 0 rgb(0 0 0 / 0.06); }
.testata__logo { display: block; width: 136px; flex: none; position: relative; z-index: 3; }
.testata .logo-scuro { display: none; }
.testata--chiara .logo-chiaro { display: none; }
.testata--chiara .logo-scuro { display: block; }
.testata__menu { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 0.9375rem; }
.testata__menu a:not(.pulsante) { position: relative; padding: 8px 0; text-decoration: none; }
.testata__menu a:not(.pulsante)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accento); transform: scaleX(0); transform-origin: left; transition: transform var(--mov-durata-breve) var(--mov-curva); }
.testata__menu a:not(.pulsante):hover::after { transform: scaleX(1); }
.testata__apri, .testata__social { display: none; }
@media (max-width: 899px) {
  .testata__apri { display: grid; place-items: center; position: relative; z-index: 3; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.1); color: inherit; transition: background-color var(--mov-durata-breve), color var(--mov-durata-breve), transform var(--mov-durata) var(--molla); }
  .testata--chiara .testata__apri { background: rgb(0 0 0 / 0.08); }
  .testata__apri[aria-expanded="true"] { background: var(--accento) !important; color: #fff !important; transform: rotate(180deg); }
  .hamburger, .hamburger::before, .hamburger::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--mov-durata) var(--mov-curva), background-color var(--mov-durata-breve); }
  .hamburger { position: relative; }
  .hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; }
  .hamburger::before { top: -7px; }
  .hamburger::after { top: 7px; }
  .testata__apri[aria-expanded="true"] .hamburger { background: transparent; }
  .testata__apri[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
  .testata__apri[aria-expanded="true"] .hamburger::after { transform: translateY(-7px) rotate(-45deg); }
  .menu-aperto .testata .logo-chiaro { display: block; }
  .menu-aperto .testata .logo-scuro { display: none; }
  .testata__menu { position: fixed; inset: 0; z-index: 2; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 96px var(--margine, 24px) 40px; background: var(--fondo-scuro); color: var(--testo-chiaro); font-size: 2.1rem; font-weight: 300; overflow: auto;
    clip-path: circle(0 at calc(100% - var(--margine, 24px) - 24px) 34px); visibility: hidden; transition: clip-path 0.7s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 0.7s; }
  .testata__menu.aperto { clip-path: circle(150% at calc(100% - var(--margine, 24px) - 24px) 34px); visibility: visible; transition: clip-path 0.7s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s; }
  .testata__menu > * { opacity: 0; transform: translateY(24px); transition: opacity 0.3s, transform 0.3s; }
  .testata__menu.aperto > * { opacity: 1; transform: none; transition: opacity 0.6s var(--mov-curva), transform 0.7s var(--molla); transition-delay: calc(var(--i, 0) * 60ms + 200ms); }
  .testata__menu .pulsante, .testata__menu .testata__social { margin-top: 18px; font-size: 1rem; }
  .testata__menu .testata__social { display: flex; }
}

/* ---------- Popup: forme morbide, X sempre visibile, niente barra di scorrimento ----------
   La X è il PRIMO elemento del <dialog> (prima di .popup__contenuto) ed è sticky.
   Il titolo del popup ha tabindex="-1" autofocus: all'apertura il fuoco va lì, non sulla X. */
.popup { border: 0; padding: 0; border-radius: 28px; background: var(--fondo-chiaro); color: var(--testo-scuro); scrollbar-width: none; overscroll-behavior: contain;
  opacity: 0; transform: translateY(40px) scale(0.92); filter: blur(8px); transition: opacity 0.35s var(--mov-curva), transform 0.45s var(--mov-curva), filter 0.35s var(--mov-curva), overlay 0.45s allow-discrete, display 0.45s allow-discrete; }
.popup::-webkit-scrollbar { display: none; width: 0; height: 0; }
.popup.aperto { opacity: 1; transform: none; filter: none; transition: opacity 0.5s var(--mov-curva), transform 0.7s var(--molla), filter 0.5s var(--mov-curva), overlay 0.45s allow-discrete, display 0.45s allow-discrete; }
.popup::backdrop { background: rgb(0 0 0 / 0); transition: background-color 0.4s var(--mov-curva), backdrop-filter 0.4s; }
.popup.aperto::backdrop { background: rgb(0 0 0 / 0.65); backdrop-filter: blur(6px); }
.popup__chiudi { position: sticky !important; top: 14px !important; right: auto !important; z-index: 5; display: grid; place-items: center; width: 48px !important; height: 48px !important; margin: 14px 14px -62px auto; border: 0; border-radius: 50%; background: var(--bianco) !important; color: var(--testo-scuro); box-shadow: 0 6px 18px -6px rgb(0 0 0 / 0.35); font-size: 28px; line-height: 1; transition: transform var(--mov-durata) var(--molla), background-color var(--mov-durata-breve), color var(--mov-durata-breve); }
.popup__chiudi:hover { transform: rotate(90deg) scale(1.08); background: var(--accento) !important; color: #fff; }
.popup__contenuto { padding: clamp(32px, 5vw, 56px) clamp(64px, 6vw, 72px) clamp(32px, 5vw, 56px) clamp(20px, 5vw, 56px); display: grid; gap: 18px; }
.popup h2[tabindex="-1"]:focus { outline: none; }
html:has(dialog[open]) { overflow: hidden; }
/* Ingresso a cascata degli elementi .entra (style="--i:N") e uscita veloce tutti insieme. */
.popup .entra { opacity: 0; transform: translateY(18px); transition: opacity 0.2s, transform 0.25s; }
.popup.aperto .entra { opacity: 1; transform: none; transition: opacity 0.5s var(--mov-curva), transform 0.7s var(--molla); transition-delay: calc(var(--i, 0) * 45ms + 120ms); }

/* ---------- Menu / listino in popup con categorie filtrabili ----------
   <nav class="menu-categorie"> con <button data-categoria="tutto"> + un bottone per sezione
   (data-categoria = id della <section> dentro .menu-completo). Le voci sono <li> di .listino. */
.popup--menu { width: min(960px, calc(100vw - 24px)); max-width: none; height: calc(100svh - 48px); }
.menu-categorie { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-categorie button { padding: 8px 16px; border: 0; border-radius: 999px; background: var(--bianco); color: var(--testo-scuro); font-size: 0.875rem; font-weight: 700; transition: background-color var(--mov-durata-breve), color var(--mov-durata-breve), transform var(--mov-durata-breve) var(--molla); }
.menu-categorie button:hover { transform: translateY(-2px); }
.menu-categorie button[aria-pressed="true"] { background: var(--accento); color: #fff; }
.menu-completo { columns: 2 340px; column-gap: 48px; }
.menu-completo section { break-inside: avoid; margin-bottom: 32px; }
.menu-completo.filtrato { columns: 1; }
.menu-completo.filtrato .listino { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); column-gap: 48px; }
.popup--menu .listino li { opacity: 0; transform: translateX(-14px); transition: opacity 0.2s, transform 0.2s; }
.popup--menu.aperto .listino li { opacity: 1; transform: none; transition: opacity 0.45s var(--mov-curva), transform 0.55s var(--mov-curva); transition-delay: calc(var(--i, 0) * 45ms + var(--j, 0) * 30ms + 200ms); }
.menu-completo section.esce { opacity: 0 !important; transform: translateY(-10px) scale(0.98) !important; filter: blur(4px); transition: opacity 0.24s, transform 0.24s, filter 0.24s !important; }
.menu-completo section.rientra h3 { animation: cat-titolo 0.5s var(--molla) both; }
.menu-completo section.rientra .listino li { animation: cat-voce 0.5s var(--mov-curva) both; animation-delay: calc(var(--j, 0) * 45ms + 80ms); }
@keyframes cat-titolo { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
@keyframes cat-voce { from { opacity: 0; transform: translateX(-16px); } }

/* ---------- Recensioni a nuvoletta ---------- */
.voto { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; padding: 22px 24px; border-radius: var(--raggio); background: var(--bianco); color: var(--testo-scuro); box-shadow: 0 18px 40px -24px rgb(0 0 0 / 0.35); }
.voto__numero { grid-row: span 2; font-size: 3.25rem; font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.stelle { color: #e8a317; letter-spacing: 2px; font-size: 1.15rem; line-height: 1; }
.fonte { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.fonte .icona { width: 16px; height: 16px; }
.nuvolette { columns: 2 280px; column-gap: 24px; }
.nuvoletta { break-inside: avoid; margin: 0 0 40px; display: grid; gap: 14px; }
.nuvoletta__testo { position: relative; margin: 0; padding: 24px 24px 22px; border-radius: var(--raggio); background: var(--bianco); color: var(--testo-scuro); box-shadow: 0 18px 40px -24px rgb(0 0 0 / 0.35); }
.nuvoletta__testo::after { content: ""; position: absolute; left: 34px; bottom: -14px; width: 28px; height: 16px; background: var(--bianco); clip-path: polygon(0 0, 100% 0, 18% 100%); }
.nuvoletta__testo .stelle { display: block; margin-bottom: 10px; }
.nuvoletta__chi { display: flex; align-items: center; gap: 12px; padding-left: 20px; }
.avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--testo-scuro); color: var(--testo-chiaro); font-weight: 600; font-size: 0.9375rem; }
.nuvoletta:nth-child(3n+2) .avatar { background: var(--accento); color: #fff; }
.consiglia { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: #e7eefc; color: #1d4fa8; font-weight: 700; font-size: 0.875rem; }
.js .nuvoletta[data-rivela] { filter: none; transform: translateY(30px) scale(0.9); transform-origin: 30px 100%; transition: opacity 0.6s var(--mov-curva), transform 0.8s var(--molla); }
.js .nuvoletta[data-rivela].visibile { transform: none; }

/* ---------- Domande frequenti, modulo, mappa: forme morbide ---------- */
.domande { display: grid; gap: 10px; }
.domande details { border-radius: var(--raggio-piccolo); background: rgb(255 255 255 / 0.06); transition: background-color var(--mov-durata-breve); }
.domande details[open], .domande details:hover { background: rgb(255 255 255 / 0.11); }
.domande summary { position: relative; padding: 16px 52px 16px 20px; font-weight: 700; list-style: none; cursor: pointer; }
.domande summary::-webkit-details-marker { display: none; }
.domande summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--accento); border-bottom: 2px solid var(--accento); transform: rotate(45deg); transition: transform var(--mov-durata) var(--molla); }
.domande details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.domande details p { padding: 0 20px 18px; }
.modulo input:not([type="checkbox"]), .modulo textarea { border-radius: var(--raggio-piccolo); }
.mappa { border-radius: var(--raggio); overflow: hidden; }

/* ---------- Pulsante fisso su mobile + Torna su ---------- */
@media (max-width: 767px) {
  /* .pulsante (position: relative) annullerebbe il fixed di base.css: qui serve la specificità doppia. */
  .azione-mobile.pulsante { position: fixed; display: flex; left: 16px; right: 84px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50; min-height: 56px; transform: translateY(160%); transition: transform 0.5s var(--molla); }
  .azione-fissa .azione-mobile.pulsante { transform: none; } /* compare quando il pulsante dell'apertura esce dallo schermo */
}
@media (min-width: 768px) { .azione-mobile { display: none !important; } }
.torna-su { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: 24px; z-index: 45; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--fondo-scuro); color: var(--accento); box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.6);
  opacity: 0; visibility: hidden; transform: translateY(24px) scale(0.7); transition: opacity 0.35s var(--mov-curva), transform 0.5s var(--molla), visibility 0s linear 0.5s, background-color var(--mov-durata-breve), color var(--mov-durata-breve); }
.torna-su.visibile { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s var(--mov-curva), transform 0.5s var(--molla), visibility 0s, background-color var(--mov-durata-breve), color var(--mov-durata-breve); }
.torna-su > svg { grid-area: 1 / 1; }
.torna-su__anello { width: 60px; height: 60px; transform: rotate(-90deg); fill: none; stroke-width: 3; }
.torna-su__anello circle:first-child { stroke: rgb(255 255 255 / 0.14); }
.torna-su__avanzamento { stroke: var(--accento); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--avanzamento, 0)); transition: stroke-dashoffset 0.15s linear; }
.torna-su__icona { width: 32px; height: 32px; transition: transform 0.5s var(--molla); }
.torna-su:hover { background: var(--accento); color: #fff; }
.torna-su:hover .torna-su__avanzamento { stroke: #fff; }
.torna-su:hover .torna-su__icona { transform: translateY(-5px); }
.menu-aperto .torna-su { opacity: 0; visibility: hidden; }
@media (max-width: 767px) { .torna-su { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 56px; height: 56px; } .torna-su__anello { width: 56px; height: 56px; } }

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  .caricamento { display: none; }
  .sfondo-vivo span { animation: none !important; }
  .js .parola > span, .js [data-sequenza] > *, .js .azioni[data-rivela] > * { transform: none !important; opacity: 1 !important; }
  .js [data-foto] { clip-path: none !important; }
  .js [data-foto] > * { scale: 1 !important; }
  .js [data-rivela] { filter: none !important; }
  .avviso-cookie { animation: none; }
}

/* ===== stile.css ===== */
/* stile.css — Pianeta Donna (Sortino). Direzione: "Elegante e pop", apertura B editoriale (i03)
   con la ragazza che si gira e il velo d'acqua. Valori e motivi in DESIGN.md. */
:root {
  /* colori del marchio */
  --fucsia: #D96093;           /* logo, onde, decorazioni (non per testo piccolo su bianco) */
  --confetto: #F4BED6;         /* blocchi rosa */
  --cipria: #FBEAF2;
  --avorio: #FBF7F4;
  /* ruoli richiesti da standard.css */
  --fondo-scuro: #1F1519;
  --fondo-chiaro: #FBF7F4;
  --bianco: #FFFFFF;
  --testo-chiaro: #FBF7F4;
  --testo-chiaro-tenue: #DCC7D0;
  --testo-scuro: #1F1519;
  --testo-tenue: #6A5560;
  --accento: #B03C70;          /* pulsanti: bianco su questo colore supera 4.5:1 */
  --accento-scuro: #8E2C59;
  --luce-1: 217 96 147;
  --luce-2: 244 190 214;
  --luce-3: 176 60 112;
  --parallax: 0.12;            /* Alto */
  --margine: max(16px, env(safe-area-inset-left, 0px));
  --titoli: 'Cormorant Garamond', Garamond, Georgia, serif;
  --testo: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --firma: 'Dancing Script', cursive;
}

body { font-family: var(--testo); font-weight: 400; font-size: 1.0625rem; line-height: 1.6; color: var(--testo-scuro); background: var(--avorio); overflow-x: clip; }
h1, h2, h3 { font-family: var(--titoli); font-weight: 500; line-height: 1.02; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 em, h3 em { font-style: italic; color: var(--accento); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accento); outline-offset: 3px; border-radius: 6px; }
.nascosto-a11y { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contenitore { width: min(1180px, 100%); margin: 0 auto; padding-inline: var(--margine); }
.sezione { position: relative; padding-block: clamp(80px, 12vw, 140px); }
.occhiello { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accento); margin-bottom: 14px; }
.sezione__sotto { max-width: 58ch; margin-top: 18px; color: var(--testo-tenue); }
.pulsante { font-family: var(--testo); font-weight: 500; letter-spacing: 0.02em; }
.pulsante--scuro { background: var(--testo-scuro); }
.pulsante--scuro::before { background: var(--accento); }
.pulsante--whatsapp { background: #1E7E4A; }
.pulsante--whatsapp::before { background: #166139; }
.pulsante[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.link-testo { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.icona { stroke-width: 2; }

/* ---------- caricamento: il pianeta si compone ---------- */
.caricamento svg.caricamento__segno { width: min(46vw, 220px); }
.caricamento .c-pezzo { transform-origin: center; }

/* ---------- testata ---------- */
.marchio { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--titoli); font-size: 1.45rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; width: auto; }
.marchio__segno { width: 42px; height: auto; flex: none; }
/* logo vivo in testata: la palpebra (metà bassa del pianeta) si alza, l'occhio si guarda intorno, sbatte e si richiude */
.occhio__palpebra { animation: occhio-palpebra 10s ease-in-out infinite; }
.occhio__iride { animation: occhio-iride 10s ease-in-out infinite; }
@keyframes occhio-palpebra {
  0%, 10% { transform: translateY(0); }
  16%, 52% { transform: translateY(-185px); }
  54% { transform: translateY(-20px); }
  57%, 84% { transform: translateY(-185px); }
  91%, 100% { transform: translateY(0); }
}
@keyframes occhio-iride {
  0%, 18% { transform: translate(0, 0); }
  24%, 32% { transform: translate(-72px, 6px); }
  38%, 46% { transform: translate(70px, -4px); }
  51%, 60% { transform: translate(0, 0); }
  65%, 72% { transform: translate(-40px, 16px); }
  77%, 82% { transform: translate(30px, 10px); }
  88%, 100% { transform: translate(0, 0); }
}
.testata { color: var(--testo-scuro); padding-top: max(14px, env(safe-area-inset-top, 0px)); }
.testata__menu a:not(.pulsante) { font-weight: 500; }
.testata .pulsante { min-height: 46px; padding: 0 22px; }
@media (max-width: 899px) {
  .testata__menu { font-family: var(--titoli); font-size: 2.4rem; font-weight: 500; }
  .testata__menu .pulsante, .testata__menu .social { font-family: var(--testo); }
  .menu-aperto .testata { color: var(--testo-chiaro); }
}

/* ---------- APERTURA: palco fermo mentre si scorre ---------- */
.apertura { position: relative; height: 260svh; background: var(--avorio); }
.apertura__palco { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.apertura__fondo { position: absolute; inset: 0; }
.apertura__blocco { position: absolute; top: 0; bottom: 0; right: 0; width: 46%; background: var(--confetto); overflow: hidden; }
.apertura__blocco svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.apertura__blocco path { fill: rgb(217 96 147 / 0.38); }
.apertura__colonne { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none; }
.apertura__colonne i { border-left: 1px solid rgb(31 21 25 / 0.08); }
.apertura__fantasma { position: absolute; left: clamp(8px, 7vw, 120px); top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-family: var(--titoli); font-weight: 600; font-size: clamp(80px, 11vw, 160px); line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; color: rgb(217 96 147 / 0.14); white-space: nowrap; }
.apertura__figura { position: absolute; z-index: 2; bottom: 0; left: 50%; width: min(48vw, 520px, calc(92svh * 0.599)); height: auto; transform: translateX(-38%); }
.apertura__tela { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.tela-attiva .apertura__figura { visibility: hidden; }
.apertura__titolo { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(96px, 16vh, 160px); text-align: center; pointer-events: none; }
.apertura__nome { display: block; font-size: clamp(3.3rem, 11.5vw, 11rem); line-height: 0.9; letter-spacing: 0.01em; text-transform: uppercase; color: var(--testo-scuro); }
.apertura__sotto { display: block; margin-top: 18px; font-family: var(--testo); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.32em; text-transform: uppercase; }
.apertura__stato { position: absolute; z-index: 3; left: var(--margine); bottom: 120px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; display: flex; align-items: center; gap: 14px; }
.apertura__stato::after { content: ""; width: 1px; height: 60px; background: currentColor; }
.apertura__lato { position: absolute; z-index: 4; right: clamp(16px, 6vw, 90px); top: 30%; width: min(260px, 30vw); display: grid; gap: 18px; justify-items: start; }
.apertura__lato p { font-size: 1rem; line-height: 1.55; }
.apertura__scorri { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.6875rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--testo-tenue); }
.apertura__scorri i { width: 1px; height: 34px; background: currentColor; transform-origin: top; animation: scendi 1.8s ease-in-out infinite; }
@keyframes scendi { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
.apertura__acqua { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 899px) {
  .apertura { height: 230svh; }
  .apertura__blocco { width: 100%; top: auto; height: 42%; }
  .apertura__colonne { grid-template-columns: repeat(3, 1fr); }
  .apertura__fantasma, .apertura__stato, .apertura__scorri { display: none; }
  .apertura__figura { width: min(92vw, 420px, calc(70svh * 0.599)); transform: translateX(-50%); }
  .apertura__titolo { bottom: auto; top: calc(max(14px, env(safe-area-inset-top, 0px)) + 82px); }
  .apertura__nome { font-size: clamp(3rem, 15vw, 5rem); }
  .apertura__sotto { margin-top: 10px; font-size: 0.75rem; letter-spacing: 0.24em; }
  .apertura__lato { top: auto; right: auto; left: var(--margine); bottom: 22px; width: auto; }
  .apertura__lato p { display: none; }
}

/* ---------- TRATTAMENTI ---------- */
.trattamenti { background: var(--avorio); }
.chips { position: relative; z-index: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 28px; }
.chip { position: relative; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--testo-scuro); border-radius: 999px; background: transparent; color: var(--testo-scuro); font: 500 0.9375rem var(--testo); transition: color 0.25s, border-color 0.25s; }
.chip[aria-pressed="true"] { color: var(--bianco); border-color: var(--accento); }
.chips__sfondo { position: absolute; z-index: -1; border-radius: 999px; background: var(--accento); transition: all 0.45s var(--molla); }
.schede { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.scheda[hidden] { display: none; }
.scheda__bottone { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: var(--raggio); overflow: hidden; background: var(--confetto); color: var(--testo-scuro); text-align: left; transition: transform 0.5s var(--molla), box-shadow 0.4s; }
.scheda__bottone:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgb(120 30 70 / 0.5); }
.scheda__media, .scheda__media img, .scheda__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scheda__media img { transition: scale 0.8s var(--mov-curva); }
.scheda__bottone:hover .scheda__media img { scale: 1.06; }
.scheda__media video { opacity: 0; transition: opacity 0.5s; }
.scheda.gioca .scheda__media video { opacity: 1; }
.scheda__testo { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px; background: rgb(255 255 255 / 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.scheda__testo small { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accento); }
.scheda__testo strong { font-family: var(--titoli); font-size: 1.45rem; font-weight: 600; line-height: 1.1; }
.scheda__testo > span { font-size: 0.875rem; line-height: 1.4; color: var(--testo-tenue); }
.scheda__freccia { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bianco); color: var(--testo-scuro); transition: transform 0.4s var(--molla), background-color 0.3s, color 0.3s; }
.scheda__bottone:hover .scheda__freccia { transform: rotate(45deg); background: var(--accento); color: #fff; }
.js .scheda { animation: none; }
.scheda.entra-scheda { animation: entra-scheda 0.5s var(--molla) both; animation-delay: calc(var(--n, 0) * 60ms); }
@keyframes entra-scheda { from { opacity: 0; transform: translateY(24px) scale(0.94); } }
.trattamenti__listino { margin-top: 32px; text-align: center; }
/* telefono: filtri su una riga, si scorrono col pollice fino ai bordi dello schermo */
@media (max-width: 699px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--margine) * -1); padding-inline: var(--margine); scroll-padding-inline: var(--margine); scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; white-space: nowrap; scroll-snap-align: start; }
  .chips.alla-fine { -webkit-mask-image: none; mask-image: none; }
}

/* popup dei trattamenti */
.popup--trattamento { width: min(560px, calc(100vw - 24px)); }
.popup--trattamento .popup__contenuto { padding-top: 0; padding-inline: 0; gap: 14px; }
.popup--trattamento .popup__contenuto > :not(.popup__foto) { padding-inline: clamp(20px, 5vw, 40px); }
.popup--trattamento .popup__contenuto > :last-child { padding-bottom: clamp(24px, 4vw, 36px); }
.popup__foto { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 28px 28px 0 0; margin-top: -62px; }
.popup h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
.popup__nota { font-size: 0.875rem; color: var(--testo-tenue); }
.popup--menu h3 { font-size: 1.6rem; font-weight: 600; margin-bottom: 8px; }
.listino { list-style: none; margin: 0; padding: 0; }
.listino li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed rgb(176 60 112 / 0.3); }
.listino .prezzo { font-weight: 500; color: var(--accento); white-space: nowrap; font-variant-numeric: tabular-nums; }
.testo-legale ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
@media (max-width: 640px) {
  .popup--menu { width: 100vw; max-width: 100vw; height: 88svh; max-height: 88svh; margin: auto 0 0; border-radius: 28px 28px 0 0; transform: translateY(100%); filter: none; }
  .popup--menu.aperto { transform: none; }
}

/* ---------- LAMINAZIONE CIGLIA: prima/dopo con la maniglia a pianeta ---------- */
.ciglia { background: var(--fondo-scuro); color: var(--testo-chiaro); }
.ciglia h2 em { color: var(--confetto); }
.ciglia .occhiello { color: var(--confetto); }
.ciglia__griglia { display: grid; gap: 40px; align-items: center; }
.ciglia__testo { display: grid; gap: 20px; justify-items: start; }
.ciglia__testo p:not(.occhiello) { color: var(--testo-chiaro-tenue); max-width: 46ch; }
@media (min-width: 900px) { .ciglia__griglia { grid-template-columns: 1fr minmax(0, 520px); gap: 72px; } }
.confronto { position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; justify-self: center; border-radius: 28px; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.7); }
.confronto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.confronto__dopo { clip-path: inset(0 0 0 var(--x)); }
.confronto__etichetta { position: absolute; top: 16px; z-index: 2; padding: 6px 16px; border-radius: 999px; background: var(--accento); color: #fff; font-weight: 500; font-size: 0.9375rem; }
.confronto__etichetta--prima { left: 16px; }
.confronto__etichetta--dopo { right: 16px; }
.confronto__linea { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; }
.confronto__maniglia { position: absolute; top: 50%; left: var(--x); z-index: 3; width: 92px; height: 92px; margin: -46px 0 0 -46px; display: grid; place-items: center; cursor: grab; filter: drop-shadow(0 8px 16px rgb(0 0 0 / 0.35)); transition: scale 0.3s var(--molla); touch-action: none; }
.confronto__maniglia:active { cursor: grabbing; scale: 1.08; }
.maniglia__segno { width: 100%; height: auto; transition: rotate 0.2s; }

/* ---------- PRODOTTI ---------- */
.prodotti { background: var(--cipria); }
.prodotti__griglia { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .prodotti__griglia { grid-template-columns: 1fr 1fr; gap: 72px; } }
.prodotti__frase { margin-top: 24px; font-family: var(--titoli); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.35; }
.segno { position: relative; white-space: nowrap; }
.segno svg { position: absolute; left: -6%; top: -0.25em; width: 112%; height: 1.5em; overflow: visible; pointer-events: none; }
.segno path { fill: none; stroke: var(--fucsia); stroke-width: 3; stroke-linecap: round; }
.prodotti__foto { margin: 0; border-radius: var(--raggio); overflow: hidden; aspect-ratio: 4 / 3; }
.prodotti__foto img { width: 100%; height: 112%; object-fit: cover; }

/* ---------- TEAM ---------- */
.team { background: var(--bianco); }
.persone { display: grid; gap: 24px; margin-top: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.persona { position: relative; margin: 0; }
.persona__fondo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--raggio); overflow: hidden; background: radial-gradient(120% 90% at 80% 10%, var(--fucsia) 0 32%, transparent 33%), radial-gradient(90% 70% at 0% 100%, var(--fucsia) 0 30%, transparent 31%), var(--confetto); }
.persona__fondo img { position: absolute; bottom: 0; left: 50%; width: 92%; height: auto; transform: translateX(-50%); }
.persona:nth-child(2) .persona__fondo img { width: 100%; }
.firma { position: absolute; right: 8px; bottom: 64px; width: 62%; height: auto; overflow: visible; pointer-events: none; }
.firma text { font-family: var(--firma); font-weight: 700; font-size: 112px; fill: transparent; stroke: #fff; stroke-width: 2.4; paint-order: stroke; }
.firma.firmata text { fill: #fff; transition: fill 0.6s 1.9s; }
.persona figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 4px 0; }
.persona figcaption strong { font-family: var(--titoli); font-size: 1.8rem; font-weight: 600; }
.persona figcaption span { color: var(--testo-tenue); font-size: 0.9375rem; }

/* ---------- IL CENTRO AL LAVORO ---------- */
.lavoro { background: var(--fucsia); color: var(--testo-scuro); padding-bottom: 0; overflow: hidden; }
.lavoro h2 em { color: var(--bianco); }
.lavoro .sezione__sotto { color: var(--testo-scuro); }
.inclinata { display: flex; gap: 16px; justify-content: center; transform: rotate(-8deg); margin: 48px -24vw -120px; height: 112vh; }
.inclinata__colonna { display: flex; flex-direction: column; gap: 16px; width: min(40vw, 270px); flex: none; will-change: transform; }
.inclinata video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raggio); background: rgb(0 0 0 / 0.12); }

/* ---------- PRENOTA: calendario ---------- */
.prenota { background: var(--avorio); }
.calendario { margin-top: 40px; display: grid; gap: 28px; }
.calendario__passo { margin: 0; padding: 0; border: 0; min-width: 0; }
.calendario__passo legend { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 0; font-family: var(--titoli); font-size: 1.6rem; font-weight: 600; }
.calendario__passo legend span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--testo-scuro); color: #fff; font-family: var(--testo); font-size: 0.9375rem; font-weight: 500; }
.scelte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .scelte { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.scelta { position: relative; display: grid; justify-items: center; align-content: start; gap: 10px; padding: 22px 14px 18px; text-align: center; border: 1.5px solid rgb(31 21 25 / 0.14); border-radius: 18px; background: var(--bianco); cursor: pointer; transition: transform 0.35s var(--molla), border-color 0.25s, box-shadow 0.3s; }
.scelta input { position: absolute; opacity: 0; pointer-events: none; }
.scelta strong { font-family: var(--titoli); font-size: 1.15rem; font-weight: 600; line-height: 1.15; }
.scelta__disegno { width: 48px; height: 48px; color: var(--accento); transition: transform 0.4s var(--molla); }
.scelta:hover .scelta__disegno, .scelta:has(input:checked) .scelta__disegno { transform: scale(1.12) rotate(-4deg); }
.scelta:has(input:checked) { background: var(--cipria); }
.scelta:hover { transform: translateY(-3px); }
.scelta:has(input:checked) { border-color: var(--accento); box-shadow: 0 14px 28px -16px rgb(176 60 112 / 0.6); transform: translateY(-3px); }
.scelta:has(input:checked)::after { content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--accento) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.scelta:has(input:focus-visible) { outline: 3px solid var(--accento); outline-offset: 3px; }
.giorni { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.giorno { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; width: 74px; padding: 12px 6px; border: 1.5px solid rgb(31 21 25 / 0.14); border-radius: 18px; background: var(--bianco); color: var(--testo-scuro); font: inherit; transition: transform 0.35s var(--molla), background-color 0.25s, color 0.25s, border-color 0.25s; }
.giorno small { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--testo-tenue); }
.giorno strong { font-family: var(--titoli); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.giorno:hover { transform: translateY(-3px); }
.giorno[aria-pressed="true"] { background: var(--accento); border-color: var(--accento); color: #fff; }
.giorno[aria-pressed="true"] small { color: #fff; }
.ore { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.ora { min-height: 44px; border: 1.5px solid rgb(31 21 25 / 0.14); border-radius: 999px; background: var(--bianco); color: var(--testo-scuro); font: 500 0.9375rem var(--testo); font-variant-numeric: tabular-nums; transition: transform 0.3s var(--molla), background-color 0.25s, color 0.25s; }
.ora:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--accento); }
.ora[aria-pressed="true"] { background: var(--accento); border-color: var(--accento); color: #fff; }
.ora:disabled { background: repeating-linear-gradient(-45deg, rgb(31 21 25 / 0.05) 0 6px, transparent 6px 12px); color: #8b7a82; text-decoration: line-through; cursor: not-allowed; }
.ora.entra-ora { animation: entra-scheda 0.4s var(--molla) both; animation-delay: calc(var(--n, 0) * 22ms); }
.calendario__vuoto, .calendario__nota { font-size: 0.875rem; color: var(--testo-tenue); }
.calendario__nota { margin-top: 12px; }
.calendario__fine { display: grid; gap: 18px; max-width: 560px; padding: 26px; border-radius: var(--raggio); background: var(--cipria); }
.calendario__fine .pulsante { justify-self: start; }
.calendario__riepilogo { font-family: var(--titoli); font-size: 1.35rem; line-height: 1.3; }
/* modulo a passi (attivo solo con JavaScript): un passo alla volta */
.tappe { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.tappe li { flex: 1; }
.tappe button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 0 0 10px; border: 0; border-bottom: 3px solid rgb(31 21 25 / 0.12); background: none; color: var(--testo-tenue); font: 500 0.875rem var(--testo); text-align: left; cursor: pointer; transition: color 0.25s, border-color 0.25s; }
.tappe button span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgb(31 21 25 / 0.1); color: var(--testo-scuro); font-size: 0.8125rem; transition: background-color 0.25s, color 0.25s; }
.tappe button:disabled { cursor: default; opacity: 0.6; }
.tappe button.fatto { color: var(--testo-scuro); border-color: var(--confetto); }
.tappe button.fatto span { background: var(--confetto); }
.tappe button[aria-current="step"] { color: var(--testo-scuro); border-color: var(--accento); }
.tappe button[aria-current="step"] span { background: var(--accento); color: #fff; }
@media (max-width: 599px) { .tappe button { font-size: 0; gap: 0; justify-content: center; } .tappe button[aria-current="step"] { font-size: 0.8125rem; gap: 8px; } }
.a-passi [data-passo] { display: none; }
.a-passi .calendario__passo legend span { display: none; }
.a-passi .calendario__passo legend { margin-top: 8px; }
.a-passi [data-passo].attivo { display: grid; animation: entra-passo 0.45s var(--molla) both; }
.a-passi .calendario__passo.attivo { display: block; }
@keyframes entra-passo { from { opacity: 0; transform: translateX(24px); } }
@keyframes entra-passo-ridotto { from { opacity: 0; } }
.calendario__indietro { justify-self: start; margin-bottom: -18px; padding: 4px 0; border: 0; background: none; color: var(--accento); font: 500 1rem var(--testo); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.ore__gruppo { grid-column: 1 / -1; margin: 6px 0 0; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--testo-tenue); }
.ore__gruppo:first-child { margin-top: 0; }
.calendario__riepilogo strong { display: block; font-size: 0.8125rem; font-family: var(--testo); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--testo-tenue); margin-bottom: 4px; }
.campo { display: grid; gap: 6px; font-size: 1rem; font-weight: 500; }
.campo input, .campo textarea { width: 100%; padding: 13px 16px; border: 1.5px solid rgb(31 21 25 / 0.18); border-radius: var(--raggio-piccolo); background: var(--bianco); color: var(--testo-scuro); font: 400 1rem var(--testo); }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--accento); box-shadow: 0 0 0 3px rgb(176 60 112 / 0.2); }

/* ---------- CONTATTI ---------- */
.contatti { background: var(--fondo-scuro); color: var(--testo-chiaro); }
.contatti h2 em { color: var(--confetto); }
.contatti .occhiello { color: var(--confetto); }
.contatti__fatti { margin-top: 20px; max-width: 70ch; color: var(--testo-chiaro-tenue); }
.contatti__griglia { display: grid; gap: 32px; margin-top: 40px; }
@media (min-width: 900px) { .contatti__griglia { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.contatti__info { display: grid; gap: 24px; align-content: start; }
.tabellone { display: flex; gap: clamp(3px, 0.8vw, 6px); min-height: 56px; }
.flap { position: relative; display: grid; place-items: center; width: clamp(24px, 6.4vw, 46px); height: clamp(38px, 9vw, 64px); border-radius: 8px; background: #2E2228; color: var(--confetto); font: 500 clamp(1.1rem, 4.2vw, 2rem)/1 var(--testo); overflow: hidden; }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgb(0 0 0 / 0.45); }
.flap--spazio { background: transparent; width: clamp(10px, 2vw, 18px); }
.flap.gira { animation: gira-flap 0.09s linear; }
@keyframes gira-flap { from { transform: rotateX(-80deg); } }
.orari { display: grid; gap: 8px; margin: 0; font-size: 1.0625rem; }
.orari > div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.orari dt { color: var(--testo-chiaro-tenue); }
.orari dd { margin: 0; font-variant-numeric: tabular-nums; }
.recapiti { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.recapiti li { display: flex; gap: 12px; align-items: center; }
.recapiti .icona { color: var(--confetto); }
.mappa { position: relative; min-height: 360px; border-radius: var(--raggio); overflow: hidden; background: #2E2228; }
.mappa__disegno { position: absolute; inset: 0; background:
    linear-gradient(115deg, transparent 47%, rgb(244 190 214 / 0.35) 47% 49.5%, transparent 49.5%),
    linear-gradient(25deg, transparent 58%, rgb(244 190 214 / 0.22) 58% 59.5%, transparent 59.5%),
    linear-gradient(170deg, transparent 30%, rgb(255 255 255 / 0.1) 30% 31%, transparent 31%),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.05) 0 1px, transparent 1px 44px),
    radial-gradient(60% 50% at 52% 46%, rgb(217 96 147 / 0.35), transparent 70%), #2A1F24; }
.mappa__spillo { position: absolute; left: 52%; top: 42%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--fucsia); color: #fff; box-shadow: 0 10px 30px rgb(217 96 147 / 0.5); animation: spillo 2.6s ease-in-out infinite; }
.mappa__spillo .icona { width: 30px; height: 30px; rotate: 45deg; }
@keyframes spillo { 50% { translate: 0 -8px; } }
.mappa__velo { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 12px; padding: 18px 20px; border-radius: 20px; background: rgb(31 21 25 / 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mappa__azioni { display: flex; flex-wrap: wrap; gap: 10px; }
.mappa__nota { font-size: 0.8125rem; color: var(--testo-chiaro-tenue); }
.mappa iframe { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.contatti__fondo { display: grid; gap: 40px; margin-top: 56px; }
@media (min-width: 900px) { .contatti__fondo { grid-template-columns: 1fr 1fr; gap: 56px; } }
.contatti h3 { font-size: 2rem; margin-bottom: 8px; }
.modulo { display: grid; gap: 14px; align-content: start; }
.modulo .campo input, .modulo .campo textarea { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.18); color: var(--testo-chiaro); }
.consenso { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; }
.consenso input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--fucsia); }
.modulo .pulsante { justify-self: start; }
.modulo.errore { animation: scuoti 0.4s; }
@keyframes scuoti { 25% { translate: -6px 0; } 75% { translate: 6px 0; } }
.modulo__esito { min-height: 1.5em; color: var(--confetto); }
.domande h3 { margin-bottom: 14px; }

/* ---------- FOOTER ---------- */
.piede { background: #170F12; color: var(--testo-chiaro); padding: 64px var(--margine) calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 22px; justify-items: center; text-align: center; }
.piede p { font-size: 1rem; color: var(--testo-chiaro-tenue); }
.piede__marchio { display: inline-flex; align-items: center; gap: 12px; font-family: var(--titoli); font-size: 2rem; font-weight: 600; }
.piede__marchio .marchio__segno { width: 56px; }
.piede__riga { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.piede__legali { display: flex; gap: 10px; flex-wrap: wrap; }
.credito { font-size: 0.875rem !important; }

/* avviso cookie */
.avviso-cookie { background: var(--fondo-scuro); color: var(--testo-chiaro); border-radius: 20px; box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.6); font-size: 0.9375rem; flex-wrap: wrap; }
.avviso-cookie .pulsante { min-height: 44px; }

/* torna su: il pianeta */
.torna-su__icona { fill: none; stroke: currentColor; stroke-width: 2; }

/* movimento ridotto */
@media (prefers-reduced-motion: reduce) {
  .apertura { height: auto; }
  .apertura__palco { position: relative; }
  .inclinata { transform: none; height: auto; margin-bottom: 0; flex-wrap: wrap; }
  .occhio__palpebra, .occhio__iride { animation: none; }
  .a-passi [data-passo].attivo { animation: entra-passo-ridotto 0.3s both; }
}

/* testata sopra le sezioni scure: testo chiaro (la regola .testata qui sopra la renderebbe scura) */
.testata.testata--scura { color: var(--testo-chiaro); }
@media (max-width: 899px) { .testata.testata--scura .testata__apri { background: rgb(255 255 255 / 0.12); } }
