/* =========================================================
   FANCULO ALLE OBIEZIONI — Landing
   Design system + layout + motion
   ========================================================= */

/* ---------- TOKEN ---------- */
:root {
  /* Colore */
  --violet: #583C96;
  --violet-700: #432D75;
  --violet-900: #2A1D4A;
  --violet-bright: #7C5CCB;
  --violet-tint: #9B86D0;
  --violet-pale: #D2C6F0;
  --ink: #161418;
  --charcoal: #3B3B3B;
  --graphite: #5A5A5A;
  --paper: #FBFAF8;
  --paper-2: #F1EFEA;
  --line: #E4E1DA;
  --line-dark: rgba(255, 255, 255, .12);
  --white: #FFFFFF;

  /* Spazi */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 80px);
  --section-pad: clamp(48px, 7vh, 100px);

  /* Raggi */
  --r-default: 2px;
  --r-card: 6px;
  --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-inout: cubic-bezier(.76, 0, .24, 1);
  --dur-fast: 160ms;
  --dur: 480ms;
  --dur-slow: 760ms;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Geist", Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
/* Fa rispettare l'attributo `hidden` anche quando un elemento ha un
   `display` esplicito (es. .form-success usa display:flex). Senza questo
   reset il pannello di successo coprirebbe il form fin dal caricamento. */
[hidden] { display: none !important; }
ul { margin: 0; padding: 0; list-style: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- UTILITY ---------- */
.mono { font-family: "Geist Mono", ui-monospace, monospace; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--violet);
  margin: 0 0 var(--s-5);
}
.section--dark .eyebrow, .section--violet .eyebrow, .section--ink .eyebrow { color: var(--violet); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--violet); color: #fff; padding: 12px 18px; border-radius: var(--r-default);
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--violet-bright); outline-offset: 3px; border-radius: 2px; }

/* ---------- SEZIONI / RITMO CHIARO-SCURO ---------- */
.section { padding-block: var(--section-pad); position: relative; }
.section--paper { background: var(--paper); color: var(--charcoal); }
.section--paper-2 { background: var(--paper-2); color: var(--charcoal); }
/* Sezioni: tutto chiaro, il viola è solo accento */
.section--dark { background: var(--paper-2); color: var(--charcoal); }
.section--violet { background: var(--paper); color: var(--charcoal); }
.section--ink { background: var(--paper-2); color: var(--charcoal); }

/* Grana film su fondi scuri */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  filter: url(#grainFilter); opacity: .04; mix-blend-mode: overlay;
}

/* ---------- TIPOGRAFIA TITOLI ---------- */
.section-title {
  font-family: "Anton", "Oswald", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(40px, 7vw, 92px);
  line-height: .92;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 var(--s-7);
}
.section-title--invert { color: var(--ink); }
.section--dark .section-title, .section--ink .section-title { color: var(--ink); }

.prose p { margin: 0 0 var(--s-5); max-width: 62ch; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.6; }
.prose p:last-child { margin-bottom: 0; }
.prose em { font-style: normal; color: var(--violet); font-weight: 600; }
.prose--invert p { color: var(--charcoal); }
.prose--invert em { color: var(--violet); }

/* ---------- BARRATURA (firma) ---------- */
/* Le parole-accento restano in viola, senza barratura */
.strike { position: relative; display: inline-block; color: var(--violet); }
.section--dark .strike, .section--ink .strike, .section--violet .strike { color: var(--violet); }
.strike::after { display: none; }

/* ---------- BOTTONE CTA ---------- */
.btn {
  --btn-bg: var(--violet);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Geist", sans-serif; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  background: transparent; color: var(--white);
  padding: 16px 30px; border-radius: var(--r-pill); font-size: 16px;
  overflow: hidden; isolation: isolate; line-height: 1;
  transition: transform var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-bg);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--violet-700);
  transform: scaleX(0); transform-origin: left;
  transition: transform 240ms var(--ease-inout);
}
.btn:hover::after { transform: scaleX(1); }
.btn:active { transform: scale(.98); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--lg { padding: 19px 38px; font-size: 18px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn:disabled::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn::after { transition: none; }
}

/* CTA ripetuta in ogni sezione — con due 🖕 che la indicano */
.section-cta, .vt__cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: clamp(10px, 3vw, 22px); }
.section-cta { margin-top: var(--s-6); }
.section-cta::before, .vt__cta::before,
.section-cta::after, .vt__cta::after {
  content: "🖕"; display: inline-block; line-height: 1; flex: 0 0 auto;
  font-size: clamp(22px, 5vw, 32px); filter: grayscale(.1);
}
.section-cta::before, .vt__cta::before { transform: rotate(90deg); }
.section-cta::after, .vt__cta::after { transform: rotate(-90deg); }

/* ========================================================= */
/* HEADER STICKY                                             */
/* ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251, 250, 248, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  transition: transform var(--dur) var(--ease-out);
}
.site-header.is-visible { transform: translateY(0); }
.site-header__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 12px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
}
.site-header__right { display: flex; align-items: center; gap: var(--s-5); }
.header-date { font-size: 12px; letter-spacing: .14em; color: var(--violet); }
.wordmark {
  font-family: "Anton", sans-serif; font-size: 15px; letter-spacing: .02em;
  text-transform: uppercase; color: var(--ink);
}
@media (max-width: 640px) {
  .header-date { display: none; }
  .wordmark { font-size: 13px; max-width: 48vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}

/* ========================================================= */
/* HERO                                                      */
/* ========================================================= */
.hero { position: relative; padding-block: clamp(110px, 16vh, 200px) var(--section-pad); overflow: hidden;
  background: radial-gradient(85% 80% at 16% 14%, rgba(124, 92, 203, .10), transparent 60%), var(--paper-2); }
