/* VIOLETA CANDLE · SITO 2 «alla DOH» (2/12/2026)
   Primo tempo: un palco fermo dove la candela vera vola a scorrimento (volo.js). Secondo tempo: il sito serio (serio.js).
   Colori: raso #F6F4F1, prugna #2A1B2E, oro #B8893B (solo il bottone dell'ordine e la scatola, che e' oro davvero).
   I colori delle candele entrano solo nel carosello. Niente sfocature ne' ombre grandi su quello che scorre. */
:root { --lato: clamp(18px, 5vw, 84px); --crema: #F6F4F1; --notte: #241521; --raso2: #ECE8E2; }
html { background: var(--carta); }
body { font-family: var(--bastone); font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--inchiostro); background: var(--carta); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.salta { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--inchiostro); color: var(--carta); padding: 12px 18px; }
.salta:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }

/* ---------- i bottoni ---------- */
.bottone { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 1px solid currentColor; border-radius: 999px; background: transparent;
  font-family: var(--bastone); font-weight: 500; font-size: 13px; line-height: 1.15; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; text-align: center; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.bottone.pieno { background: var(--inchiostro); border-color: var(--inchiostro); color: var(--carta); }
.bottone.oro { background: var(--oro); border-color: var(--oro); color: var(--inchiostro); font-weight: 600; }
.bottone.chiaro { color: var(--crema); }
.bottone.pieno.chiaro { background: var(--crema); border-color: var(--crema); color: var(--inchiostro); }
@media (hover: hover) {
  .bottone:hover { background: var(--inchiostro); border-color: var(--inchiostro); color: var(--carta); }
  .bottone.pieno:hover { background: transparent; color: var(--inchiostro); }
  .bottone.oro:hover { background: var(--inchiostro); border-color: var(--inchiostro); color: var(--carta); }
  .bottone.chiaro:hover { background: var(--crema); border-color: var(--crema); color: var(--inchiostro); }
  .bottone.pieno.chiaro:hover { background: transparent; color: var(--crema); }
}

/* ---------- la testata ---------- */
.testa { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 60px; padding: 0 var(--lato); display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--inchiostro); }
.testa-fondo { position: absolute; inset: 0; z-index: -1; background: var(--carta); border-bottom: 1px solid rgba(42, 27, 46, .1); opacity: 0; pointer-events: none; }
.testa-nome { font-family: var(--titoli); font-weight: 600; font-size: 22px; line-height: 1; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; padding: 14px 0; }
.testa-nav { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.testa-nav a { font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 14px 0; white-space: nowrap; }
.testa-destra { display: flex; align-items: center; gap: 10px; }
.testa-lista, .testa-menu { min-height: 40px; padding: 0 16px; border: 1px solid currentColor; border-radius: 999px; background: var(--carta); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.testa-lista b { display: inline-block; min-width: 1.5em; margin-left: 6px; font-weight: 600; text-align: center; }
.testa-menu { display: none; }
@media (hover: hover) { .testa-nav a:hover { text-decoration: underline; text-underline-offset: 6px; } }
@media (max-width: 980px) {
  .testa-menu { display: inline-block; }
  .testa-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 6px var(--lato) 18px; background: var(--carta); color: var(--inchiostro); border-bottom: 1px solid rgba(42, 27, 46, .12); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
  .testa-nav.aperto { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .testa-nav a { padding: 15px 0; font-size: 14px; border-bottom: 1px solid rgba(42, 27, 46, .1); }
  .testa-nav a:last-child { border-bottom: 0; }
  .testa.menu-su { background: var(--carta); color: var(--inchiostro) !important; }
}
@media (max-width: 420px) { .testa-nome { font-size: 19px; letter-spacing: .24em; } .testa-lista, .testa-menu { padding: 0 13px; font-size: 12px; } }

/* =====================================================================================================================================
   PRIMO TEMPO · IL PALCO
   ===================================================================================================================================== */
.volo { position: relative; height: 1520vh; height: 1520svh; }
.palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow-x: clip; overflow-y: visible; color: var(--inchiostro); }
/* l'inchiostro non cambia mai in corsa: scuro su tutti i colori del carosello, chiaro solo l'accensione che sta sulla notte */
.az { color: var(--crema); }
.fondo, .luce { position: absolute; left: 0; right: 0; top: 0; bottom: -24vh; pointer-events: none; }
.fondo i { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.luce { opacity: 0; will-change: opacity; background: radial-gradient(circle at var(--lx, 50%) var(--ly, 40%), rgba(255, 178, 96, .36) 0, rgba(255, 150, 70, .13) 26%, rgba(255, 150, 70, 0) 60%); }

/* le righe: una fessura, la scritta entra dal basso e esce in alto */
.riga { display: block; overflow: hidden; }
.riga > span { display: block; }
.js .palco .riga > span { transform: translateY(112%); will-change: transform; }

.gigante { position: absolute; left: 0; right: 0; top: clamp(58px, 8.5svh, 96px); text-align: center; font-family: var(--titoli); font-weight: 500; font-size: min(21.4vw, 44svh); line-height: .86; letter-spacing: .015em; text-indent: .015em; text-transform: uppercase; white-space: nowrap; padding-top: .04em; }

.candele { position: absolute; inset: 0; pointer-events: none; }
.cand { position: absolute; left: 50%; top: 50%; max-width: none; will-change: transform; visibility: hidden; -webkit-user-select: none; user-select: none; }
.cand[data-k="blu"] { width: 532px; height: 696px; margin: -348px 0 0 -266px; }
.cand[data-k="lilla"] { width: 567px; height: 743px; margin: -371.5px 0 0 -283.5px; }
.cand[data-k="arancio"] { width: 594px; height: 809px; margin: -404.5px 0 0 -297px; }
.cand[data-k="glitter"] { width: 614px; height: 812px; margin: -406px 0 0 -307px; }
.cand[data-k="bolle"] { width: 715px; height: 778px; margin: -389px 0 0 -357.5px; }
html:not(.js) .cand[data-k="blu"] { visibility: visible; transform: scale(.7); }

.fiamma { position: absolute; left: 50%; top: 50%; width: 60px; height: 120px; margin: -120px 0 0 -30px; transform-origin: 50% 100%; will-change: transform, opacity; opacity: 0; visibility: hidden; pointer-events: none; }
.fiamma svg { position: relative; width: 60px; height: 120px; overflow: visible; }
.fiamma .alone { position: absolute; left: 50%; top: 58%; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 200, 120, .34), rgba(255, 170, 80, .13) 45%, rgba(255, 170, 80, 0) 100%); }

/* l'apertura */
.ap { position: absolute; left: var(--lato); bottom: 8svh; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 36vw; }
.ap-occ { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.ap-sotto { font-family: var(--titoli); font-weight: 500; font-size: clamp(24px, 2.5vw, 40px); line-height: 1.08; max-width: 12em; }
.ap-bottoni { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* il carosello */
.ca-titolo { position: absolute; left: 0; right: 0; top: clamp(76px, 11svh, 120px); text-align: center; font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.ca-nomi li { position: absolute; left: 0; right: 0; bottom: clamp(96px, 15svh, 150px); text-align: center; pointer-events: none; }
.ca-nomi h3 { font-family: var(--titoli); font-weight: 500; font-size: clamp(38px, 5.6vw, 88px); line-height: 1; letter-spacing: -.005em; padding-bottom: .08em; }
.ca-nomi p { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin-top: 6px; }
.ca-pallini { position: absolute; left: 50%; bottom: clamp(26px, 5svh, 52px); transform: translateX(-50%); display: flex; gap: 12px; align-items: center; visibility: hidden; will-change: opacity; }
.ca-pallini li { width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; }
.ca-pallini li { position: relative; }
.ca-pallini li i { position: absolute; inset: -1px; border-radius: 50%; background: currentColor; opacity: 0; }
.ca-metti { position: absolute; right: var(--lato); bottom: clamp(18px, 4svh, 40px); visibility: hidden; will-change: opacity; }

/* si accende */
.az { position: absolute; left: var(--lato); top: 50%; transform: translateY(-50%); max-width: 44vw; display: grid; }
.az-g { grid-area: 1 / 1; align-self: center; }
.az .az-t { font-family: var(--titoli); font-weight: 500; font-size: clamp(44px, 6.2vw, 104px); line-height: .98; padding-bottom: .1em; }
.az .az-s { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin-top: 12px; }

/* la scatola */
.scatole { position: absolute; inset: 0; pointer-events: none; }
.slot { position: absolute; left: 50%; top: 50%; width: var(--bw, 120px); height: var(--bh, 158px); margin: calc(var(--bh, 158px) / -2) 0 0 calc(var(--bw, 120px) / -2); will-change: transform; visibility: hidden; }
.slot .dentro { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(180deg, #D8C9A8 0, #EFE4CC 62%, #E2D3B2 100%); }
.slot .ling { position: absolute; left: 3%; right: 3%; bottom: 100%; height: 22%; background: linear-gradient(180deg, #D9B86A 0, #B08535 100%); clip-path: polygon(9% 0, 91% 0, 100% 100%, 0 100%); transform-origin: 50% 100%; will-change: transform; }
.slot .faccia { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.slot .fiocco { position: absolute; left: 17%; top: 0; width: 66%; height: auto; margin-top: -19%; transform: scale(0); transform-origin: 50% 46%; will-change: transform; overflow: visible; }

.sc-lato { position: absolute; left: var(--lato); top: clamp(84px, 15svh, 150px); width: 31vw; }
.sc-titolo { font-family: var(--titoli); font-weight: 500; font-size: clamp(40px, 5.2vw, 88px); line-height: 1; padding-bottom: .1em; }
.sc-sotto { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin-top: 8px; }
.sc-conta { display: flex; align-items: baseline; gap: 4px; margin-top: clamp(14px, 3svh, 30px); visibility: hidden; will-change: opacity; }
.sc-conta b { font-family: var(--titoli); font-weight: 500; font-size: clamp(64px, 8vw, 128px); line-height: .9; font-variant-numeric: lining-nums tabular-nums; min-width: .56em; }
.sc-conta i { font-family: var(--titoli); font-style: normal; font-size: clamp(28px, 3vw, 46px); line-height: 1; opacity: .7; }
.sc-conta span { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin-left: 12px; }
.sc-gettoni { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(12px, 2.4svh, 24px); visibility: hidden; will-change: opacity; }
.sc-gettoni li { font-size: 13px; font-weight: 500; line-height: 1; padding: 9px 13px; border: 1px solid currentColor; border-radius: 999px; color: rgba(42, 27, 46, .3); white-space: nowrap; }
.sc-gettoni li { position: relative; }
.sc-gettoni li i { position: absolute; inset: -1px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--inchiostro); color: var(--carta); font-style: normal; opacity: 0; }
.sc-conta b { position: relative; display: inline-block; }
.sc-conta .n { font: inherit; letter-spacing: 0; text-transform: none; margin: 0; opacity: 0; }
.sc-conta .n + .n { position: absolute; left: 0; top: 0; }
.sc-carta { position: absolute; left: var(--lato); bottom: 6svh; width: min(31vw, 430px); padding: 22px 24px 24px; border-radius: 22px; background: #FFFDFA; border: 1px solid rgba(42, 27, 46, .14); color: var(--inchiostro); visibility: hidden; will-change: transform, opacity; }
.sc-carta h3 { font-family: var(--titoli); font-weight: 600; font-size: clamp(30px, 2.8vw, 42px); line-height: 1; }
.sc-riga { font-size: 15px; line-height: 1.4; margin-top: 8px; }
.sc-bottoni { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.sc-bottoni .bottone { padding: 0 20px; }

/* il palco in piedi: telefono e tavoletta in verticale */
@media (max-width: 860px) {
  .gigante { top: 62px; }
  .ap { left: 16px; right: 16px; bottom: max(18px, 3svh); max-width: none; align-items: center; text-align: center; gap: 8px; }
  .ap-occ { font-size: 12px; }
  .ap-sotto { font-size: clamp(22px, 6vw, 34px); max-width: none; }
  .ap-bottoni { justify-content: center; gap: 8px; margin-top: 6px; }
  .ap-bottoni .bottone { padding: 0 18px; font-size: 12px; }
  .ca-titolo { top: 74px; font-size: 12px; }
  .ca-nomi li { bottom: clamp(104px, 16svh, 150px); }
  .ca-pallini { bottom: auto; top: 104px; }
  .ca-metti { right: auto; left: 50%; transform: translateX(-50%); bottom: max(18px, 3.4svh); }
  .az { left: 16px; right: 16px; top: 78px; transform: none; max-width: none; text-align: center; }
  .az .az-t { font-size: clamp(32px, 8.8vw, 72px); }
  .az .az-s { font-size: 12px; margin-top: 6px; }
  .sc-lato { left: 0; right: 0; top: 66px; width: auto; text-align: center; }
  .sc-titolo { font-size: clamp(34px, 9.4vw, 64px); }
  .sc-sotto { font-size: 12px; margin-top: 2px; }
  .sc-conta { justify-content: center; margin-top: 6px; }
  .sc-conta b { font-size: 44px; }
  .sc-conta i { font-size: 24px; }
  .sc-conta span { font-size: 12px; }
  .sc-gettoni { position: absolute; left: 12px; right: 12px; top: auto; justify-content: center; gap: 6px; margin: 0; }
  .sc-gettoni li { font-size: 12px; padding: 8px 10px; }
  .sc-carta { left: 14px; right: 14px; bottom: max(12px, 2svh); width: auto; padding: 16px 18px 18px; text-align: center; }
  .sc-carta h3 { font-size: 30px; }
  .sc-riga { font-size: 14px; margin-top: 4px; }
  .sc-bottoni { justify-content: center; gap: 8px; margin-top: 12px; }
  .sc-bottoni .bottone { padding: 0 16px; font-size: 12px; }
}

/* =====================================================================================================================================
   SECONDO TEMPO · IL SITO
   ===================================================================================================================================== */
.scegli, .passi, .tavole, .video, .piede { position: relative; z-index: 2; }
.scegli { background: var(--carta); padding: clamp(84px, 15svh, 150px) var(--lato) clamp(64px, 12svh, 130px); border-radius: 28px 28px 0 0; }
.sg-testa { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 28px; margin-bottom: clamp(22px, 4svh, 44px); }
.sg-testa h2, .passi h2, .video h2 { font-family: var(--titoli); font-weight: 500; font-size: clamp(46px, 6.4vw, 104px); line-height: .98; letter-spacing: -.005em; }
.sg-sotto { font-size: 16px; }
.sg-carta { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.sg-foto { position: relative; aspect-ratio: 1 / 1; max-width: 640px; width: 100%; border-radius: 24px; overflow: hidden; background: var(--raso2); }
.sg-foto img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.sg-foto img.cambia { opacity: 0; }
.sg-num { position: absolute; left: 16px; top: 14px; font-family: var(--titoli); font-weight: 600; font-size: 22px; line-height: 1; padding: 7px 11px 8px; border-radius: 999px; background: var(--carta); color: var(--inchiostro); font-variant-numeric: lining-nums; }
.sg-lato { display: flex; flex-direction: column; min-width: 0; }
.sg-gruppi { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-gruppi button { min-height: 44px; padding: 0 18px; border: 1px solid rgba(42, 27, 46, .35); border-radius: 999px; background: transparent; font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: background-color .2s, color .2s; }
.sg-gruppi button[aria-selected="true"] { background: var(--inchiostro); border-color: var(--inchiostro); color: var(--carta); }
.sg-elenco { margin-top: 18px; min-height: 300px; border-top: 1px solid rgba(42, 27, 46, .16); }
.sg-elenco li[hidden] { display: none; }
.sg-elenco button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 60px; padding: 8px 14px 9px 0; border: 0; border-bottom: 1px solid rgba(42, 27, 46, .16); background: transparent; text-align: left; font-family: var(--titoli); font-weight: 500; font-size: clamp(27px, 2.6vw, 38px); line-height: 1.05; transition: padding-left .25s, background-color .25s; }
.sg-elenco button::after { content: ''; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--tinta, transparent); border: 1px solid rgba(42, 27, 46, .25); }
.sg-elenco button[aria-current="true"] { padding-left: 16px; background: color-mix(in srgb, var(--tinta, #B487C9) 26%, var(--carta)); }
.sg-scelta { margin-top: 22px; }
.sg-scelta h3 { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.sg-scelta p { font-size: 16px; line-height: 1.5; margin-top: 8px; max-width: 34em; min-height: 3em; }
.sg-scelta .sg-dm { min-height: 0; margin-top: 14px; font-family: var(--titoli); font-weight: 600; font-size: 28px; line-height: 1; }
.sg-scelta .bottone { margin-top: 16px; min-width: 240px; }
@media (max-width: 860px) {
  .scegli { padding-top: 86px; border-radius: 22px 22px 0 0; }
  .sg-carta { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sg-lato { display: contents; }
  .sg-gruppi { order: 1; margin-bottom: 14px; }
  .sg-foto { order: 2; max-width: 520px; margin: 0 auto; border-radius: 20px; }
  .sg-elenco { order: 3; min-height: 0; margin-top: 16px; }
  .sg-scelta { order: 4; margin-top: 18px; }
  .sg-gruppi button { padding: 0 14px; font-size: 12px; }
  .sg-scelta .bottone { width: 100%; }
}

/* i passi: quattro carte che si impilano */
.passi { background: var(--raso2); padding: clamp(70px, 12svh, 130px) var(--lato) clamp(40px, 8svh, 90px); }
.pa-fermo { display: grid; grid-template-columns: minmax(0, 30fr) minmax(0, 70fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.pa-lato { position: sticky; top: 96px; }
.pa-elenco { margin-top: clamp(18px, 4svh, 40px); }
.pa-elenco li { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(42, 27, 46, .16); font-size: 16px; opacity: .45; transition: opacity .3s; }
.pa-elenco li.qui { opacity: 1; font-weight: 500; }
.pa-elenco i { font-family: var(--titoli); font-style: normal; font-weight: 600; font-size: 20px; font-variant-numeric: lining-nums; }
.pa-carta { position: sticky; top: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: clamp(18px, 3vw, 44px); min-height: min(66svh, 560px); padding: clamp(22px, 3vw, 44px); border-radius: 28px; background: #FFFDFA; border: 1px solid rgba(42, 27, 46, .1); margin-bottom: 34svh; }
.pa-carta.c2 { top: 114px; background: #F3ECF5; }
.pa-carta.c3 { top: 132px; background: var(--notte); color: var(--crema); border-color: var(--notte); }
.pa-carta.c4 { top: 150px; background: #EFE6D6; margin-bottom: 8svh; }
.pa-num { grid-column: 1; font-family: var(--titoli); font-weight: 500; font-size: clamp(54px, 6vw, 96px); line-height: .9; font-variant-numeric: lining-nums; opacity: .5; }
.pa-carta h3 { grid-column: 1; font-family: var(--titoli); font-weight: 500; font-size: clamp(36px, 4.2vw, 68px); line-height: 1; margin-top: 12px; }
.pa-carta p:not(.pa-num) { grid-column: 1; font-size: 17px; line-height: 1.45; margin-top: 12px; max-width: 22em; }
.pa-carta img { grid-column: 2; grid-row: 1 / 4; align-self: center; justify-self: end; width: 100%; max-width: 460px; height: auto; max-height: calc(min(66svh, 560px) - 2 * clamp(22px, 3vw, 44px)); object-fit: cover; border-radius: 20px; }
.pa-carta.c2 img { max-width: 320px; }
@media (max-width: 860px) {
  .pa-fermo { grid-template-columns: minmax(0, 1fr); }
  .pa-lato { position: static; }
  .pa-elenco { display: none; }
  .pa-pila { margin-top: 26px; }
  .pa-carta { top: 72px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; min-height: 0; height: min(74svh, 600px); padding: 20px; border-radius: 22px; margin-bottom: 30svh; }
  .pa-carta.c2 { top: 84px; } .pa-carta.c3 { top: 96px; } .pa-carta.c4 { top: 108px; }
  .pa-num { font-size: 44px; }
  .pa-carta h3 { font-size: clamp(32px, 9vw, 48px); margin-top: 6px; }
  .pa-carta p:not(.pa-num) { font-size: 16px; margin-top: 8px; }
  .pa-carta img { grid-column: 1; grid-row: 4; justify-self: center; align-self: center; margin-top: 14px; width: auto; max-width: 100%; max-height: calc(min(74svh, 600px) - 216px); border-radius: 16px; }
  .pa-carta.c2 img { max-width: 240px; }
}

/* le tre tavole: si coprono una con l'altra */
.tavole { background: var(--raso2); }
.tavola { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); align-items: center; gap: clamp(20px, 4vw, 64px); padding: 84px var(--lato) 5svh; border-radius: 28px 28px 0 0; background: var(--carta); border-top: 1px solid rgba(42, 27, 46, .1); }
.tavola.t2 { background: var(--notte); color: var(--crema); border-top-color: var(--notte); }
.tavola.t3 { background: #EFE6D6; }
.tv-occ { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.tavola h2 { font-family: var(--titoli); font-weight: 500; font-size: clamp(50px, 7.4vw, 124px); line-height: .96; margin-top: 10px; padding-bottom: .06em; }
.tv-riga { font-size: 18px; line-height: 1.45; margin-top: 12px; max-width: 24em; }
.tv-bottoni { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tv-bottoni .bottone { padding: 0 20px; }
.tavola.t2 .bottone { color: var(--crema); }
@media (hover: hover) { .tavola.t2 .bottone:hover { background: var(--crema); border-color: var(--crema); color: var(--inchiostro); } }
.tv-foto { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 28px); min-width: 0; }
.tv-foto figure { border-radius: 22px; overflow: hidden; flex: none; }
.tv-foto img { width: 100%; height: auto; }
.tv-foto.due figure { width: min(33vw, 72svh, 1000px); }
.tv-foto.due figure.piccola { width: min(20vw, 44svh, 640px); align-self: flex-end; }
.tv-foto.due.pari figure { width: min(26.5vw, 66svh, 1000px); }
.tv-foto.una figure { width: min(38vw, 68svh, 890px); }
@media (max-width: 860px) {
  .tavola { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; align-items: start; gap: clamp(16px, 4svh, 34px); padding: 72px 16px 18px; border-radius: 22px 22px 0 0; }
  .tavola h2 { font-size: clamp(44px, 13vw, 84px); margin-top: 4px; }
  .tv-riga { font-size: 16px; margin-top: 6px; }
  .tv-bottoni { gap: 8px; margin-top: 12px; }
  .tv-bottoni .bottone { padding: 0 14px; font-size: 12px; min-height: 44px; }
  .tv-foto.due figure { width: min(54vw, 36svh); }
  .tv-foto.due figure.piccola { width: min(32vw, 22svh); }
  .tv-foto.due.pari figure { width: min(44vw, 34svh); }
  .tv-foto.una figure { width: min(78vw, 40svh); }
  .tv-foto figure { border-radius: 16px; }
}

/* i due reel veri, in riquadro telefono */
.video { background: var(--carta); display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); align-items: center; gap: clamp(20px, 4vw, 64px); padding: clamp(84px, 14svh, 150px) var(--lato) clamp(64px, 12svh, 130px); border-radius: 28px 28px 0 0; }
.vi-frasi { margin-top: clamp(14px, 3svh, 30px); }
.vi-frasi li { font-family: var(--titoli); font-weight: 500; font-size: clamp(28px, 3.2vw, 50px); line-height: 1.12; padding: 10px 0; border-bottom: 1px solid rgba(42, 27, 46, .16); }
.vi-nota { font-size: 15px; margin-top: 20px; }
.vi-testo .bottone { margin-top: 14px; text-transform: none; letter-spacing: .04em; font-size: 15px; }
.vi-telefoni { display: flex; justify-content: center; align-items: flex-start; gap: clamp(12px, 2.4vw, 34px); }
.telefono { width: min(360px, 24vw); flex: none; }
.telefono video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 30px; border: 7px solid var(--inchiostro); background: var(--inchiostro) center / cover no-repeat; object-fit: cover; }
.vi-quadro { position: relative; display: block; }
.vi-quadro video { display: block; }
.vi-via { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border: 0; border-radius: 50%; background: var(--carta); color: var(--inchiostro); display: flex; align-items: center; justify-content: center; }
.vi-via svg { width: 26px; height: 26px; margin-left: 3px; }
.telefono figcaption { font-size: 14px; margin-top: 10px; text-align: center; }
@media (max-width: 860px) {
  .video { grid-template-columns: minmax(0, 1fr); padding-top: 86px; border-radius: 22px 22px 0 0; }
  .telefono { width: min(360px, 43vw); }
  .telefono video { border-radius: 22px; border-width: 5px; }
}

/* il piede col nome enorme */
.piede { background: var(--inchiostro); color: var(--crema); padding: clamp(64px, 12svh, 130px) var(--lato) 26px; border-radius: 28px 28px 0 0; overflow: hidden; }
.pi-alto { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.pi-frase { font-family: var(--titoli); font-weight: 500; font-size: clamp(40px, 5.4vw, 88px); line-height: 1; }
.pi-bottoni { display: flex; flex-wrap: wrap; gap: 10px; }
.pi-nome-box { overflow: hidden; margin: clamp(22px, 5svh, 56px) calc(var(--lato) * -1) 0; }
.pi-nome { font-family: var(--titoli); font-weight: 500; font-size: 21.4vw; line-height: .84; letter-spacing: .015em; text-indent: .015em; text-transform: uppercase; text-align: center; white-space: nowrap; padding-top: .05em; }
@supports (animation-timeline: view()) {
  .pi-nome { animation: pi-sale linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  @keyframes pi-sale { from { transform: translateY(70%); opacity: .25; } to { transform: none; opacity: 1; } }
}
.pi-fondo { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(246, 244, 241, .2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; font-size: 14px; line-height: 1.5; }
.pi-fondo a, .pi-fondo button { text-underline-offset: 4px; }
.pf-legale { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pf-legale a, .pf-legale button { padding: 6px 0; border: 0; background: none; font-size: 14px; text-decoration: underline; }
.pf-nota { flex-basis: 100%; font-size: 13px; opacity: .72; }

/* ---------- la lista: il carrello senza prezzi ---------- */
.lista-velo { position: fixed; inset: 0; z-index: 190; background: rgba(36, 21, 33, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lista-velo.aperta { opacity: 1; visibility: visible; transition: opacity .3s; }
.lista { position: fixed; top: 0; right: 0; bottom: 0; z-index: 200; width: min(460px, 100vw); display: flex; flex-direction: column; padding: 18px 22px 26px; background: var(--carta); color: var(--inchiostro); overflow-y: auto; overscroll-behavior: contain; transform: translateX(103%); visibility: hidden; transition: transform .35s cubic-bezier(.3, .7, .2, 1), visibility 0s .35s; }
.lista.aperta { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.3, .7, .2, 1); }
.li-testa { display: flex; align-items: center; justify-content: space-between; }
.li-testa h2 { font-family: var(--titoli); font-weight: 500; font-size: 44px; line-height: 1; }
.li-x { width: 48px; height: 48px; border: 1px solid rgba(42, 27, 46, .3); border-radius: 50%; background: none; font-size: 26px; line-height: 1; }
.li-vuota { margin-top: 26px; font-size: 16px; }
.li-vuota[hidden], .li-fine[hidden] { display: none; }
.li-voci { margin-top: 14px; }
.li-voci li { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(42, 27, 46, .14); }
.li-voci img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; }
.li-voci .li-nome { font-family: var(--titoli); font-weight: 600; font-size: 23px; line-height: 1.05; }
.li-voci .li-togli { display: inline-block; margin-top: 2px; padding: 6px 0; border: 0; background: none; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.li-quanti { display: flex; align-items: center; gap: 2px; }
.li-quanti button { width: 44px; height: 44px; border: 1px solid rgba(42, 27, 46, .3); border-radius: 50%; background: none; font-size: 20px; line-height: 1; }
.li-quanti span { min-width: 30px; text-align: center; font-weight: 500; font-size: 17px; font-variant-numeric: tabular-nums; }
.li-fine { margin-top: 20px; }
.li-et { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.li-testo { margin-top: 8px; padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: #FFFDFA; border: 1px solid rgba(42, 27, 46, .14); font-size: 16px; line-height: 1.45; }
.li-manda { margin-top: 14px; width: 100%; min-height: 54px; white-space: normal; }
.li-esito { min-height: 1.5em; margin-top: 10px; font-size: 16px; font-weight: 500; }
.li-nota { margin-top: 6px; font-size: 14px; line-height: 1.45; opacity: .8; }
.li-svuota { margin-top: 12px; padding: 10px 0; border: 0; background: none; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .lista, .lista-velo, .testa-nav { transition: none; } }
.palco [data-via] { will-change: opacity; }
.palco .bottone { transition: none; }
/* sul palco prendono i tocchi solo bottoni e link: candele, scatole e scritte fuori scena restano dove sono a opacita' zero e non devono fermarli */
.palco.tocchi-stretti > * { pointer-events: none; }
.palco.tocchi-stretti a, .palco.tocchi-stretti button { pointer-events: auto; }
