/* Cores e fonte copiadas do docs/design-system.md (a landing não compartilha código com o app, ADR 0003). */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0033a0;
  --body: #1e293b;
  --muted: #475569;
  --primary: #0066ff;
  --on-primary: #ffffff;
  --tint: #e6f0ff;
  --tint-text: #0033a0;
  --ours: #eaf4ff;
  color-scheme: light;
}

/* Escuro: segue o celular, a menos que a pessoa escolha no botão do topo (tema.js grava data-tema). */
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="claro"]) {
    --bg: #0033a0;
    --surface: rgb(255 255 255 / 0.08);
    --border: rgb(255 255 255 / 0.16);
    --text: #ffffff;
    --body: #ffffff;
    --muted: rgb(255 255 255 / 0.8);
    --primary: #ffffff;
    --on-primary: #0066ff;
    --tint: rgb(255 255 255 / 0.14);
    --tint-text: #ffffff;
    --ours: rgb(0 180 255 / 0.16);
    color-scheme: dark;
  }
}
:root[data-tema="escuro"] {
    --bg: #0033a0;
    --surface: rgb(255 255 255 / 0.08);
    --border: rgb(255 255 255 / 0.16);
    --text: #ffffff;
    --body: #ffffff;
    --muted: rgb(255 255 255 / 0.8);
    --primary: #ffffff;
    --on-primary: #0066ff;
    --tint: rgb(255 255 255 / 0.14);
    --tint-text: #ffffff;
    --ours: rgb(0 180 255 / 0.16);
    color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--primary); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; }
.brand .quero { color: var(--text); }
.brand .clientela { color: var(--primary); }
.icon { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: var(--on-primary); align-items: center; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 14px;
  background: var(--primary); color: var(--on-primary);
  font-weight: 500; text-decoration: none; font-size: 17px;
}
.btn.small { min-height: 44px; padding: 0 16px; font-size: 15px; }
.top-acoes { display: flex; align-items: center; gap: 8px; }
.tema { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--border); background: transparent; color: var(--text); cursor: pointer; padding: 0; }
.tema .sol { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-tema="claro"]) .tema .sol { display: block; } :root:not([data-tema="claro"]) .tema .lua { display: none; } }
:root[data-tema="escuro"] .tema .sol { display: block; }
:root[data-tema="escuro"] .tema .lua { display: none; }
.btn.ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }

