/* Idea Video Photobooth · la home, fatta come una landing (step 5, 05/11/2026)
   Colori misurati sul design approvato (confronta-design.py --colori); caratteri: Figtree (il più simile al
   sans del design, che è un Avenir) e Allura per la firma «Video Phone»; icone, logo e immagini del kit. */

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-corsivo.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Allura";
  src: url("/assets/fonts/allura-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --carta: #F9F3EC;
  --carta-chiara: #FCF6F0;
  --carta-scura: #EFE8E1;
  --testo: #343537;
  --testo-2: #3F3E3E;
  --testo-descr: #4D4B4B;
  --testo-3: #7A7674;
  --icona: #858582;
  --numero: #D4CDC7;
  --linea: #DED9D3;
  --marrone: #8B5634;
  --marrone-scuro: #78401F;
  --bianco: #FFFFFF;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(16px, 4.2vw, 60px);
  --colonna-foto: clamp(170px, 20.2vw, 290px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--carta);
  color: var(--testo-2);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
a { color: inherit; }
a, button { touch-action: manipulation; }

.icona { width: 1em; height: 1em; fill: currentColor; flex: none; }

.salta {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--testo);
  color: var(--bianco);
  text-decoration: none;
  transition: top .2s var(--ease-out);
}
.salta:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--marrone); outline-offset: 3px; }

/* ── pulsanti ───────────────────────────────────────────────────────────────────────────────────── */
.pulsante {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  min-height: clamp(52px, 5.3vw, 76px);
  padding: .8em 2.1em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-size: clamp(1.02rem, 1.53vw, 1.38rem);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .2s ease, transform .16s var(--ease-out);
}
.pulsante .icona { width: 1.4em; height: 1.4em; }
.pulsante:active { transform: scale(.97); }
.pulsante--pieno {
  background: var(--marrone);
  color: var(--bianco);
  box-shadow: 0 12px 26px rgba(110, 62, 30, .22);
}
.pulsante--bordo {
  border-color: rgba(77, 75, 75, .55);
  color: var(--testo);
  background: transparent;
}
@media (hover: hover) and (pointer: fine) {
  .pulsante--pieno:hover { background: var(--marrone-scuro); box-shadow: 0 14px 30px rgba(110, 62, 30, .28); }
  .pulsante--bordo:hover { border-color: var(--testo); background: var(--carta-chiara); }
}

/* ── intestazione ───────────────────────────────────────────────────────────────────────────────── */
.testata {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--carta);
  padding-top: env(safe-area-inset-top, 0px);
  transition: box-shadow .25s ease;
}
.testata.scorsa { box-shadow: 0 8px 26px rgba(60, 40, 20, .08); }
.testata__interno {
  max-width: var(--max);
  margin: 0 auto;
  height: clamp(64px, 6.9vw, 100px);
  display: flex;
  align-items: center;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.testata__marchio { display: block; flex: none; border-radius: 6px; }
.testata__marchio img { width: clamp(132px, 17vw, 246px); }
.testata__frase {
  margin-left: clamp(24px, 12.4vw, 180px);
  font-size: clamp(1rem, 1.88vw, 1.69rem);
  color: var(--testo-2);
  letter-spacing: .005em;
}
.testata__wa {
  margin-left: auto;
  width: clamp(48px, 4.4vw, 64px);
  height: clamp(48px, 4.4vw, 64px);
  margin-right: -8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--testo-2);
  user-select: none;
  -webkit-user-select: none;
  transition: color .18s ease, background-color .18s ease, transform .16s var(--ease-out);
}
.testata__wa .icona { width: clamp(30px, 3.35vw, 48px); height: clamp(30px, 3.35vw, 48px); }
.testata__wa:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .testata__wa:hover { color: var(--marrone); background: var(--carta-scura); }
}

