/* ---------- Tokens ---------- */
:root {
  --navy: #001F3F;
  --coral: #FF6F61;
  --grey: #A9A9A9;

  --ink: var(--navy);
  --ink-soft: #4a5b70;
  --ink-faint: #8b96a3;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dark: var(--navy);
  --bg-dark-soft: #0a2e52;
  --border: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);

  --accent-2: var(--coral);
  --gradient: linear-gradient(120deg, var(--navy), var(--coral));

  --win: #16a34a;
  --loss: #ef4444;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.18);

  --container: 1180px;
  color-scheme: light;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }

.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;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 760px; }
.center { text-align: center; }
.hide-mobile { display: inline; }

section { padding: 88px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.eyebrow-center { display: block; text-align: center; }

h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 720px;
  margin-bottom: 48px;
}
.faq h2 { margin-left: auto; margin-right: auto; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand { font-weight: 800; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--coral);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); background: #e85c4e; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); }
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: #fff;
  padding: 3px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px var(--border);
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.logo-mark-chip { box-shadow: none; }
.logo-dot { color: var(--ink-faint); font-weight: 700; }

.main-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.main-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  padding: 6px;
}
.nav-toggle-icon-close { display: none; }
.nav-toggle.open .nav-toggle-icon-close { display: block; }
.nav-toggle.open .nav-toggle-icon:not(.nav-toggle-icon-close) { display: none; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-menu a:not(.btn) { padding: 10px 4px; font-weight: 500; color: var(--ink-soft); }
.mobile-menu hr { border: none; border-top: 1px solid var(--border); margin: 8px 0; }
.mobile-menu.open { display: flex; }
.mobile-menu .btn { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { padding-top: 72px; padding-bottom: 80px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero-copy .lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.hero-fineprint { font-size: 13px; color: var(--ink-faint); }

/* Hero visual mockup */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
}
.mock-phone {
  width: 220px;
  border-radius: 28px;
  background: var(--bg-dark);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}
.mock-phone-form { transform: rotate(-4deg) translateY(10px); }
.mock-phone-story { transform: rotate(4deg) translateY(-10px); }
.mock-phone-notch {
  width: 60px; height: 5px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
  margin: 0 auto 8px;
}
.mock-screen {
  background: #fff;
  border-radius: 18px;
  padding: 16px 14px;
  min-height: 320px;
}
.mock-app-title { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.mock-field { margin-bottom: 12px; }
.mock-label { display: block; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-faint); margin-bottom: 4px; }
.mock-input {
  font-size: 11px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--ink);
}
.mock-input-score b { color: var(--accent-2); }
.mock-upload {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; color: var(--ink-soft);
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px dashed var(--border);
}
.mock-submit {
  margin-top: 18px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  padding: 10px;
  border-radius: 8px;
}
.mock-arrow { color: var(--ink-faint); flex-shrink: 0; }

.mock-story {
  aspect-ratio: 9/16;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,111,97,0.35) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(255,255,255,0.12) 0%, transparent 50%),
    var(--bg-dark);
  padding: 16px 14px 14px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-story-topbar { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.mock-story-club {
  display: flex; align-items: center; gap: 5px; font-size: 7.5px; font-weight: 800; letter-spacing: 0.01em;
  min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-story-crest-sm {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 6px; font-weight: 800;
}
.mock-story-win {
  flex-shrink: 0; font-size: 7px; font-weight: 800; letter-spacing: 0.05em;
  background: var(--win); color: #fff; padding: 3px 7px; border-radius: 999px;
}
.mock-story-cat { text-align: center; font-size: 9.5px; font-weight: 700; margin-top: 2px; }
.mock-story-cat span { display: block; font-size: 8px; font-weight: 500; color: rgba(255,255,255,0.55); margin-top: 2px; }
.mock-story-matchup { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 4px; }
.mock-story-team { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; min-width: 0; }
.mock-story-team span:last-child { font-size: 7px; font-weight: 700; letter-spacing: 0.02em; text-align: center; }
.mock-story-crest {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 800;
}
.mock-story-crest-alt { background: rgba(255,255,255,0.15); }
.mock-story-score { font-size: 26px; font-weight: 900; display: flex; gap: 4px; flex-shrink: 0; padding: 0 4px; }
.mock-story-score span { color: rgba(255,255,255,0.4); font-weight: 500; }
.mock-story-sets { display: flex; gap: 5px; margin-top: 6px; }
.mock-set {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 6.5px; font-weight: 700; letter-spacing: 0.03em; color: rgba(255,255,255,0.65);
  padding: 5px 2px; border-radius: 6px; background: rgba(255,255,255,0.06);
}
.mock-set b { font-size: 9px; font-weight: 800; color: #fff; }
.mock-set-won { background: rgba(22,163,74,0.3); }
.mock-story-photo {
  flex: 1; min-height: 0; margin-top: 6px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,111,97,0.25), rgba(255,255,255,0.08));
  overflow: hidden;
}
.mock-story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mock-story-venue {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  font-size: 7.5px; color: rgba(255,255,255,0.55); margin-top: 6px;
}

/* ---------- Problema (dark) ---------- */
.problem { background: var(--bg-dark); color: #fff; }
.section-title-inverse {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--bg-dark-soft);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 28px;
}
.problem-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.15);
  color: var(--loss);
  font-weight: 700;
  margin-bottom: 16px;
}
.problem-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.problem-card p { font-size: 14px; color: rgba(255,255,255,0.65); }

/* ---------- Como funciona ---------- */
.how { background: var(--bg-soft); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin-bottom: 20px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step h3 span:not(.brand) { font-weight: 500; color: var(--ink-faint); font-size: 14px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Funcionalidades ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon { font-size: 28px; display: block; margin-bottom: 16px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Social proof ---------- */
.social-proof { background: var(--bg-soft); }
.testimonial {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.quote-mark { color: var(--accent-2); margin-bottom: 16px; }
.testimonial p {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--ink);
}
.testimonial footer { margin-top: 20px; font-size: 14px; color: var(--ink-faint); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex-shrink: 0; transition: transform 0.2s ease; color: var(--ink-faint); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { padding-bottom: 18px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

/* ---------- CTA final ---------- */
.final-cta {
  background: var(--bg-dark);
  color: #fff;
}
.final-cta h2 {
  color: #fff;
  margin: 0 auto 16px;
  max-width: 640px;
}
.lead-inverse {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 36px;
}
.lead-form { max-width: 620px; margin: 0 auto; }
.lead-form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-field { flex: 1; min-width: 180px; }
.lead-field input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-dark);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
}
.lead-field input::placeholder { color: rgba(255,255,255,0.45); }
.lead-field input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.12);
}
.lead-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}
.lead-form-captcha {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.lead-form-message {
  margin-top: 14px;
  font-size: 14px;
  min-height: 20px;
}
.lead-form-message.success { color: #86efac; }
.lead-form-message.error { color: #fca5a5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark-soft); color: rgba(255,255,255,0.7); padding: 56px 0 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand .logo { color: #fff; }
.footer-brand p { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding: 20px 0; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 40px; }
  .problem-grid, .steps, .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .hide-mobile { display: none; }
  .mock-phone { width: 170px; }
}

@media (max-width: 620px) {
  .problem-grid, .steps, .features-grid { grid-template-columns: 1fr; }
  .hero-visual { flex-direction: column; }
  .mock-phone-form, .mock-phone-story { transform: none; }
  .mock-arrow { transform: rotate(90deg); }
  .lead-form-row { flex-direction: column; }
  .mock-phone { width: 210px; }
}
