:root {
  --bg: #f7f8fb;
  --bg-alt: #ffffff;
  --text: #16181d;
  --text-muted: #5b6270;
  --border: #e4e7ec;
  --brand: #2451ff;
  --brand-dark: #1638c4;
  --brand-ink: #0c1a66;
  --accent: #00c2a8;
  --card-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
  --radius: 14px;
  --max-width: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d12;
    --bg-alt: #12151c;
    --text: #eef0f4;
    --text-muted: #9aa2b1;
    --border: #232733;
    --brand: #5b82ff;
    --brand-dark: #83a0ff;
    --brand-ink: #dfe6ff;
    --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

:root[data-theme="dark"] {
  --bg: #0b0d12;
  --bg-alt: #12151c;
  --text: #eef0f4;
  --text-muted: #9aa2b1;
  --border: #232733;
  --brand: #5b82ff;
  --brand-dark: #83a0ff;
  --brand-ink: #dfe6ff;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

/* ---------- header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", -apple-system, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-links a:not(.btn):hover { color: var(--text); }

.nav-links .nav-only-desktop { display: flex; align-items: center; gap: 28px; }

@media (max-width: 720px) {
  .nav-only-desktop { display: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- hero ---------- */

.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}

h1 .accent {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- sections ---------- */

section { padding: 72px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  font-weight: 750;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin: 0;
}

/* ---------- how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 920px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--card-shadow);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.02rem;
  margin: 0 0 8px;
  font-weight: 650;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- features / diferenciais ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 920px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
}

.feature {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.feature h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  font-weight: 650;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- sources strip ---------- */

.sources {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.sources .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.sources-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-right: 8px;
}

.source-chip {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0.85;
}

/* ---------- plans ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 920px) {
  .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

.plan {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan.featured {
  border-color: var(--brand);
  box-shadow: var(--card-shadow);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.plan h3 {
  margin: 0;
  font-size: 1.1rem;
}

.plan .plan-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.plan .price {
  font-size: 1.6rem;
  font-weight: 800;
}
.plan .price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.plan ul li { display: flex; gap: 8px; }
.plan ul li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ---------- CTA ---------- */

.cta {
  background: linear-gradient(135deg, var(--brand-ink), var(--brand-dark));
  border-radius: 24px;
  padding: 56px 32px;
  text-align: center;
  color: #fff;
  margin: 0 24px;
}

@media (min-width: 1168px) {
  .cta { margin: 0 auto; max-width: var(--max-width); }
}

.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.78); max-width: 520px; margin: 0 auto 28px; }

.cta .btn-primary {
  background: #fff;
  color: var(--brand-ink);
}
.cta .btn-primary:hover { background: #e8ecff; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer .foot-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer .foot-links {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
}

footer .foot-links a { text-decoration: none; color: var(--text-muted); }
footer .foot-links a:hover { color: var(--text); }
