/* =========================================================
   Proteção Caminhão — Landing page (rascunho inicial)
   Cores e fontes provisórias: ajustar quando o cliente
   enviar a identidade visual (basta trocar as variáveis).
   ========================================================= */

:root {
  --asphalt: #0D1117;
  --asphalt-2: #141A22;
  --asphalt-3: #1C242E;
  --asphalt-line: #2A3440;

  --amber: #FFB703;
  --amber-2: #F2A600;
  --amber-3: #E09B00;
  --amber-soft: #FFF6DC;
  --amber-ink: #1A1400;

  --text: #18202A;
  --muted: #5A6573;
  --line: #E2E7ED;
  --bg: #FFFFFF;
  --bg-soft: #F4F6F9;

  --on-dark: #EDF1F6;
  --on-dark-muted: #9AA6B5;

  --wa: #25D366;
  --wa-2: #1EBE5A;
  --danger: #D93F3F;
  --ok: #1F9D57;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -24px rgba(13, 17, 23, .35);
  --shadow-sm: 0 6px 20px -10px rgba(13, 17, 23, .25);

  --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --header-h: 76px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .2px; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.4rem; font-weight: 700; }
p { margin: 0 0 1em; }
small { font-size: .8em; }
section[id], [id="cotacao"] { scroll-margin-top: calc(var(--header-h) + 12px); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--amber); color: var(--amber-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.22rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--amber); color: var(--amber-ink); box-shadow: 0 8px 24px -10px rgba(255, 183, 3, .7); }
.btn-primary:hover { background: var(--amber-2); }
.btn-wa { background: var(--wa); color: #06270F; }
.btn-wa:hover { background: var(--wa-2); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); border-color: #C5CDD7; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--text); }
.link-arrow .ico { transition: transform .15s ease; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Eyebrow / cabeçalho de seção ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber-3);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--amber); }

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--asphalt); color: var(--on-dark); }
.section--dark p { color: var(--on-dark-muted); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--dark .section-head p { color: var(--on-dark-muted); }
.section-head--left { margin: 0; text-align: left; }

.lead { font-size: 1.2rem; line-height: 1.55; }
.note { margin: 28px 0 0; font-size: .92rem; color: var(--muted); text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--on-dark);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled, .site-header.nav-open {
  background: rgba(13, 17, 23, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.logo-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;
  background: var(--amber); color: var(--amber-ink);
}
.logo-mark .ico { width: 24px; height: 24px; stroke-width: 2.2; }
.logo-text {
  display: flex; flex-direction: column;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: 2.4px; text-transform: uppercase; line-height: 1;
}
.logo-text b { font-size: 1.45rem; font-weight: 800; letter-spacing: .8px; line-height: 1; }

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--on-dark); opacity: .85; transition: opacity .15s, color .15s; }
.nav a:hover { opacity: 1; color: var(--amber); }
.nav .nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .5px; }
.header-phone .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(255, 183, 3, .14); color: var(--amber); }
.header-phone span { display: flex; flex-direction: column; line-height: 1.05; }
.header-phone small { font-family: var(--font-body); font-weight: 500; font-size: .74rem; letter-spacing: .3px; color: var(--on-dark-muted); }
.header-cta { min-height: 44px; padding: 10px 18px; font-size: 1.02rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 10px;
  background: rgba(255, 255, 255, .08); color: var(--on-dark); cursor: pointer;
  place-items: center;
}
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle .ico-close, .nav-open .nav-toggle .ico-open { display: none; }
.nav-open .nav-toggle .ico-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center;
  min-height: min(100vh, 1000px);
  min-height: min(100svh, 1000px);
  padding: calc(var(--header-h) + clamp(16px, 4vh, 56px)) 0 clamp(20px, 4.5vh, 64px);
  background: #0A0D12; color: var(--on-dark);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: #0A0D12 url("../img/hero-caminhao.jpg") 50% 70% / cover no-repeat;
  animation: hero-zoom 16s ease-out both;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 13, 18, .6) 0%, rgba(10, 13, 18, 0) 22%),
    linear-gradient(0deg, rgba(10, 13, 18, .9) 0%, rgba(10, 13, 18, 0) 30%),
    linear-gradient(90deg, rgba(10, 13, 18, .9) 0%, rgba(10, 13, 18, .64) 42%, rgba(10, 13, 18, .28) 68%, rgba(10, 13, 18, .45) 100%);
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4rem); font-weight: 800; text-transform: uppercase; line-height: 1.02; letter-spacing: .3px;
  margin-bottom: 22px; color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hl { color: var(--amber); }