/* ── hero ───────────────────────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(560px, 57vw, 860px);
}
.hero__sfondo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 62%;
}
.hero__interno {
  position: relative;
  max-width: var(--max);
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 49%) minmax(0, 1fr);
  align-items: center;
  padding: clamp(40px, 5vw, 76px) max(clamp(16px, 2.2vw, 32px), env(safe-area-inset-right, 0px)) clamp(40px, 5vw, 76px) max(clamp(16px, 2.2vw, 32px), env(safe-area-inset-left, 0px));
}
.hero__pannello {
  max-width: 700px;
  padding: clamp(28px, 3.6vw, 52px) clamp(22px, 3.1vw, 44px) clamp(32px, 3.9vw, 56px);
  border-radius: clamp(16px, 1.6vw, 24px);
  background: rgba(245, 240, 231, .88);
  box-shadow: 0 30px 70px rgba(50, 30, 10, .18), 0 2px 8px rgba(50, 30, 10, .06);
}
.hero__occhiello {
  margin-bottom: .7em;
  font-size: clamp(.82rem, 1.8vw, 1.62rem);
  font-weight: 450;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--testo-2);
}
.hero__titolo {
  font-size: clamp(2.05rem, 3.95vw, 3.55rem);
  font-weight: 350;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--testo);
}
.hero__accento { display: block; margin-top: .06em; font-size: .78em; color: var(--marrone); }
.hero__testo {
  margin: .75em 0 1.3em;
  max-width: 26em;
  font-size: clamp(1.02rem, 1.53vw, 1.38rem);
  line-height: 1.45;
  color: var(--testo-2);
}
.hero__macchine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 49%;
  right: 0;
}
.hero__macchine::before,
.hero__macchine::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 24, 10, .42), rgba(20, 24, 10, 0));
}
.hero__macchine::before { left: 5%; width: 34%; bottom: calc(6% - 18px); height: 42px; }
.hero__macchine::after { left: 35%; width: 62%; bottom: calc(3% - 22px); height: 50px; }
.hero__panna,
.hero__marrone {
  position: absolute;
  z-index: 1;
  width: auto;
  max-width: none;
}
.hero__panna { left: 3%; bottom: 6%; height: 86.5%; }
.hero__marrone { left: 35.5%; bottom: 3%; height: 87%; z-index: 2; }

/* ── il nastro di carta a sinistra delle sezioni 01-04: un pezzo per sezione, che si attaccano ─────── */
main { overflow-x: clip; }
.nastro {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: clamp(150px, 18vw, 260px);
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.nastro__carta,
.nastro__ombra {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.nastro__carta { stroke: #FFFEFC; stroke-width: clamp(30px, 3.6vw, 52px); }
.nastro__ombra { stroke: rgba(96, 72, 48, .12); stroke-width: clamp(34px, 4vw, 58px); transform: translate(8px, 3px); }

.sezione {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--colonna-foto) minmax(0, 1fr);
  column-gap: clamp(14px, 1.5vw, 22px);
  padding: clamp(44px, 4.6vw, 72px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(36px, 3.6vw, 56px) max(var(--gutter), env(safe-area-inset-left, 0px));
}
.sezione__corpo { grid-column: 2; min-width: 0; }

.sezione__testa {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 1.8vw, 28px);
}
.sezione__numero {
  flex: none;
  margin-top: -.06em;
  font-size: clamp(3.9rem, 7.2vw, 6.5rem);
  font-weight: 300;
  line-height: .86;
  letter-spacing: -.03em;
  color: var(--numero);
  font-variant-numeric: lining-nums;
}
.sezione__titoli { padding-top: clamp(2px, .5vw, 8px); min-width: 0; }
.sezione__titolo {
  font-size: clamp(1.85rem, 3.6vw, 3.25rem);
  font-weight: 350;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--testo);
  text-wrap: balance;
}
.sezione__sotto {
  margin-top: .45em;
  max-width: 36em;
  font-size: clamp(1.05rem, 1.6vw, 1.44rem);
  color: var(--testo-2);
}
.sezione__nota {
  margin-top: .3em;
  font-size: clamp(1rem, 1.6vw, 1.44rem);
  font-style: italic;
  color: var(--testo-2);
}

/* le polaroid */
.polaroid {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  width: clamp(170px, 24.6vw, 354px);
  margin: clamp(28px, 7.6vw, 110px) 0 0 calc(-1 * clamp(0px, 1.6vw, 24px));
  padding: clamp(8px, .9vw, 13px) clamp(8px, .9vw, 13px) clamp(30px, 3.2vw, 46px);
  background: var(--carta-chiara);
  box-shadow: 0 24px 46px rgba(60, 40, 20, .17), 0 3px 9px rgba(60, 40, 20, .08);
  rotate: 4deg;
}
.polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.polaroid--due { rotate: 3deg; width: clamp(160px, 22.6vw, 326px); margin-top: clamp(20px, 3.4vw, 50px); }
.polaroid--tre { rotate: 5deg; width: clamp(160px, 21.4vw, 308px); margin-top: clamp(24px, 4.6vw, 66px); }
.polaroid--tre img { aspect-ratio: 1 / 1; }
.polaroid--quattro { rotate: 4deg; width: clamp(160px, 22.8vw, 328px); margin-top: clamp(16px, 2.4vw, 36px); }

/* ── 01 · scegli il tuo stile ───────────────────────────────────────────────────────────────────── */
.stile__macchine {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(40px, 11vw, 180px);
  margin-top: clamp(4px, 1vw, 16px);
  padding-right: clamp(0px, 4vw, 70px);
}
.macchina { display: flex; flex-direction: column; align-items: center; }
.macchina img { width: auto; max-width: none; }
.macchina--panna img { height: clamp(240px, 33.6vw, 484px); }
.macchina--marrone img { height: clamp(290px, 43.2vw, 622px); }
.macchina figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(14px, 1.6vw, 24px);
  font-size: clamp(.98rem, 1.53vw, 1.38rem);
  color: var(--testo-2);
}
.macchina__colore { width: clamp(18px, 1.8vw, 26px); height: clamp(18px, 1.8vw, 26px); }

