@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');
:root {
  --bg: #0b1220;
  --bg-alt: #0f1a2b;
  --surface: #131f33;
  --surface-2: #1a2740;
  --line: #24344f;
  --line-soft: #1c2942;
  --ink: #eef3fa;
  --ink-soft: #b9c6da;
  --ink-dim: #7e8fac;
  --brand: #4fa8ff;
  --brand-dark: #2a5fb8;
  --on-brand: #051021;
  --accent: #ff5a36;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* base.css — layout FIXO das landing pages (design portado das refs React:
   chargewin/esportivahub). A "beleza" vem daqui (CSS), não de framework. Cores e
   fontes vêm das CSS vars que o render.py injeta no topo do styles.css. */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--bg); color: var(--ink); font-family: var(--font-body);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.025em; line-height: 1.08; font-weight: 800; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background-color: var(--brand); color: var(--on-brand); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }

section { padding: 88px 0; position: relative; }
@media (min-width: 1024px) { section { padding: 104px 0; } }
section.alt { background-color: var(--bg-alt); }
/* divisor hairline em degradê no topo das seções alt */
section.alt::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 35%, transparent), transparent);
}

/* blobs de luz ambiente */
.blob { position: absolute; border-radius: 50%; filter: blur(140px); pointer-events: none; z-index: 0; }
.blob-a { width: 460px; height: 460px; background: color-mix(in srgb, var(--brand) 12%, transparent); top: -140px; right: -120px; }
.blob-b { width: 380px; height: 380px; background: color-mix(in srgb, var(--accent) 9%, transparent); bottom: -120px; left: -100px; }

/* ---------- kicker ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 0.42rem; height: 0.42rem; border-radius: 9999px; background-color: currentColor; }
.kicker.accent { color: var(--accent); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 14px 26px; border-radius: 14px; font-weight: 700; font-size: 0.98rem;
  cursor: pointer; border: 1px solid transparent; font-family: var(--font-body);
  transition: transform .15s ease, filter .15s ease, gap .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background-color: var(--brand); color: var(--on-brand);
  box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--brand) 65%, transparent),
              0 0 0 1px color-mix(in srgb, var(--brand) 30%, transparent) inset;
}
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { background-color: color-mix(in srgb, var(--surface) 60%, transparent); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; border-radius: 16px; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px); background-color: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 10px; }
.wordmark .mono-badge {
  width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: var(--on-brand);
  display: grid; place-items: center; font-size: 1rem; font-weight: 800;
}
.nav-links { display: flex; gap: 30px; font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 800px) { .nav-links { display: none; } }
.head-right { display: flex; align-items: center; gap: 12px; }

/* ---------- hero ---------- */
.hero { padding: 108px 0 92px; position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 560px at 80% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    radial-gradient(900px 520px at -5% 5%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 55%),
    var(--bg);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.03; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--ink) 60%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 60%, transparent) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black, transparent 75%);
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 auto 26px;
  padding: 8px 16px; border-radius: 9999px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(8px);
  font-size: 0.78rem; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.ping { position: relative; width: 8px; height: 8px; flex: none; }
.ping::before, .ping::after { content: ""; position: absolute; inset: 0; border-radius: 9999px; background: var(--brand); }
.ping::before { animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; max-width: 15ch; margin: 0 auto 22px; }
.hero h1 .grad { color: var(--brand); }
.hero p.sub { font-size: clamp(1.08rem, 2.2vw, 1.4rem); color: var(--ink-soft); font-weight: 300; max-width: 40ch; margin: 0 auto 34px; line-height: 1.5; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 22px; font-size: 0.85rem; color: var(--ink-dim); }