.hero .lead { color: #D3DAE3; max-width: 560px; margin-bottom: 28px; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }

.check-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; max-width: 600px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: #E6EBF1; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.check-list .ico { width: 20px; height: 20px; color: var(--amber); stroke-width: 2.6; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item strong { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.trust-item span { font-size: .88rem; line-height: 1.25; color: #AEB8C5; }
.star { fill: var(--amber); stroke: var(--amber); width: 22px; height: 22px; }

/* ---------- Formulário de cotação ---------- */
.quote-card {
  position: relative; z-index: 2;
  background: #fff; color: var(--text);
  border-radius: 20px; padding: 30px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  border-top: 6px solid var(--amber);
}
.quote-card.flash { animation: flash 1.2s ease; }
@keyframes flash { 0%, 100% { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); } 30% { box-shadow: 0 0 0 6px rgba(255, 183, 3, .55), 0 40px 80px -30px rgba(0, 0, 0, .6); } }
.qf-title { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; text-transform: uppercase; line-height: 1.05; margin: 0 0 4px; }
.qf-sub { color: var(--muted); margin: 0 0 18px; font-size: .98rem; }
.qf-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.qf-progress span { height: 5px; border-radius: 3px; background: var(--line); transition: background-color .25s ease; }
.qf-progress span.on { background: var(--amber); }
.qf-stepinfo { font-size: .85rem; color: var(--muted); margin: 0 0 16px; }

/* As etapas ocupam a mesma célula: o cartão fica com a altura da maior e não "pula" ao avançar */
.quote-form { display: grid; grid-template-columns: minmax(0, 1fr); }
.quote-form > * { grid-column: 1; }
.qf-head { grid-row: 1; }
.qf-step, .qf-success { grid-row: 2; }
.qf-success { align-self: start; }
.qf-safe { grid-row: 3; }
.qf-step { display: flex; flex-direction: column; border: 0; padding: 0; margin: 0; min-width: 0; }
.qf-step[hidden] { visibility: hidden; }
.qf-step legend { padding: 0; margin-bottom: 14px; font-weight: 700; font-size: 1.08rem; }

.vehicle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; flex: 1; }
.vcard {
  position: relative; display: flex; align-items: center; gap: 10px;
  min-height: 58px; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
  font-weight: 600; font-size: .98rem; line-height: 1.2;
  transition: border-color .15s ease, background-color .15s ease;
}
.vcard:hover { border-color: #C5CDD7; }
.vcard input { position: absolute; opacity: 0; pointer-events: none; }
.vcard .ico { width: 34px; height: 34px; padding: 6px; border-radius: 9px; background: var(--bg-soft); color: var(--text); }
.vcard:has(input:checked) { border-color: var(--amber-3); background: var(--amber-soft); }
.vcard:has(input:checked) .ico { background: var(--amber); color: var(--amber-ink); }
.vcard:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }

.field { margin-bottom: 14px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid #D3DAE3; border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 90px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6573' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber-3); box-shadow: 0 0 0 4px rgba(255, 183, 3, .25); }

.field-error { display: none; margin: 6px 0 0; font-size: .85rem; font-weight: 600; color: var(--danger); }
.is-invalid .field-error, .field-error.show { display: block; }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--danger); }

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--muted); line-height: 1.45; cursor: pointer; margin: 4px 0 6px; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--amber-3); flex: none; }
.consent a { color: var(--text); }

.qf-nav { display: flex; gap: 10px; margin-top: auto; padding-top: 18px; }
.qf-nav .btn { flex: 1; }
.qf-nav .btn-ghost { flex: 0 0 auto; }

