/* ==========================================================================
   RACHA — Landing page
   Tokens do racha-design-system (colors/typography/layout) + estilos da página.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand: Volt lime */
  --volt-100: #F2FFC9;
  --volt-200: #E4FF97;
  --volt-300: #D6FB63;
  --volt-400: #C7FA3C;
  --volt-500: #AEE81C;
  --volt-600: #8FC70A;
  --volt-700: #6E9A0C;

  /* Ink: near-black charcoals */
  --ink-950: #0C0F0A;
  --ink-900: #12160F;
  --ink-850: #191E15;
  --ink-800: #212719;
  --ink-700: #2C3421;
  --ink-600: #3A4530;
  --ink-500: #55634A;

  /* Chalk: off-whites */
  --chalk-000: #FBFDF4;
  --chalk-100: #EEF2E4;
  --chalk-200: #D3DAC5;
  --chalk-300: #A9B39A;
  --chalk-400: #7E886F;

  /* Estados */
  --success-400: #34E29B;
  --warning-400: #FFC13D;
  --danger-400: #FF5B5B;
  --info-400: #4FB8FF;

  /* Times (colete) */
  --team-volt: #C7FA3C;
  --team-blue: #4FB8FF;
  --team-orange: #FF8A3D;
  --team-pink: #FF5B9E;
  --team-cyan: #35E0D0;
  --team-red: #FF5B5B;
  --team-purple: #A57BFF;
  --team-yellow: #FFDA3D;

  /* Aliases semânticos */
  --surface-card: var(--ink-850);
  --surface-card-hover: var(--ink-800);
  --border-subtle: var(--ink-700);
  --border-strong: var(--ink-600);
  --text-primary: var(--chalk-100);
  --text-on-accent: #0C1400;
  --accent: var(--volt-400);
  --accent-soft: color-mix(in oklab, var(--volt-400) 16%, transparent);

  /* Tipografia */
  --font-display: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --font-sans: 'Barlow', system-ui, -apple-system, sans-serif;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 800;
  --fs-h3: 20px;
  --fs-label: 14px;
  --ls-wide: 0.02em;
  --ls-caps: 0.08em;

  /* Raio, sombra e movimento */
  --r-md: 14px;
  --r-lg: 18px;
  --r-pill: 999px;
  --shadow-accent: 0 6px 22px color-mix(in oklab, var(--volt-400) 35%, transparent);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink-950);
  color: var(--chalk-100);
  font-family: var(--font-sans);
}
a { color: var(--chalk-200); text-decoration: none; }
a:hover { color: var(--volt-400); }
h1, h2, p { margin: 0; }
svg { flex: none; }

#hero, #como-funciona, #esportes, #donos { scroll-margin-top: 68px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.text-volt { color: var(--volt-400); }

.overline {
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}
.overline--volt { color: var(--volt-400); }
.overline--warning { color: var(--warning-400); }

.section-title {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  text-transform: uppercase;
  color: var(--chalk-000);
}

/* ---------- Botões (Button do design system) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), box-shadow var(--dur-fast);
}
.btn--sm { height: 40px; padding: 0 16px; font-size: var(--fs-label); gap: 8px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: var(--fs-h3); gap: 10px; }
.btn--primary, .btn--primary:hover {
  background: var(--accent);
  color: var(--text-on-accent);
  box-shadow: var(--shadow-accent);
}
.btn--secondary, .btn--secondary:hover {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.btn:active { transform: scale(0.97); box-shadow: none; }

/* ---------- Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(12, 15, 10, 0.78);
  border-bottom: 1px solid var(--ink-800);
}
.site-nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand, .brand:hover {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--chalk-000);
  text-transform: uppercase;
}
.brand-dot { color: var(--volt-400); }
.nav-links { display: flex; gap: 26px; font-size: 14px; font-weight: var(--fw-semibold); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 98px 0 48px;
}
.hero-backdrop { position: absolute; inset: 0; pointer-events: none; }
.hero-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--ink-800);
  border-radius: 50%;
}
.hero-circle--outer { width: 1400px; height: 1400px; }
.hero-circle--inner { width: 900px; height: 900px; }
.hero-midline { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--ink-800); }
.hero-glow {
  position: absolute;
  right: -6%;
  top: 50%;
  width: 760px;
  height: 760px;
  transform: translateY(-50%);
  background: radial-gradient(circle, color-mix(in oklab, #EEF2E4 14%, transparent) 0%, transparent 62%);
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 40px;
  align-items: center;
  position: relative;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--chalk-300);
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success-400); }
.hero-title {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: clamp(46px, 6.4vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--chalk-000);
}
.hero-word-slot { display: inline-block; position: relative; min-width: 5.2em; vertical-align: top; }
.hero-word {
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.hero-word.is-active { opacity: 1; transform: translateY(0); }
.hero-word.is-leaving { opacity: 0; transform: translateY(-20px); }
.hero-word--futebol { color: #EEF2E4; }
.hero-word--volei { color: var(--team-blue); }
.hero-word--handebol { color: var(--team-cyan); }
.hero-word--basquete { color: var(--team-orange); }
.hero-word-ghost { visibility: hidden; }
.hero-sub { max-width: 440px; font-size: 18px; line-height: 1.5; color: var(--chalk-300); }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--chalk-400); }

/* Bola */
.hero-ball-col { display: flex; align-items: center; justify-content: center; min-width: 0; }
.hero-ball { position: relative; width: min(100%, 62vh, 440px); aspect-ratio: 1 / 1; }
.ball-shadow {
  position: absolute;
  left: 50%;
  bottom: -10%;
  transform: translateX(-50%);
  width: 64%;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  filter: blur(14px);
}
.ball-float { position: absolute; inset: 0; animation: floaty 6s ease-in-out infinite; }
.ball-rotor { position: absolute; inset: 0; will-change: transform; }
.ball-layer { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease-in-out; }
.ball-layer.is-active { opacity: 1; }
.ball-layer svg { width: 100%; height: 100%; display: block; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--chalk-400);
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Prova social ---------- */
.stats {
  border-top: 1px solid var(--ink-800);
  border-bottom: 1px solid var(--ink-800);
  background: var(--ink-900);
}
.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 24px;
  text-align: center;
}
.stat-value { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 40px; color: var(--chalk-000); }
.stat-value--volt { color: var(--volt-400); }
.stat-label { font-size: 13px; color: var(--chalk-300); }