@media (max-width: 640px) { .hero { padding-top: 52px; } }
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr;
}
.hero__content { text-align: center; }
.hero__content .countdown { justify-content: center; }

/* Luce atmosferica dietro il titolo (statica, segue il mouse via JS) */
.hero__glow {
  position: absolute; z-index: 0; top: 28%; left: 14%;
  width: min(70vw, 860px); aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(124, 92, 203, .12), rgba(124, 92, 203, 0) 66%);
  filter: blur(22px);
  opacity: 0; transform: scale(.94);
  transition: opacity 1400ms var(--ease-out), transform 1800ms var(--ease-out);
  will-change: transform;
}
.hero.is-loaded .hero__glow { opacity: 1; transform: scale(1); }

/* Indicatore live — statico, alone soffuso */
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-bright); margin-right: 10px; vertical-align: 1px; box-shadow: 0 0 0 4px rgba(124, 92, 203, .16); }

/* Scroll cue — minimale e tenue */
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 24px; transform: translateX(-50%); width: 1px; height: 46px; background: linear-gradient(rgba(88, 60, 150, .45), transparent); overflow: hidden; }
.hero__scroll span { position: absolute; top: 0; left: 0; width: 100%; height: 50%; background: var(--violet); animation: scroll-cue 3200ms var(--ease-inout) infinite; opacity: .7; }
@keyframes scroll-cue { 0% { transform: translateY(-110%); } 100% { transform: translateY(220%); } }
@media (max-width: 940px) { .hero__scroll { display: none; } }
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-8); }
}

.hero__title {
  font-family: "Anton", "Oswald", sans-serif; font-weight: 400;
  text-transform: uppercase; margin: 0 0 var(--s-6);
  font-size: clamp(56px, 12vw, 160px); line-height: .86; letter-spacing: -.02em;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line__inner { display: block; white-space: nowrap; will-change: transform; }
.hero__title .strike { color: var(--violet); }

.hero__pre { font-size: clamp(16px, 2.2vw, 21px); font-weight: 600; color: var(--charcoal); line-height: 1.4; max-width: 46ch; margin: 0 auto var(--s-4); }
.hero__pre strong { color: var(--violet); }
.hero__date { display: inline-block; font-size: clamp(14px, 1.9vw, 17px); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--violet); border-radius: var(--r-pill); padding: 9px 20px; margin: 0 0 var(--s-5); }
.hero__sub { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.45; color: var(--charcoal); margin: 0 auto var(--s-5); max-width: 46ch; }
.hero__excl { display: inline-block; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--violet); margin: 0 0 var(--s-6); background: var(--white); padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); box-shadow: 0 6px 20px -8px rgba(88, 60, 150, .25); }
.hero__cta { margin-top: var(--s-2); }

/* ---------- COUNTDOWN ---------- */
.countdown { display: flex; align-items: flex-end; gap: var(--s-3); margin: 0 0 var(--s-7); }
.countdown--center { justify-content: center; margin-top: var(--s-7); }
.countdown__unit { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.countdown__num {
  font-size: clamp(28px, 5vw, 44px); font-weight: 500; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums; perspective: 200px;
}
.section--paper .countdown__num, .section--paper-2 .countdown__num { color: var(--charcoal); }
.countdown__label { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--violet); }
.countdown__sep { font-size: clamp(24px, 4vw, 38px); color: var(--violet); align-self: flex-start; line-height: 1.2; }
.countdown__num.is-tick { animation: tick 220ms var(--ease-out); }
@keyframes tick {
  0% { transform: rotateX(-90deg); opacity: .3; }
  100% { transform: rotateX(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .countdown__num.is-tick { animation: none; }
}

/* ---------- COPERTINA HERO ---------- */
.hero__media { position: relative; z-index: 2; max-width: 640px; margin: var(--s-4) auto var(--s-7); }
.hero__media img {
  width: 100%; height: auto; display: block; border-radius: var(--r-card);
  box-shadow: 0 30px 64px -30px rgba(88, 60, 150, .55), 0 2px 12px rgba(0, 0, 0, .08);
}

/* ========================================================= */
/* POPUP / MODALE FORM                                       */
/* ========================================================= */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(22, 18, 30, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity var(--dur) var(--ease-out); }
.modal.is-open .modal__overlay { opacity: 1; }
.modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 460px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--white); border: 2px solid var(--violet); border-radius: var(--r-card);
  box-shadow: 0 30px 80px -30px rgba(42, 29, 74, .55);
  opacity: 0; transform: translateY(14px) scale(.98);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__dialog .form-card { box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5); }
