/* ============================================================
   Landing SEO — Parcheggio Pozzuoli
   Font self-hosted (nessuna chiamata esterna, GDPR-safe)
   Palette identica al sito principale
   ============================================================ */

/* ---- FONT LOCALI ---- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/fraunces.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/fraunces-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/outfit.woff2') format('woff2');
}

/* ---- TOKENS (stessi del sito principale) ---- */
:root {
  --sea: #0e3a5f;
  --sea-deep: #082943;
  --sea-light: #1d5a85;
  --accent: #2872e4;
  --accent-light: #4a90f0;
  --accent-deep: #1a5fc2;
  --accent-soft: rgba(40, 114, 228, 0.12);
  --cream: #fbf8f3;
  --cream-warm: #f4ede1;
  --cream-deep: #e8dcc4;
  --terracotta: #c8633a;
  --gold: #d4a04a;
  --gold-deep: #b8862d;
  --ink: #15171a;
  --muted: #6b6b6b;
  --line: rgba(14, 21, 37, 0.1);
  --white: #ffffff;
  --shadow-sm: 0 4px 12px rgba(14, 21, 37, 0.06);
  --shadow-md: 0 12px 32px -8px rgba(14, 21, 37, 0.15);
  --shadow-lg: 0 24px 60px -20px rgba(14, 21, 37, 0.3);
  --f-display: 'Fraunces', Georgia, serif;
  --f-body: 'Outfit', system-ui, -apple-system, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.2rem; }
.serif { font-family: var(--f-display); }
em { font-family: var(--f-display); font-style: italic; }

/* ---- HEADER ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.2rem; max-width: 1080px; margin: 0 auto; }
.nav__logo { height: 46px; width: auto; border-radius: 6px; }
.nav__cta {
  background: var(--accent); color: #fff; font-weight: 600;
  padding: .6rem 1.2rem; border-radius: var(--r-full); font-size: .95rem;
  white-space: nowrap; transition: background .2s;
}
.nav__cta:hover { background: var(--accent-deep); }
.nav__phone { color: var(--sea-deep); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: .4rem; }

/* ---- HERO ---- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--sea-deep) 0%, var(--sea) 55%, var(--sea-light) 100%); color: var(--cream); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; padding: 3.5rem 1.2rem; max-width: 1080px; margin: 0 auto; }
.hero__eyebrow { display: inline-block; background: rgba(255,255,255,.14); color: #fff; padding: .35rem .9rem; border-radius: var(--r-full); font-size: .82rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 1rem; }
.hero h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.1; margin-bottom: 1rem; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero__lead { font-size: 1.12rem; color: rgba(255,255,255,.9); margin-bottom: 1.8rem; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; border: none; cursor: pointer; border-radius: var(--r-full); padding: .95rem 1.7rem; font-size: 1rem; transition: transform .15s, background .2s, box-shadow .2s; font-family: var(--f-body); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn--primary { background: var(--gold); color: var(--sea-deep); box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--wa { background: #25d366; color: #05391f; }
.btn--wa:hover { background: #1eb857; }

/* ---- SECTIONS ---- */
section { padding: 3.5rem 0; }
.section-eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; text-align: center; }
.section-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 3.2vw, 2.3rem); text-align: center; color: var(--sea-deep); margin: .4rem 0 .6rem; line-height: 1.15; }
.section-title em { color: var(--accent); }
.section-sub { text-align: center; color: var(--muted); max-width: 60ch; margin: 0 auto 2.2rem; }

/* ---- FEATURES ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.feature__ico { font-size: 1.8rem; display: block; margin-bottom: .6rem; }
.feature h3 { font-family: var(--f-display); font-weight: 600; color: var(--sea-deep); font-size: 1.15rem; margin-bottom: .35rem; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---- STEPS ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.step { background: var(--cream-warm); border-radius: var(--r-md); padding: 1.4rem 1.2rem; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 1.2rem; width: 34px; height: 34px; background: var(--accent); color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-family: var(--f-display); box-shadow: var(--shadow-sm); }
.step h3 { font-family: var(--f-display); color: var(--sea-deep); font-size: 1.05rem; margin: .6rem 0 .3rem; }
.step p { color: var(--muted); font-size: .92rem; }

/* ---- PREZZI ---- */
.prezzi { background: var(--sea-deep); color: var(--cream); }
.prezzi .section-title, .prezzi .section-title em { color: #fff; }
.prezzi .section-sub { color: rgba(255,255,255,.75); }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 860px; margin: 0 auto; }
.price-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); padding: 1.4rem 1.2rem; text-align: center; }
.price-card__ico { font-size: 1.8rem; }
.price-card__name { font-weight: 600; margin: .4rem 0 .2rem; }
.price-card__price { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; color: var(--gold); }
.price-card__price small { font-size: .8rem; color: rgba(255,255,255,.7); font-family: var(--f-body); font-weight: 400; }
.price-note { text-align: center; color: rgba(255,255,255,.7); font-size: .88rem; margin-top: 1.6rem; }
.price-note a { color: var(--gold); }

/* ---- INFO / ZONA ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: center; }
.split img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.split h2 { font-family: var(--f-display); font-weight: 600; color: var(--sea-deep); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .8rem; line-height: 1.2; }
.split p { color: #444; margin-bottom: .9rem; }
.split ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.split li { padding-left: 1.6rem; position: relative; color: #333; }
.split li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---- FAQ ---- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.2rem; margin-bottom: .7rem; }
.faq summary { font-family: var(--f-display); font-weight: 600; color: var(--sea-deep); cursor: pointer; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: .7rem; color: #444; }

/* ---- CTA FINALE ---- */
.cta-final { background: linear-gradient(160deg, var(--accent) 0%, var(--accent-deep) 100%); color: #fff; text-align: center; }
.cta-final h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .8rem; }
.cta-final p { color: rgba(255,255,255,.9); max-width: 50ch; margin: 0 auto 1.6rem; }

/* ---- CONTATTI / BONIFICO ---- */
.contatti-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.info-card h3 { font-family: var(--f-display); color: var(--sea-deep); font-size: 1.2rem; margin-bottom: .8rem; }
.info-card p { margin-bottom: .5rem; color: #444; }
.info-card .row { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; background: var(--cream-warm); border-radius: 8px; margin-bottom: .5rem; font-family: monospace; font-size: .92rem; word-break: break-all; }
.info-card .row span:first-child { font-family: var(--f-body); color: var(--muted); font-size: .78rem; text-transform: uppercase; min-width: 84px; }

/* ---- FOOTER ---- */
.footer { background: var(--sea-deep); color: rgba(255,255,255,.8); padding: 2.2rem 0; text-align: center; font-size: .9rem; }
.footer a { color: var(--gold); }
.footer__links { margin-bottom: .8rem; display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }

/* ---- FLOAT WHATSAPP ---- */
.wa-float { position: fixed; bottom: 20px; right: 20px; width: 58px; height: 58px; background: #25d366; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); z-index: 60; font-size: 1.7rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .features, .steps, .price-grid { grid-template-columns: 1fr 1fr; }
  .split, .contatti-grid { grid-template-columns: 1fr; }
  .split img { order: -1; }
}
@media (max-width: 520px) {
  .features, .steps, .price-grid { grid-template-columns: 1fr; }
  .nav__phone { display: none; }
}