/* ---------- phone mock (tela de app fake) ---------- */
.phone {
  width: 290px; margin: 64px auto 0; border-radius: 44px; padding: 12px;
  border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--bg-alt));
  box-shadow: 0 50px 110px -40px color-mix(in srgb, var(--brand) 45%, transparent),
              0 0 0 1px color-mix(in srgb, var(--line) 60%, transparent);
  position: relative; z-index: 1;
}
.pscreen { border-radius: 34px; background: var(--bg); border: 1px solid var(--line-soft); overflow: hidden; padding: 18px 16px; text-align: left; position: relative; }
.pscreen::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 78px; height: 18px; border-radius: 9999px; background: var(--bg-alt); }
.phead { display: flex; align-items: center; gap: 10px; margin: 26px 0 18px; }
.phead .mono-badge { width: 36px; height: 36px; font-size: 1rem; border-radius: 11px; }
.phead .pt-lines { flex: 1; }
.pline { height: 8px; border-radius: 6px; background: var(--surface-2); }
.pline.w1 { width: 62%; margin-bottom: 6px; background: color-mix(in srgb, var(--ink) 22%, var(--surface-2)); }
.pline.w2 { width: 40%; }
.prow { display: flex; align-items: center; gap: 11px; padding: 11px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-soft); margin-bottom: 9px; }
.prow .pchip { width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--brand) 14%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 26%, transparent); flex: none; display: grid; place-items: center; }
.prow .pchip svg { width: 15px; height: 15px; color: var(--brand); }
.prow .pbody { flex: 1; }
.prow .pbody .pline:first-child { margin-bottom: 6px; width: 78%; }
.prow .pbody .pline:last-child { width: 46%; }
.prow.hi { background: color-mix(in srgb, var(--brand) 12%, transparent); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.pbtn { margin-top: 14px; height: 42px; border-radius: 13px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 700; font-size: 0.86rem; font-family: var(--font-body); }

/* ---------- marquee ---------- */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); background: var(--bg-alt); padding: 18px 0; }
.marquee { display: flex; gap: 40px; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { color: var(--brand); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 40px; }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 9999px; background: color-mix(in srgb, var(--brand) 45%, transparent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- headings de seção ---------- */
.sec-head { max-width: 46rem; margin: 0 0 56px; position: relative; z-index: 1; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 18px; }
.sec-head p { color: var(--ink-soft); font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.55; }

/* ---------- grid de cards ---------- */
.grid { display: grid; gap: 20px; position: relative; z-index: 1; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }

.card {
  padding: 28px 26px; background: color-mix(in srgb, var(--surface) 55%, transparent);
  border: 1px solid var(--line); border-radius: 24px; transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.card:hover { border-color: color-mix(in srgb, var(--brand) 35%, transparent); transform: translateY(-3px); }
.card .card-ic {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 10%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
}
.card .card-ic svg { width: 22px; height: 22px; color: var(--brand); }
.card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 9px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.55; }

/* passos numerados */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; z-index: 1; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 26px 22px; background: color-mix(in srgb, var(--surface) 55%, transparent); border: 1px solid var(--line); border-radius: 24px; }
.step .n { width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: var(--on-brand); font-weight: 800; font-size: 1.15rem; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.5; }

/* stats / prova */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; position: relative; z-index: 1; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
.stat { padding: 36px 24px; background: color-mix(in srgb, var(--surface) 55%, transparent); border: 1px solid var(--line); border-radius: 24px; }
.stat .v { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3rem); color: var(--brand); line-height: 1; margin-bottom: 12px; letter-spacing: -0.02em; }
.stat .l { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.5; }

/* ---------- download (CTA principal) ---------- */
.download .box {
  max-width: 780px; margin: 0 auto; padding: 60px 44px; border-radius: 32px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(700px 320px at 50% -30%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 60%),
    color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid transparent;
  background-clip: padding-box;
}
.download .box::before {
  content: ""; position: absolute; inset: 0; border-radius: 32px; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 45%, transparent), transparent 55%, color-mix(in srgb, var(--accent) 25%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.download h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 16px; }
.download p { color: var(--ink-soft); font-size: 1.1rem; max-width: 34rem; margin: 0 auto 32px; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.faq details { background: color-mix(in srgb, var(--surface) 55%, transparent); border: 1px solid var(--line); border-radius: 18px; padding: 4px 24px; transition: border-color .2s ease; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.06rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 11px; height: 11px; flex: none; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .2s ease; margin-bottom: 3px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-bottom: -3px; }
.faq details p { color: var(--ink-soft); padding: 0 0 22px; font-size: 0.99rem; line-height: 1.6; }

/* ---------- CTA final ---------- */
.final { text-align: center; background: var(--bg-alt); overflow: hidden; }
.final h2 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); max-width: 20ch; margin: 0 auto 18px; position: relative; z-index: 1; }
.final p { color: var(--ink-soft); font-size: 1.14rem; max-width: 34rem; margin: 0 auto 34px; position: relative; z-index: 1; line-height: 1.55; }
.final .cta-row { position: relative; z-index: 1; display: flex; justify-content: center; }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--line-soft); padding: 46px 0; color: var(--ink-dim); }
footer.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site .fw { font-family: var(--font-display); font-weight: 800; color: var(--ink); }
footer.site small { font-size: 0.85rem; }

/* ---------- modal de lista de espera ---------- */
.wl-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(8px); }
.wl-overlay.open { display: flex; }
.wl-box { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 38px 32px; position: relative; box-shadow: 0 50px 130px -30px color-mix(in srgb, var(--brand) 45%, transparent); }
.wl-box h3 { font-size: 1.6rem; margin-bottom: 10px; }
.wl-box p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 24px; line-height: 1.5; }
.wl-box input[type=email] { width: 100%; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 1rem; font-family: var(--font-body); margin-bottom: 14px; }
.wl-box input[type=email]:focus { outline: none; border-color: var(--brand); }
.wl-box .btn { width: 100%; }
.wl-close { position: absolute; top: 16px; right: 18px; background: none; border: none; color: var(--ink-dim); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.wl-close:hover { color: var(--ink); }
.wl-msg { min-height: 18px; font-size: 0.9rem; margin-top: 4px; }
.wl-msg.err { color: #e06b53; }
.wl-msg.ok { color: var(--brand); }
.wl-success { text-align: center; }
.wl-check { width: 60px; height: 60px; border-radius: 50%; background: var(--brand); margin: 0 auto 16px; position: relative; }
.wl-check::after { content: ""; position: absolute; left: 22px; top: 13px; width: 12px; height: 24px; border: solid var(--on-brand); border-width: 0 3px 3px 0; transform: rotate(45deg); }