.form-card--modal { padding: 0; overflow: hidden; border-top: none; }
.form-card--modal .form-card__inner { padding: clamp(16px, 3vw, 24px); }
/* Popup compatto: entra in una schermata, semplice da compilare */
.form-card--modal .modal-warn { margin-bottom: var(--s-4); padding: 12px 14px; }
.form-card--modal .modal-warn p { font-size: 13px; }
.form-card--modal .modal-warn__head { font-size: 14px; }
.form-card--modal .form-card__ticket { max-width: 180px; margin: 0 auto var(--s-2); }
.form-card--modal .form-card__date { font-size: 11px; padding: 5px 12px; margin: 0 0 var(--s-2); }
.form-card--modal .form-card__title { font-size: clamp(21px, 3vw, 26px); margin-bottom: 4px; }
.form-card--modal .form-card__lead { font-size: 14px; margin-bottom: var(--s-3); }
.form-card--modal .form-card__excl { font-size: 10px; margin-bottom: var(--s-4); padding-left: 10px; }
.form-card--modal .field { margin-bottom: var(--s-3); }
.form-card--modal .field--float input,
.form-card--modal .field--float select { height: 50px; padding: 18px 14px 6px; }
.form-card--modal .field--float label { top: 15px; }
.form-card--modal .field__hint { margin-top: 3px; }
.form-card--modal .btn--lg { padding: 15px 30px; font-size: 16px; }
.form-card--modal .form-card__fine { margin-top: var(--s-3); }
.form-card__media { line-height: 0; background: var(--violet); }
.form-card__media img { width: 100%; height: auto; display: block; }
.form-card__ticket { max-width: 250px; margin: 0 auto var(--s-4); }
.form-card__ticket img { width: 100%; height: auto; display: block; }
.form-card__date { display: inline-block; font-family: "Geist Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--violet); border-radius: var(--r-pill); padding: 6px 14px; margin: 0 0 var(--s-3); }
.form-card__privacy { font-size: 11px; color: var(--graphite); text-align: center; margin: var(--s-3) 0 0; }
.form-card__privacy a { color: var(--violet); }
.form-card__excl { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--violet); line-height: 1.5; margin: 0 0 var(--s-5); padding-left: 12px; border-left: 2px solid var(--violet); }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 40px; height: 40px; border: none; border-radius: 50%;
  background: var(--white); color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .22);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.modal__close:hover { background: var(--paper-2); transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .modal__overlay, .modal__dialog { transition: opacity 120ms linear; transform: none; }
}

/* ========================================================= */
/* FORM CARD                                                 */
/* ========================================================= */
.form-card {
  position: relative;
  background: var(--white); color: var(--charcoal);
  border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px);
  border-top: 3px solid var(--violet);
  box-shadow: 0 26px 54px -26px rgba(88, 60, 150, .35), 0 2px 10px rgba(0, 0, 0, .06);
}
.form-card__title { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 3vw, 34px); line-height: .95; margin: 0 0 var(--s-3); color: var(--ink); }
.form-card__lead { font-size: 15px; color: var(--graphite); margin: 0 0 var(--s-6); }
.form-card__fine { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--graphite); text-align: center; margin: var(--s-4) 0 0; }

.field { margin-bottom: var(--s-5); }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--charcoal); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font-family: inherit; font-size: 16px;
  color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--r-default); transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(88,60,150,.14); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A5A5A' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
