/* Landing Veiculado: reusa a identidade visual do app (app/css/styles.css).
   Tokens em :root para facilitar troca de marca/nome depois. */
:root {
  --azul: #1a4f8a;
  --azul-escuro: #15407a;
  --azul-profundo: #0f3060;
  --fundo: #f0f4f8;
  --texto: #1a2a3a;
  --acento: #e8f0fb;
  --borda-acento: #b8cff0;
  --muted: #64748b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-padding-top: 90px;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--fundo);
  color: var(--texto);
  line-height: 1.6;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.justify p { text-align: justify; }
.justify h2 { text-align: left; }
.muted { color: var(--muted); }

h1 { font-size: 2.4rem; line-height: 1.2; }
h2 { font-size: 1.7rem; line-height: 1.3; margin-bottom: 16px; }
h3 { font-size: 1.1rem; }
p { margin-bottom: 12px; }

/* Topbar */
.topbar {
  background: var(--azul);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }

/* Botões (mesma família do app) */
.btn {
  display: inline-block;
  background: var(--azul);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--azul-escuro); }
.btn-sm { padding: 8px 14px; font-size: .9rem; background: var(--azul-escuro); }
.btn-sm:hover { background: var(--azul-profundo); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--fundo) 100%); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.eyebrow {
  color: var(--azul);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.hero .sub { font-size: 1.15rem; margin: 16px 0 24px; }
.hero-cta { display: inline-block; }
.hero-cta .btn { display: block; text-align: center; box-sizing: border-box; }
.hero-note { color: var(--muted); font-size: .9rem; margin-top: 10px; white-space: nowrap; }

/* Mock de comprovante */
.hero-mock { position: relative; }
.mock-browser {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.22);
  overflow: hidden;
}
.mock-titlebar { background: #e2e8f0; padding: 8px 12px; display: flex; gap: 6px; }
.mock-titlebar span { width: 10px; height: 10px; border-radius: 50%; background: #94a3b8; }
.mock-urlbar {
  background: #f1f5f9;
  padding: 6px 14px;
  font-size: .8rem;
  color: var(--muted);
  border-bottom: 1px solid #e2e8f0;
}
.mock-page { padding: 16px; }
.mock-banner {
  background: var(--acento);
  border: 1.5px dashed var(--borda-acento);
  border-radius: 6px;
  color: var(--azul);
  font-weight: 700;
  font-size: .8rem;
  text-align: center;
  padding: 22px 8px;
}
.mock-lines { margin-top: 14px; }
.mock-lines i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  margin-bottom: 8px;
}
.mock-lines i:nth-child(2) { width: 85%; }
.mock-lines i:nth-child(3) { width: 60%; }
.mock-taskbar {
  background: var(--texto);
  color: #fff;
  font-size: .75rem;
  text-align: right;
  padding: 6px 14px;
}
.mock-stamp {
  position: absolute;
  bottom: -14px;
  right: -8px;
  background: #dcfce7;
  color: #14532d;
  font-weight: 700;
  font-size: .85rem;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

/* Seções */
.section { padding: 56px 0; }
.section-alt { background: #fff; }

.pain-list { margin: 16px 0 0 20px; }
.pain-list li { margin-bottom: 10px; }
.pain-hook {
  margin: 24px 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--azul-profundo);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.card {
  background: var(--fundo);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  border: 1.5px solid var(--borda-acento);
}
.section-alt .card { background: var(--fundo); }
.card h3 { margin-bottom: 8px; color: var(--azul-profundo); }
.card p { margin: 0; font-size: .95rem; }
.card-highlight {
  background: var(--acento);
}
.tag {
  display: inline-block;
  background: var(--acento);
  color: var(--azul);
  border: 1px solid var(--borda-acento);
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 10px;
  white-space: nowrap;
  margin-bottom: 8px;
}

/* Passos */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
  counter-reset: passo;
  list-style: none;
}
.steps li {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  counter-increment: passo;
}
.steps li::before {
  content: counter(passo);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--azul);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.steps li strong { display: block; margin-bottom: 4px; }
.steps li span { color: var(--muted); font-size: .95rem; }

/* Plano (oferta única) */
.plan-card {
  background: #fff;
  border-radius: 12px;
  padding: 60px 24px 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  border: 1.5px solid var(--borda-acento);
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
}
.plan-single { max-width: 640px; margin: 28px auto 0; }
.plan-highlight {
  background: var(--acento);
  border-color: var(--azul);
}
.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--azul);
  color: #fff;
  border-color: var(--azul);
  margin-bottom: 0;
}
.plan-price-row {
  display: flex;
  justify-content: center;
  margin: 0 0 12px;
}
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-old { color: var(--muted); text-decoration: line-through; font-size: .95rem; }
.plan-price .plan-old { font-size: 1.1rem; }
.plan-price strong { font-size: 2.8rem; color: var(--azul-profundo); }
.plan-period { color: var(--muted); font-size: 1rem; }
.plan-features { margin: 8px 0 20px 18px; }
.plan-features li { margin-bottom: 6px; font-size: .95rem; }
.plan-card .btn { margin-top: auto; text-align: center; box-sizing: border-box; }
.plan-note { margin-top: 20px; font-size: .85rem; }
.plan-note a { color: var(--azul); font-weight: 600; text-decoration: underline; white-space: nowrap; }

/* Formulário */
.lead-form {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  margin-top: 24px;
}
.form-row { margin-bottom: 13px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #c8d8e8;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--texto);
}
.form-row textarea { resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--azul);
}
.hidden-field { display: none; }

/* FAQ */
details {
  background: var(--fundo);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
details summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; }

/* Rodapé (mesmo padrão do app) */
footer {
  text-align: center;
  padding: 16px 24px;
  font-size: .82rem;
  color: #94a3b8;
  border-top: 1px solid #e2e8f0;
  margin-top: 40px;
}
footer p { margin: 0; }
footer a {
  color: var(--azul);
  text-decoration: none;
  font-weight: 600;
}

/* Página de obrigado */
.thanks { max-width: 560px; margin: 80px auto; text-align: center; padding: 0 20px; }
.thanks h1 { font-size: 1.8rem; margin-bottom: 12px; }

/* Responsivo */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; }
  .hero-mock { max-width: 420px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .hero-cta { display: block; }
  .hero-note { white-space: normal; }
  .plan-price strong { font-size: 2.1rem; }
  .plan-price .plan-old { font-size: .95rem; }
  .plan-period { font-size: .9rem; }
}
