/* FardaAi — site institucional. Paleta espelha frontend/lib/theme.ts. */
:root {
  --bg: #0a0a0a;
  --card: #18181b;
  --border: #27272a;
  --text: #ffffff;
  --muted: #a1a1aa;
  --muted2: #71717a;
  --lime: #24ecc3;
  --ocean: #93c5fd;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand img { display: block; height: 26px; width: auto; }
.nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- botões ---------- */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--lime); color: #0a0a0a; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--card); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ---------- hero ---------- */
.hero { padding: 88px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: 720px;
  height: 460px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(36, 236, 195, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(36, 236, 195, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin: 0 0 20px;
  max-width: 16ch;
  text-wrap: balance;
}
h1 em { font-style: normal; color: var(--lime); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 60ch; margin: 0 0 32px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- seções ---------- */
section { padding: 64px 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: 0; }
h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 900;
  margin: 0 0 12px;
}
h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 36px; max-width: 62ch; font-size: 18px; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
}
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card p + p { margin-top: 12px; }

/* passo a passo */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: passo; }
.steps li { position: relative; padding-left: 46px; margin-bottom: 22px; color: var(--muted); font-size: 16px; }
.steps li:last-child { margin-bottom: 0; }
.steps li::before {
  counter-increment: passo;
  content: counter(passo);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  color: #0a0a0a;
  background: var(--lime);
}
.steps li b { color: var(--text); display: block; font-size: 17px; font-weight: 800; }
.card-organizador .steps li::before { background: var(--lime); }
.card-jogador .steps li::before { background: var(--ocean); }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.tag-lime { background: rgba(36, 236, 195, 0.14); color: var(--lime); }
.tag-ocean { background: rgba(147, 197, 253, 0.14); color: var(--ocean); }

/* esportes */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 15px;
}

/* contato */
.contato-card { display: flex; align-items: center; gap: 16px; }
.contato-card .ico {
  width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(36, 236, 195, 0.12);
}
.contato-card .ico svg { width: 22px; height: 22px; stroke: var(--lime); fill: none; stroke-width: 2; }
.contato-card .rot { font-size: 13px; color: var(--muted2); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 800; }
.contato-card .val { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.contato-card a.val { color: var(--text); }
.contato-card a.val:hover { color: var(--lime); text-decoration: none; }

/* ---------- páginas legais ---------- */
.legal { padding: 56px 0 24px; }
.legal .meta { color: var(--muted2); font-size: 15px; margin: 0 0 28px; }
.legal p { color: var(--muted); margin: 0 0 18px; }
.legal .voltar { font-size: 15px; font-weight: 700; display: inline-block; margin-bottom: 22px; color: var(--muted); }
.legal .voltar:hover { color: var(--lime); text-decoration: none; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 56px;
  color: var(--muted2);
  font-size: 15px;
}
footer .cols { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: 28px; }
footer img { height: 22px; width: auto; display: block; margin-bottom: 12px; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer .links a { color: var(--muted); font-weight: 600; }
footer .links a:hover { color: var(--lime); text-decoration: none; }
footer .legal-line { border-top: 1px solid var(--border); padding-top: 22px; line-height: 1.7; }
footer .legal-line strong { color: var(--muted); font-weight: 700; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { gap: 14px; }
  .nav a { font-size: 14px; }
  .hero { padding: 60px 0 48px; }
  section { padding: 52px 0; }
  .card { padding: 22px; }
}