/* voce "Seleziona…" in grigio finché non si sceglie */
.field--select select:invalid { color: var(--graphite); }
/* Selettore paese sul telefono (intl-tel-input) */
.field--phone .iti { display: block; width: 100%; }
.field--phone input { padding-left: 52px; }
.iti--container { z-index: 99999 !important; }
.field__hint { display: block; font-size: 11px; color: var(--graphite); margin-top: 5px; letter-spacing: .04em; }
.field__error { display: block; font-size: 13px; color: #B3261E; margin-top: 6px; min-height: 0; }
.field.is-invalid input, .field.is-invalid select { border-color: #B3261E; }

/* Checkbox custom */
.field--check { margin-top: var(--s-2); }
.checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; color: var(--graphite); }
.checkbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox__box { flex: 0 0 22px; width: 22px; height: 22px; border: 1.5px solid #B8B2A8; border-radius: var(--r-default); background: var(--white); position: relative; transition: border-color var(--dur-fast), background var(--dur-fast); margin-top: 1px; }
.checkbox input:checked + .checkbox__box { background: var(--violet); border-color: var(--violet); }
.checkbox input:checked + .checkbox__box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checkbox input:focus-visible + .checkbox__box { outline: 3px solid var(--violet-bright); outline-offset: 2px; }
.checkbox__text a { color: var(--violet); text-decoration: underline; }

/* Gate di qualifica (pre-pop-up) */
.modal-gate { padding: clamp(20px, 4vw, 32px); text-align: left; }
.modal-gate__q { margin: var(--s-5) 0 var(--s-4); font-size: clamp(18px, 2.4vw, 22px); font-weight: 700; color: var(--charcoal); text-align: center; }
.modal-gate__actions { display: flex; flex-direction: column; align-items: stretch; gap: var(--s-3); }
.modal-gate__actions .btn { width: 100%; }
.modal-gate__no { background: none; border: none; padding: 6px; font-size: 14px; color: var(--charcoal); opacity: .7; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.modal-gate__no:hover { opacity: 1; }

/* Messaggio per chi non è in target */
.modal-gate--reject { text-align: center; }
.modal-gate--reject p { margin: 0 auto var(--s-4); max-width: 40ch; font-size: 15px; line-height: 1.55; color: var(--charcoal); }
.modal-reject__title { font-size: clamp(20px, 2.6vw, 24px); font-weight: 700; }
.modal-gate--reject .btn { margin-top: var(--s-2); }

/* Bannerino avviso in cima al gate */
.modal-warn { background: #FBF1D9; border-left: 3px solid #C8951B; border-radius: var(--r-default); padding: 14px 16px; margin-bottom: var(--s-5); text-align: left; }
.modal-warn p { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: var(--charcoal); }
.modal-warn p:last-child { margin-bottom: 0; }
.modal-warn__head { font-weight: 700; color: #8A6410; }
.modal-warn__head em { font-style: italic; }
.modal-warn strong { font-weight: 700; color: var(--charcoal); }
.modal-warn__list { list-style: none; margin: 8px 0; padding-left: 0; }
.modal-warn__list li { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; font-size: 14px; line-height: 1.45; color: var(--charcoal); }
.modal-warn__list li:last-child { margin-bottom: 0; }
.modal-warn__ic { flex: 0 0 18px; margin-top: 1px; color: var(--violet); }

/* Pannello esclusione */
.exclude-panel { overflow: hidden; background: var(--paper-2); border-left: 3px solid var(--violet); border-radius: var(--r-default); margin-bottom: var(--s-5); }
.exclude-panel p { margin: 0; padding: 14px 16px; font-size: 14px; color: var(--charcoal); }

/* Stato successo */
.form-success { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(24px, 4vw, 48px); background: var(--white); border-radius: var(--r-card); }
.form-success__title { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 4vw, 44px); margin: var(--s-5) 0 var(--s-3); color: var(--ink); }
.form-success__text { color: var(--graphite); max-width: 34ch; margin: 0; }
.success-check { width: 64px; height: 64px; }
.success-check__circle { stroke: var(--violet); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; }
.success-check__path { stroke: var(--violet); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; }
.form-success.is-shown .success-check__circle { animation: draw 500ms var(--ease-out) forwards; }
.form-success.is-shown .success-check__path { animation: draw 400ms var(--ease-out) 350ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ========================================================= */
/* IL RIBALTAMENTO                                           */
/* ========================================================= */
.flip-title {
  font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(36px, 6.5vw, 88px); line-height: .94; letter-spacing: -.01em;
  margin: 0 0 var(--s-7); color: var(--ink);
}
.flip-title > span { display: block; }
.flip-title__accent { color: var(--violet); }
.flip-title .strike { display: inline-block; color: var(--violet); }

/* ========================================================= */
/* LE DUE SERATE + 8 FASI                                    */
/* ========================================================= */
.nights { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); margin-bottom: var(--s-9); }
@media (max-width: 760px) { .nights { grid-template-columns: 1fr; } }
.night { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); }
.night__title { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 3vw, 34px); line-height: .95; margin: 0 0 var(--s-4); color: var(--ink); }
.night p { margin: 0 0 var(--s-3); }
.night__note { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--violet); margin-top: var(--s-4); }

/* ---- SNAKE MAP: serpentina con card in flusso (stabile) ---- */
.journey { margin-top: var(--s-9); }
.journey__eyebrow { text-align: center; margin-bottom: var(--s-8); }

.snake { position: relative; max-width: 720px; margin: 0 auto; }

/* strada serpentina (SVG dietro le card) */
.snake__road { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.snake__path { fill: none; stroke: var(--line); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 11; }
.snake__path--fill { stroke: var(--violet); stroke-width: 3; stroke-dasharray: none; }

.snake__stops { position: relative; z-index: 1; }

.snode { position: relative; min-height: 116px; display: flex; align-items: center; }
.snode--left { justify-content: flex-start; }
.snode--right { justify-content: flex-end; }

/* nodo sulla strada, agganciato al bordo INTERNO reale della card */
.snode__node {
  position: absolute; top: 50%;
  width: 18px; height: 18px; border-radius: 50%; z-index: 2;
  background: var(--paper); border: 2px solid var(--line);
  box-shadow: 0 0 0 5px var(--paper);
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.snode--left .snode__node { right: -9px; transform: translate(50%, -50%); }
.snode--right .snode__node { left: -9px; transform: translate(-50%, -50%); }
.snode.is-on .snode__node { background: var(--violet); border-color: var(--violet); box-shadow: 0 0 0 5px var(--paper), 0 0 0 8px rgba(88, 60, 150, .18); }
.snode--bonus .snode__node { border-style: dashed; }

/* card leggibile */
.snode__card {
  position: relative; min-width: 0; box-sizing: border-box;
  width: 40%; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 16px 20px;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.snode.is-on .snode__card { border-color: var(--violet); box-shadow: 0 14px 34px -16px rgba(88, 60, 150, .45); }
.snode__head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.snode__num { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--violet); }
.snode__tag { display: inline-block; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--violet); border: 1px solid var(--violet); border-radius: var(--r-pill); padding: 2px 9px; }
.snode__tag--end { color: #fff; background: var(--violet); }
.snode__name { font-family: "Geist", sans-serif; font-size: clamp(16px, 1.9vw, 21px); font-weight: 600; line-height: 1.2; color: var(--ink); margin: 4px 0 0; }
.snode--bonus .snode__card { border-style: dashed; }
.snode--bonus .snode__name { color: var(--violet-700); }
.snode--end .snode__name .strike { color: var(--ink); }
/* barratura che funziona anche su più righe (no nowrap, no linea singola disegnata) */
.snode__name .strike { white-space: normal; text-decoration: none; }
.snode__name .strike::after { display: none; }
.snode__note { font-size: 13px; color: var(--graphite); margin: 7px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .snake__path--fill { stroke-dashoffset: 0 !important; }
}

/* mobile: serpentina → binario verticale a sinistra, card piene */
@media (max-width: 620px) {
  .snode { justify-content: flex-start; min-height: 96px; }
  .snode__card { width: auto; flex: 1; margin-left: 52px; }
  .snode--left .snode__node, .snode--right .snode__node { left: -9px; right: auto; transform: translate(-50%, -50%); }
}

/* ========================================================= */
/* CARDS / TAKEAWAY                                          */
/* ========================================================= */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
@media (max-width: 760px) { .cards-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(28px, 3.5vw, 44px); }
.card__title { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 2.8vw, 30px); line-height: 1; margin: 0 0 var(--s-4); color: var(--ink); }
.card p { margin: 0; color: var(--graphite); }

/* ========================================================= */
/* A CHI È RISERVATO                                         */
/* ========================================================= */
.forwho { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); margin-bottom: var(--s-7); }
@media (max-width: 760px) { .forwho { grid-template-columns: 1fr; } }
.forwho__col { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card); border: 1px solid var(--line); }
.forwho__col--yes { background: var(--white); border-left: 3px solid var(--violet); }
.forwho__col--no { background: var(--paper-2); }
.forwho__head { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 var(--s-5); }
.forwho__col--yes .forwho__head { color: var(--violet); }
.forwho__col--no .forwho__head { color: var(--graphite); }
.forwho__col li { position: relative; padding-left: 28px; margin-bottom: var(--s-4); font-size: 17px; }
.forwho__col li:last-child { margin-bottom: 0; }
.forwho__col--yes li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 6px; height: 11px; border: solid var(--violet); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.forwho__col--no li::before { content: "✕"; position: absolute; left: 2px; top: 0; color: var(--graphite); font-size: 15px; }
.forwho__col li strong { color: var(--violet); }
.forwho__seal { text-align: center; font-size: clamp(18px, 2.2vw, 22px); color: var(--charcoal); }
.forwho__seal strong { color: var(--violet); }