.qf-safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; font-size: .8rem; color: var(--muted); }
.qf-safe .ico { width: 14px; height: 14px; }

.qf-success { text-align: center; padding: 12px 0 4px; }
.qf-success-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #E3F6EA; color: var(--ok); margin-bottom: 12px; }
.qf-success-icon .ico { width: 32px; height: 32px; stroke-width: 3; }
.qf-success p { color: var(--muted); }
.qf-success .small { font-size: .9rem; }
.quote-form.is-done .qf-head, .quote-form.is-done .qf-step { display: none; }

/* ---------- Números ---------- */
.stats {
  position: relative; background: var(--asphalt-2); color: var(--on-dark);
  padding: 44px 0; border-top: 1px solid var(--asphalt-line);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; border-left: 2px solid var(--amber); }
.stat strong { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 800; line-height: 1; color: #fff; }
.stat span { font-weight: 500; line-height: 1.35; font-size: .96rem; color: var(--on-dark-muted); }

/* ---------- Para quem ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.aud-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 34px 30px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.aud-card p { color: var(--muted); flex: 1; }
.aud-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; background: var(--amber-soft); color: var(--amber-3); margin-bottom: 14px; }
.aud-icon .ico { width: 28px; height: 28px; }
.aud-card--dark { background: var(--asphalt); color: var(--on-dark); border-color: var(--asphalt); }
.aud-card--dark p { color: var(--on-dark-muted); }
.aud-card--dark .aud-icon { background: var(--amber); color: var(--amber-ink); }
.aud-card--dark .link-arrow { color: var(--amber); }

/* ---------- Coberturas ---------- */
.cov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cov-card {
  position: relative; padding: 28px 26px 24px;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cov-card::after {
  content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.cov-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cov-card:hover::after { transform: scaleX(1); }
.cov-card h3 { margin-top: 16px; }
.cov-card p { color: var(--muted); margin: 0; font-size: 1rem; }
.cov-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--asphalt); color: var(--amber); }
.cov-icon .ico { width: 26px; height: 26px; }

/* ---------- Veículos ---------- */
.veh-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.veh-layout .section-head p { font-size: 1.1rem; color: var(--muted); }
.brands-line { font-weight: 600; color: var(--text) !important; font-size: 1rem !important; margin-bottom: 28px; }
.veh-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.veh-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  transition: border-color .2s ease, background-color .2s ease;
}
.veh-card:hover { border-color: var(--amber-3); background: var(--amber-soft); }
.veh-card .ico { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--amber); color: var(--amber-ink); }
.veh-card strong { display: block; font-family: var(--font-head); font-size: 1.28rem; line-height: 1.1; text-transform: uppercase; }
.veh-card span { display: block; font-size: .92rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }

/* ---------- Como funciona ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step {
  position: relative; padding: 30px 26px;
  background: var(--asphalt-2); border: 1px solid var(--asphalt-line); border-radius: var(--radius);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 58px; right: -21px; width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 5px, transparent 5px 9px);
}
.step-num { position: absolute; top: 20px; right: 22px; font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .08); }
.step-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); margin-bottom: 20px; }
.step-icon .ico { width: 26px; height: 26px; }
.step h3 { color: #fff; }
.step p { margin: 0; font-size: 1rem; }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 30px 30px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line);
}
.plan h3 { font-size: 2rem; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
.plan-desc { color: var(--muted); min-height: 3.2em; }
.plan-price { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; line-height: 1.1; padding: 16px 0 18px; margin-bottom: 18px; border-bottom: 1px dashed var(--line); text-transform: uppercase; }
.plan-price small { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .5px; }
.plan-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; flex: 1; align-content: start; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; line-height: 1.35; }
.plan-list .ico { width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; background: #E3F6EA; color: var(--ok); stroke-width: 3; }
.plan-list li.no { color: #98A2AF; }
.plan-list li.no .ico { background: var(--bg-soft); color: #A8B1BC; }
.plan--featured { background: var(--asphalt); color: var(--on-dark); border-color: var(--asphalt); box-shadow: var(--shadow); transform: translateY(-12px); }
.plan--featured .plan-desc, .plan--featured .plan-price small { color: var(--on-dark-muted); }
.plan--featured .plan-price { color: var(--amber); border-color: var(--asphalt-line); }
.plan--featured .plan-list .ico { background: var(--amber); color: var(--amber-ink); }
.plan-badge {
  position: absolute; top: -14px; left: 30px;
  padding: 5px 14px; border-radius: 999px; background: var(--amber); color: var(--amber-ink);
  font-family: var(--font-head); font-weight: 800; font-size: .95rem; letter-spacing: 1px; text-transform: uppercase;
}

/* ---------- Comparativo ---------- */
.compare-wrap { max-width: 920px; margin: 0 auto; overflow-x: auto; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.compare thead th.us { background: var(--asphalt); color: var(--amber); }
.compare tbody th { font-weight: 600; }
.compare td { color: var(--muted); }
.compare td.us { background: #FFFBEF; color: var(--text); font-weight: 700; }
.compare .yes { display: inline-flex; align-items: center; gap: 8px; }
.compare .yes .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); stroke-width: 3; }

