/* HopHola · stile del sito vetrina. Nessuna risorsa esterna. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-800-normal.woff2") format("woff2"); }

:root {
  --coral: #2C74F8;
  --coral-dark: #1C5FE0;
  --violet: #835CF5;
  --teal: #00A398;
  --ink: #1D1D1F;
  --muted: #86868B;
  --light: #F5F5F7;
  --paper: #FBFBFD;
  --black: #000000;
  --line: #D2D2D7;
  --grad: linear-gradient(90deg, #00BAAF 0%, #2C74F8 55%, #835CF5 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-dark); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
p { margin: 0 0 1em; }

main { overflow-x: clip; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 32px); }
.center { text-align: center; }
.small { font-size: .85rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* Barra in alto */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(22, 22, 23, .8);
  backdrop-filter: saturate(1.8) blur(18px);
  -webkit-backdrop-filter: saturate(1.8) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.topbar.is-scrolled { border-bottom-color: rgba(255, 255, 255, .08); }
.topbar__inner { display: flex; align-items: center; gap: 28px; height: 52px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #F5F5F7; font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.brand--light { color: #fff; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: #F5F5F7; opacity: .8; text-decoration: none; font-size: .82rem; }
.nav a:hover { opacity: 1; }

/* Pulsanti */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--coral); color: #fff;
  font: inherit; font-weight: 600; text-decoration: none;
  padding: 13px 26px; border-radius: 999px;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--coral-dark); }
.btn:active { transform: scale(.98); }
.btn--small { padding: 5px 14px; font-size: .8rem; }

