:root {
  --bg: #0d0d10;
  --surface: #151519;
  --surface-2: #1c1c22;
  --border: rgba(255,255,255,.08);
  --text: #f7f7fb;
  --muted: #aaaab8;
  --purple: #7c5cff;
  --purple-2: #9c87ff;
  --teal: #3ddbd9;
  --success: #43d17b;
  --danger: #ff6b6b;
  --shadow: 0 28px 80px rgba(0,0,0,.45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(124,92,255,.16), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(61,219,217,.08), transparent 24%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
.page-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.brand { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; background: linear-gradient(145deg, var(--purple), var(--teal)); color: white; box-shadow: 0 12px 34px rgba(124,92,255,.25); }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 15px; letter-spacing: .02em; }
.brand-copy small { color: var(--muted); font-size: 11px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; color: #d6d6df; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 999px; padding: 9px 12px; font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(67,209,123,.08); }
.hero { min-height: 710px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; padding: 72px 0 82px; }
.hero-copy { max-width: 650px; }
.eyebrow, .step-label { font-weight: 800; letter-spacing: .12em; font-size: 11px; color: var(--purple-2); }
h1 { font-size: clamp(45px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; margin: 18px 0 24px; max-width: 780px; }
h1 span { background: linear-gradient(100deg, var(--purple-2), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy > p { color: #c0c0ca; font-size: 18px; line-height: 1.65; max-width: 600px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-points span { border: 1px solid var(--border); background: rgba(255,255,255,.035); color: #d5d5de; border-radius: 999px; padding: 9px 12px; font-size: 12px; }
.app-card, .result-card, .lead-card { border: 1px solid var(--border); background: linear-gradient(180deg, rgba(29,29,35,.94), rgba(18,18,22,.96)); border-radius: 28px; box-shadow: var(--shadow); }
.app-card { padding: 28px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.card-head h2 { font-size: 24px; margin: 5px 0 0; letter-spacing: -.03em; }
.progress { display: flex; gap: 6px; margin-top: 8px; }
.progress span, .progress i { width: 26px; height: 4px; border-radius: 99px; display: block; }
.progress span { background: var(--purple); }
.progress i { background: rgba(255,255,255,.11); }
.progress.done i { background: var(--purple); }
.vehicle-type { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: rgba(255,255,255,.03); padding: 6px; border-radius: 15px; margin-bottom: 22px; }
.type-btn { border: 1px solid transparent; color: #c6c6cf; background: transparent; border-radius: 11px; padding: 11px 8px; display: flex; justify-content: center; align-items: center; gap: 7px; }
.type-btn.active { background: rgba(124,92,255,.13); border-color: rgba(124,92,255,.28); color: white; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 8px; }
label > span { color: #bdbdc7; font-size: 12px; font-weight: 700; }
select, input { width: 100%; min-height: 49px; border-radius: 12px; border: 1px solid var(--border); background: #101014; color: var(--text); outline: none; padding: 0 14px; }
select:focus, input:focus { border-color: rgba(124,92,255,.7); box-shadow: 0 0 0 3px rgba(124,92,255,.10); }
select:disabled { opacity: .5; cursor: not-allowed; }
.primary-btn, .secondary-btn { border: 0; border-radius: 13px; min-height: 54px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; padding: 0 18px; transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease; }
.primary-btn { color: white; background: linear-gradient(110deg, var(--purple), #6848f2); box-shadow: 0 14px 36px rgba(124,92,255,.22); margin-top: 6px; }
.primary-btn:hover:not(:disabled), .secondary-btn:hover { transform: translateY(-1px); }
.primary-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.primary-btn b { font-size: 22px; }
.form-status { min-height: 18px; margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
.form-status.error { color: var(--danger); }
.result-section { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 0 96px; }
.hidden { display: none !important; }
.result-card, .lead-card { padding: 30px; }
.result-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.result-top h2 { margin: 6px 0 8px; font-size: 26px; line-height: 1.2; }
.result-top p { color: var(--muted); margin: 0; font-size: 13px; }
.fipe-badge { border: 1px solid rgba(61,219,217,.24); background: rgba(61,219,217,.08); color: var(--teal); padding: 9px 12px; border-radius: 12px; font-weight: 800; letter-spacing: .08em; font-size: 12px; }
.price-box { margin: 24px 0 18px; padding: 22px; border-radius: 18px; background: linear-gradient(135deg, rgba(124,92,255,.13), rgba(61,219,217,.06)); border: 1px solid rgba(124,92,255,.18); display: grid; gap: 5px; }
.price-box span, .price-box small { color: #bcbcc7; font-size: 12px; }
.price-box strong { font-size: clamp(34px, 4vw, 48px); letter-spacing: -.04em; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.result-grid > div { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 14px; padding: 14px; display: grid; gap: 5px; }
.result-grid small { color: var(--muted); }
.result-grid strong { font-size: 13px; }
.secondary-btn { width: 100%; color: white; background: rgba(255,255,255,.07); border: 1px solid var(--border); justify-content: center; }
.legal-copy, .lead-note { color: #7f7f8b; font-size: 10px; line-height: 1.5; margin: 14px 0 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.primary-btn.whatsapp { background: linear-gradient(110deg, #1da851, #14843f); box-shadow: 0 14px 36px rgba(29,168,81,.17); }
.how-it-works { border-top: 1px solid var(--border); padding: 82px 0 92px; }
.how-it-works > h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -.04em; margin: 10px 0 34px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps-grid article { border: 1px solid var(--border); background: rgba(255,255,255,.025); border-radius: 20px; padding: 22px; min-height: 190px; }
.steps-grid b { color: var(--purple-2); font-size: 12px; }
.steps-grid h3 { margin: 38px 0 8px; font-size: 18px; }
.steps-grid p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; }
footer { min-height: 92px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; color: #70707d; font-size: 11px; gap: 20px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 42px; padding: 54px 0 62px; min-height: auto; }
  .hero-copy { max-width: 760px; }
  .result-section { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .page-shell { width: min(100% - 22px, 1180px); }
  .topbar { min-height: 72px; }
  .status-pill { font-size: 10px; padding: 8px 10px; }
  .brand-copy small { display: none; }
  .hero { padding-top: 44px; }
  h1 { font-size: 47px; }
  .hero-copy > p { font-size: 15px; }
  .app-card, .result-card, .lead-card { padding: 20px; border-radius: 22px; }
  .vehicle-type { grid-template-columns: repeat(3, 1fr); }
  .type-btn { font-size: 12px; }
  .type-btn span { display: none; }
  .two-col, .result-grid, .steps-grid { grid-template-columns: 1fr; }
  .steps-grid article { min-height: 155px; }
  footer { flex-direction: column; align-items: flex-start; justify-content: center; }
}
