/* Poppins ospitato sul sito: nessuna richiesta a Google (GDPR). */
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/poppins-800.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/poppins-900.woff2") format("woff2"); }
:root {
  --lime: #C6F31A;
  --lime-dark: #9CC40A;
  --black: #0B0B0B;
  --ink: #1A1A1A;
  --road: #2B2B2B;
  --bg: #F4F5F0;
  --gray: #8A8D85;
  --gray-light: #E3E5DE;
  --white: #fff;
  --r: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Poppins, system-ui, sans-serif; background: var(--black); color: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.lime { color: var(--lime); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.eyebrow { color: var(--lime); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.lead { font-size: 1.12rem; color: #c9cbc4; max-width: 34em; margin-top: 22px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px max(16px, calc((100% - 1160px) / 2)); background: rgba(11,11,11,.82); backdrop-filter: blur(14px); border-bottom: 1px solid #1f1f1f; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.01em; }
.brand img { border-radius: 12px; }
.links { display: flex; gap: 28px; margin-left: auto; font-weight: 500; font-size: .95rem; color: #cfd1ca; }
.links a:hover { color: var(--lime); }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--black); }
.btn-lime:hover { background: #d6ff3a; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

/* HERO */
.hero { position: relative; overflow: hidden; padding: 72px 0 120px;
  background:
    radial-gradient(circle at 78% 30%, rgba(198,243,26,.16), transparent 42%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--black); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 18px; border-radius: 16px; background: var(--lime); color: var(--black); font-weight: 800; font-size: 1.15rem; line-height: 1.1; transition: transform .15s; }
.store:hover { transform: translateY(-2px); }
.store small { display: block; font-size: .68rem; font-weight: 500; }
.store svg { width: 28px; height: 28px; fill: currentColor; }
.store-off { background: transparent; color: #9a9c95; border: 1.5px solid #333; }
.store-lg { padding: 16px 30px 16px 24px; font-size: 1.35rem; margin-top: 30px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: #b5b7b0; font-size: .95rem; }
.hero-points li::before { content: "●"; color: var(--lime); margin-right: 8px; font-size: .7em; vertical-align: middle; }
.hero-points b { color: var(--white); }
.hero-visual { position: relative; justify-self: center; }
.hero-visual .phone { transform: rotate(-4deg); }
.hero-card { position: absolute; width: 46%; right: -18%; bottom: -6%; transform: rotate(8deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); animation: float 5s ease-in-out infinite; }
.ball { position: absolute; width: 92px; height: 92px; left: -40px; top: 8%; border-radius: 50%; background: var(--lime) url("img/ball.svg") center / 70% no-repeat; box-shadow: 0 20px 40px rgba(198,243,26,.25); animation: float 4s ease-in-out infinite reverse; }
@keyframes float { 50% { translate: 0 -12px; } }
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: var(--road); }
.road::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; translate: 0 -50%; background: repeating-linear-gradient(90deg, var(--lime) 0 48px, transparent 48px 96px); }

/* PHONE */
.phone { width: min(320px, 78vw); aspect-ratio: 390 / 844; padding: 10px; border-radius: 46px; background: #050505; border: 2px solid #2c2c2c; box-shadow: 0 0 0 1px #000, 0 40px 80px rgba(0,0,0,.55), inset 0 0 0 2px #151515; position: relative; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px; }

/* STRIP */
.strip { background: var(--lime); color: var(--black); padding: 34px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip b { display: block; font-size: 2.1rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.strip span { font-size: .9rem; font-weight: 500; }

/* STEPS */
.steps { background: var(--bg); color: var(--black); padding: 110px 0 60px; }
.steps h2 { margin-bottom: 40px; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 60px 0; border-top: 1px solid var(--gray-light); }
.step:first-of-type { border-top: 0; }
.step .phone, .step .card-stage { justify-self: center; }
.step.flip .phone, .step.flip .card-stage { order: 2; }
.step-n { display: inline-block; background: var(--black); color: var(--lime); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.step .tag { font-weight: 700; color: var(--ink); font-size: 1.15rem; margin: 10px 0 14px; }
.step p { color: #4a4c46; max-width: 30em; font-size: 1.05rem; }
.step em { font-style: normal; background: var(--lime); padding: 0 6px; border-radius: 6px; color: var(--black); font-weight: 700; }
.teams { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-weight: 800; }
.teams img { border-radius: 14px; background: var(--white); padding: 4px; box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.card-stage { width: min(360px, 80vw); aspect-ratio: 1; border-radius: 40px; background: var(--black); display: grid; place-items: center; padding: 30px; background-image: radial-gradient(circle, rgba(198,243,26,.22), transparent 60%); }
.card-stage img { width: 74%; transform: rotate(-4deg); filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); }

/* CARTA */
.carta { padding: 110px 0; background: radial-gradient(circle at 80% 50%, rgba(198,243,26,.14), transparent 45%), var(--black); }
.carta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.carta-visual img { width: min(340px, 72vw); margin-inline: auto; transform: rotate(5deg); filter: drop-shadow(0 30px 50px rgba(0,0,0,.7)); }
.checks { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.checks li { padding-left: 36px; position: relative; color: #dcded7; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--black); font-weight: 900; font-size: .8rem; display: grid; place-items: center; }

/* VALORI */
.valori { background: var(--bg); color: var(--black); padding: 110px 0; }
.val-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.val { background: var(--white); border-radius: var(--r); padding: 32px 28px; box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.val .ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--black); font-size: 1.6rem; margin-bottom: 20px; }
.val h3 { font-size: 1.3rem; margin-bottom: 10px; }
.val p { color: #55574f; font-size: .98rem; }

/* FAQ */
.faq { padding: 110px 0; background: var(--black); }
.faq h2 { margin-bottom: 40px; }
details { border-bottom: 1px solid #262626; padding: 22px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--lime); font-size: 1.6rem; line-height: 1; transition: rotate .2s; }
details[open] summary::after { rotate: 45deg; }
details p { color: #b9bbb4; margin-top: 12px; }

/* CTA */
.cta { padding: 40px 0 110px; background: var(--black); }
.cta-box { text-align: center; border-radius: 40px; padding: 70px 24px; background: var(--ink); border: 1px solid #2a2a2a; display: flex; flex-direction: column; align-items: center; background-image: radial-gradient(circle at 50% 0%, rgba(198,243,26,.2), transparent 55%); }
.cta-box img { border-radius: 22px; margin-bottom: 26px; }
.cta-box > p { color: #b9bbb4; margin-top: 14px; font-size: 1.1rem; }

/* FOOTER */
.footer { border-top: 1px solid #1f1f1f; padding: 60px 0 30px; color: #a9aba4; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-grid p { margin-top: 12px; }
.footer h4 { color: var(--white); margin-bottom: 12px; font-size: .95rem; }
.footer a:not(.brand) { display: block; padding: 3px 0; }
.footer a:hover { color: var(--lime); }
.brand span { color: var(--white); }
.copy { margin-top: 40px; font-size: .82rem; color: #6d6f68; }

/* MOBILE */
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; row-gap: 8px; }
  .nav .btn { margin-left: auto; }
  .links { order: 3; width: 100%; margin: 0; gap: 20px; overflow-x: auto; white-space: nowrap; font-size: .88rem; padding-bottom: 2px; scrollbar-width: none; }
  .hero { padding: 40px 0 100px; }
  .hero-grid, .carta-grid, .step { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { margin: 10px 40px 0 0; }
  .step.flip .phone, .step.flip .card-stage { order: 0; }
  .step-text { text-align: left; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .val-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* PAGINE LEGALI */
.legal { background: var(--bg); color: var(--black); padding: 70px 0 100px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal .agg { color: var(--gray); margin-top: 10px; font-size: .95rem; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal p { color: #3d3f39; margin-top: 10px; }
.legal a { text-decoration: underline; font-weight: 600; }
.legal .btn { text-decoration: none; margin-top: 30px; padding: 14px 26px; }

/* Due telefoni affiancati (crea partita + partita piena) */
.duo { display: flex; justify-self: center; }
.duo .phone { width: min(260px, 44vw); }
.duo .phone:first-child { transform: rotate(-5deg) translateY(30px); z-index: 1; }
.duo .phone:last-child { transform: rotate(4deg); margin-left: -50px; z-index: 2; }

img { height: auto; }
.btn-md { padding: 14px 26px; font-size: 1rem; margin-top: 28px; }
.faq details a, .lead a { color: var(--lime); text-decoration: underline; }

/* Città */
.citta { background: var(--black); padding: 0 0 110px; }
.citta-box { border-radius: 40px; padding: 56px 48px; background: var(--lime); color: var(--black); background-image: radial-gradient(circle at 90% 10%, rgba(255,255,255,.4), transparent 45%); }
.citta-box .eyebrow { color: var(--black); }
.citta-box .lead { color: #2b2d27; }
.citta-box .btn-lime { background: var(--black); color: var(--lime); }

/* Pagine contenuto (Foggia, guida) */
.page-hero { padding: 70px 0 60px; background: radial-gradient(circle at 85% 20%, rgba(198,243,26,.16), transparent 45%), var(--black); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.crumbs { font-size: .85rem; color: #9a9c95; margin-bottom: 18px; }
.crumbs a:hover { color: var(--lime); }
.prose { background: var(--bg); color: var(--black); padding: 70px 0 100px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 48px 0 14px; }
.prose h3 { font-size: 1.25rem; margin: 28px 0 8px; }
.prose p, .prose li { color: #3d3f39; font-size: 1.05rem; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-top: 12px; display: grid; gap: 8px; }
.prose a { text-decoration: underline; font-weight: 600; }
.prose .answer { background: var(--white); border-left: 5px solid var(--lime); border-radius: 16px; padding: 22px 24px; font-size: 1.12rem; color: var(--ink); }
.campi { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 24px; padding: 0 !important; list-style: none; }
.campo { background: var(--white); border-radius: 20px; padding: 22px; box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.campo h3 { margin: 0 0 4px; }
.campo .zona { color: var(--gray); font-size: .9rem; }
.campo .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.campo .tags span { background: var(--black); color: var(--lime); font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.campo p { font-size: .95rem !important; }
.campo a { display: inline-block; margin-top: 10px; font-size: .9rem; }
table { width: 100%; border-collapse: collapse; margin-top: 18px; background: var(--white); border-radius: 16px; overflow: hidden; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--gray-light); }
th { background: var(--black); color: var(--lime); }
.table-wrap { overflow-x: auto; }
@media (max-width: 860px) { .hero-card { right: -6%; } }
html, body { overflow-x: clip; }
.page-404 { min-height: 60vh; }

/* Indice città */
.regioni { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 30px; }
.regione { background: var(--white); border-radius: 20px; padding: 20px 22px; box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.regione h2 { font-size: 1.15rem; margin: 0 0 10px; }
.regione ul { list-style: none; padding: 0 !important; margin: 0; gap: 4px !important; }
.regione li { display: flex; justify-content: space-between; gap: 10px; font-size: .98rem !important; }
.regione li span { color: var(--gray); font-size: .85rem; white-space: nowrap; }
.regione li.vuota { color: var(--gray); }
.campo a + a { margin-left: 4px; }
.citta-box .link-dark { color: var(--black); font-weight: 700; text-decoration: underline; }
.campo figure { margin: -22px -22px 14px; }
.campo figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px 20px 0 0; }
.campo figcaption { font-size: .72rem; color: var(--gray); padding: 4px 22px 0; }
.campo figcaption a { font-weight: 500; margin: 0; display: inline; }
