/* JogaCom — landing page. Paleta espelha o tema do app:
   indigo #360CCE (primary), lime #A3FF15 (secondary), laranja #FF6435 (tertiary). */

:root {
  --indigo: #360cce;
  --indigo-deep: #0b0e33;
  --lime: #a3ff15;
  --orange: #ff6435;
  --ink: #001c25;
  --muted: #5b6b7a;
  --bg-soft: #e3effd;
  --gold: #fbff00;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(11, 14, 51, 0.12);
  --max: 1120px;
  --font: "Exo 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.4em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
p { margin: 0 0 1em; }
a { color: var(--indigo); text-decoration: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 14, 51, 0.08);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.nav .brand img { height: 38px; width: auto; border-radius: 10px; }
.nav .brand .brand-name { font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.nav .links { display: flex; align-items: center; gap: 26px; }
/* `:not(.btn)` evita que a cor de link sobrescreva o texto branco do botão
   (o seletor .nav .links a tinha mais especificidade que .btn-primary). */
.nav .links a:not(.btn) { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.nav .links a:not(.btn):hover { color: var(--indigo); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline { background: transparent; color: var(--indigo); border-color: var(--indigo); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1100px 500px at 80% -10%, #5968f8 0%, transparent 60%),
              linear-gradient(160deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  color: #fff; padding: 64px 0 80px; overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hero-brand img { height: 50px; width: auto; border-radius: 13px; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.hero-brand span { font-size: 1.9rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--lime); }
.hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,.86); max-width: 36ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero .badges { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff;
  padding: 10px 18px; border-radius: 12px; font-weight: 600; border: 1px solid rgba(255,255,255,.2);
}
.store-badge small { display: block; font-size: .65rem; opacity: .8; font-weight: 500; }
.store-badge span { font-size: 1.05rem; line-height: 1; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(440px, 92%); border-radius: 26px; border: 5px solid rgba(255,255,255,.92); box-shadow: 0 26px 54px rgba(0,0,0,.4); }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow { color: var(--indigo); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  border: 1px solid rgba(11,14,51,.05);
}
.card .ico { font-size: 2rem; line-height: 1; margin-bottom: 14px; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--indigo); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Economy strip ---------- */
.econ { background: linear-gradient(120deg, var(--indigo) 0%, #5968f8 100%); color: #fff; border-radius: 26px; padding: 46px; }
.econ h2 { color: #fff; }
.econ .chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.chip { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 10px 16px; border-radius: 999px; font-weight: 600; }

/* ---------- Partner / Contact forms ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; max-width: 680px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 1rem; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid #cdd7e3; background: #fff; color: var(--ink); transition: border-color .12s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); }
.field textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; } /* honeypot */
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #e0f2f1; color: #00695c; }
.form-msg.err { display: block; background: #ffe3e5; color: #c0303a; }

/* ---------- Partner perks ---------- */
.perks { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 40px; }
.perk { text-align: center; }
.perk .ico { font-size: 1.8rem; }
.perk h3 { font-size: 1.05rem; margin: 8px 0 4px; }
.perk p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--indigo-deep); color: rgba(255,255,255,.8); padding: 50px 0 30px; }
.footer .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer .brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 12px; }
.footer .brand img { height: 34px; border-radius: 9px; }
.footer a { color: rgba(255,255,255,.8); display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--lime); }
.footer h4 { color: #fff; font-size: .95rem; margin: 0 0 14px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Legal page ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 0; }
.legal h1 { font-size: 2.2rem; color: var(--ink); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal .updated { color: var(--muted); margin-bottom: 2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .back { display: inline-block; margin-bottom: 24px; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .cta, .hero .badges { justify-content: center; }
  .hero-art { order: -1; }
  .grid-3, .steps, .perks { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav .links { display: none; }
  .nav .links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 18px 20px; gap: 16px; border-bottom: 1px solid rgba(11,14,51,.08); }
  .nav-toggle { display: inline-flex; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
}
