/* ── Reset & tokens ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #1C5BD6;
  --blue-d:  #1448b0;
  --blue-l:  #EEF4FF;
  --ink:     #0f1923;
  --muted:   #6b7280;
  --border:  #e5e7eb;
  --bg:      #f9fafb;
  --white:   #ffffff;
  --green:   #16a34a;
  --radius:  14px;
  --shadow:  0 4px 24px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; }

/* ── Utilities ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.d-flex      { display: flex; }
.align-center{ align-items: center; }
.gap-2       { gap: 16px; }
.gap-3       { gap: 24px; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mt-4  { margin-top: 32px; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.fw-700{ font-weight: 700; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; border-radius: 10px;
  padding: 13px 28px; cursor: pointer; border: none;
  transition: all .15s ease; text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 16px rgba(28,91,214,.35);
}
.btn-primary:hover { background: var(--blue-d); transform: translateY(-1px); color: #fff; }
.btn-outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-l); }
.btn-white {
  background: #fff; color: var(--blue);
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.btn-white:hover { background: #f0f4ff; }
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: 12px; }

/* Botão outline dentro do hero (fundo escuro) — hover não pode ser azul claro */
.hero .btn-outline:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.6);
}

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 800; color: var(--ink);
}
.navbar-logo .logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 900;
}
.navbar-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.navbar-links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.navbar-links a:hover { color: var(--blue); }
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.btn-nav-login { color: var(--ink); font-weight: 600; padding: 10px 20px; }

@media (max-width: 768px) {
  .navbar-links { display: none; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(145deg, #0d1d35 0%, #13314F 50%, #1a4080 100%);
  padding: 120px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(28,91,214,.3) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge span { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; display: block; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900; color: #fff;
  line-height: 1.15; margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: #60a5fa; }
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,.75);
  max-width: 540px; margin-bottom: 40px; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.stat-item { text-align: left; }
.stat-num { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ── Section labels ── */
.section-label {
  display: inline-block;
  background: var(--blue-l); color: var(--blue);
  font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
  border-radius: 999px; padding: 5px 16px; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900; color: var(--ink); margin-bottom: 16px;
  letter-spacing: -.02em;
}
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 560px; }

/* ── Features ── */
.features-bg { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 56px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-l);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.feature-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-desc  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Como funciona ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 56px; }
.step { text-align: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 1.3rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step-title { font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.step-desc  { font-size: 14px; color: var(--muted); }

/* ── Preços ── */
.planos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-top: 56px; align-items: start;
}
.plano-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: box-shadow .2s;
}
.plano-card:hover { box-shadow: var(--shadow); }
.plano-card.destaque {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(28,91,214,.15), var(--shadow);
}
.plano-badge-pop {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700; border-radius: 999px;
  padding: 4px 16px; white-space: nowrap;
}
.plano-nome  { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.plano-desc  { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.plano-preco { margin-bottom: 8px; }
.plano-preco .valor {
  font-size: 2.4rem; font-weight: 900; color: var(--ink); line-height: 1;
}
.plano-preco .cifra { font-size: 1.1rem; vertical-align: top; margin-top: 8px; display: inline-block; }
.plano-preco .ciclo { font-size: 13px; color: var(--muted); }
.plano-limite { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.plano-recursos { list-style: none; margin-bottom: 28px; }
.plano-recursos li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; padding: 5px 0;
}
.plano-recursos li::before {
  content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.plano-card .btn { width: 100%; justify-content: center; }

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #1448b0 100%);
  border-radius: 24px; padding: 64px; text-align: center;
}
.cta-banner h2 { font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,.8); margin-bottom: 32px; font-size: 1.05rem; }
.cta-banner .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.6);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 900; margin-bottom: 16px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a  { color: rgba(255,255,255,.6); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 56px; }
  .section { padding: 64px 0; }
  .cta-banner { padding: 40px 24px; }
}

/* ── Modal de cadastro ── */
.modal-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 24px;
}
.modal-bg.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; font-size: 22px; cursor: pointer; color: var(--muted);
}
.modal-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.modal-sub   { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

/* Steps indicator */
.steps-indicator {
  display: flex; gap: 0; margin-bottom: 32px; position: relative;
}
.steps-indicator::before {
  content: ''; position: absolute; top: 18px; left: 0; right: 0; height: 2px;
  background: var(--border); z-index: 0;
}
.step-ind {
  flex: 1; text-align: center; position: relative; z-index: 1;
}
.step-ind-dot {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white); color: var(--muted);
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 6px;
  transition: all .2s;
}
.step-ind.done .step-ind-dot  { background: var(--green); border-color: var(--green); color: #fff; }
.step-ind.ativo .step-ind-dot { background: var(--blue);  border-color: var(--blue);  color: #fff; }
.step-ind-label { font-size: 11px; color: var(--muted); font-weight: 600; }
.step-ind.ativo .step-ind-label { color: var(--blue); }

/* Form fields */
.form-step { display: none; }
.form-step.ativo { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; display: block; }
.form-label span { color: #ef4444; }
.form-input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink);
  background: var(--white);
  transition: border-color .15s;
  outline: none;
}
.form-input:focus { border-color: var(--blue); }
.form-input.erro  { border-color: #ef4444; }

/* Plano cards (seletor) */
.plano-selector { display: grid; gap: 12px; margin-bottom: 4px; }
.plano-opt {
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 16px; cursor: pointer; transition: all .15s;
  display: flex; align-items: center; gap: 14px;
}
.plano-opt:hover { border-color: var(--blue); background: var(--blue-l); }
.plano-opt.selecionado { border-color: var(--blue); background: #f0f5ff; }
.plano-opt input[type=radio] { display: none; }
.plano-opt-radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border); flex-shrink: 0;
  transition: all .15s; position: relative;
}
.plano-opt.selecionado .plano-opt-radio {
  border-color: var(--blue);
  background: var(--blue);
}
.plano-opt.selecionado .plano-opt-radio::after {
  content: ''; position: absolute; inset: 4px;
  background: #fff; border-radius: 50%;
}
.plano-opt-info { flex: 1; }
.plano-opt-nome  { font-weight: 700; font-size: 15px; }
.plano-opt-preco { font-size: 13px; color: var(--muted); }
.plano-opt-badge {
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 10px;
}

/* Form actions */
.form-actions { display: flex; gap: 12px; margin-top: 24px; }
.form-actions .btn { flex: 1; justify-content: center; }

/* Feedback */
.form-erro {
  background: #fee2e2; color: #b91c1c;
  border-radius: 10px; padding: 12px 16px; font-size: 14px;
  margin-top: 16px; display: none;
}
.form-erro.visivel { display: block; }
