/* ==========================================================================
   Noleggio Giochi Feronia — style.css
   Direzione grafica: "sala giochi al neon". Fondo notte, insegne fucsia e ciano,
   giallo palloncino come accento. Tipografia: Fredoka (titoli) + Inter (testo).
   Scritto da zero per questo progetto. Nessun template.
   ========================================================================== */

/* ---------- 1. FONT (self-hosted, nessuna connessione a Google) ---------- */
@font-face {
  font-family: 'Fredoka';
  src: url('../fonts/fredoka-var.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'InterVar';
  src: url('../fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

/* ---------- 2. TOKEN ---------- */
:root {
  /* colore */
  --notte:        #0a0913;
  --notte-2:      #100e1e;
  --superficie:   #17142a;
  --superficie-2: #1e1a36;
  --bordo:        #2b2550;
  --bordo-vivo:   #453a7d;

  --fucsia:       #ff2d8f;
  --fucsia-soft:  #ff6bb0;
  --ciano:        #21d4fd;
  --blu:          #3d6bff;
  --giallo:       #ffd23f;
  --verde:        #25d366; /* whatsapp */

  --testo:        #f5f2ff;
  --testo-tenue:  #a9a2c9;
  --testo-fioco:  #6f6892;

  /* tipografia */
  --font-titoli: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --font-testo:  'InterVar', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --t-xs:   clamp(.75rem, .72rem + .12vw, .82rem);
  --t-s:    clamp(.88rem, .85rem + .15vw, .95rem);
  --t-base: clamp(1rem, .96rem + .2vw, 1.09rem);
  --t-m:    clamp(1.12rem, 1.05rem + .35vw, 1.3rem);
  --t-l:    clamp(1.4rem, 1.24rem + .8vw, 1.9rem);
  --t-xl:   clamp(1.8rem, 1.45rem + 1.7vw, 2.9rem);
  --t-2xl:  clamp(2.3rem, 1.6rem + 3.4vw, 4.6rem);

  /* spazio */
  --s1: .35rem;  --s2: .7rem;   --s3: 1.1rem;  --s4: 1.6rem;
  --s5: 2.4rem;  --s6: 3.4rem;  --s7: 5rem;    --s8: 7rem;

  --raggio-s: 10px;
  --raggio-m: 18px;
  --raggio-l: 28px;
  --raggio-pill: 999px;

  --ombra-s: 0 2px 10px rgba(0,0,0,.35);
  --ombra-m: 0 14px 40px rgba(0,0,0,.45);
  --ombra-neon: 0 0 0 1px rgba(255,45,143,.35), 0 10px 45px -12px rgba(255,45,143,.55);

  --veloce: 180ms cubic-bezier(.4,0,.2,1);
  --lenta:  520ms cubic-bezier(.16,1,.3,1);

  --contenuto: 1200px;
  --contenuto-stretto: 760px;
  --nav-h: 68px;
}

/* ---------- 3. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-testo);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--testo);
  background: var(--notte);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--ciano); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-titoli);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
}

/* ---------- 4. UTILITÀ ---------- */
.wrap { width: min(100% - 2.4rem, var(--contenuto)); margin-inline: auto; }
.wrap-stretto { width: min(100% - 2.4rem, var(--contenuto-stretto)); margin-inline: auto; }
.sezione { padding-block: clamp(3.4rem, 8vw, var(--s8)); position: relative; }
.solo-sr {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--fucsia); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

/* fondo a "insegna": due aloni neon molto morbidi, niente blend mode */
.bagliore { position: relative; isolation: isolate; }
.bagliore::before {
  content: ''; position: absolute; inset: -10% -20% auto -20%; height: 70%;
  background:
    radial-gradient(50% 60% at 18% 30%, rgba(255,45,143,.16), transparent 70%),
    radial-gradient(45% 55% at 82% 20%, rgba(33,212,253,.13), transparent 70%);
  z-index: -1; pointer-events: none;
}

/* ---------- 5. TIPOGRAFIA DI SEZIONE ---------- */
.occhiello {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-testo);
  font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ciano);
}
.occhiello::before {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  background: var(--fucsia); box-shadow: 0 0 12px 2px rgba(255,45,143,.8);
}
.titolo-sezione { font-size: var(--t-xl); margin-block: var(--s2) var(--s3); max-width: 22ch; }
.sottotitolo-sezione { color: var(--testo-tenue); font-size: var(--t-m); max-width: 62ch; }
.testo-tenue { color: var(--testo-tenue); }
.evidenza { color: var(--giallo); }

/* ---------- 6. PULSANTI ---------- */
.btn {
  --btn-bg: linear-gradient(115deg, var(--fucsia), #b81ee0 60%, var(--blu));
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: var(--raggio-pill);
  font-family: var(--font-titoli); font-weight: 600; font-size: var(--t-base);
  color: #fff; background: var(--btn-bg);
  box-shadow: 0 10px 30px -10px rgba(255,45,143,.75);
  transition: transform var(--veloce), box-shadow var(--veloce), filter var(--veloce);
  will-change: transform;
}
.btn::after { /* lampo che attraversa il pulsante all'hover */
  content: ''; position: absolute; top: 0; bottom: 0; width: 45%;
  left: -60%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transition: left var(--lenta);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255,45,143,.9); }
.btn:hover::after { left: 115%; }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--wa { --btn-bg: linear-gradient(115deg, #21b455, var(--verde)); box-shadow: 0 10px 30px -10px rgba(37,211,102,.7); }
.btn--wa:hover { box-shadow: 0 16px 40px -12px rgba(37,211,102,.85); }

.btn--fantasma {
  background: transparent; color: var(--testo);
  box-shadow: inset 0 0 0 1.5px var(--bordo-vivo);
}
.btn--fantasma:hover { box-shadow: inset 0 0 0 1.5px var(--ciano); color: var(--ciano); transform: translateY(-2px); }

.link-freccia {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--ciano); font-size: var(--t-s);
}
.link-freccia svg { width: 17px; height: 17px; transition: transform var(--veloce); }
.link-freccia:hover svg { transform: translateX(5px); }

/* ---------- 7. NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(10,9,19,.72);
  border-bottom: 1px solid transparent;
  transition: background var(--veloce), border-color var(--veloce);
}
.nav.scrollata { background: rgba(10,9,19,.96); border-bottom-color: var(--bordo); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); width: 100%; }

.marchio { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-titoli); }
.marchio__gettone {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--fucsia), var(--blu));
  color: #fff; font-weight: 700; font-size: .84rem; letter-spacing: -.03em;
  box-shadow: 0 0 18px -4px rgba(255,45,143,.9);
}
.marchio__testo { display: flex; flex-direction: column; line-height: 1.03; }
.marchio__riga1 { font-weight: 600; font-size: 1.02rem; }
.marchio__riga2 { font-size: .62rem; letter-spacing: .17em; text-transform: uppercase; color: var(--ciano); font-family: var(--font-testo); font-weight: 700; }

.menu { display: flex; align-items: center; gap: var(--s4); }
.menu a { font-size: var(--t-s); font-weight: 500; color: var(--testo-tenue); position: relative; padding-block: .3rem; transition: color var(--veloce); }
.menu a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--fucsia), var(--ciano));
  transition: right var(--lenta);
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--testo); }
.menu a:hover::after, .menu a[aria-current="page"]::after { right: 0; }
/* il pulsante dentro il menu non deve ereditare il colore tenue dei link */
.menu a.btn, .menu a.btn:hover { color: #fff; }
.menu a.btn::after { display: none; }

.nav__cta { display: none; }
@media (min-width: 900px) { .nav__cta { display: inline-flex; padding: .68rem 1.25rem; font-size: var(--t-s); } }

.hamburger { position: relative; display: block; width: 44px; height: 44px; border-radius: 12px; }
.hamburger span {
  position: absolute; left: 11px; width: 22px; height: 2px;
  background: var(--testo); border-radius: 2px;
  transition: transform var(--veloce), opacity var(--veloce);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .menu {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--notte-2); border-bottom: 1px solid var(--bordo);
    padding: var(--s2) 1.2rem var(--s4);
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity var(--veloce), transform var(--veloce), visibility var(--veloce);
  }
  .menu.aperto { transform: none; opacity: 1; visibility: visible; }
  .menu a { padding: .95rem .2rem; border-bottom: 1px solid var(--bordo); font-size: var(--t-m); }
  .menu a::after { display: none; }
  .menu .btn { margin-top: var(--s3); }
}
@media (min-width: 900px) {
  .hamburger { display: none; }
  .menu .btn { display: none; } /* su desktop resta solo la CTA della barra */
}

/* ---------- 8. HERO ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(3.4rem, 8vw, 7rem); }
.hero__sfondo { position: absolute; inset: 0; z-index: -2; }
.hero__sfondo img { width: 100%; height: 100%; object-fit: cover; }
.hero__velo {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,9,19,.45) 0%, rgba(10,9,19,.62) 55%, var(--notte) 100%),
    linear-gradient(100deg, rgba(10,9,19,.94) 12%, rgba(10,9,19,.78) 42%, rgba(10,9,19,.18) 82%);
}
/* .hero__in porta anche .wrap: NON si tocca la sua larghezza (perderebbe il centraggio
   del contenitore e finirebbe incollata al bordo). Si limitano i figli. */
.hero__in { display: grid; gap: var(--s5); justify-items: start; }
.hero__in > * { max-width: 44rem; }
.hero h1 { font-size: var(--t-2xl); font-weight: 700; letter-spacing: -.025em; }
.hero h1 .neon {
  background: linear-gradient(100deg, var(--fucsia) 10%, #ff7ac2 45%, var(--ciano) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: var(--t-m); color: var(--testo-tenue); max-width: 54ch; }
.hero__azioni { display: flex; flex-wrap: wrap; gap: var(--s3); }

.prove { display: flex; flex-wrap: wrap; gap: .5rem var(--s3); font-size: var(--t-xs); color: var(--testo-fioco); }
.prove li { display: flex; align-items: center; gap: .45rem; }
.prove li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ciano); box-shadow: 0 0 8px var(--ciano); }

/* hero delle pagine interne */
.hero--interno { padding-block: clamp(2.6rem, 6vw, 4.4rem) clamp(2.2rem, 5vw, 3.6rem); }
.hero--interno h1 { font-size: var(--t-xl); }
.briciole { display: flex; flex-wrap: wrap; gap: .4rem; font-size: var(--t-xs); color: var(--testo-fioco); margin-bottom: var(--s3); }
.briciole a:hover { color: var(--ciano); }

/* ---------- 9. CARD ATTIVITÀ (le tre strade) ---------- */
.griglia-3 { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }

.carta-attivita {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--raggio-l); background: var(--superficie);
  box-shadow: inset 0 0 0 1px var(--bordo);
  transition: transform var(--lenta), box-shadow var(--lenta);
  will-change: transform;
}
.carta-attivita:hover { transform: translateY(-7px); box-shadow: inset 0 0 0 1px var(--bordo-vivo), var(--ombra-m); }
.carta-attivita__foto { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--notte-2); }
.carta-attivita__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.16,1,.3,1); }
.carta-attivita:hover .carta-attivita__foto img { transform: scale(1.07); }
.carta-attivita__foto::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(23,20,42,.9) 100%);
}
.carta-attivita__corpo { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.carta-attivita h3 { font-size: var(--t-l); }
.carta-attivita p { color: var(--testo-tenue); font-size: var(--t-s); flex: 1; }
.carta-attivita__num {
  position: absolute; top: var(--s3); left: var(--s3); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-titoli); font-weight: 700; font-size: 1rem; color: #fff;
  background: rgba(10,9,19,.72); box-shadow: inset 0 0 0 1.5px var(--fucsia);
}
/* tutta la card è cliccabile senza annidare link */
.carta-attivita__link::after { content: ''; position: absolute; inset: 0; }

