/* VoltzHub: mesma identidade do app (preto + verde da logo). */
:root {
  --bg: #060907;
  --bg-2: #0c120e;
  --surface: #111713;
  --surface-2: #17201a;
  --line: #22302a;
  --ink: #e8efea;
  --muted: #93a399;
  --accent: #5bc27a;
  --accent-strong: #3de34f;
  --accent-soft: #15231a;
  --on-accent: #06140b;
  --bad: #f07467;
  --warn: #e5a93a;
  --radius: 16px;
  --f-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(40px, 8vw, 72px); }
h2 { font-size: clamp(30px, 5vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 5; background: rgba(6, 9, 7, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 26px/1 var(--f-display); letter-spacing: .02em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand b { color: var(--accent-strong); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }
@media (max-width: 430px) { .nav .hide-xs { display: none; } }
.nav a { white-space: nowrap; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font: 700 16px/1 var(--f-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #6fd18c; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-danger { background: transparent; color: var(--bad); border-color: rgba(240, 116, 103, .4); }
.btn-lg { min-height: 56px; font-size: 17px; padding: 0 28px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.nav .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--on-accent); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(closest-side, rgba(61, 227, 79, .16), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
/* Sem isso, a largura real das imagens (1170 px) alarga a coluna no celular. */
.hero .wrap > * { min-width: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.hero h1 b { color: var(--accent-strong); }
.hero .lead { font-size: 19px; color: var(--muted); margin: 20px 0 28px; max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.price-tag { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* celular com a tela real do app */
.phones { position: relative; isolation: isolate; justify-self: center; width: min(330px, 100%); }
.phone { position: relative; margin: 0; padding: 10px; border-radius: 46px; background: #000; border: 1px solid #2a3a30; box-shadow: 0 40px 80px -24px rgba(61, 227, 79, .28), 0 0 0 2px #0b0f0c; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 99px; background: #000; z-index: 1; }
.phone img { width: 100%; height: auto; border-radius: 36px; }
/* Segunda tela atrás, só em telas largas. */
.phone-back { position: absolute; inset: 0; transform: translate(-46%, 26px) rotate(-7deg) scale(.9); opacity: .55; filter: saturate(.8); z-index: -1; }
@media (max-width: 1080px) { .phone-back { display: none; } }

/* ---------- seções ---------- */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 18px; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature p { color: var(--muted); margin-top: 8px; font-size: 15px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 24px 24px 24px 76px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 700 20px/1 var(--f-display); }
.step p { color: var(--muted); margin-top: 6px; font-size: 15px; }

/* preço */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--accent); border-radius: 20px; padding: 32px; box-shadow: 0 30px 60px -30px rgba(61, 227, 79, .35); }
.plan .value { font: 700 64px/1 var(--f-display); margin: 14px 0 4px; }
.plan .value small { font-size: 22px; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--accent-strong); font-weight: 700; }
.plan .btn { width: 100%; }

/* perguntas */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* rodapé */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.store:hover { border-color: var(--muted); }

/* ---------- formulários (assinar e minha conta) ---------- */
.page { padding: 40px 0 72px; }
.checkout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .checkout aside { order: -1; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 26px; margin-bottom: 18px; }
fieldset { border: 0; margin: 0 0 8px; padding: 0; }
legend { font: 600 20px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.fields { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 20px; }
.f { display: flex; flex-direction: column; gap: 6px; grid-column: span 6; min-width: 0; }
.f.s3 { grid-column: span 3; } .f.s2 { grid-column: span 2; } .f.s4 { grid-column: span 4; }
@media (max-width: 560px) { .f.s3, .f.s2, .f.s4 { grid-column: span 6; } .f.keep { grid-column: span 3; } }
label { font-size: 14px; font-weight: 600; color: var(--muted); }
input, select { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 500 16px/1.2 var(--f-body); }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91, 194, 122, .2); }
input[aria-invalid="true"] { border-color: var(--bad); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); font-weight: 500; }
.check input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.err { color: var(--bad); font-size: 13px; min-height: 0; }
.alert { border-radius: 12px; padding: 14px 16px; font-size: 15px; margin-bottom: 16px; }
.alert.bad { background: rgba(240, 116, 103, .12); border: 1px solid rgba(240, 116, 103, .4); color: #ffc9c3; }
.alert.ok { background: var(--accent-soft); border: 1px solid rgba(91, 194, 122, .45); }
.alert.warn { background: rgba(229, 169, 58, .12); border: 1px solid rgba(229, 169, 58, .45); }
.secure { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; margin-top: 12px; }
.summary .line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary .total { font: 700 34px/1 var(--f-display); }
.summary ul { padding-left: 18px; color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.done { text-align: center; padding: 40px 24px; }
.done img { width: 120px; margin: 0 auto 20px; border-radius: 24px; }
.done h2 { margin-bottom: 10px; }
.done .stores { justify-content: center; margin-top: 22px; }
.next-steps { text-align: left; max-width: 460px; margin: 22px auto 0; padding-left: 22px; color: var(--muted); }
.next-steps li + li { margin-top: 8px; }
.next-steps strong { color: var(--ink); }
.app-note { display: flex; gap: 14px; align-items: flex-start; }
.app-note img { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.app-note .stores { margin-top: 14px; }
.status-pill { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.status-pill.ok { background: var(--accent-soft); color: var(--accent-strong); }
.status-pill.warn { background: rgba(229, 169, 58, .15); color: var(--warn); }
.status-pill.bad { background: rgba(240, 116, 103, .15); color: var(--bad); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 16px 0 20px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
[hidden] { display: none !important; }

/* ---------- páginas de texto ---------- */
.doc { max-width: 780px; padding: 48px 0 72px; }
.doc h1 { font-size: clamp(34px, 6vw, 52px); margin-bottom: 8px; }
.doc h2 { font-size: 26px; margin: 36px 0 10px; }
.doc p, .doc li { color: #c9d4cd; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 6px; }

/* ---------- assinatura em 3 etapas ---------- */
.page-title { font-size: clamp(32px, 6vw, 52px); margin-bottom: 20px; }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; counter-reset: none; }
.stepper li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; position: relative; }
.stepper li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); font: 700 16px/1 var(--f-display); background: var(--bg); position: relative; z-index: 1; }
/* Linha entre as etapas. */
.stepper li + li::before { content: ""; position: absolute; top: 16px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.stepper li[aria-current="step"] { color: var(--ink); }
.stepper li[aria-current="step"] span { border-color: var(--accent); color: var(--accent-strong); }
.stepper li.is-done span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.stepper li.is-done + li::before { background: var(--accent); }
.hint { font-size: 14px; color: var(--muted); margin: -6px 0 8px; }
.recap { font-size: 14px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 16px; overflow-wrap: anywhere; }
.step-actions { display: flex; gap: 10px; margin-top: 22px; }
.step-actions .btn-primary { flex: 1; }
.f.s1 { grid-column: span 1; }
@media (max-width: 560px) { .f.s1.keep { grid-column: span 2; } .f.s2.keep { grid-column: span 4; } }
/* Faixa de preço: só no celular, no lugar do resumo completo. */
.price-bar { display: none; }
@media (max-width: 900px) {
  .price-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 15px; }
  .price-bar strong { font: 700 22px/1 var(--f-display); color: var(--accent-strong); }
  .checkout aside { display: none; }
  .checkout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .page { padding-top: 24px; }
  .panel { padding: 18px 16px; border-radius: 14px; }
  .step-actions { position: sticky; bottom: 0; margin: 22px -16px -18px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; }
}
/* Resumo alinhado com o formulário; rolagem para a etapa sem esconder atrás do cabeçalho fixo. */
.checkout > .panel + .panel { margin-top: 0; }
#form { scroll-margin-top: 80px; }