/* ========================================================= */
/* EDWARD                                                    */
/* ========================================================= */
.edward { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 760px) { .edward { grid-template-columns: 1fr; } }
.edward__photo-ph {
  aspect-ratio: 4 / 5; border-radius: var(--r-card); display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--line);
  font-family: "Anton", sans-serif; font-size: clamp(28px, 4vw, 48px); letter-spacing: .04em; color: var(--violet);
}
.edward__img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 16%; border-radius: var(--r-card); display: block; }
.edward__text p { color: var(--charcoal); margin: 0 0 var(--s-5); max-width: 52ch; }
.edward__text p:last-child { margin-bottom: 0; }

/* ========================================================= */
/* FAQ                                                       */
/* ========================================================= */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.faq__item[open] { border-color: var(--violet); box-shadow: 0 14px 34px -18px rgba(88, 60, 150, .35); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
  padding: clamp(18px, 2.4vw, 24px); font-size: clamp(17px, 2vw, 21px); font-weight: 600; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num { font-family: "Geist Mono", monospace; font-size: 13px; color: var(--violet); flex: 0 0 auto; }
.faq__q { flex: 1; transition: color var(--dur) var(--ease-out); }
.faq__item[open] .faq__q { color: var(--violet); }
.faq__icon {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); position: relative;
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 44%; width: 8px; height: 8px;
  border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet);
  transform: translate(-50%, -50%) rotate(45deg); transition: border-color var(--dur) var(--ease-out);
}
.faq__item[open] .faq__icon { background: var(--violet); border-color: var(--violet); transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { border-color: #fff; }
.faq__body { overflow: hidden; padding: 0 clamp(18px, 2.4vw, 24px); }
.faq__body p { margin: 0 0 clamp(18px, 2.4vw, 24px); color: var(--graphite); max-width: 60ch; }

/* ========================================================= */
/* SOCIAL PROOF (trust band chiara, compatta)               */
/* ========================================================= */
.proof--band { background: var(--paper-2); padding-block: clamp(56px, 8vh, 96px); border-bottom: 1px solid var(--line); }
.proof__head { max-width: 760px; margin-bottom: var(--s-7); }
.proof__title {
  font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(26px, 4vw, 48px); line-height: .98; letter-spacing: -.01em;
  color: var(--ink); margin: 0;
}
.proof__stat-num { color: var(--violet); }
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
@media (max-width: 880px) { .proof__grid { grid-template-columns: 1fr; max-width: 640px; } }
.proof__card {
  border: 1px solid var(--line); border-left: 3px solid var(--violet);
  border-radius: var(--r-card); padding: clamp(22px, 2.6vw, 30px);
  background: var(--white);
}
.proof__card blockquote { margin: 0 0 var(--s-4); font-size: clamp(15px, 1.7vw, 17px); line-height: 1.5; color: var(--charcoal); }
.proof__by { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--violet); }

/* ========================================================= */
/* CTA FINALE                                                */
/* ========================================================= */
.risk-reversal {
  max-width: 52ch; margin: var(--s-7) auto var(--s-6); font-size: clamp(16px, 2vw, 19px);
  color: var(--graphite); line-height: 1.5;
}
.final-cta { text-align: center; background: var(--white); }
.final-cta__ticket { max-width: 600px; margin: var(--s-2) auto var(--s-8); }
.final-cta__ticket img { width: 100%; height: auto; display: block; }
.final-cta__title {
  font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 10vw, 130px); line-height: .88; letter-spacing: -.02em;
  margin: 0; color: var(--ink);
}
.final-cta__title .strike { color: var(--violet); }