/* ---------- 10. BLOCCO SPLIT (testo + elenco) ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, var(--s6)); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } }
.split--invertito > :first-child { order: 2; }
@media (max-width: 899px) { .split--invertito > :first-child { order: 0; } }

.riquadro {
  padding: var(--s4); border-radius: var(--raggio-m);
  background: linear-gradient(150deg, rgba(255,45,143,.11), rgba(61,107,255,.08));
  box-shadow: inset 0 0 0 1px var(--bordo-vivo);
}
.riquadro strong { color: var(--testo); }

.elenco-check { display: grid; gap: var(--s2); }
.elenco-check li { display: flex; gap: .8rem; align-items: flex-start; color: var(--testo-tenue); font-size: var(--t-s); }
.elenco-check li svg { width: 21px; height: 21px; flex: none; margin-top: .18rem; color: var(--ciano); }

.figura { border-radius: var(--raggio-l); overflow: hidden; box-shadow: var(--ombra-m), inset 0 0 0 1px var(--bordo); }
.figura img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 11. PASSI ---------- */
.passi { display: grid; gap: var(--s4); counter-reset: passo; }
@media (min-width: 780px) { .passi { grid-template-columns: repeat(4, 1fr); } }
.passo { position: relative; padding-top: var(--s4); }
.passo__n {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-titoli); font-weight: 700; font-size: 1.15rem; color: var(--notte);
  background: linear-gradient(140deg, var(--giallo), #ffb01f);
  box-shadow: 0 0 24px -6px rgba(255,210,63,.9);
  margin-bottom: var(--s3); position: relative; z-index: 1;
}
.passo h3 { font-size: var(--t-m); margin-bottom: .35rem; }
.passo p { color: var(--testo-tenue); font-size: var(--t-s); }
/* filo che collega i passi */
.passo:not(:last-child)::before {
  content: ''; position: absolute; top: calc(var(--s4) + 23px); left: 46px; right: -1rem; height: 2px;
  background: linear-gradient(90deg, var(--bordo-vivo), transparent);
}
@media (max-width: 779px) {
  .passo:not(:last-child)::before { top: calc(var(--s4) + 46px); left: 22px; right: auto; width: 2px; height: calc(100% - 46px); background: linear-gradient(180deg, var(--bordo-vivo), transparent); }
}

