/* Cadê a Van — site de captação. Visual "Modernist": Archivo, vermelho único, linhas de 2px, cantos retos.
   Fontes servidas daqui mesmo (sem Google Fonts): mais rápido e sem enviar o IP do visitante a terceiros. */
@font-face { font-family: "Archivo"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/archivo-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #f3f2f2;
  --surface: #f8f4f4;
  --text: #201e1d;
  --muted: #4d4a49;        /* texto secundário: contraste > 7:1 no fundo */
  --accent: #ec3013;       /* só em texto grande e faixas */
  --accent-btn: #dd2b0f;   /* botões: texto branco com contraste ≥ 4,5:1 */
  --accent-text: #ae1800;  /* rótulos pequenos em vermelho */
  --divider: rgba(32, 30, 29, .4);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p a, li a { text-decoration: underline; text-underline-offset: 3px; }  /* link no meio do texto não pode depender só da cor */
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
h1, h2, h3 { font-weight: 800; margin: 0; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.rule { height: 2px; border: 0; margin: 0; background: var(--divider); }
section { padding: 84px 0; }
.label { display: block; font-size: 13px; line-height: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; margin: 0 0 14px; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 20px; }
.lead { font-size: 17px; line-height: 28px; max-width: 52ch; }
.body { font-size: 15.5px; line-height: 28px; color: var(--muted); max-width: 52ch; }

/* navegação */
.nav { display: flex; align-items: center; gap: 8px 32px; flex-wrap: wrap; padding: 18px var(--pad); border-bottom: 2px solid var(--divider); }
.nav-brand { font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--text); margin-right: auto; }
.nav-brand:hover { text-decoration: none; }
.nav a:not(.btn):not(.nav-brand) { color: var(--text); font-size: 15px; }

/* botões (rótulo alinhado à esquerda, como no design) */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; font: 600 15px/1 var(--font); border: 2px solid var(--text); color: var(--text); background: transparent; white-space: nowrap; cursor: pointer; }
.btn:hover { text-decoration: none; background: var(--text); color: var(--bg); }
.btn-primary { background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; }
.btn-primary:hover { background: var(--text); border-color: var(--text); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* topo */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px clamp(24px, 5vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 70px); line-height: 1.06; max-width: 17ch; margin-left: -.05em; }
.hero h1 .kw { display: block; font-size: 13px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--accent-text); margin: 0 0 22px .05em; }
.hero h1 .hot { display: block; color: var(--accent); }
.hero p.lead { margin-top: 36px; }
.phone { justify-self: center; width: 100%; max-width: 300px; border: 2px solid var(--text); padding: 10px; background: var(--text); }
.phone img { width: 100%; }

/* números */
.stats { display: flex; flex-wrap: wrap; gap: 28px 64px; padding: 56px 0; }
.stat { flex: 1 1 220px; }
.stat strong { display: block; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.1; color: var(--accent); font-weight: 800; }
.stat span { display: block; font-size: 13px; line-height: 20px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }

/* passos */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 56px; padding: 42px 0; border-top: 2px solid var(--divider); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps .n { flex: 0 0 60px; font-weight: 800; font-size: 15px; font-feature-settings: "tnum" 1; }
.steps h2 { flex: 1 1 280px; font-size: 24px; line-height: 28px; }
.steps p { flex: 2 1 340px; }
.steps .note { flex: 1 1 100%; }

/* grades */
h2.title { font-size: 32px; line-height: 42px; margin: 0 0 42px; max-width: 24ch; }
.grid { display: grid; gap: 28px clamp(24px, 4vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.cell { border-top: 2px solid var(--divider); padding-top: 24px; }
.cell h3 { font-size: 20px; line-height: 28px; }
.cell p { margin-top: 14px; }
.shots { display: grid; gap: 42px clamp(24px, 4vw, 64px); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.shots figure { margin: 0; }
.shots img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border: 2px solid var(--divider); background: #fff; }
.shots figcaption { font-size: 13px; line-height: 20px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 18px; font-weight: 600; }
.shots p { margin-top: 8px; }
.band { background: var(--surface); }

/* planos */
table { width: 100%; max-width: 760px; border-collapse: collapse; font-feature-settings: "tnum" 1; }
th, td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 2px solid var(--divider); }
th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
td:last-child, th:last-child { text-align: right; padding-right: 0; }

/* perguntas */
details { border-top: 2px solid var(--divider); padding: 24px 0; max-width: 820px; }
details:last-of-type { border-bottom: 2px solid var(--divider); }
summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 20px; line-height: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; }
details[open] > summary::after { content: "–"; }
details p { margin-top: 14px; max-width: 62ch; }

/* cadastro e faixa final */
.signup { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 42px clamp(24px, 5vw, 96px); }
.signup h2 { font-size: 32px; line-height: 42px; max-width: 18ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag { border: 2px solid var(--text); padding: 4px 12px; font-size: 13px; font-weight: 600; }
.box { max-width: 480px; border-top: 2px solid var(--divider); padding-top: 28px; }
.box .actions { flex-direction: column; align-items: flex-start; margin-top: 0; }
.cta { background: var(--accent-btn); color: #fff; }
.cta .wrap { padding-top: 84px; padding-bottom: 84px; }
.cta h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.06; max-width: 20ch; }
.cta .btn { color: #fff; border-color: #fff; }
.cta .btn:hover { background: #fff; color: var(--text); }

footer { display: flex; flex-wrap: wrap; gap: 14px 42px; justify-content: space-between; padding: 56px 0; border-top: 2px solid var(--divider); font-size: 13px; line-height: 28px; color: var(--muted); }
footer a { display: block; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
footer a:hover { color: var(--text); }

/* páginas de texto (privacidade, termos) */
.doc { padding: 56px 0 84px; max-width: 760px; }
.doc h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }
.doc h2 { font-size: 22px; line-height: 30px; margin: 42px 0 12px; }
.doc p, .doc li { font-size: 16px; line-height: 27px; color: var(--muted); }
.doc p + p, .doc ul { margin-top: 12px; }
.doc ul { padding-left: 22px; }
.doc strong { color: var(--text); }
.doc table { max-width: none; }
.doc th, .doc td { font-size: 14px; line-height: 22px; vertical-align: top; padding: 12px 12px 12px 0; }
.doc td:last-child, .doc th:last-child { text-align: left; }

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .nav a:not(.btn):not(.nav-brand) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* botão flutuante do WhatsApp (canto inferior direito; aparece também no celular) */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); animation: wa-bob 3.2s ease-in-out infinite; }
.wa-float svg { fill: #fff; }
.wa-float:hover { background: #1ebe5a; animation-play-state: paused; text-decoration: none; }
.wa-float:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
@keyframes wa-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }
@media (max-width: 640px) { .wa-float { right: 14px; width: 56px; height: 56px; } footer { padding-bottom: 96px; } }