.vantaggi {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 1260px;
  list-style: none;
  margin: clamp(30px, 3.2vw, 48px) 0 0;
  padding: 0 0 0 clamp(0px, 4vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.vantaggio {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.2vw, 18px);
  padding: 4px clamp(14px, 2.2vw, 34px);
}
.vantaggio + .vantaggio { border-left: 1px solid var(--linea); }
.vantaggio__icona { width: clamp(34px, 4.1vw, 60px); height: clamp(34px, 4.1vw, 60px); color: var(--icona); flex: none; margin-top: 2px; }
.vantaggio__titolo {
  font-size: clamp(1.05rem, 1.74vw, 1.56rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--testo);
}
.vantaggio__titolo, .voce__titolo, .zone__frase, .festa__titolo { text-wrap: balance; }
.vantaggio__testo {
  margin-top: .3em;
  font-size: clamp(.95rem, 1.32vw, 1.19rem);
  line-height: 1.45;
  color: var(--testo-descr);
}

/* ── 02 · video phone ───────────────────────────────────────────────────────────────────────────── */
.videophone__griglia {
  margin-top: clamp(14px, 1.6vw, 24px);
  padding-left: clamp(0px, 6.6vw, 110px);
  max-width: calc(100% - clamp(200px, 23vw, 330px));
}
.videophone__firma {
  font-family: "Allura", "Snell Roundhand", cursive;
  font-size: clamp(2.4rem, 4.3vw, 3.9rem);
  line-height: 1;
  color: var(--testo);
}
.videophone__testo {
  margin-top: .45em;
  max-width: 27em;
  font-size: clamp(1.02rem, 1.46vw, 1.31rem);
  line-height: 1.5;
  color: var(--testo-2);
}
.passi {
  position: relative;
  list-style: none;
  margin: clamp(34px, 3.2vw, 48px) 0 0;
  padding: clamp(26px, 2.4vw, 34px) 0 0;
  max-width: 580px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.passi::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: #CDC9C3;
}
.passi::after {
  content: "";
  position: absolute;
  top: -18px;
  left: calc(50% - 60px);
  width: 120px;
  height: 40px;
  background: var(--carta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40'%3E%3Cpath d='M0 30H30C34 30 36 26 39 26S43 33 46 33S50 18 53 14S56 10 60 10S65 11 67 14S71 33 74 33S78 26 81 26S86 30 90 30H120' fill='none' stroke='%23CDC9C3' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='60' cy='4.5' r='3' fill='%23D4CDC7'/%3E%3C/svg%3E") center / 120px 40px no-repeat;
}
.passo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.passo::before {
  content: "";
  position: absolute;
  top: calc(-1 * clamp(26px, 2.4vw, 34px) + 2px);
  left: calc(50% - 4.5px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #CDC9C3;
}
.passo:nth-child(2)::before { display: none; }
.passo__icona { width: clamp(32px, 4vw, 58px); height: clamp(32px, 4vw, 58px); color: var(--icona); }
.passo__testo { font-size: clamp(.95rem, 1.46vw, 1.31rem); line-height: 1.35; color: var(--testo-2); }

.videophone__foto {
  position: absolute;
  z-index: 2;
  top: clamp(96px, 9.4vw, 136px);
  right: max(var(--gutter), env(safe-area-inset-right, 0px));
  width: clamp(190px, 19.4vw, 280px);
  overflow: hidden;
  border-radius: 10px;
  background: var(--carta-chiara);
  box-shadow: 0 24px 46px rgba(60, 40, 20, .17), 0 3px 9px rgba(60, 40, 20, .08);
}
.videophone__foto img { width: 100%; }

/* ── 03 · al resto pensiamo noi ─────────────────────────────────────────────────────────────────── */
.servizio__griglia {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(24px, 3.6vw, 60px);
  margin-top: clamp(10px, 1.4vw, 22px);
  padding-left: clamp(0px, 1.6vw, 28px);
}
.servizio__elenco { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 1.6vw, 24px); }
.voce { display: grid; grid-template-columns: clamp(42px, 4.3vw, 62px) minmax(0, 1fr); gap: clamp(12px, 1.4vw, 20px); align-items: start; }
.voce__icona { width: clamp(36px, 4vw, 58px); height: clamp(36px, 4vw, 58px); color: var(--icona); margin-top: 2px; }
.voce__titolo { font-size: clamp(1.08rem, 1.8vw, 1.62rem); font-weight: 500; line-height: 1.3; color: var(--testo); }
.voce__testo { margin-top: .25em; font-size: clamp(.95rem, 1.32vw, 1.19rem); line-height: 1.42; color: var(--testo-descr); max-width: 25em; }
.servizio__libretto {
  justify-self: end;
  width: min(100%, clamp(240px, 27vw, 390px));
  padding: 8px;
  background: var(--carta-chiara);
  border-radius: 6px;
  box-shadow: 0 24px 44px rgba(60, 40, 20, .16), 0 3px 8px rgba(60, 40, 20, .07);
  rotate: -3.5deg;
}
.servizio__libretto img { width: 100%; border-radius: 3px; }

/* ── la festa in video ──────────────────────────────────────────────────────────────────────────── */
.festa {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  padding-top: clamp(20px, 2vw, 32px);
}
.festa__titolo {
  font-size: clamp(1.45rem, 2.7vw, 2.45rem);
  font-weight: 350;
  line-height: 1.2;
  color: var(--testo);
  text-align: center;
}
.festa__video {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 460px));
  justify-content: center;
  gap: clamp(16px, 3.8vw, 56px);
  margin-top: clamp(16px, 1.8vw, 26px);
}
.video-box {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #2B2522;
  box-shadow: 0 22px 44px rgba(60, 40, 20, .18), 0 3px 8px rgba(60, 40, 20, .08);
}
.video-box video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.audio-btn {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px 8px 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(252, 246, 240, .92);
  color: var(--testo);
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.1;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 6px 16px rgba(30, 20, 10, .22);
  transition: background-color .18s ease, transform .16s var(--ease-out);
}
.audio-btn:active { transform: scale(.96); }
.audio-btn__icona {
  width: 22px;
  height: 22px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z'/%3E%3Cpath d='M16 9.5l5 5M21 9.5l-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z'/%3E%3Cpath d='M16 9.5l5 5M21 9.5l-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.audio-btn[aria-pressed="true"] .audio-btn__icona {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z'/%3E%3Cpath d='M15.5 9a4 4 0 0 1 0 6M18.5 6.5a7.5 7.5 0 0 1 0 11'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z'/%3E%3Cpath d='M15.5 9a4 4 0 0 1 0 6M18.5 6.5a7.5 7.5 0 0 1 0 11'/%3E%3C/svg%3E");
}
@media (hover: hover) and (pointer: fine) {
  .audio-btn:hover { background: var(--bianco); }
}

/* ── 04 · dove nasce il prossimo ricordo ────────────────────────────────────────────────────────── */
.eventi {
  list-style: none;
  margin: clamp(22px, 2.4vw, 36px) 0 0;
  padding: 0 0 0 clamp(0px, 6.4vw, 108px);
  display: flex;
  flex-wrap: wrap;
}
.evento {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px clamp(16px, 3.2vw, 50px);
  font-size: clamp(.98rem, 1.6vw, 1.44rem);
  color: var(--testo-2);
}
.evento:first-child { padding-left: 0; }
.evento + .evento { border-left: 1px solid var(--linea); }
.evento__icona { width: clamp(28px, 3.35vw, 48px); height: clamp(28px, 3.35vw, 48px); color: var(--icona); }
.evento--primo { color: var(--testo); font-weight: 500; }
.evento--primo::after {
  content: "";
  position: absolute;
  left: calc(clamp(28px, 3.35vw, 48px) + 10px);
  right: clamp(16px, 3.2vw, 50px);
  bottom: -9px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--marrone), rgba(139, 86, 52, .25));
}
.evento--primo:first-child::after { left: calc(clamp(28px, 3.35vw, 48px) + 10px); }