/* ---------- 12. GRIGLIA GIOCHI ---------- */
.griglia-giochi { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }

.gioco {
  position: relative; overflow: hidden; border-radius: var(--raggio-m);
  background: var(--superficie); box-shadow: inset 0 0 0 1px var(--bordo);
  transition: transform var(--lenta), box-shadow var(--lenta);
}
.gioco:hover { transform: translateY(-5px); box-shadow: var(--ombra-neon), var(--ombra-m); }
.gioco__foto { aspect-ratio: 4/3; overflow: hidden; background: var(--notte-2); }
.gioco__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.16,1,.3,1); }
.gioco:hover .gioco__foto img { transform: scale(1.06); }
.gioco__corpo { padding: var(--s3); }
.gioco h3 { font-size: var(--t-base); margin-bottom: .3rem; }
.gioco p { font-size: var(--t-xs); color: var(--testo-tenue); line-height: 1.55; }

/* tessera "foto in arrivo": non è un buco, è una casella progettata */
.gioco--attesa .gioco__foto {
  display: grid; place-items: center; position: relative;
  background:
    radial-gradient(70% 90% at 50% 20%, rgba(255,45,143,.16), transparent 70%),
    linear-gradient(160deg, var(--superficie-2), var(--notte-2));
}
.gioco--attesa .gioco__foto::before { /* reticolo da schermo arcade */
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--bordo) 1px, transparent 1px), linear-gradient(90deg, var(--bordo) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.gioco--attesa svg { width: 62px; height: 62px; color: var(--fucsia-soft); position: relative; opacity: .95; }
.tag-attesa {
  position: absolute; top: .6rem; right: .6rem; z-index: 2;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .55rem; border-radius: var(--raggio-pill);
  background: rgba(10,9,19,.8); color: var(--giallo); box-shadow: inset 0 0 0 1px rgba(255,210,63,.4);
}

/* ---------- 13. MARQUEE FIERE ---------- */
.marquee { overflow: hidden; padding-block: var(--s3); border-block: 1px solid var(--bordo); background: var(--notte-2); }
.marquee__pista { display: flex; width: max-content; gap: var(--s5); animation: scorri 34s linear infinite; }
.marquee:hover .marquee__pista { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-titoli); font-weight: 600; font-size: var(--t-l);
  color: var(--testo); opacity: .9;
  display: flex; align-items: center; gap: var(--s5); white-space: nowrap;
}
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.4px var(--fucsia-soft); opacity: 1; }
.marquee span::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--ciano); -webkit-text-stroke: 0; box-shadow: 0 0 12px var(--ciano); }
@keyframes scorri { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__pista { animation: none; } }