/* ---------- Como funciona ---------- */
.steps { max-width: 1160px; margin: 0 auto; padding: 110px 24px 90px; }
.steps .overline { margin-bottom: 12px; }
.steps-title { font-size: clamp(36px, 4.4vw, 52px); line-height: 1; margin-bottom: 14px; }
.steps-sub { max-width: 520px; font-size: 17px; line-height: 1.5; color: var(--chalk-300); margin-bottom: 48px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}
.step-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--dur-base);
}
.step-card:hover { background: var(--surface-card-hover); }
.step-head { display: flex; align-items: center; justify-content: space-between; }
.icon-tile {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--volt-400);
}
.step-num { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 34px; color: var(--ink-600); }
.step-title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 24px; text-transform: uppercase; color: var(--chalk-000); }
.step-body { font-size: 15px; line-height: 1.5; color: var(--chalk-300); }

/* ---------- Esportes ---------- */
.sports { max-width: 1160px; margin: 0 auto; padding: 0 24px 110px; }
.sports-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.sports-title { font-size: clamp(30px, 5vw, 36px); }
.sports-note { font-size: 14px; color: var(--chalk-400); }
.sports-list { display: flex; flex-wrap: wrap; gap: 12px; }
.sport-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px 0 8px;
  border-radius: var(--r-pill);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
}
.sport-tag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #0C1400;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 13px;
}
.sport-name { font-size: 14px; font-weight: var(--fw-semibold); color: var(--chalk-100); }

/* ---------- Donos de quadra ---------- */
.owners { background: var(--ink-900); border-top: 1px solid var(--ink-800); }
.owners-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 110px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 48px;
  align-items: start;
}
.owners-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.owners-title { font-size: clamp(40px, 4.8vw, 56px); line-height: 0.98; }
.owners-sub { font-size: 17px; line-height: 1.55; color: var(--chalk-300); max-width: 460px; }

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  margin-top: 8px;
}
.compare-card { border: 1px solid var(--border-subtle); border-radius: var(--r-lg); padding: 20px; background: var(--ink-850); }
.compare-card--with { border: 1.5px solid var(--volt-400); background: var(--accent-soft); }
.compare-label {
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.compare-card--without .compare-label { color: var(--danger-400); }
.compare-card--with .compare-label { color: var(--volt-400); }
.compare-list { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.compare-card--without .compare-list { color: var(--chalk-300); }
.compare-card--with .compare-list { color: var(--chalk-100); }
.compare-item { display: flex; gap: 8px; align-items: center; }
.compare-card--without .compare-item svg { color: var(--danger-400); }
.compare-card--with .compare-item svg { color: var(--volt-400); }

.owners-actions { display: flex; gap: 14px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.owners-note { font-size: 13px; color: var(--chalk-400); }

.owners-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.perk-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: background var(--dur-base);
}
.perk-card:hover { background: var(--surface-card-hover); }
.perk-card .icon-tile { width: 44px; height: 44px; }
.perk-text { min-width: 0; }
.perk-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 21px;
  text-transform: uppercase;
  color: var(--chalk-000);
  margin-bottom: 4px;
}
.perk-body { font-size: 14.5px; line-height: 1.5; color: var(--chalk-300); }

.quote-card { background: var(--ink-850); border: 1px solid var(--border-subtle); border-radius: var(--r-lg); padding: 22px 24px; }
.quote-text { font-size: 16px; line-height: 1.55; color: var(--chalk-100); font-style: italic; }
.quote-author { margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.quote-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--team-orange);
  color: #0C1400;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 14px;
}
.quote-meta { font-size: 13px; color: var(--chalk-300); }
.quote-meta strong { color: var(--chalk-100); }

/* ---------- CTA final ---------- */
.cta { background: var(--volt-400); }
.cta-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-copy { min-width: 0; }
.cta-title {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: clamp(36px, 5vw, 54px);
  line-height: 0.98;
  text-transform: uppercase;
  color: #0C1400;
  margin-bottom: 8px;
}
.cta-sub { font-size: 17px; color: #2E3B0E; font-weight: var(--fw-semibold); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-dark, .btn-dark-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 28px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 20px;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur-fast);
}
.btn-dark { border: none; background: #0C1400; color: var(--volt-400); }
.btn-dark:hover { background: #1A2405; }
.btn-dark-outline, .btn-dark-outline:hover { border: 2px solid #0C1400; background: transparent; color: #0C1400; }
.btn-dark-outline:hover { background: rgba(12, 20, 0, 0.08); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--ink-800); }
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { font-family: var(--font-display); font-weight: var(--fw-black); font-size: 22px; text-transform: uppercase; color: var(--chalk-000); }
.footer-links { display: flex; gap: 24px; font-size: 13px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; color: var(--chalk-400); }

/* ---------- Responsivo / acessibilidade ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ball-float { animation: none; }
}