.zone__griglia {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(18px, 2.4vw, 36px);
  padding-left: clamp(0px, 1.6vw, 28px);
}
.zone__frase {
  max-width: 19em;
  font-size: clamp(1.15rem, 1.67vw, 1.5rem);
  line-height: 1.32;
  color: var(--testo);
}
.zone__citta { margin-top: 1em; max-width: 24em; font-size: clamp(.98rem, 1.32vw, 1.19rem); line-height: 1.5; color: var(--testo-descr); }
.mappa { justify-self: end; width: min(100%, clamp(300px, 36vw, 520px)); }
.mappa__disegno { width: 100%; height: auto; overflow: visible; }
.mappa__zona { fill: var(--carta-chiara); stroke: var(--testo-3); stroke-width: 1.3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mappa__lago { fill: var(--carta-scura); stroke: #CDC9C3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.mappa__citta circle { fill: var(--marrone); }
.mappa__citta text { font-family: "Figtree", system-ui, sans-serif; font-size: 15px; font-weight: 500; fill: var(--testo-2); }
.mappa__sede { color: var(--marrone); }

/* ── il vostro giorno, da ricordare ─────────────────────────────────────────────────────────────── */
.contatto {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 3.4vw, 52px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(52px, 5.6vw, 84px) max(var(--gutter), env(safe-area-inset-left, 0px));
  text-align: center;
}
.contatto__titolo {
  font-size: clamp(.9rem, 1.32vw, 1.19rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--testo-2);
}
.contatto__motto {
  margin-top: .3em;
  font-size: clamp(1.9rem, 4.15vw, 3.75rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--testo);
  text-wrap: balance;
}
.contatto__recapiti {
  font-size: clamp(1.1rem, 1.6vw, 1.44rem);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--testo);
}
.contatto__email { white-space: nowrap; }
.contatto__recensioni {
  max-width: 52em;
  margin: clamp(22px, 2.4vw, 34px) auto 0;
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
  line-height: 1.55;
  color: var(--testo-descr);
  text-wrap: balance;
}
.contatto__citazione { font-style: italic; }
.contatto__sotto { margin-top: .55em; font-size: clamp(1rem, 1.6vw, 1.44rem); color: var(--testo-2); }
.contatto__azioni {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px clamp(24px, 3.4vw, 52px);
  margin-top: clamp(22px, 2.4vw, 36px);
}
.contatto__separatore { width: 1px; height: 56px; background: var(--linea); }
.contatto__numero {
  font: inherit;
  color: inherit;
  text-decoration: none;
  padding: 6px 2px;
  border-radius: 6px;
  transition: color .18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .contatto__numero:hover { color: var(--marrone); }
}
.contatto__tondo {
  position: absolute;
  right: max(var(--gutter), env(safe-area-inset-right, 0px));
  bottom: clamp(52px, 5.6vw, 84px);
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--icona);
  user-select: none;
  -webkit-user-select: none;
  transition: color .18s ease, background-color .18s ease, transform .16s var(--ease-out);
}
.contatto__tondo .icona { width: 58px; height: 58px; }
.contatto__tondo:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .contatto__tondo:hover { color: var(--marrone); background: var(--carta-scura); }
}