/* ---------- Assistência ---------- */
.assist { position: relative; overflow: hidden; }
.assist::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 400px at 100% 0%, rgba(255, 183, 3, .12), transparent 60%);
}
.assist-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.assist h2 { color: #fff; }
.assist .lead { max-width: 520px; }
.assist-call { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 32px; }
.assist-phone { display: flex; align-items: center; gap: 14px; text-decoration: none; font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; color: #fff; line-height: 1; }
.assist-phone .ico { width: 58px; height: 58px; padding: 14px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); }
.assist-phone span { display: flex; flex-direction: column; }
.assist-phone small { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--on-dark-muted); margin-bottom: 4px; letter-spacing: .3px; }
.assist-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.assist-list li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--asphalt-2); border: 1px solid var(--asphalt-line); border-radius: 14px;
  font-weight: 600; color: #fff;
}
.assist-list .ico { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: rgba(255, 183, 3, .14); color: var(--amber); }

/* ---------- Depoimentos ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.testi { margin: 0; padding: 30px; border-radius: var(--radius); background: var(--bg-soft); display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 2px; }
.stars .ico { width: 18px; height: 18px; fill: var(--amber); stroke: var(--amber); }
.testi blockquote { margin: 0; flex: 1; font-size: 1.05rem; line-height: 1.6; }
.testi figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.testi figcaption strong { display: block; color: var(--text); font-size: 1rem; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--asphalt); color: var(--amber); font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; flex: none; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-layout .section-head p { font-size: 1.1rem; color: var(--muted); margin-bottom: 24px; }
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.05rem; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318202A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s ease, background-color .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--amber); }
.faq-body { padding: 0 22px 20px; color: var(--muted); }
.faq-body p { margin: 0; }

/* ---------- Contato / CTA final ---------- */
.cta-final { position: relative; overflow: hidden; }
.cta-final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 420px at 0% 100%, rgba(255, 183, 3, .14), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 26px);
}
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.cta-final h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 600; }
.contact-list .ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--asphalt-3); color: var(--amber); }
.contact-list span { display: flex; flex-direction: column; line-height: 1.3; }
.contact-list small { font-weight: 500; color: var(--on-dark-muted); font-size: .82rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--amber); }
.contact-card { background: #fff; color: var(--text); border-radius: 20px; padding: 32px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); border-top: 6px solid var(--amber); }
.contact-card p { color: var(--text); }
.contact-card .field-error { color: var(--danger); }
.contact-card .qf-title { margin-bottom: 18px; }
.contact-card .btn-block { margin-top: 12px; }
.contact-card .form-ok { margin: 12px 0 0; font-weight: 600; color: var(--ok); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #080B0F; color: var(--on-dark-muted); padding: 72px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.footer-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col a { text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--amber); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--asphalt-3); color: #fff; transition: background-color .15s, color .15s; }
.social a:hover { background: var(--amber); color: var(--amber-ink); }
.social .ico { width: 20px; height: 20px; }
.footer-legal { border-top: 1px solid #1B222B; padding-top: 24px; padding-bottom: 100px; font-size: .84rem; }
.footer-legal p { max-width: 900px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; max-width: none !important; margin: 16px 0 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--amber); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 18px 0 16px; border-radius: 999px;
  background: var(--wa); color: #06270F; text-decoration: none;
  font-weight: 700; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transition: transform .2s ease, background-color .2s ease;
}
.wa-float:hover { transform: translateY(-3px); background: var(--wa-2); }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.35); opacity: 0; } }