/* ========================================================= */
/* FOOTER                                                    */
/* ========================================================= */
.site-footer { background: var(--paper-2); color: var(--graphite); padding-block: var(--s-8); border-top: 1px solid var(--line); }
.site-footer__cta { text-align: center; padding-bottom: var(--s-8); margin-bottom: var(--s-7); border-bottom: 1px solid var(--line); }
.site-footer__cta-label { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--violet); margin: 0 0 var(--s-4); }
.site-footer__inner { display: flex; flex-direction: column; gap: var(--s-6); }
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.site-footer .wordmark { color: var(--ink); }
.site-footer__links { display: flex; gap: var(--s-5); font-size: 13px; }
.site-footer__links a { color: var(--violet); text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__legal { border-top: 1px solid var(--line); padding-top: var(--s-5); }
.site-footer__company { font-size: 13px; color: var(--charcoal); margin: 0 0 var(--s-3); }
.site-footer__company strong { color: var(--ink); }
.site-footer__disc { font-size: 11px; line-height: 1.6; color: var(--graphite); margin: 0; max-width: 90ch; }

/* ========================================================= */
/* STICKY CTA BAR                                            */
/* ========================================================= */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(251, 250, 248, .96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform var(--dur) var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding-block: 12px; }
.sticky-cta__info { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-cta__name { font-family: "Anton", sans-serif; text-transform: uppercase; font-size: 15px; color: var(--ink); white-space: nowrap; }
.sticky-cta__date { font-size: 11px; letter-spacing: .12em; color: var(--violet); }
/* mini countdown nella sticky bar (riusa il componente .countdown) */
.sticky-cta__cdwrap { display: flex; flex-direction: column; gap: 3px; flex: 0 0 auto; }
.sticky-cta__cdlabel { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--violet); line-height: 1; }
.sticky-cta__cd { margin: 0; gap: 9px; align-items: center; }
.sticky-cta__cd .countdown__num { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1; }
.sticky-cta__cd .countdown__num.is-tick { animation: none; }
.sticky-cd__u { display: inline-flex; align-items: baseline; gap: 1px; }
.sticky-cd__u i { font-size: 10px; font-style: normal; text-transform: uppercase; color: var(--violet); }
@media (max-width: 640px) {
  .sticky-cta__name { display: none; }
  .sticky-cta__inner { justify-content: space-between; gap: 14px; }
  .sticky-cta__cd { gap: 7px; }
  .sticky-cta .btn { width: auto; flex: 1 1 auto; }
}
/* Su desktop la sticky bar resta in alto come da PRD */
@media (min-width: 641px) {
  .sticky-cta { top: 0; bottom: auto; border-top: none; border-bottom: 1px solid var(--line); transform: translateY(-100%); }
  .sticky-cta.is-visible { transform: translateY(0); }
}

/* ========================================================= */
/* MICRO-INTERAZIONI                                         */
/* ========================================================= */
/* Hover lift sulle card */
.night, .card, .proof__card, .forwho__col { transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
@media (hover: hover) {
  .night:hover, .card:hover, .proof__card:hover {
    transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.07);
  }
}

/* ---- FLOATING LABELS ---- */
.field--float { position: relative; }
.field--float input,
.field--float select { height: 56px; padding: 23px 14px 8px; }
.field--float select { padding-right: 38px; }
.field--float label {
  position: absolute; left: 15px; top: 17px; margin: 0;
  font-size: 16px; font-weight: 500; color: var(--graphite);
  pointer-events: none; transform-origin: left top;
  transition: transform var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.field--float input:focus ~ label,
.field--float input:not(:placeholder-shown) ~ label,
.field--float.is-filled label,
.field--float select:focus ~ label {
  transform: translateY(-11px) scale(.72);
  color: var(--violet);
}
.field.is-invalid.field--float label { color: #B3261E; }

/* ---- SHAKE sugli errori ---- */
.field.is-invalid input, .field.is-invalid select { animation: shake 360ms var(--ease-inout); }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

/* ---- BOTTONE: stato di caricamento ---- */
.btn__spinner { display: none; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label { opacity: 0; }
.btn.is-loading .btn__spinner { display: block; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .hero__scroll span,
  .field.is-invalid input, .field.is-invalid select { animation: none; }
  .night:hover, .card:hover, .proof__card:hover { transform: none; }
}

/* ========================================================= */
/* MOTION — reveal allo scroll                               */
/* ========================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* Hero title in carico (clip mask) */
.hero__title .line__inner { transform: translateY(110%); }
.hero.is-loaded .line__inner { transform: translateY(0); transition: transform var(--dur-slow) var(--ease-out); }
.hero.is-loaded .line:nth-child(1) .line__inner { transition-delay: 0ms; }
.hero.is-loaded .line:nth-child(2) .line__inner { transition-delay: 90ms; }
.hero.is-loaded .line:nth-child(3) .line__inner { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: opacity 180ms linear; }
  .hero__title .line__inner { transform: none !important; transition: none !important; }
  .form-success.is-shown .success-check__circle,
  .form-success.is-shown .success-check__path { animation: none; stroke-dashoffset: 0; }
  .site-header, .sticky-cta { transition: none; }
}

/* Niente fade-in su mobile: tutto visibile subito */
@media (max-width: 640px) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__title .line__inner { transform: none !important; transition: none !important; }
}

/* ========================================================= */
/* THANK YOU PAGE                                            */
/* ========================================================= */
.ty__hero { padding-block: clamp(72px, 11vh, 120px); text-align: center; }
.ty__inner { max-width: 720px; margin: 0 auto; }
.ty__check { width: 88px; height: 88px; margin: 0 auto var(--s-6); }
.ty__check svg { width: 100%; height: 100%; }
.ty__check .success-check__circle { stroke: var(--violet); animation: draw 640ms var(--ease-out) forwards; }
.ty__check .success-check__path { stroke: var(--violet); animation: draw 460ms var(--ease-out) 420ms forwards; }
.ty__title {
  font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(48px, 11vw, 132px); line-height: .9; letter-spacing: -.02em;
  color: var(--ink); margin: 0 0 var(--s-5);
}
.ty__title span { color: var(--violet); }
.ty__lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--graphite); max-width: 52ch; margin: 0 auto var(--s-7); line-height: 1.5; }
.ty__media { max-width: 480px; margin: 0 auto var(--s-7); }
.ty__media img { width: 100%; height: auto; display: block; border-radius: var(--r-card); box-shadow: 0 24px 56px -28px rgba(88, 60, 150, .5); }

/* Player VTurb (VSL verticale) */
.ty__video { margin: 0 auto var(--s-7); }
.ty__hero .ty__video__label {
  display: inline-block; margin-bottom: var(--s-4);
  background: var(--violet); color: #fff;
  padding: 8px 18px; border-radius: var(--r-pill);
  box-shadow: 0 8px 20px -8px rgba(88, 60, 150, .55);
}
.ty__video vturb-smartplayer { border-radius: var(--r-card); overflow: hidden; box-shadow: 0 24px 56px -28px rgba(88, 60, 150, .5); }