/* ── piede ──────────────────────────────────────────────────────────────────────────────────────── */
.piede {
  padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
}
.piede__interno { max-width: 1320px; margin: 0 auto; border-top: 1px solid var(--linea); }
.piede__riga {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 2.2vw, 30px) 0 clamp(14px, 1.4vw, 20px);
}
.piede__marchio { justify-self: start; display: block; border-radius: 6px; }
.piede__marchio img { width: clamp(120px, 11.8vw, 170px); }
.piede__nome { font-size: clamp(.98rem, 1.32vw, 1.19rem); color: var(--testo-2); text-align: center; }
.piede__nome strong { font-weight: 600; color: var(--testo); }
.piede__descrizione { display: block; margin-top: .2em; font-size: .88em; color: var(--testo-descr); }
.piede__recapiti a { color: inherit; text-underline-offset: 3px; }
.piede__legali { justify-self: end; font-size: clamp(.98rem, 1.25vw, 1.13rem); color: var(--testo-2); }
.piede__legali a { text-decoration: none; padding: 6px 0; border-radius: 4px; transition: color .18s ease; }
@media (hover: hover) and (pointer: fine) {
  .piede__legali a:hover { color: var(--marrone); text-decoration: underline; text-underline-offset: 3px; }
}
.piede__fondo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 24px;
  padding-bottom: 6px;
  font-size: clamp(.86rem, 1vw, .95rem);
  line-height: 1.5;
  color: var(--testo-descr);
}
.piede__legale:empty { display: none; }
.credit a { color: inherit; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .credit a:hover { color: var(--marrone); }
}

/* ── la barra di WhatsApp, solo da telefono ─────────────────────────────────────────────────────── */
.barra-wa { display: none; }