/* ---------- Animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Modo rascunho (?rascunho na URL) ---------- */
.draft-mode [data-ph] { outline: 2px dashed #FF3D7F !important; outline-offset: 3px; position: relative; }
.draft-mode [data-ph]:hover::after {
  content: attr(data-ph); position: absolute; left: 0; top: 100%; z-index: 300; margin-top: 6px;
  padding: 6px 10px; border-radius: 6px; background: #FF3D7F; color: #fff;
  font: 600 12px/1.3 var(--font-body); letter-spacing: 0; text-transform: none; white-space: nowrap;
}
.draft-banner {
  position: fixed; left: 50%; bottom: 20px; z-index: 300; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px);
  padding: 10px 12px 10px 16px; border-radius: 12px; background: #FF3D7F; color: #fff;
  font-size: .9rem; font-weight: 600; box-shadow: var(--shadow);
}
.draft-banner button { border: 0; border-radius: 8px; padding: 6px 10px; background: rgba(255, 255, 255, .2); color: #fff; font: inherit; cursor: pointer; }

/* ---------- Página interna (política) ---------- */
.page-simple { padding: calc(var(--header-h) + 56px) 0 80px; }
.page-simple .container { max-width: 820px; }
.page-simple h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); text-transform: uppercase; }
.page-simple h2 { font-size: 1.6rem; margin-top: 2em; }
.page-simple p, .page-simple li { color: #3A4552; }
.site-header--solid { background: var(--asphalt); }

/* =========================================================
   Responsivo
   ========================================================= */

/* Topo inteiro na primeira dobra (desktop): medidas acompanham a altura da tela */
@media (min-width: 1025px) {
  .hero .eyebrow { margin-bottom: clamp(8px, 1.6vh, 14px); }
  .hero h1 { font-size: clamp(2.3rem, min(4.6vw, 6.6vh), 4rem); margin-bottom: clamp(10px, 2.2vh, 22px); }
  .hero .lead { font-size: clamp(1rem, 2.1vh, 1.2rem); margin-bottom: clamp(14px, 3vh, 28px); }
  .check-list { gap: clamp(6px, 1.3vh, 12px) 28px; margin-bottom: clamp(16px, 3.4vh, 34px); }
  .hero-ctas { margin-bottom: clamp(16px, 3.8vh, 40px); }
  .hero-ctas .btn-lg { min-height: clamp(48px, 6.2vh, 56px); padding-top: 10px; padding-bottom: 10px; }
  .hero-trust { padding-top: clamp(12px, 2.6vh, 26px); }
}
@media (min-width: 1025px) and (max-height: 860px) {
  .quote-card { padding: 22px 26px; border-top-width: 5px; }
  .qf-title { font-size: 1.5rem; }
  .qf-sub { margin-bottom: 12px; font-size: .92rem; }
  .qf-stepinfo { margin-bottom: 10px; }
  .qf-step legend { margin-bottom: 10px; font-size: 1rem; }
  .vcard { min-height: 50px; padding: 8px 10px; }
  .vcard .ico { width: 30px; height: 30px; padding: 5px; }
  .quote-card .field { margin-bottom: 10px; }
  .quote-card .field label { margin-bottom: 4px; font-size: .88rem; }
  .quote-card .field input, .quote-card .field select { min-height: 44px; padding-top: 9px; padding-bottom: 9px; }
  .quote-card .qf-nav { padding-top: 12px; }
  .quote-card .btn { min-height: 46px; }
  .qf-safe { margin-top: 10px; }
  .trust-item strong { font-size: 1.7rem; }
}
@media (min-width: 1025px) and (max-height: 700px) {
  .qf-sub, .qf-safe { display: none; }
  .qf-title { font-size: 1.35rem; margin-bottom: 10px; }
  .qf-progress { margin-bottom: 6px; }
  .vcard { min-height: 46px; }
  .quote-card .field input, .quote-card .field select { min-height: 42px; }
  .consent { margin-top: 0; }
  .trust-item strong { font-size: 1.5rem; }
  .trust-item span { font-size: .8rem; }
}
@media (min-width: 1025px) and (max-height: 610px) {
  .hero-trust, .qf-stepinfo { display: none; }
  .quote-card { padding: 18px 22px; }
  .quote-card .field { margin-bottom: 8px; }
  .quote-card .field label { margin-bottom: 2px; }
  .quote-card .field input, .quote-card .field select { min-height: 40px; }
  .qf-step legend { margin-bottom: 8px; }
}
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .nav { gap: 20px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(13, 17, 23, .98);
    border-top: 1px solid var(--asphalt-line);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--asphalt-line); opacity: 1; }
  .nav .nav-cta { display: flex; margin-top: 18px; border-bottom: 0; color: var(--amber-ink); }
  .nav .nav-cta:hover { color: var(--amber-ink); }
  .header-actions { margin-left: auto; }

  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .qf-step[hidden] { display: none; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(10, 13, 18, .88) 0%, rgba(10, 13, 18, .7) 45%, rgba(10, 13, 18, .92) 100%);
  }
  .hero-copy { max-width: 680px; }
  .quote-card { max-width: 560px; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .cards-3, .testi-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .cov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .veh-layout, .assist-grid, .contact-grid, .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-layout .section-head { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:not(:last-child)::after { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 32px; }
  .plan--featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding: calc(var(--header-h) + 32px) 0 56px; }
  .hero-bg { background-image: url("../img/hero-caminhao-mobile.jpg"); background-position: 50% 0; background-size: 100% auto; }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(10, 13, 18, .82) 0%, rgba(10, 13, 18, .5) calc(100vw * .7), #0A0D12 calc(100vw * 1.3));
  }
  .hero .lead { font-size: 1.08rem; }
  .check-list { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { gap: 16px 24px; }
  .trust-item strong { font-size: 1.6rem; }
  .quote-card, .contact-card { padding: 24px 18px; border-radius: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .vcard { font-size: .92rem; padding: 10px; gap: 8px; }
  .vcard .ico { width: 30px; height: 30px; padding: 5px; }
  .stat { padding-left: 12px; }
  .cov-grid, .steps, .veh-grid, .assist-list { grid-template-columns: 1fr; }
  .cov-grid { gap: 12px; }
  .cov-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; padding: 20px 18px; }
  .cov-icon { width: 48px; height: 48px; grid-row: span 2; }
  .cov-card h3 { margin: 2px 0 0; font-size: 1.25rem; }
  .cov-card p { font-size: .95rem; }
  .steps { gap: 12px; }
  .step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; padding: 20px 18px; }
  .step-icon { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
  .step h3 { margin: 2px 0 0; font-size: 1.25rem; }
  .step p { font-size: .95rem; }
  .step-num { font-size: 2rem; top: 14px; right: 16px; }
  .compare { min-width: 0; font-size: .88rem; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare thead th { font-size: .98rem; line-height: 1.15; }
  .compare .yes { gap: 6px; }
  .compare .yes .ico { width: 18px; height: 18px; padding: 3px; }
  .assist-phone { font-size: 1.9rem; }
  .assist-call .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .logo-text { font-size: .82rem; }
  .logo-text b { font-size: 1.25rem; }
  .logo-mark { width: 38px; height: 38px; }
  .wa-float { right: 14px; bottom: 14px; width: 58px; height: 58px; padding: 0; justify-content: center; }
  .wa-float-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