.ty__steps { display: flex; flex-direction: column; gap: var(--s-4); margin: var(--s-9) auto; max-width: 760px; text-align: left; }
.ty__step { display: flex; align-items: center; gap: var(--s-6); border: 1px solid var(--line); border-left: 3px solid var(--violet); border-radius: var(--r-card); padding: clamp(18px, 2.4vw, 26px) clamp(20px, 2.8vw, 30px); background: var(--white); }
.ty__step__body { flex: 1; min-width: 0; }
.ty__step__action { flex: 0 0 auto; }
.ty__step__action .cal summary { white-space: nowrap; }
@media (max-width: 620px) {
  .ty__step { flex-direction: column; align-items: stretch; gap: var(--s-4); }
  .ty__step__action, .ty__step__action .cal, .ty__step__action .btn, .ty__step__action summary { width: 100%; }
}
/* Bottone community (WhatsApp green) */
.btn--wa { --btn-bg: #25D366; }
.btn--wa::after { background: #1ebe57; }
.ty__step-num { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--violet); display: block; margin-bottom: var(--s-3); }
.ty__step h3 { font-family: "Geist", sans-serif; font-size: 18px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.ty__step p { font-size: 14px; color: var(--graphite); margin: 0; line-height: 1.5; }
.ty__step p a { color: var(--violet); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ty__step p a:hover { text-decoration: underline; }

/* Pillolo WhatsApp community (sticky bottom-right) */
.wa-sticky { position: fixed; bottom: 22px; right: 22px; z-index: 9990; display: inline-flex; align-items: center; gap: 10px; background: var(--violet); color: #fff; font-family: "Geist", sans-serif; font-weight: 600; font-size: 14px; padding: 12px 20px 12px 13px; border-radius: var(--r-pill); text-decoration: none; box-shadow: 0 10px 28px rgba(88, 60, 150, .4); transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.wa-sticky:hover { transform: translateY(-2px); background: var(--violet-700); box-shadow: 0 14px 32px rgba(88, 60, 150, .5); }
.wa-sticky__icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: #25D366; border-radius: 50%; flex: 0 0 auto; }
.wa-sticky__icon svg { width: 17px; height: 17px; fill: #fff; }
@media (max-width: 480px) { .wa-sticky { bottom: 16px; right: 16px; padding: 11px 16px 11px 11px; font-size: 13px; } }

.ty__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-4); }
/* Pulsante unico "Aggiungi al calendario" con menu Google/Outlook/Apple */
.cal { position: relative; display: inline-block; }
.cal > summary { list-style: none; cursor: pointer; }
.cal > summary::-webkit-details-marker { display: none; }
.cal__menu {
  position: absolute; left: 50%; transform: translateX(-50%); top: calc(100% + 10px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: 0 22px 50px -22px rgba(0, 0, 0, .3); padding: 6px; min-width: 230px; z-index: 5;
}
.cal__menu a { display: block; padding: 12px 14px; border-radius: var(--r-default); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.cal__menu a:hover { background: var(--paper-2); color: var(--violet); }
.ty__back { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--violet); text-decoration: none; }
.ty__back:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .ty__check .success-check__circle, .ty__check .success-check__path { animation: none; stroke-dashoffset: 0; }
}

/* ========================================================= */
/* VIDEO TESTIMONIANZE                                       */
/* ========================================================= */
.vt__sub { color: var(--graphite); font-size: clamp(16px, 1.9vw, 19px); max-width: 60ch; margin: 0 0 var(--s-8); line-height: 1.5; }
.vt__sub strong { color: var(--violet); font-weight: 600; }
.vt__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.vt__card { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-card); overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 14px 38px -22px rgba(88,60,150,.4); margin-bottom: var(--s-4); }
.vt__card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt__name { color: var(--ink); font-weight: 600; font-size: 15px; margin: 0 0 6px; }
.vt__quote { color: var(--graphite); font-size: 14px; line-height: 1.5; font-style: italic; border-left: 2px solid var(--violet); padding-left: 12px; margin: 0; }
.vt__cta { text-align: center; margin-top: var(--s-9); }
@media (max-width: 1024px) { .vt__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .vt__grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

/* ========================================================= */
/* RISULTATI (immagini)                                     */
/* ========================================================= */
.rr__lead { font-size: clamp(16px, 2vw, 20px); color: var(--graphite); max-width: 64ch; margin: 0 0 var(--s-8); }
.rr__lead strong { color: var(--violet); font-weight: 600; }
.rr__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.rr__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 4px 18px rgba(88,60,150,.07); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.rr__head { padding: 16px 16px 10px; }
.rr__title { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: 17px; letter-spacing: .02em; color: var(--violet); margin: 0 0 3px; line-height: 1.05; }
.rr__sub { font-size: 11px; color: var(--graphite); font-weight: 500; }
.rr__img { padding: 0 12px 12px; }
.rr__img img { width: 100%; height: auto; border-radius: 4px; display: block; }
@media (hover: hover) { .rr__card:hover { transform: translateY(-4px); border-color: var(--violet); box-shadow: 0 16px 40px -16px rgba(88,60,150,.3); } }
@media (max-width: 1024px) { .rr__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .rr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .rr__grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

/* ========================================================= */
/* PAGINE LEGALI (privacy / cookie)                          */
/* ========================================================= */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(90px, 13vh, 150px) var(--gutter) var(--s-9); }
.legal__back { display: inline-block; margin-bottom: var(--s-6); font-family: "Geist Mono", monospace; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--violet); text-decoration: none; }
.legal__back:hover { text-decoration: underline; }
.legal h1 { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 6vw, 64px); line-height: 1; color: var(--ink); margin: 0 0 var(--s-3); }
.legal__updated { font-family: "Geist Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--graphite); margin: 0 0 var(--s-8); }
.legal h2 { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(20px, 3vw, 28px); color: var(--ink); margin: var(--s-8) 0 var(--s-3); }
.legal h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: var(--s-6) 0 var(--s-2); }
.legal p { font-size: 16px; line-height: 1.7; color: var(--charcoal); margin: 0 0 var(--s-4); }
.legal ul { margin: 0 0 var(--s-4); padding-left: 22px; list-style: disc; }
.legal li { font-size: 16px; line-height: 1.7; color: var(--charcoal); margin-bottom: 8px; }
.legal a { color: var(--violet); }
.legal strong { color: var(--ink); }
.legal__box { background: var(--paper-2); border-left: 3px solid var(--violet); border-radius: var(--r-card); padding: clamp(18px, 2.4vw, 26px); margin: 0 0 var(--s-6); }
.legal__box p:last-child { margin-bottom: 0; }

/* ============================================================
   VIDEO SERIES (pagina /video) — un video per giorno
   ============================================================ */
.vs__head { max-width: 64ch; text-align: center; margin-inline: auto; }
.vs__sub { color: var(--graphite); font-size: clamp(16px, 1.9vw, 19px); max-width: 52ch; margin: 0 auto; line-height: 1.5; }
.vs__sub strong { color: var(--violet); font-weight: 600; }

.vs__list { display: flex; flex-direction: column; gap: clamp(56px, 9vh, 108px); margin-top: clamp(48px, 7vh, 84px); }

.vs__ep { width: 100%; max-width: 880px; margin-inline: auto; }

/* Testo episodio */
.vs__ep__body { text-align: center; margin: 0 0 var(--s-5); }
.vs__daylabel { font-family: "Geist Mono", ui-monospace, monospace; color: var(--violet); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 var(--s-3); }
.vs__ep__title { color: var(--ink); font-weight: 700; font-size: clamp(22px, 3vw, 32px); line-height: 1.12; margin: 0 0 var(--s-3); }
.vs__ep__desc { color: var(--graphite); font-size: clamp(15px, 1.7vw, 17px); line-height: 1.6; max-width: 52ch; margin: 0 auto; }
.vs__tag { display: inline-flex; align-items: center; gap: 7px; margin-top: var(--s-4); font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.vs__tag--live { color: var(--violet); }
.vs__tag--live .live-dot { margin-right: 0; }
.vs__tag--soon { color: var(--graphite); }
.vs__ep:not(.is-locked) .vs__tag--soon { display: none; }
.vs__ep.is-locked .vs__tag--live { display: none; }

/* Card video orizzontale (16:9) */
.vs__card { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 24px 64px -32px rgba(88, 60, 150, .5); }
.vs__card .vs__media, .vs__card .vs__poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs__card vturb-smartplayer { display: block; width: 100%; }
.vs__media { transition: filter var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
/* Bloccato: contenuto totalmente nascosto (sfocatura + overlay opaco) */
.vs__ep.is-locked .vs__media { filter: blur(34px) saturate(1.1) brightness(.7); transform: scale(1.35); pointer-events: none; }

/* Overlay lucchetto + countdown — completamente opaco, non si vede nulla */
.vs__lock { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: var(--s-3); text-align: center; padding: var(--s-5); color: #fff;
  background:
    radial-gradient(120% 100% at 50% 12%, rgba(124, 92, 203, .30), rgba(124, 92, 203, 0) 62%),
    linear-gradient(180deg, #2A1D4A 0%, #161418 100%);
}
.vs__ep:not(.is-locked) .vs__lock { display: none; }
.vs__lock__ic { width: 36px; height: 36px; opacity: .95; }
.vs__lock__lead { font-size: 14px; line-height: 1.35; letter-spacing: .01em; margin: 0; opacity: .9; }
.vs__cd { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 600; font-size: clamp(24px, 4.6vw, 34px); letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.vs__lock__date { margin: 4px 0 0; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; opacity: .72; }

/* Pulsante play — episodi sbloccati che partono al click (non il video di oggi) */
.vs__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; color: #fff;
  background:
    radial-gradient(120% 100% at 50% 50%, rgba(124, 92, 203, .18), rgba(0, 0, 0, 0) 62%),
    rgba(0, 0, 0, .42);
  transition: background var(--dur) var(--ease-out);
}
.vs__play:hover { background: rgba(0, 0, 0, .30); }
.vs__play__ic { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); box-shadow: 0 8px 30px -10px rgba(0, 0, 0, .6); transition: transform var(--dur) var(--ease-out); }
.vs__play:hover .vs__play__ic { transform: scale(1.07); }
.vs__play__ic svg { width: 28px; height: 28px; fill: #fff; margin-left: 3px; }

@media (max-width: 640px) {
  .vs__cd { font-size: clamp(22px, 7.5vw, 30px); }
}

/* ============ REPLAY (/replay) ============ */
.rp__urgency { display: flex; width: fit-content; align-items: center; gap: 10px; margin: clamp(28px, 5vh, 44px) auto clamp(32px, 5vh, 48px); padding: 11px 20px; border-radius: var(--r-pill); background: rgba(88, 60, 150, .08); border: 1px solid var(--line); }
.rp__urgency__lead { color: var(--graphite); font-size: 14px; font-weight: 500; letter-spacing: .01em; }
.rp__cd { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 600; font-size: clamp(16px, 2.4vw, 19px); letter-spacing: .05em; font-variant-numeric: tabular-nums; color: var(--violet); }
.rp .vs__ep + .vs__ep { margin-top: clamp(40px, 7vh, 72px); }
.rp__cta { text-align: center; margin-top: clamp(36px, 6vh, 56px); }
.rp__expired { text-align: center; padding: clamp(20px, 6vh, 56px) 0; }