/* ── pagine semplici (privacy, cookie, 404) ─────────────────────────────────────────────────────── */
.pagina {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(56px, 7vw, 104px) max(var(--gutter), env(safe-area-inset-left, 0px));
}
.pagina h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 350;
  line-height: 1.12;
  color: var(--testo);
  letter-spacing: -.01em;
}
.pagina h2 { margin: 1.8em 0 .5em; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 450; line-height: 1.25; color: var(--testo); }
.pagina h3 { margin: 1.4em 0 .4em; font-size: 1.15rem; font-weight: 500; color: var(--testo); }
.pagina p, .pagina li { font-size: 1.04rem; line-height: 1.65; color: var(--testo-2); }
.pagina p + p { margin-top: .8em; }
.pagina ul, .pagina ol { padding-left: 1.3em; margin: .6em 0; }
.pagina li + li { margin-top: .3em; }
.pagina table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .98rem; }
.pagina th, .pagina td { text-align: left; vertical-align: top; padding: .6em .7em; border-bottom: 1px solid var(--linea); overflow-wrap: anywhere; }
.pagina th { font-weight: 600; color: var(--testo); }
.pagina a { color: var(--marrone); text-underline-offset: 3px; overflow-wrap: anywhere; }
.pagina .aggiornamento { margin-top: .6em; font-size: .95rem; color: var(--testo-descr); }
.pagina__tabella { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pagina--errore { text-align: center; max-width: 720px; min-height: 52vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.pagina--errore p { margin-top: .8em; }
.pagina--errore .pulsante { margin-top: 1.6em; }
.pagina--errore .pagina__link { margin-top: 1em; color: var(--testo-2); }

/* ── tablet ─────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .stile__macchine { padding-right: 0; gap: clamp(32px, 8vw, 90px); }
  .vantaggi { padding-left: 0; }
  .eventi { padding-left: 0; }
  .videophone__griglia { padding-left: 0; }
}

/* ── telefono ───────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  body { font-size: 1.0625rem; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-top: 76px; }

  .testata__frase { display: none; }
  .testata__wa { margin-right: -8px; }

  .hero { min-height: 0; }
  .hero__interno {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding-top: 16px;
    padding-bottom: 0;
  }
  .hero__sfondo { object-position: 64% 50%; }
  .hero__pannello { padding: 24px 22px 26px; border-radius: 16px; }
  .hero__titolo { font-size: clamp(1.85rem, 8.4vw, 2.5rem); }
  .hero__testo { margin: .8em 0 1.3em; }
  .hero__pannello .pulsante { width: 100%; }
  .pulsante { padding-left: 1em; padding-right: 1em; font-size: .97rem; }
  .hero__macchine { position: relative; top: auto; bottom: auto; left: auto; right: auto; height: clamp(300px, 86vw, 420px); margin-top: 8px; }
  .hero__panna { left: 7%; bottom: 5%; height: 90%; }
  .hero__marrone { left: 39%; bottom: 2%; height: 85%; }
  .hero__macchine::before { left: 8%; width: 32%; bottom: calc(5% - 14px); height: 30px; }
  .hero__macchine::after { left: 38%; width: 58%; bottom: calc(2% - 16px); height: 36px; }

  .nastro { display: none; }

  .sezione {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 0;
    padding-top: 52px;
    padding-bottom: 28px;
  }
  .sezione__corpo { display: contents; }
  .sezione__testa { grid-area: testa; }
  .sezione__numero { font-size: clamp(3.4rem, 16vw, 4.4rem); }
  .sezione__titolo { font-size: clamp(1.65rem, 7.4vw, 2.1rem); }

  .polaroid {
    grid-area: polaroid;
    width: 100%;
    max-width: none;
    margin: 26px 0 0;
    justify-self: stretch;
  }

  /* 01 */
  .stile { grid-template-areas: "testa testa" "polaroid polaroid" "macchine macchine" "vantaggi vantaggi"; }
  .stile .polaroid { justify-self: center; width: 60%; margin-top: 30px; }
  .stile__macchine {
    grid-area: macchine;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: end;
    column-gap: clamp(18px, 8vw, 40px);
    margin-top: 34px;
    padding: 0;
  }
  .macchina--panna img { height: clamp(190px, 50vw, 250px); }
  .macchina--marrone img { height: clamp(210px, 56vw, 280px); }
  .macchina figcaption { margin-top: 10px; font-size: .95rem; gap: 7px; }
  .macchina__colore { width: 18px; height: 18px; }
  .vantaggi { grid-area: vantaggi; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; margin-top: 34px; gap: 0; }
  .vantaggio { padding: 16px 0; }
  .vantaggio + .vantaggio { border-left: 0; border-top: 1px solid var(--linea); }

  /* 02 */
  .videophone { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "testa testa" "polaroid foto" "griglia griglia"; }
  .videophone__griglia { grid-area: griglia; margin-top: 30px; padding: 0; }
  .videophone__griglia { max-width: none; }
  .videophone__foto {
    grid-area: foto;
    position: relative;
    top: auto;
    right: auto;
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: none;
    margin: 26px 0 0;
  }
  .passi { max-width: none; }

  /* 03 */
  .servizio { grid-template-areas: "testa testa" "elenco elenco" "polaroid libretto"; }
  .servizio__griglia { display: contents; }
  .servizio__elenco { grid-area: elenco; margin-top: 26px; }
  .servizio__libretto { grid-area: libretto; align-self: center; justify-self: stretch; width: 100%; margin-top: 26px; }

  /* la festa in video */
  .festa { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .festa__titolo { max-width: 15em; }
  .pagina table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: .92rem; }
  .pagina th, .pagina td { padding: .55em .5em; overflow-wrap: normal; min-width: 7.5em; }
  .pagina td:nth-child(3), .pagina th:nth-child(3) { min-width: 13em; }
  .festa__video {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    padding: 4px var(--gutter) 20px;
    margin: 18px calc(-1 * var(--gutter)) 0;
    width: calc(100% + 2 * var(--gutter));
    scrollbar-width: none;
  }
  .festa__video::-webkit-scrollbar { display: none; }
  .video-box { flex: 0 0 82%; scroll-snap-align: start; }
  /* nella fila che scorre di lato i riquadri si vedono subito: entra la fila intera, non un riquadro alla volta */
  html.js .festa__video .reveal { opacity: 1; translate: none; }

  /* 04 */
  .zone { grid-template-areas: "testa testa" "eventi eventi" "polaroid testi" "mappa mappa"; }
  .eventi {
    grid-area: eventi;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
  }
  .evento {
    flex-direction: column;
    gap: 6px;
    padding: 4px 6px 12px;
    text-align: center;
    font-size: .95rem;
    line-height: 1.25;
  }
  .evento:first-child { padding-left: 6px; }
  .evento--primo::after,
  .evento--primo:first-child::after { left: 22%; right: 22%; bottom: 0; }
  .zone__griglia { display: contents; }
  .zone__testi { grid-area: testi; align-self: center; padding-top: 24px; }
  .zone__frase { font-size: 1.22rem; }
  .zone__citta { font-size: .95rem; }
  .mappa { grid-area: mappa; justify-self: center; width: 100%; margin-top: 18px; }

  .contatto { padding-top: 38px; padding-bottom: 40px; }
  .contatto__motto { font-size: clamp(1.55rem, 6.9vw, 2.05rem); }
  .contatto__sotto { margin-top: .5em; font-size: .97rem; line-height: 1.45; }
  .contatto__recapiti { font-size: .95rem; line-height: 1.45; }
  .contatto__recensioni { margin-top: 16px; font-size: .88rem; line-height: 1.45; }
  .piede__riga { gap: 6px; padding: 16px 0 8px; }
  .piede__marchio img { width: 112px; }
  .piede__descrizione { font-size: .84em; line-height: 1.4; }
  .piede__fondo { gap: 2px; font-size: .8rem; line-height: 1.4; }
  .piede__recapiti { font-size: .78rem; }
  .contatto__azioni { flex-direction: column; gap: 10px; margin-top: 18px; }
  .contatto__azioni .pulsante { width: 100%; max-width: 380px; }
  .contatto__separatore { display: none; }
  .contatto__tondo { display: none; }

  .piede__riga { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 12px; }
  .piede__marchio, .piede__legali { justify-self: center; }
  .piede__fondo { flex-direction: column; align-items: center; text-align: center; }

  .barra-wa {
    display: block;
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(249, 243, 236, .95);
    box-shadow: 0 -10px 26px rgba(60, 40, 20, .09);
    transition: transform .32s var(--ease-out);
  }
  .barra-wa.nascosta { transform: translateY(110%); transition-duration: .22s; }
  .barra-wa__pulsante { width: 100%; }
}

@media (max-width: 380px) {
  .sezione__testa { gap: 10px; }
  .evento { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pulsante, .testata__wa, .audio-btn, .contatto__tondo, .barra-wa { transition-property: background-color, border-color, color, box-shadow, opacity; }
}

/* ── step 6: i pezzi che il copy ha portato dentro la forma del design ─────────────────────────────── */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__testo-riga { display: block; margin-top: .45em; }
.festa__testo {
  max-width: 46em;
  margin-top: .7em;
  font-size: clamp(1rem, 1.32vw, 1.19rem);
  line-height: 1.5;
  color: var(--testo-descr);
  text-align: center;
  text-wrap: balance;
}
.video-box--foto img { width: 100%; height: 100%; object-fit: cover; }
.video-box--intero { background: #FFFFFF; }
.video-box--intero video { object-fit: contain; }

/* ── tablet, 768-1023 px: la hero va in colonna, come da telefono, così le cabine restano dentro ─────── */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero { min-height: 0; }
  .hero__interno { grid-template-columns: minmax(0, 1fr); align-items: start; padding-top: 28px; padding-bottom: 0; }
  .hero__pannello { max-width: 640px; }
  .hero__macchine { position: relative; top: auto; bottom: auto; left: auto; right: auto; height: clamp(420px, 56vw, 540px); margin-top: 8px; }
  .hero__panna { left: 19%; bottom: 4%; height: 90%; }
  .hero__marrone { left: 43%; bottom: 2%; height: 86%; }
  .hero__macchine::before { left: 20%; width: 24%; bottom: calc(4% - 16px); height: 36px; }
  .hero__macchine::after { left: 43%; width: 40%; bottom: calc(2% - 18px); height: 42px; }
}

/* ════════════════════════════════════════════════════════════════════════════════════════════════
   IL MOVIMENTO (step 5-bis) · regole di Emil Kowalski, cosa si muove dalle regole THK
   Entrate e uscite --ease-out, spostamenti lenti --ease-in-out, hover «ease» sotto i 300 ms;
   solo transform (translate, scale, rotate) e opacity; clip-path solo per le scritte e le linee.
   ════════════════════════════════════════════════════════════════════════════════════════════════ */
@keyframes entra { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: 0 0; } }
@keyframes entra-pannello { from { opacity: 0; scale: .97; } to { opacity: 1; scale: 1; } }
@keyframes entra-macchina { from { opacity: 0; translate: 0 64px; } to { opacity: 1; translate: 0 0; } }
@keyframes dissolvi { from { opacity: 0; } to { opacity: 1; } }
@keyframes respiro { from { scale: 1; } to { scale: 1.07; } }
@keyframes battito { 0%, 62%, 100% { transform: scale(1); } 20% { transform: scale(1.24); } 38% { transform: scale(1.05); } }

/* la hero entra al caricamento, senza aspettare il JavaScript; lo sfondo non parte mai da trasparente */
.hero__sfondo { transform-origin: 62% 60%; animation: respiro 24s var(--ease-in-out) infinite alternate; will-change: scale; }
.hero__pannello { animation: entra-pannello .8s var(--ease-out) both; }
.hero__occhiello { animation: entra .8s var(--ease-out) .12s both; }
.hero__titolo { animation: entra .9s var(--ease-out) .2s both; }
.hero__testo { animation: entra .9s var(--ease-out) .34s both; }
.hero__pannello .pulsante { animation: entra .9s var(--ease-out) .46s both; }
.hero__panna { animation: entra-macchina 1.1s var(--ease-out) .3s both; }
.hero__marrone { animation: entra-macchina 1.1s var(--ease-out) .44s both; }

/* le sezioni compaiono scorrendo (main.js: .reveal → .is-visible, una volta sola) */
html.js .reveal { opacity: 0; translate: 0 30px; transition: opacity .7s var(--ease-out), translate .85s var(--ease-out); }
html.js .reveal.is-visible { opacity: 1; translate: 0 0; }
html.js .reveal--scrittura { translate: none; clip-path: inset(-10% 100% -10% 0); transition: opacity .5s ease, clip-path 1.3s var(--ease-out); }
html.js .reveal--scrittura.is-visible { clip-path: inset(-10% 0 -10% 0); }
html.js .polaroid.reveal,
html.js .servizio__libretto.reveal { transition: opacity .7s var(--ease-out), translate .85s var(--ease-out), scale .28s ease, rotate .28s ease, box-shadow .28s ease; }

/* la linea dei passi si disegna dal centro, poi arriva l'onda */
html.js .passi::before { clip-path: inset(0 50% 0 50%); transition: clip-path 1s var(--ease-out) .15s; }
html.js .passi.is-visible::before { clip-path: inset(0 0 0 0); }
html.js .passi::after { opacity: 0; translate: 0 8px; transition: opacity .6s var(--ease-out) .6s, translate .7s var(--ease-out) .6s; }
html.js .passi.is-visible::after { opacity: 1; translate: 0 0; }

/* «Matrimoni»: la sottolineatura si stende */
html.js .evento--primo::after { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease-out) .4s; }
html.js .evento--primo.is-visible::after { clip-path: inset(0 0 0 0); }