/* ---------- 14. FAQ ---------- */
.faq { display: grid; gap: var(--s2); }
.faq__gruppo + .faq__gruppo { margin-top: var(--s5); }
.faq__titolo-gruppo { font-size: var(--t-s); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ciano); margin-bottom: var(--s3); }
.faq details {
  border-radius: var(--raggio-m); background: var(--superficie);
  box-shadow: inset 0 0 0 1px var(--bordo);
  transition: box-shadow var(--veloce);
}
.faq details[open] { box-shadow: inset 0 0 0 1px var(--bordo-vivo); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s3) var(--s4); cursor: pointer; list-style: none;
  font-family: var(--font-titoli); font-weight: 500; font-size: var(--t-m);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 12px; height: 12px;
  border-right: 2.5px solid var(--fucsia); border-bottom: 2.5px solid var(--fucsia);
  transform: rotate(45deg) translate(-2px,-2px); transition: transform var(--veloce);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px,-3px); }
.faq summary:hover { color: var(--ciano); }
.faq__risposta { padding: 0 var(--s4) var(--s4); color: var(--testo-tenue); font-size: var(--t-s); }

/* ---------- 15. BANDA CTA ---------- */
.banda {
  position: relative; overflow: hidden; border-radius: var(--raggio-l);
  padding: clamp(2.2rem, 5vw, var(--s6)) clamp(1.4rem, 4vw, var(--s6));
  background: linear-gradient(125deg, #2a0f45, #46135c 45%, #131a4d);
  box-shadow: inset 0 0 0 1px var(--bordo-vivo);
  text-align: center;
}
.banda::before {
  content: ''; position: absolute; inset: -40% -10% auto -10%; height: 120%;
  background: radial-gradient(45% 60% at 25% 30%, rgba(255,45,143,.35), transparent 70%),
              radial-gradient(45% 60% at 78% 60%, rgba(33,212,253,.22), transparent 70%);
  pointer-events: none;
}
.banda > * { position: relative; }
.banda h2 { font-size: var(--t-xl); margin-bottom: var(--s3); }
.banda p { color: #cfc7f0; max-width: 52ch; margin: 0 auto var(--s4); }

/* ---------- 16. CONTATTI ---------- */
.contatti { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .contatti { grid-template-columns: .85fr 1.15fr; } }
.dato { padding-block: var(--s3); border-bottom: 1px solid var(--bordo); }
.dato:last-of-type { border-bottom: 0; }
.dato dt { font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--testo-fioco); margin-bottom: .3rem; font-weight: 600; }
.dato dd { margin: 0; font-size: var(--t-m); font-family: var(--font-titoli); }
.dato dd a:hover { color: var(--ciano); }
.mappa { border-radius: var(--raggio-l); overflow: hidden; box-shadow: inset 0 0 0 1px var(--bordo); min-height: 340px; background: var(--superficie); }
.mappa iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.mappa__consenso { display: grid; place-items: center; gap: var(--s3); padding: var(--s5); text-align: center; min-height: 340px; }
.mappa__consenso p { color: var(--testo-tenue); font-size: var(--t-s); max-width: 40ch; }

/* ---------- 17. FOOTER ---------- */
.footer { background: var(--notte-2); border-top: 1px solid var(--bordo); padding-block: var(--s6) var(--s4); margin-top: var(--s6); }
.footer__griglia { display: grid; gap: var(--s5); }
@media (min-width: 780px) { .footer__griglia { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h2 { font-size: var(--t-s); letter-spacing: .12em; text-transform: uppercase; color: var(--testo-fioco); margin-bottom: var(--s3); font-family: var(--font-testo); font-weight: 700; }
.footer p, .footer li, .footer address { color: var(--testo-tenue); font-size: var(--t-s); font-style: normal; }
.footer li + li { margin-top: .5rem; }
.footer a:hover { color: var(--ciano); }
.footer__legale {
  margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--bordo);
  font-size: var(--t-xs); color: var(--testo-fioco);
  display: flex; flex-wrap: wrap; gap: .4rem var(--s3); justify-content: space-between;
}

/* ---------- 18. WHATSAPP FLOTTANTE ---------- */
.wa-flottante {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.15rem; border-radius: var(--raggio-pill);
  background: var(--verde); color: #072c14; font-weight: 700; font-size: var(--t-s);
  box-shadow: 0 12px 34px -10px rgba(37,211,102,.85);
  transform: translateY(120%); opacity: 0;
  transition: transform var(--lenta), opacity var(--lenta), box-shadow var(--veloce);
}
.wa-flottante.visibile { transform: none; opacity: 1; }
.wa-flottante:hover { box-shadow: 0 16px 42px -10px rgba(37,211,102,1); }
.wa-flottante svg { width: 22px; height: 22px; }
.wa-flottante__testo { display: none; }
@media (min-width: 560px) { .wa-flottante__testo { display: inline; } }

/* ---------- 19. REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms cubic-bezier(.16,1,.3,1), transform 700ms cubic-bezier(.16,1,.3,1); }
.reveal.dentro { opacity: 1; transform: none; }
.reveal[data-ritardo="1"] { transition-delay: 90ms; }
.reveal[data-ritardo="2"] { transition-delay: 180ms; }
.reveal[data-ritardo="3"] { transition-delay: 270ms; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 20. BANNER COOKIE ---------- */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 120;
  max-width: 34rem; padding: var(--s4);
  border-radius: var(--raggio-m); background: var(--superficie-2);
  box-shadow: var(--ombra-m), inset 0 0 0 1px var(--bordo-vivo);
}
.cookie p { font-size: var(--t-s); color: var(--testo-tenue); margin-bottom: var(--s3); }
.cookie__azioni { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.cookie .btn { padding: .6rem 1.2rem; font-size: var(--t-s); }
.cookie a { color: var(--ciano); text-decoration: underline; font-size: var(--t-xs); }

/* ---------- 21. 404 ---------- */
.p404 { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.p404__codice {
  font-family: var(--font-titoli); font-weight: 700; font-size: clamp(5rem, 22vw, 12rem); line-height: .9;
  background: linear-gradient(100deg, var(--fucsia), var(--ciano));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 22. PAGINA TESTUALE (privacy) ---------- */
.testo-lungo h2 { font-size: var(--t-l); margin-block: var(--s5) var(--s3); }
.testo-lungo h3 { font-size: var(--t-m); margin-block: var(--s4) var(--s2); }
.testo-lungo p, .testo-lungo li { color: var(--testo-tenue); margin-bottom: var(--s2); }
.testo-lungo ul { display: grid; gap: .45rem; margin-bottom: var(--s3); }
.testo-lungo ul li { padding-left: 1.2rem; position: relative; }
.testo-lungo ul li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--fucsia); }
.testo-lungo a { color: var(--ciano); text-decoration: underline; }
.testo-lungo strong { color: var(--testo); }