.badges { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.badges--center { justify-content: center; }
.badge { display: inline-block; border-radius: 12px; transition: transform .25s var(--ease); padding: 0; border: 0; background: none; font: inherit; cursor: pointer; line-height: 0; }
.badge:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.soon { position: absolute; top: calc(100% + 10px); left: 50%; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, -6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.soon:empty { display: none; }
.soon.show { opacity: 1; transform: translate(-50%, 0); }
.cta .soon { background: #fff; color: var(--ink); }
.badge:hover { transform: scale(1.04); }
.badge img { width: auto; height: 54px; }

/* Animazione di comparsa (attiva solo con JavaScript) */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* HERO */
.hero { padding-top: 120px; text-align: center; background: var(--paper); }
.hero__inner { display: grid; justify-items: center; gap: 22px; }
.hero__kicker { margin: 0; font-weight: 600; font-size: 1.25rem; color: var(--coral); letter-spacing: -.01em; }
.hero__title { font-size: clamp(3rem, 10vw, 7.5rem); letter-spacing: -.05em; line-height: .98; }
.hero__lead { max-width: 30em; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--muted); font-weight: 500; margin: 0; line-height: 1.35; }
.hero__stage { position: relative; z-index: 2; margin-top: 64px; display: flex; justify-content: center; will-change: transform; }
.js .hero__inner .reveal:nth-child(2) { transition-delay: .1s; }
.js .hero__inner .reveal:nth-child(3) { transition-delay: .2s; }
.js .hero__inner .reveal:nth-child(4) { transition-delay: .3s; }
.js .phone--hero.reveal { transform: translateY(120px); transition-duration: 1.4s; transition-delay: .3s; }
.js .phone--hero.reveal.in { transform: none; }

/* Telefono e schermate finte dell'app */
.phone {
  position: relative; width: 300px; aspect-ratio: 300 / 620;
  border-radius: 54px; padding: 12px; background: #111;
  box-shadow: 0 0 0 2px #3A3A3C, 0 40px 80px rgba(0, 0, 0, .25);
}
.phone::before { content: ""; position: absolute; top: 24px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 3; }
.phone--hero { width: 320px; margin-bottom: -170px; }
.screen {
  position: relative; height: 100%; border-radius: 42px; overflow: hidden;
  background: #fff; padding: 64px 18px 18px; font-size: 13px; color: var(--ink);
  display: flex; flex-direction: column; gap: 12px;
}
.app-bar { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.app-bar i { font-style: normal; color: var(--muted); }
.app-btn { margin-top: auto; background: var(--coral); color: #fff; text-align: center; font-weight: 700; padding: 13px; border-radius: 14px; }
.map { border-radius: 18px; overflow: hidden; height: 170px; flex: none; }
.map svg { width: 100%; height: 100%; display: block; }
.legs, .trip { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.legs li, .trip__row { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 8px; padding: 10px 12px; background: var(--light); border-radius: 12px; }
.legs b { font-weight: 600; }
.legs em, .trip em, .match em { font-style: normal; color: var(--muted); font-size: 12px; }
.leg-dot { width: 12px; height: 12px; border-radius: 50%; border: 3px dotted var(--muted); }
.leg-dot--car { border: 0; background: var(--coral); }
.trip { gap: 8px; }
.trip__row { grid-template-columns: 18px 1fr; padding: 16px 14px; }
.trip__row div { display: grid; }
.trip__row b { font-size: 16px; }
.trip__row--car { background: #E8F0FF; }
.field { background: var(--light); border-radius: 12px; padding: 10px 12px; font-weight: 600; display: grid; }
.field small { font-weight: 400; color: var(--muted); font-size: 11px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--light); font-weight: 600; font-size: 12px; }
.chip--on { background: var(--ink); color: #fff; }
.match { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: var(--light); }
.match div { display: grid; }
.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; }
.av--a { background: var(--coral); } .av--b { background: var(--teal); } .av--c { background: #5E5CE6; }
.aff { font-weight: 800; color: var(--teal); font-size: 14px; }
.hint { margin: 4px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.e2e { margin: 0; text-align: center; font-size: 11px; color: var(--muted); }
.bubble { max-width: 80%; padding: 9px 13px; border-radius: 18px; line-height: 1.35; }
.bubble--in { background: var(--light); align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble--out { background: var(--coral); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.menu { margin-top: auto; display: flex; gap: 8px; }
.menu span { flex: 1; text-align: center; padding: 10px; border-radius: 12px; background: var(--light); font-weight: 600; }
.menu span:last-child { color: #D70015; }

/* MANIFESTO */
.manifesto { background: var(--black); color: #fff; padding: clamp(220px, 30vw, 300px) 0 clamp(120px, 18vw, 200px); }
.scrub { font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; margin: 0; }
.scrub .w { opacity: .18; transition: opacity .25s linear; }
.scrub .w.on { opacity: 1; }

/* Sezioni */
.section { padding: clamp(96px, 14vw, 160px) 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--black); color: #fff; }
.headline { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -.045em; }
.headline--center { text-align: center; }
.body-lg { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--muted); font-weight: 500; line-height: 1.4; max-width: 34em; margin: 28px 0 0; }
.body-lg.center { margin-inline: auto; }
.section--dark .body-lg { color: #A1A1A6; }

/* Due ruoli */
.roles { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; margin-top: 64px; align-items: center; }
.roles__phone .phone { width: 260px; }
.js .roles .reveal:nth-child(3) { transition-delay: .3s; }
.role { background: #fff; border-radius: 30px; padding: clamp(32px, 5vw, 56px); min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }
.role h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.role p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.role__tag { margin: 0 0 auto !important; font-weight: 700; color: var(--coral) !important; font-size: .95rem !important; }
.role--dark { background: var(--ink); color: #fff; }
.role--dark p { color: #A1A1A6; }
.js .roles .reveal:nth-child(2) { transition-delay: .15s; }

/* Racconto con telefono fisso */
.story { padding: clamp(96px, 14vw, 160px) 0 40px; background: var(--paper); }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.story__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; }
.story__steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s var(--ease); }
.step.is-active { opacity: 1; }
.no-js .step { opacity: 1; min-height: 0; padding: 48px 0; }
.step__n { font-weight: 700; color: var(--coral); margin-bottom: 14px; }
.step h3 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
.step p { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--muted); font-weight: 500; max-width: 22em; margin: 0; line-height: 1.4; }

.layer { position: absolute; inset: 0; padding: 64px 18px 18px; display: flex; flex-direction: column; gap: 12px; background: #fff; opacity: 0; transform: scale(.96) translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.phone[data-active="1"] [data-screen="1"],
.phone[data-active="2"] [data-screen="2"],
.phone[data-active="3"] [data-screen="3"],
.phone[data-active="4"] [data-screen="4"],
.phone[data-active="5"] [data-screen="5"],
.phone[data-active="6"] [data-screen="6"] { opacity: 1; transform: none; }
.layer--shot { padding: 0; background: #000; }
.layer--shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Ogni metro, chiaro */
.journey { background: var(--black); color: #fff; padding: clamp(96px, 14vw, 160px) 0; --p: 1; }
.js .journey { --p: 0; }
.journey__bar { display: flex; gap: 6px; height: 14px; margin: 72px 0 40px; }
.seg { display: block; height: 100%; border-radius: 999px; transform-origin: left; }
.seg--walk { flex: 1; background: repeating-linear-gradient(90deg, #6E6E73 0 6px, transparent 6px 12px); transform: scaleX(clamp(0, calc(var(--p) * 4), 1)); }
.seg--car { flex: 4; background: var(--grad); transform: scaleX(clamp(0, calc((var(--p) - .25) * 2), 1)); }
.seg--end { transform: scaleX(clamp(0, calc((var(--p) - .75) * 4), 1)); }
.journey__stats { display: grid; grid-template-columns: 1fr 4fr 1fr; gap: 6px; }
.stat b { display: block; font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat span { display: block; color: #A1A1A6; margin-top: 8px; max-width: 12em; }
.stat--car { text-align: center; }
.stat--car b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat--car span { margin-inline: auto; }
.stat:last-child { text-align: right; }
.stat:last-child span { margin-left: auto; }
.journey__note { margin: 56px auto 0; text-align: center; color: #6E6E73; font-size: .95rem; max-width: 34em; }

/* Più tratte */
.routes { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.route-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.route { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 22px; padding: 20px 24px; box-shadow: 0 2px 12px rgba(0, 0, 0, .04); }
.route div { display: grid; }
.route b { font-size: 1.15rem; letter-spacing: -.01em; }
.route em { font-style: normal; color: var(--muted); }
.route__ico { width: 48px; height: 48px; border-radius: 14px; background: #E8F0FF; display: grid; place-items: center; font-size: 1.4rem; flex: none; }
.js .route.reveal { transform: translateX(60px); }
.js .route.reveal.in { transform: none; }
.js .route-list .reveal:nth-child(2) { transition-delay: .1s; }
.js .route-list .reveal:nth-child(3) { transition-delay: .2s; }
.js .route-list .reveal:nth-child(4) { transition-delay: .3s; }

/* Vantaggi */
.gains { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.gain { background: #1C1C1E; border-radius: 30px; padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; }
.gain p { margin: 0; color: #A1A1A6; font-size: 1.1rem; }
.gain .gain__tag { font-weight: 700; color: #F5F5F7; font-size: 1rem; margin-bottom: 28px; }
.gain .gain__big { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: #F5F5F7; margin-bottom: 12px; }
.gain .gain__unit { margin-bottom: 28px; }
.gain .gain__big + p:not(.gain__unit) { margin-top: 16px; }
.js .gains .reveal:nth-child(2) { transition-delay: .15s; }

/* Sicurezza */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.trust__item { background: #fff; border-radius: 30px; padding: 40px 32px; text-align: center; }
.trust__ico { font-size: 2.4rem; display: block; margin-bottom: 18px; }
.trust__item h3 { font-size: 1.5rem; margin-bottom: 10px; }
.trust__item p { color: var(--muted); margin: 0; }
.js .trust .reveal:nth-child(2) { transition-delay: .1s; }
.js .trust .reveal:nth-child(3) { transition-delay: .2s; }
.js .trust .reveal:nth-child(4) { transition-delay: .3s; }
.js .trust .reveal:nth-child(5) { transition-delay: .4s; }
.js .trust .reveal:nth-child(6) { transition-delay: .5s; }

/* CTA */
.cta { background: linear-gradient(135deg, #00BAAF 0%, #2C74F8 50%, #835CF5 100%); color: #fff; padding: clamp(120px, 16vw, 200px) 0; }
.cta__title { font-size: clamp(2.4rem, 7vw, 5.2rem); letter-spacing: -.045em; margin-bottom: 48px; }
.cta .grad { background: none; color: #fff; opacity: .75; }
.cta__small { color: rgba(255, 255, 255, .8); margin: 20px 0 0; }

/* FAQ */
.faq { margin-top: 56px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 48px 26px 0; font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; font-weight: 400; color: var(--coral); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 26px; margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 40em; }

/* Contatti */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact .body-lg { margin-bottom: 20px; }
.mailcard { background: var(--light); border-radius: 30px; padding: clamp(28px, 5vw, 48px); display: grid; gap: 14px; justify-items: start; }
.mailcard__k { margin: 0; font-weight: 700; color: var(--coral); }
.mailcard__addr { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.mailcard__addr:hover { color: var(--coral); }
.mailcard .btn { margin-top: 8px; }
.mailcard__note { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }

/* Footer */
.footer { background: var(--light); color: var(--muted); padding: 36px 0; border-top: 1px solid var(--line); font-size: .85rem; }
.footer__inner { display: grid; gap: 8px; justify-items: center; text-align: center; }
.footer .brand { color: var(--ink); }
.footer a { color: var(--ink); }
.footer p { margin: 0; }

/* Pagine semplici (privacy, esito modulo) */
.page { padding: clamp(100px, 12vw, 140px) 0 80px; }
.page h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 16px; }
.page h2 { font-size: 1.35rem; margin: 1.8em 0 .5em; letter-spacing: -.02em; }
.notice { background: var(--light); border-radius: 30px; padding: clamp(28px, 5vw, 56px); text-align: center; }
.notice img { margin: 0 auto 16px; }
.notice h1 { font-size: 2.2rem; }

/* Tablet */
@media (max-width: 960px) {
  .nav { display: none; }
  .topbar__inner { justify-content: space-between; }
  .roles, .gains, .routes { grid-template-columns: 1fr; }
  .roles__phone { order: -1; justify-self: center; }
  .trust { grid-template-columns: 1fr 1fr; }
  .role { min-height: 260px; }
}

/* Mobile: il telefono resta in alto e i passi scorrono sotto */
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .hero { padding-top: 96px; }
  .phone--hero { width: 260px; margin-bottom: -140px; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .story__grid { grid-template-columns: 1fr; gap: 0; }
  .story__sticky { top: 52px; height: auto; padding: 16px 0; z-index: 2; background: linear-gradient(var(--paper) 85%, rgba(251, 251, 253, 0)); }
  .story__sticky .phone { width: 180px; border-radius: 34px; padding: 8px; }
  .story__sticky .phone::before { top: 15px; width: 56px; height: 16px; }
  .story__sticky .screen { border-radius: 27px; }
  .step { min-height: 70vh; justify-content: flex-start; padding-top: 24px; text-align: center; align-items: center; }
  .step p { margin-inline: auto; }
  .journey__stats { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .stat, .stat:last-child, .stat--car { text-align: center; }
  .stat span, .stat:last-child span { margin-inline: auto; }
}
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .badge img { width: auto; height: 50px; }
  .badges { justify-content: center; }
  .headline { font-size: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .layer, .step { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Schermata reale dell'app nel telefono */
.phone--shot::before { display: none; }
.screen--shot { padding: 0; background: #2C74F8; }
.screen--video { background: #1C1C1E; }
.screen--shot img, .screen--shot video { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.trust__note { text-align: center; color: var(--muted); margin: 40px auto 0; max-width: 36em; }

/* Pulsante lingua */
.lang {
  color: #F5F5F7; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 4px 10px; opacity: .9;
}
.lang:hover { opacity: 1; border-color: #fff; }
.lang--push { margin-left: auto; }
@media (max-width: 960px) { .topbar__inner { gap: 12px; } .topbar__inner .lang { margin-left: auto; } }
.gains__lead { text-align: center; margin: 28px auto 0; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.02em; color: #F5F5F7; }
.gain .gain__big--text { font-size: clamp(2rem, 4vw, 3rem); }

/* Privacy by design: il guidatore sceglie cosa mostrare */
.privacy { background: var(--paper); }
.privacy__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.privacy__kicker { margin: 0 0 18px; font-weight: 700; color: var(--coral); }
.privacy__points { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 18px; }
.privacy__points li { display: grid; gap: 2px; padding-left: 18px; border-left: 3px solid var(--line); }
.privacy__points b { font-size: 1.1rem; letter-spacing: -.01em; }
.privacy__points span { color: var(--muted); }
.js .privacy__points .reveal:nth-child(2) { transition-delay: .1s; }
.js .privacy__points .reveal:nth-child(3) { transition-delay: .2s; }

.share { background: #fff; border-radius: 30px; padding: clamp(22px, 3.5vw, 36px); box-shadow: 0 30px 70px rgba(29, 29, 31, .10); display: grid; gap: 16px; }
.share__title { margin: 0; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.share__map { width: 100%; height: auto; display: block; }
.share__ground { fill: #EEF2F0; }
.share__streets { stroke: #fff; stroke-width: 9; fill: none; }
.share__seg { fill: none; stroke-linecap: round; stroke-width: 7; transition: opacity .6s var(--ease), stroke .6s; }
.share__seg--start, .share__seg--end { stroke: #8A94A6; stroke-dasharray: 2 10; stroke-width: 5; }
.share__seg--common { stroke: var(--coral); stroke-width: 8; }
.share__pin circle:first-child { fill: var(--ink); }
.share__pin--end circle:first-child { fill: var(--teal); }
.share__dot { fill: #fff; }
.share__pin { transition: opacity .6s var(--ease), transform .6s var(--ease); transform-box: fill-box; transform-origin: center; }
.share__meet circle { fill: #fff; stroke: var(--coral); stroke-width: 4; }
[data-start="off"] .share__seg--start, [data-end="off"] .share__seg--end { opacity: 0; }
[data-start="off"] .share__pin--start, [data-end="off"] .share__pin--end { opacity: 0; transform: scale(.4); }

.share__caption { margin: 0; font-weight: 600; font-size: .95rem; position: relative; min-height: 1.5em; }
.share__cap { position: absolute; left: 0; top: 0; transition: opacity .4s; }
.share__cap--some { opacity: 0; color: var(--coral-dark); }
.share:is([data-start="off"], [data-end="off"]) .share__cap--all { opacity: 0; }
.share:is([data-start="off"], [data-end="off"]) .share__cap--some { opacity: 1; }

.share__freq { display: flex; gap: 6px; transition: filter .5s, opacity .5s; }
.share__freq span { flex: 1; max-width: 36px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: var(--light); color: var(--muted); }
.share__freq span.on { background: var(--coral); color: #fff; }
[data-freq="off"] .share__freq { filter: blur(6px); opacity: .45; }

.share__toggles { display: grid; gap: 2px; background: var(--light); border-radius: 16px; padding: 4px 14px; }
.switch { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; font-weight: 600; font-size: .98rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.switch:last-child { border-bottom: 0; }
.switch:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 8px; }
.switch i { flex: none; width: 46px; height: 28px; border-radius: 999px; background: #C7C7CC; position: relative; transition: background .3s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.switch[aria-checked="true"] i { background: var(--teal); }
.switch[aria-checked="true"] i::after { transform: translateX(18px); }
.share__hint { margin: 0; color: var(--muted); font-size: .85rem; text-align: center; }
.no-js .share__hint { display: none; }

@media (max-width: 960px) {
  .privacy__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Passo 6: interessi in comune */
.chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--light); color: var(--muted); font-weight: 600; font-size: .9rem; transition: background .5s, color .5s, box-shadow .5s; }
.step.is-active .chip--on { background: var(--coral); color: #fff; box-shadow: 0 8px 22px rgba(44, 116, 248, .28); }
.step.is-active .chip--on:nth-child(3) { transition-delay: .3s; }
.step.is-active .chip--on:nth-child(5) { transition-delay: .6s; }
@media (max-width: 760px) { .chips { justify-content: center; } }
.page ul { padding-left: 1.2em; margin: .4em 0 1em; }
.page li { margin-bottom: .5em; }