/* la mappa: i punti delle città uno dopo l'altro, poi il cuore della sede che batte piano */
html.js .mappa__citta circle { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
html.js .mappa__citta text { opacity: 0; transition: opacity .6s ease; }
html.js .mappa.is-visible .mappa__citta circle, html.js .mappa.is-visible .mappa__citta text { opacity: 1; transform: none; }
html.js .mappa__citta circle:nth-of-type(1), html.js .mappa__citta text:nth-of-type(1) { transition-delay: .35s; }
html.js .mappa__citta circle:nth-of-type(2), html.js .mappa__citta text:nth-of-type(2) { transition-delay: .45s; }
html.js .mappa__citta circle:nth-of-type(3), html.js .mappa__citta text:nth-of-type(3) { transition-delay: .55s; }
html.js .mappa__citta circle:nth-of-type(4), html.js .mappa__citta text:nth-of-type(4) { transition-delay: .65s; }
.mappa__sede { transform-box: fill-box; transform-origin: center; }
html.js .mappa.is-visible .mappa__sede { animation: battito 2.6s var(--ease-in-out) 1.3s infinite; }

/* col mouse: le foto si sollevano e si raddrizzano, le cabine salgono, le icone prendono il marrone */
.polaroid, .servizio__libretto { transition: scale .28s ease, rotate .28s ease, box-shadow .28s ease; }
.macchina img { transition: translate .28s ease; }
.video-box video, .video-box--foto img, .videophone__foto img { transition: scale .28s ease; }
.vantaggio__icona, .voce__icona, .passo__icona, .evento__icona { transition: color .2s ease, translate .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .vantaggio:hover .vantaggio__icona, .voce:hover .voce__icona, .passo:hover .passo__icona, .evento:hover .evento__icona { color: var(--marrone); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .polaroid:hover { scale: 1.035; rotate: 1deg; box-shadow: 0 30px 58px rgba(60, 40, 20, .22), 0 4px 12px rgba(60, 40, 20, .1); }
  .servizio__libretto:hover { scale: 1.03; rotate: -1deg; box-shadow: 0 30px 56px rgba(60, 40, 20, .2), 0 4px 10px rgba(60, 40, 20, .09); }
  .macchina:hover img { translate: 0 -8px; }
  .video-box:hover video, .video-box--foto:hover img, .videophone__foto:hover img { scale: 1.04; }
  .vantaggio:hover .vantaggio__icona, .voce:hover .voce__icona, .passo:hover .passo__icona, .evento:hover .evento__icona { translate: 0 -3px; }
}

/* meno movimento, non zero: restano le dissolvenze, spariscono gli spostamenti */
@media (prefers-reduced-motion: reduce) {
  .hero__sfondo { animation: none; }
  .hero__pannello, .hero__occhiello, .hero__titolo, .hero__testo, .hero__pannello .pulsante, .hero__panna, .hero__marrone { animation-name: dissolvi; animation-duration: .6s; }
  html.js .reveal { translate: none; transition: opacity .5s ease; }
  html.js .reveal--scrittura { clip-path: none; }
  html.js .passi::before, html.js .evento--primo::after { clip-path: none; transition: none; }
  html.js .passi::after { translate: none; }
  html.js .mappa__citta circle { transform: none; }
  html.js .mappa.is-visible .mappa__sede { animation: none; }
}