h1, h2, h3 { color: var(--text); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
h1 { font-size: clamp(32px, 6vw, 52px); margin: 0 0 16px; }
h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.muted { color: var(--muted); }

section { padding: 56px 0; }

/* Faixas de largura total, alternando a cor (branco, azul, branco, azul escuro, …).
   Cada faixa redefine os tokens, e o conteúdo dentro dela não precisa saber em qual está. */
.band { background: var(--bg); color: var(--body); }
.band-light { --bg: #ffffff; }
.band-tint { --bg: #e6f0ff; --surface: #ffffff; --tint: #ffffff; }
.band-blue, .band-navy {
  --bg: #0066ff;
  --surface: rgb(255 255 255 / 0.1);
  --border: rgb(255 255 255 / 0.22);
  --text: #ffffff;
  --body: #ffffff;
  --muted: rgb(255 255 255 / 0.85);
  --primary: #ffffff;
  --on-primary: #0066ff;
  --tint: rgb(255 255 255 / 0.16);
  --tint-text: #ffffff;
  --ours: rgb(255 255 255 / 0.12);
}
.band-navy { --bg: #0033a0; --on-primary: #0033a0; }
.band-yellow {
  --bg: #ffd43b;
  --text: #0033a0;
  --body: #0033a0;
  --muted: #1e3a8a;
  --primary: #0033a0;
  --on-primary: #ffffff;
}
@media (prefers-color-scheme: dark) {
:root:not([data-tema="claro"]) .band-light, :root:not([data-tema="claro"]) .band-tint { --bg: #0033a0; --surface: rgb(255 255 255 / 0.08); --tint: rgb(255 255 255 / 0.14); }
:root:not([data-tema="claro"]) .band-tint { --bg: #002a85; }
:root:not([data-tema="claro"]) .band-navy { --bg: #001f66; }
}
:root[data-tema="escuro"] .band-light, :root[data-tema="escuro"] .band-tint { --bg: #0033a0; --surface: rgb(255 255 255 / 0.08); --tint: rgb(255 255 255 / 0.14); }
:root[data-tema="escuro"] .band-tint { --bg: #002a85; }
:root[data-tema="escuro"] .band-navy { --bg: #001f66; }

/* Topo: o que a gente entrega, o formulário de começar e exemplos rolando */
.hero { padding-top: 28px; padding-bottom: 0; text-align: center; }
.selo { display: inline-block; margin: 0 0 16px; padding: 8px 16px; border-radius: 14px; background: #ffd43b; color: #0033a0; font-size: 14px; font-weight: 700; line-height: 1.45; }
.hero h1 { font-size: clamp(31px, 6vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; margin: 0 auto 16px; max-width: 12em; }
.hero h1 span { color: var(--primary); white-space: nowrap; }
.hero .lead { margin: 0 auto; max-width: 30em; font-size: 17px; line-height: 1.55; }
.hero .lead strong { color: var(--body); font-weight: 600; }
@media (prefers-color-scheme: dark) { :root:not([data-tema="claro"]) .hero h1 span { color: #7cc4ff; } }
:root[data-tema="escuro"] .hero h1 span { color: #7cc4ff; }

.faixa { margin-top: 28px; padding: 14px 0 16px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.faixa-rot { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
/* A lista está uma vez só no HTML; faixa.js duplica e liga a rolagem (sem JS, a faixa rola com o dedo). */
.trilho { display: flex; width: max-content; }
.trilho.rola { animation: rolar 40s linear infinite; }
.faixa:not(.rolando) { overflow-x: auto; }
.faixa:hover .trilho { animation-play-state: paused; }
.exemplos { display: flex; gap: 10px; margin: 0; padding: 0 10px 0 0; list-style: none; }
.exemplos li { flex: none; width: 240px; padding: 11px 13px; border-radius: 14px; background: var(--tint); }
.exemplos .quem { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.exemplos .quem b { color: var(--primary); }
.exemplos .acha { display: block; margin-top: 2px; font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3; }
@keyframes rolar { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .trilho.rola { animation: none; }
  .faixa { overflow-x: auto; }
}

/* Formulário da primeira dobra: o negócio e a cidade seguem para o cadastro, só no fragmento (#) da URL. */
.comecar { max-width: 460px; margin: 24px auto 0; padding: 18px 16px 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 10px 30px rgb(0 51 160 / 0.08); text-align: left; }
.comecar label { display: block; margin: 0 0 7px; font-size: 15px; font-weight: 700; color: var(--body); }
.comecar input { display: block; width: 100%; min-height: 50px; margin: 0 0 14px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--bg); color: var(--body); font: inherit; font-size: 16px; }
.comecar input::placeholder { color: var(--muted); opacity: 0.75; }
.comecar input:focus { outline: none; border-color: var(--primary); }
.comecar .btn.big { max-width: none; margin-top: 4px; padding: 0 12px; border: 0; cursor: pointer; font-family: inherit; font-size: 16.5px; white-space: nowrap; }
.comecar .micro { text-align: center; }
.exemplos .pq { display: block; margin-top: 3px; font-size: 13px; color: var(--body); line-height: 1.35; }

.hero-cta { padding-top: 8px; padding-bottom: 32px; text-align: center; }
.btn.big { width: 100%; max-width: 420px; min-height: 56px; border-radius: 16px; font-size: 18px; font-weight: 700; gap: 8px; box-shadow: 0 8px 20px rgb(0 102 255 / 0.28); }
.planos-link { display: block; width: max-content; margin: 16px auto 0; font-size: 15px; font-weight: 600; text-underline-offset: 3px; }

.micro { font-size: 14px; color: var(--muted); margin: 10px 0 0; }

/* A dor antes da solução */
.pains { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 760px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pain { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
.pain p { margin: 0; color: var(--muted); font-size: 16px; }
.turn { margin: 24px 0 0; padding: 18px 20px; border-radius: 16px; background: var(--tint); color: var(--tint-text); font-weight: 500; max-width: 40em; }

.example { display: grid; gap: 32px; align-items: center; }
@media (min-width: 880px) { .example { grid-template-columns: 1.1fr 0.9fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 0.45em; width: 12px; height: 7px; border-left: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(-45deg); }

/* Card de exemplo: tudo fictício (ADR 0003: a landing não usa dado do Google). */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 18px; max-width: 390px; justify-self: center; width: 100%; }
.card .tag { display: inline-block; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); }
.card .name { font-size: 21px; font-weight: 600; color: var(--text); margin: 10px 0 2px; }
.card .addr { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.card .ours { background: var(--ours); border-radius: 14px; padding: 14px; }
.card .label { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.card .ours p { margin: 0 0 10px; font-size: 15px; }
.card .ours p:last-child { margin: 0; }
.card .phone { margin-top: 12px; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 14px; background: var(--primary); color: var(--on-primary); font-weight: 500; }
.card .fake { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; }

.steps { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
.step .n { width: 36px; height: 36px; border-radius: 999px; background: var(--tint); color: var(--tint-text); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; margin-bottom: 12px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.shield { display: grid; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 28px; }
@media (min-width: 760px) { .shield { grid-template-columns: auto 1fr; } }
.shield .big { width: 64px; height: 64px; border-radius: 999px; background: var(--tint); color: var(--tint-text); display: flex; align-items: center; justify-content: center; }
.shield p { margin: 0; }

.plans { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.plan.best { border: 2px solid var(--primary); }
.plan .badge { position: absolute; top: -13px; left: 18px; background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.plan .head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.plan .title { font-size: 21px; font-weight: 600; color: var(--text); }
.plan .price { color: var(--muted); font-size: 15px; }
.plan .price strong { color: var(--text); font-size: 26px; font-weight: 600; }
.plan .per { padding: 10px 12px; border-radius: 12px; background: var(--tint); color: var(--tint-text); font-weight: 600; }
.plan .per span { font-weight: 500; font-size: 14px; }
.plan .btn { margin-top: 6px; }
.plan .day { font-size: 14px; color: var(--muted); margin-top: -6px; }
.anchor { font-size: 19px; margin: 0 0 8px; max-width: 34em; }
.anchor strong { color: var(--text); font-weight: 600; }
/* Garantia em destaque, antes dos planos */
.guarantee { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; max-width: 820px; padding: 18px 20px; border-radius: 16px; border: 2px solid var(--primary); background: var(--tint); color: var(--tint-text); }
.guarantee strong { font-size: 18px; }
.guarantee svg { flex: none; margin-top: 2px; }
.guarantee p { margin: 0; font-size: 16px; line-height: 1.5; }
.guarantee a { color: inherit; }

.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--text); }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.cta { text-align: center; }
.cta .lead { margin-left: auto; margin-right: auto; }

footer { padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }

/* Páginas legais */
.legal { max-width: 760px; padding-top: 16px; padding-bottom: 56px; }
.legal h1 { font-size: 34px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal .draft { background: var(--tint); color: var(--tint-text); border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.legal li { margin-bottom: 6px; }

/* Faixa de aceite do Pixel (consentimento.js, ADR 0039) */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10;
  max-width: 720px; margin: 0 auto; padding: 14px 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  background: var(--bg); color: var(--body); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.18); font-size: 15px; line-height: 1.5;
}
.consent p { margin: 0; flex: 1 1 260px; }
.consent-actions { display: flex; gap: 8px; margin-left: auto; }
/* No celular, uma tira baixa colada no rodapé, para não cobrir o formulário do topo. */
@media (max-width: 600px) {
  .consent {
    left: 0; right: 0; bottom: 0; padding: 8px 12px; gap: 8px;
    flex-wrap: nowrap; border-radius: 14px 14px 0 0; border-bottom: 0;
    font-size: 13px; line-height: 1.35;
  }
  .consent p { flex: 1 1 auto; }
  .consent-actions { gap: 6px; }
  .consent .btn.small { min-height: 36px; padding: 0 12px; font-size: 14px; }
}
