/* ============ Qmove Locações — estilos (versão refinada) ============ */
:root {
  /* marca */
  --amarelo: #eac442;
  --amarelo-forte: #f2cf55;
  --amarelo-suave: #fbf3d6;
  --desliza: .42s cubic-bezier(.32, .72, 0, 1);   /* movimento da pílula dos seletores com palavras */
  --chave: .28s ease-in-out;                      /* bolinha das chaves liga/desliga: deslize uniforme */
  --grafite: #202322;
  --preto: #0b0c0c;
  --escuro: #1d1d1f;                              /* superfícies escuras (barra, seções, cards), como a Apple */
  /* neutros */
  --cinza: #f5f5f7;
  --branco: #ffffff;
  --claro: #f5f5f7;
  --texto: #1d1d1f;
  --texto-2: #6e6e73;
  --texto-3: #86868b;
  --linha: #e5e5ea;
  --texto-claro: #f5f5f7;
  --texto-claro-2: #a1a1a6;
  --linha-escura: rgba(255, 255, 255, .12);
  --superficie-escura: #1c1d1d;
  /* estados */
  --verde: #248a3d;
  --verde-bg: #e6f4ea;
  --laranja: #b25000;
  --laranja-bg: #fff1e0;
  --vermelho: #d70015;
  --vermelho-bg: #fde8ea;
  /* forma */
  --raio: 22px;
  --raio-lg: 30px;
  --raio-sm: 12px;
  --sombra: 0 2px 8px rgba(0, 0, 0, .04), 0 18px 48px rgba(0, 0, 0, .08);
  --max: 1080px;
  --fonte: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --fonte-titulo: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 56px; }
html { background: var(--preto); }
body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 17px;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--fonte-titulo); line-height: 1.08; margin: 0 0 .4em; letter-spacing: -0.028em; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.so-desk { display: inline; }
@media (max-width: 640px) { .so-desk { display: none; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 980px; border: 0;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(234, 196, 66, .6); outline-offset: 2px; }
.btn-primary { background: var(--amarelo); color: var(--preto); }
.btn-primary:hover { background: var(--amarelo-forte); box-shadow: 0 8px 24px rgba(234, 196, 66, .35); }
.btn-dark { background: var(--texto); color: var(--branco); }
.btn-dark:hover { background: #333336; }
.btn-ghost { background: rgba(0, 0, 0, .05); color: var(--texto); }
.btn-ghost:hover { background: rgba(0, 0, 0, .08); }
.escura .btn-ghost, .hero .btn-ghost { background: rgba(255, 255, 255, .1); color: var(--branco); }
.btn-link { background: none; color: var(--texto-2); padding-left: 4px; padding-right: 4px; }
.btn-link:hover { color: var(--texto); }
.btn-xs { padding: 7px 14px; font-size: 13px; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-lg { padding: 17px 34px; font-size: 18px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- Header (translúcido) ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  /* no topo: grafite levemente acinzentado, sem linha. Ao rolar: vidro translúcido com linha fina */
  background: #1d1d1f;
  border-bottom: 1px solid transparent;
  /* volta à cor sólida na hora (sem transição), para não aparecer cinza ao subir */
}
.header.rolado {
  transition: background .3s var(--ease), border-color .3s var(--ease);
  background: rgba(29, 29, 31, .8);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 48px; gap: 16px; }
.logo img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: rgba(245, 245, 247, .8); text-decoration: none; font-size: 13.5px; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--branco); }
.menu-btn { display: none; background: none; border: 0; color: var(--branco); padding: 8px; margin-right: -8px; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 48px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(29, 29, 31, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 8px 22px 26px; display: none;
  }
  .nav.aberto { display: flex; }
  .nav a:not(.btn) { padding: 15px 0; font-size: 20px; font-weight: 600; color: var(--texto-claro); border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 20px; padding: 14px; font-size: 16px; }
}

/* ---------- Seções ---------- */
.sec { padding: 120px 0; }
.cinza { background: var(--cinza); }
.branca { background: var(--branco); }
.escura { background: var(--escuro); color: var(--texto-claro); }
.escura h2, .escura h3 { color: var(--branco); }
.titulo-secao { max-width: 760px; margin-bottom: 56px; }
.titulo-secao.centro { margin-left: auto; margin-right: auto; text-align: center; }
/* título 1 + título 2, como no topo: frase curta em 600 (a 2ª frase em cinza) e subtítulo em 500 */
.titulo-secao h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.07; text-wrap: balance; }
.titulo-secao h2 .suave, .cta-final h2 .suave { color: #86868b; display: inline-block; }
.titulo-secao p {
  font-family: var(--fonte-titulo); font-size: clamp(19px, 2.2vw, 26px); font-weight: 500;
  letter-spacing: -0.015em; line-height: 1.3; color: var(--texto-2); margin: 12px 0 0; text-wrap: balance;
}
.escura .titulo-secao p { color: var(--texto-claro-2); }
.suave { color: var(--texto-3); }
.escura .suave, .suave-escuro { color: var(--texto-claro-2); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--amarelo); margin-bottom: 12px; letter-spacing: 0; }
.eyebrow.escuro { color: #a07e10; }
@media (max-width: 640px) { .sec { padding: 84px 0; } .titulo-secao { margin-bottom: 40px; } }

/* animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hero (limpo, como a home da Apple: título, uma linha, o formulário e o carro) ---------- */
.hero { background: var(--preto); color: var(--texto-claro); padding: 88px 0 64px; overflow: hidden; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  font-size: clamp(32px, 10.4vw, 72px); font-weight: 600; color: var(--branco);
  letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 20px; text-wrap: balance;
}
.h1-suave { color: #86868b; display: inline-block; white-space: nowrap; }   /* no celular desce inteira; a fonte (10,4vw) faz caber em uma linha */
/* título 2: mesma família e o mesmo desenho do título 1, metade do tamanho e um peso abaixo (600 → 500) */
.hero .lead {
  font-family: var(--fonte-titulo); font-size: clamp(22px, 3.4vw, 34px); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.2; color: var(--texto-claro-2);
  max-width: 760px; margin-bottom: 44px; text-wrap: balance;
}

/* formulário: dois campos com rótulo que sobe ao digitar + botão, tudo em pílulas da mesma altura */
.quick { display: flex; gap: 10px; width: 100%; max-width: 680px; margin-inline: auto; }
.quick-campo { position: relative; flex: 1; min-width: 0; }
.quick-campo input {
  width: 100%; height: 56px; padding: 22px 22px 6px; border-radius: 980px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
  color: var(--branco); font: inherit; font-size: 17px; outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.quick-campo input:hover { border-color: rgba(255, 255, 255, .28); }
.quick-campo input:focus { border-color: var(--amarelo); box-shadow: 0 0 0 4px rgba(234, 196, 66, .18); background: rgba(255, 255, 255, .08); }
.quick-campo input:-webkit-autofill { -webkit-text-fill-color: var(--branco); box-shadow: 0 0 0 1000px #1c1d1d inset; caret-color: var(--branco); }
.quick-campo label {
  position: absolute; left: 23px; top: 50%; transform: translateY(-50%); pointer-events: none;
  color: rgba(245, 245, 247, .55); font-size: 17px; text-align: left;
  transition: top .2s var(--ease), font-size .2s var(--ease), color .2s var(--ease);
}
.quick-campo input:focus + label, .quick-campo input:not(:placeholder-shown) + label { top: 17px; font-size: 12px; }
.quick-campo input:focus + label { color: var(--amarelo); }
.quick .btn { height: 56px; padding: 0 28px; font-size: 17px; }
.quick-nota { font-size: 14px; color: var(--texto-claro-2); margin-top: 18px; }
.quick-nota b { color: var(--branco); font-weight: 600; }
.link-seta { margin-top: 10px; color: var(--amarelo); font-size: 17px; text-decoration: none; }
.link-seta::after { content: " \203A"; }
.link-seta:hover { text-decoration: underline; }
.hero-car { width: min(760px, 100%); margin: 48px auto 0; }
.hero-car svg { width: 100%; height: auto; }

/* com fotos: tela cheia, fotos trocando em fade com um zoom lento, véu escuro para o texto ler bem */
.hero.com-fotos { position: relative; min-height: min(88svh, 860px); display: flex; align-items: center; padding: 96px 0; }
.hero.com-fotos .hero-inner { position: relative; z-index: 1; }
.hero.com-fotos .hero-car { display: none; }
.hero-fotos { position: absolute; inset: 0; overflow: hidden; background: var(--preto); }
.hero-fotos img, .hero-fundo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s var(--ease), transform 8s linear;
}
.hero-fotos img.ativa, .hero-fundo.ativa { opacity: 1; transform: scale(1); }
.hero-fotos::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 12, .55) 0%, rgba(11, 12, 12, .45) 45%, rgba(11, 12, 12, .8) 100%);
}
.com-fotos .h1-suave { color: rgba(245, 245, 247, .62); }
.com-fotos .lead, .com-fotos .quick-nota { color: rgba(245, 245, 247, .85); }
.com-fotos .quick-campo input { background: rgba(11, 12, 12, .45); border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.com-fotos .quick-campo label { color: rgba(245, 245, 247, .7); }
@media (prefers-reduced-motion: reduce) { .hero-fotos img, .hero-fundo { transition: none; transform: none; } }
@media (max-width: 640px) {
  .hero { padding: 56px 0 48px; }
  .hero .lead { margin-bottom: 32px; }
  .quick { flex-direction: column; }
  .quick .btn { width: 100%; }
  .hero-car { margin-top: 36px; }
  .hero.com-fotos { min-height: 82svh; padding: 64px 0; }
}

/* ---------- Bento de vantagens ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  background: var(--branco); border-radius: var(--raio-lg); padding: 36px;
  grid-column: span 2; display: flex; flex-direction: column; min-height: 240px;
}
.tile.grande { grid-column: span 3; min-height: 300px; }
.tile.escuro { background: var(--escuro); color: var(--texto-claro); }
.tile .ico {
  width: 48px; height: 48px; border-radius: 14px; background: var(--cinza); color: #a07e10;
  display: grid; place-items: center; margin-bottom: auto;
}
.tile.escuro .ico { background: rgba(255, 255, 255, .1); color: var(--amarelo); }
.tile h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; margin: 28px 0 8px; }
.tile.grande h3 { font-size: clamp(28px, 3.4vw, 40px); }
.tile p { margin: 0; color: var(--texto-2); font-size: 17px; }
.tile.escuro p { color: var(--texto-claro-2); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tile, .tile.grande { grid-column: span 1; min-height: 220px; padding: 28px; }
  .tile.grande:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.grande { min-height: 0; }
  .tile h3 { margin-top: 22px; }
}

/* ---------- Frota ---------- */
.filtros { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: center; margin-bottom: 40px; }
.segmentado { display: inline-flex; background: var(--cinza); border-radius: 980px; padding: 4px; gap: 2px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.segmentado::-webkit-scrollbar { display: none; }
.chip {
  border: 0; background: transparent; border-radius: 980px; padding: 8px 18px;
  font-size: 14px; font-weight: 500; cursor: pointer; color: var(--texto-2); white-space: nowrap; transition: background .2s, color .2s;
}
.chip:hover { color: var(--texto); }
.chip[aria-pressed="true"] { background: var(--branco); color: var(--texto); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
/* Pílula deslizante (js/desliza.js): o fundo branco do item ativo desliza entre as opções */
.desliza { position: relative; isolation: isolate; }
.desliza > .pilula { position: absolute; top: 0; left: 0; z-index: -1; border-radius: 980px; background: var(--branco); box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 0 0 .5px rgba(0, 0, 0, .04); pointer-events: none; opacity: 0;
  transition: transform var(--desliza), width var(--desliza), height var(--desliza), opacity .2s; }
.desliza.sem-anim > .pilula { transition: none; }
.desliza > [aria-pressed="true"], .desliza > [aria-selected="true"] { background: transparent; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .desliza > .pilula, .toggle span::after { transition: none; } }
.filtros-dir { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filtros select {
  appearance: none; -webkit-appearance: none; border: 0; background: var(--cinza) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236e6e73' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
  border-radius: 980px; padding: 9px 34px 9px 16px; font-size: 14px; font-weight: 500; cursor: pointer;
}
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { width: 40px; height: 24px; border-radius: 980px; background: #d1d1d6; position: relative; transition: background var(--chave); flex-shrink: 0; }
.toggle span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 980px; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform var(--chave); }
.toggle input:checked + span { background: #34c759; }
.toggle input:checked + span::after { transform: translateX(16px); }
.toggle input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0, 0, 0, .14); }   /* só no teclado: anel discreto, sem amarelo */

.frota-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.carro {
  background: var(--cinza); border-radius: var(--raio-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.carro:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.carro .car-art { position: relative; padding: 46px 20px 6px; }
.badge {
  position: absolute; top: 18px; left: 20px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 980px;
  display: inline-flex; align-items: center; gap: 6px;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
/* selo discreto: texto cinza com o ponto colorido */
.badge.disponivel, .badge.reservado { background: var(--branco); color: var(--texto-2); font-weight: 500; }
.badge.disponivel::before { background: #34c759; }
.badge.reservado::before { background: #ff9f0a; }
.badge-gnv { left: auto; right: 20px; background: var(--escuro); color: var(--branco); }
.badge-gnv::before { display: none; }
.carro-corpo { padding: 8px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.carro-corpo .cat { font-size: 13px; font-weight: 500; color: var(--texto-3); }
.carro-corpo h3 { font-size: 22px; font-weight: 600; margin: 2px 0 14px; letter-spacing: -0.02em; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.specs span { font-size: 13px; color: var(--texto-2); background: var(--branco); border-radius: 980px; padding: 5px 11px; }
.carro-rodape { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.carro-rodape .de { font-size: 12px; color: var(--texto-3); }
.carro-rodape .valor { font-family: var(--fonte-titulo); font-weight: 600; font-size: 26px; line-height: 1.1; letter-spacing: -0.03em; }
.carro-rodape .valor small { font-size: 14px; font-weight: 500; color: var(--texto-3); letter-spacing: 0; }
.vazio { grid-column: 1 / -1; text-align: center; padding: 48px; color: var(--texto-2); }
@media (max-width: 980px) { .frota-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .frota-grid { grid-template-columns: 1fr; }
  .filtros { flex-direction: column; align-items: stretch; gap: 12px; }
  /* abas com largura igual ocupando a linha toda, sem rolagem */
  .segmentado { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; overflow: visible; }
  .segmentado .chip { padding: 9px 4px; font-size: 13.5px; text-align: center; }
  /* combustível e preço lado a lado, do mesmo tamanho; chave na linha de baixo */
  .filtros-dir { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .filtros-dir select { width: 100%; }
  .filtros-dir .toggle { grid-column: 1 / -1; padding-left: 2px; }
}

/* ---------- Cadastro: 4 passos em linha + o mesmo formulário do topo ---------- */
.passos-linha { list-style: none; padding: 0; margin: 0 auto 64px; max-width: 980px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.passos-linha .num {
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--amarelo);
  display: grid; place-items: center; font-weight: 600; font-size: 15px; margin-bottom: 16px;
}
.passos-linha strong { display: block; color: var(--branco); font-family: var(--fonte-titulo); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.passos-linha span { color: var(--texto-claro-2); font-size: 15px; line-height: 1.45; }
.cad-form { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lgpd-nota { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px; font-size: 13px; color: var(--texto-claro-2); margin: 10px 0 0; }
@media (max-width: 860px) { .passos-linha { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 520px) {
  .passos-linha { grid-template-columns: 1fr; gap: 22px; margin-bottom: 48px; }
  .passos-linha li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
  .passos-linha .num { margin: 0; }
}
@keyframes entrar { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.campo { margin-bottom: 20px; }
.campo > label, .campo > .rotulo { display: block; font-weight: 500; font-size: 14px; color: var(--texto); margin-bottom: 8px; }
.campo input[type="text"], .campo input[type="email"], .campo input[type="tel"], .campo input[type="date"],
.campo input[type="number"], .campo select, .campo textarea {
  width: 100%; padding: 15px 16px; border: 1px solid transparent; border-radius: var(--raio-sm);
  background: var(--cinza); font-size: 17px; transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.campo select {
  background: var(--cinza) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;
  padding-right: 40px;
}
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none; background-color: var(--branco); border-color: var(--amarelo); box-shadow: 0 0 0 4px rgba(234, 196, 66, .22);
}
.opcoes { display: grid; gap: 8px; }
.opcoes.inline { grid-template-columns: 1fr 1fr; }
.opcao {
  display: flex; align-items: center; gap: 12px; padding: 15px 16px; border: 1.5px solid transparent;
  border-radius: var(--raio-sm); background: var(--cinza); cursor: pointer; font-size: 16px; transition: border-color .2s, background .2s;
}
.opcao:hover { background: #ececf0; }
.opcao input { accent-color: var(--preto); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.opcao:has(input:checked) { border-color: var(--amarelo); background: var(--amarelo-suave); }
.opcao small { color: var(--texto-2); }
.campo.erro input, .campo.erro select, .campo.erro textarea { border-color: var(--vermelho); background-color: #fff; }
.campo.erro .opcao { border-color: rgba(215, 0, 21, .35); }
.msg-erro { display: none; color: var(--vermelho); font-size: 13.5px; margin-top: 7px; }
.campo.erro .msg-erro { display: block; }
.print-up { display: grid; gap: 8px; }
.print-drop {
  display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 116px; padding: 14px;
  border: 1.5px dashed #c7c7cc; border-radius: var(--raio-sm); background: var(--cinza); cursor: pointer;
  text-align: center; transition: border-color .2s, background .2s;
}
.print-drop:hover { border-color: var(--amarelo); background: #ececf0; }
.print-txt { display: grid; justify-items: center; gap: 4px; color: var(--texto-2); font-size: 13.5px; }
.print-txt strong { color: var(--texto); font-size: 16px; font-weight: 600; }
.print-drop.com-img { justify-content: flex-start; min-height: 0; padding: 10px; border-style: solid; border-color: var(--amarelo); background: var(--amarelo-suave); text-align: left; }
.print-drop.com-img .print-txt { justify-items: start; }
.print-prev { width: 60px; height: 90px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.print-prev[hidden] { display: none; }
.campo.erro .print-drop { border-color: rgba(215, 0, 21, .45); }
.aceite { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--texto-2); cursor: pointer; font-weight: 400 !important; }
.aceite input { accent-color: var(--preto); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.ico-ok {
  width: 76px; height: 76px; border-radius: 50%; background: var(--amarelo); color: var(--preto);
  display: grid; place-items: center; margin: 0 auto 22px; animation: pop .5s var(--ease);
}
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) {
  .grid-2, .opcoes.inline { grid-template-columns: 1fr; }
}

/* ---------- Preço: opções de retirada ---------- */
.ret-escolha { display: flex; align-items: center; justify-content: center; gap: 12px; margin: -16px auto 28px; max-width: 400px; }
.ret-escolha label { font-size: 15px; font-weight: 500; color: var(--texto-2); }
.ret-escolha select {
  flex: 1; appearance: none; -webkit-appearance: none; border: 0; border-radius: 980px; padding: 13px 44px 13px 20px; font-size: 16px; font-weight: 600;
  background: var(--branco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 18px center;
  box-shadow: 0 1px 3px rgba(0,0,0,.06); cursor: pointer;
}
.opcoes-retirada { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.op-card { background: var(--branco); border-radius: var(--raio-lg); padding: 38px 34px; display: flex; flex-direction: column; position: relative; }
.op-card.destaque { background: var(--escuro); color: var(--texto-claro); }
/* selo neutro e pequeno: a informação fica, sem disputar com o preço */
.op-selo { position: absolute; top: -12px; right: 28px; background: #e8e8ed; color: var(--texto); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 980px; }
.op-selo.escuro { background: #e8e8ed; color: var(--texto); }
.op-topo { display: flex; flex-direction: column; gap: 2px; margin-bottom: 26px; }
.op-num { font-size: 13px; font-weight: 600; color: var(--texto-3); text-transform: uppercase; letter-spacing: .06em; }
.op-card.destaque .op-num { color: var(--amarelo); }
.op-nome { font-family: var(--fonte-titulo); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.op-card.destaque .op-nome { color: var(--branco); }
.op-rot { font-size: 14px; color: var(--texto-3); }
.op-card.destaque .op-rot { color: var(--texto-claro-2); }
.op-total { font-family: var(--fonte-titulo); font-size: clamp(46px, 6vw, 60px); font-weight: 600; line-height: 1.05; letter-spacing: -0.045em; margin-bottom: 24px; font-variant-numeric: tabular-nums; }
.op-card.destaque .op-total { color: var(--amarelo); }
.op-linhas { border-top: 1px solid var(--linha); margin-bottom: 28px; }
.op-card.destaque .op-linhas { border-color: var(--linha-escura); }
.op-linha-preco { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linha); font-size: 15px; }
.op-card.destaque .op-linha-preco { border-color: var(--linha-escura); }
.op-linha-preco span:first-child { color: var(--texto-2); }
.op-card.destaque .op-linha-preco span:first-child { color: var(--texto-claro-2); }
.op-linha-preco span:last-child { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.op-card .btn { margin-top: auto; }
.inclusos { list-style: none; padding: 0; margin: 36px auto 0; max-width: 880px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.inclusos li { display: flex; align-items: center; gap: 8px; background: var(--branco); border-radius: 980px; padding: 9px 16px 9px 12px; font-size: 14.5px; font-weight: 500; }
.inclusos .check { color: var(--verde); }
.retirada-min { font-size: 12.5px; color: var(--texto-2); margin-top: 4px; }
@media (max-width: 760px) {
  .opcoes-retirada { grid-template-columns: 1fr; gap: 28px; max-width: 480px; }
  .op-card { padding: 32px 26px; }
  .ret-escolha { flex-direction: column; align-items: stretch; gap: 8px; margin-top: -8px; }
  .ret-escolha label { text-align: center; }
}

.nota-rodape { font-size: 13px; color: var(--texto-3); margin-top: 28px; text-align: center; }
.check { flex-shrink: 0; }

/* ---------- Simulador ---------- */
.sim { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.sim-entradas { background: var(--cinza); border-radius: var(--raio-lg); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }   /* controles distribuídos na altura do resultado */
.campo-sim { margin-bottom: 26px; }
.campo-sim:last-child { margin-bottom: 0; }
.campo-sim label { display: flex; justify-content: space-between; font-weight: 500; font-size: 15px; margin-bottom: 12px; }
.campo-sim output { font-weight: 600; font-variant-numeric: tabular-nums; }
.campo-sim select {
  width: 100%; padding: 13px 40px 13px 16px; border: 0; border-radius: var(--raio-sm); appearance: none; -webkit-appearance: none;
  background: var(--branco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;
  font-size: 15px;
}
.sim-entradas .grid-2 { gap: 0 14px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 980px; cursor: pointer;
  background: linear-gradient(to right, var(--texto) 0 var(--p, 50%), #d2d2d7 var(--p, 50%) 100%);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.08), 0 3px 8px rgba(0,0,0,.18); cursor: grab;
}
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.sim-saida { background: var(--escuro); color: var(--texto-claro); border-radius: var(--raio-lg); padding: 40px; display: flex; flex-direction: column; }
.sim-total .rot { font-size: 15px; color: var(--texto-claro-2); }
.sim-total .val { font-family: var(--fonte-titulo); font-size: clamp(48px, 6vw, 68px); font-weight: 600; color: var(--amarelo); line-height: 1.05; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.sim-total .mes { font-size: 15px; color: var(--texto-claro-2); margin-top: 6px; }
.sim-linhas { margin: 30px 0; }
.sim-linha { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--linha-escura); font-size: 15px; color: var(--texto-claro-2); }
.sim-linha span:last-child { color: var(--branco); font-weight: 500; font-variant-numeric: tabular-nums; }
.sim-saida .btn { margin-top: auto; }
.sim-saida .aviso { font-size: 12px; color: var(--texto-claro-2); margin: 14px 0 0; text-align: center; }
@media (max-width: 880px) {
  .sim { grid-template-columns: 1fr; }
  .sim-entradas, .sim-saida { padding: 28px; }
}
@media (max-width: 560px) { .sim-entradas .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Depoimentos ---------- */
.depo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.depo { background: var(--branco); border-radius: var(--raio-lg); padding: 34px; display: flex; flex-direction: column; margin: 0; }
.depo .estrelas { color: var(--amarelo); letter-spacing: 3px; margin-bottom: 16px; font-size: 15px; }
.depo blockquote { margin: 0 0 26px; font-size: 18px; line-height: 1.45; letter-spacing: -0.015em; flex: 1; }
.depo .autor { display: flex; align-items: center; gap: 12px; }
.depo .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--escuro); color: var(--amarelo);
  display: grid; place-items: center; font-weight: 600;
}
.depo .autor strong { display: block; font-size: 15px; font-weight: 600; }
.depo .autor span { font-size: 13px; color: var(--texto-3); }
@media (max-width: 900px) { .depo-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--fonte-titulo); font-weight: 500; font-size: 19px; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border-right: 2px solid var(--texto-2); border-bottom: 2px solid var(--texto-2); transform: rotate(45deg);
  transition: transform .3s var(--ease), margin .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--texto-2); padding: 0 40px 26px 0; margin: 0; font-size: 17px; }

/* ---------- CTA final + rodapé ---------- */
.cta-final { background: var(--escuro); color: var(--texto-claro); padding: 120px 0; text-align: center; }
.cta-icone { width: 72px; height: 72px; margin: 0 auto 28px; }
.cta-final h2 { font-size: clamp(36px, 6vw, 72px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; color: var(--branco); text-wrap: balance; }
.cta-final h2 + p { font-family: var(--fonte-titulo); font-size: clamp(19px, 2.2vw, 26px); font-weight: 500; letter-spacing: -0.015em; color: var(--texto-claro-2); margin: 16px 0 40px; text-wrap: balance; }
.rodape { background: var(--escuro); color: var(--texto-claro-2); padding: 0 0 32px; font-size: 13px; }
.rodape .container { border-top: 1px solid var(--linha-escura); padding-top: 48px; }
.rodape-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.rodape img { height: 32px; width: auto; margin-bottom: 14px; }
.rodape h4 { color: var(--texto-claro); font-size: 13px; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--branco); text-decoration: underline; }
.rodape-base { border-top: 1px solid var(--linha-escura); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; }
@media (max-width: 760px) { .rodape-grid { grid-template-columns: 1fr 1fr; } .rodape-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Barra fixa de cadastro (celular) ---------- */
.barra-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55;
  display: none; align-items: stretch; justify-content: space-between; gap: 12px;
  /* 6px de folga igual em cima, embaixo e à direita: o botão fica "encaixado" na pílula */
  height: 60px; padding: 6px 6px 6px 24px; border-radius: 980px;
  background: rgba(28, 29, 29, .86); color: var(--texto-claro);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.barra-cta > div { display: flex; flex-direction: column; justify-content: center; min-width: 0; line-height: 1.25; }
.barra-cta strong { display: block; font-size: 15px; font-weight: 600; color: var(--branco); white-space: nowrap; }
.barra-cta span { font-size: 13px; color: var(--texto-claro-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barra-cta .btn { height: 100%; padding: 0 24px; font-size: 15px; flex-shrink: 0; }
.barra-cta.on { transform: none; }
@media (max-width: 860px) { .barra-cta { display: flex; } }

/* ---------- WhatsApp flutuante ---------- */
.whats {
  position: fixed; right: 20px; bottom: 20px; z-index: 56; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .45s var(--ease), bottom .45s var(--ease);
}
.whats:hover { transform: scale(1.06); }
@media (max-width: 860px) { body.barra-visivel .whats { bottom: 84px; } }

/* ---------- Ilustração de carro (SVG) ---------- */
.car-art { display: grid; place-items: center; }
.car-art svg { width: 100%; height: auto; }

/* ---------- Faixa de protótipo (painel) ---------- */
.faixa-demo { background: var(--amarelo); color: var(--preto); font-size: 13px; font-weight: 600; text-align: center; padding: 6px 12px; }
.opcional { color: var(--texto-3); font-weight: 400; }
.sim-alerta { font-size: 13px; color: #ff9b94; margin: 10px 0 0; }

/* ---------- Cadastro em tela cheia (cadastro.html): uma pergunta por tela ---------- */
html:has(body.pg-cadastro) { background: var(--branco); }
.pg-cadastro { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.fx-topo { position: sticky; top: 0; z-index: 20; background: var(--preto); color: var(--texto-claro); }
.fx-topo-in { max-width: 680px; margin: 0 auto; height: 56px; padding: 0 10px; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.fx-voltar { width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--branco); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.fx-voltar:hover { background: rgba(255, 255, 255, .1); }
.fx-logo { justify-self: center; }
.fx-logo img { height: 28px; width: auto; }
.fx-cont { justify-self: end; padding-right: 8px; font-size: 13px; color: var(--texto-claro-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fx-prog { height: 3px; background: rgba(255, 255, 255, .14); }
.fx-prog div { height: 100%; width: 0; background: var(--amarelo); transition: width .45s var(--ease); }
.fx { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 56px 22px 24px; }
.fx-passo { display: none; }
.fx-passo.ativa { display: block; animation: entrar .45s var(--ease); }
.fx-passo.volta.ativa { animation-name: entrar-volta; }
@keyframes entrar-volta { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.fx-passo h1 { font-size: clamp(26px, 4.6vw, 34px); line-height: 1.15; margin-bottom: 28px; text-wrap: balance; }
.fx-passo h1:has(+ .sub) { margin-bottom: 10px; }
.fx-passo .sub { color: var(--texto-2); font-size: 16px; margin: 0 0 28px; }
.fx-passo .opcao { font-size: 17px; padding: 17px 18px; }
.fx-carros .fx-carro { padding: 10px 18px 10px 14px; gap: 14px; }
.fx-carro-img { width: 92px; flex-shrink: 0; }
.fx-carro-txt { display: grid; gap: 2px; }
.fx-carro-txt small { font-size: 14px; }
.fx-res { border-top: 1px solid var(--linha); margin-bottom: 26px; }
.fx-res-linha { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--linha); }
.fx-res-linha span { display: block; font-size: 13px; color: var(--texto-3); }
.fx-res-linha strong { font-weight: 600; font-size: 16px; }
.fx-res-linha .btn-link { font-size: 14px; padding: 6px 4px; }
.fx-acoes {
  position: sticky; bottom: 0; z-index: 10; width: 100%; max-width: 680px; margin: 0 auto;
  display: flex; align-items: center; justify-content: flex-end; gap: 16px;
  padding: 18px 22px calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(255, 255, 255, 0), var(--branco) 32%);
}
.fx-acoes[hidden] { display: none; }
.fx-acoes .btn-primary { min-width: 200px; padding: 16px 28px; font-size: 17px; }
.fx-dica { font-size: 13px; color: var(--texto-3); }
.fx-dica kbd { font: inherit; font-weight: 600; color: var(--texto-2); }
.fx-sucesso { text-align: center; padding-top: 24px; }
.fx-sucesso h1 { font-size: 34px; }
.fx-sucesso p { color: var(--texto-2); max-width: 460px; margin: 0 auto 28px; }
.fx-sucesso-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ico-ok.ico-neutro { background: var(--cinza-claro, #ececf0); color: var(--texto-2); }
.fx-aviso { font-size: 12.5px; line-height: 1.5; color: var(--texto-3); margin: 22px 0 0; }
.fx-eliminado .fx-guardado { font-size: 13px; color: var(--texto-3); margin-top: -16px; }
.fx-eliminado h1 { font-size: 30px; text-wrap: balance; }
@media (max-width: 560px) {
  .fx { padding-top: 34px; }
  .fx-acoes .btn-primary { flex: 1; min-width: 0; }
  .fx-dica { display: none; }
  .fx-carro-img { width: 76px; }
}
@media (hover: none) { .fx-dica { display: none; } }

/* ---------- Política de privacidade (privacidade.html) ---------- */
.legal { background: var(--branco); padding: 72px 0 96px; }
.legal-in { max-width: 680px; margin: 0 auto; padding: 0 22px; }
.legal h1 { font-size: clamp(36px, 6vw, 52px); margin-bottom: 18px; }
.legal-lead { font-size: 21px; line-height: 1.4; color: var(--texto); margin: 0 0 10px; }
.legal-data { font-size: 14px; color: var(--texto-3); margin: 0 0 48px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--texto-2); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.legal-tabela { background: var(--cinza); border-radius: var(--raio); padding: 6px 22px; margin: 4px 0 14px; }
.legal-tabela > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 14px 0; font-size: 15px; }
.legal-tabela > div + div { border-top: 1px solid var(--linha); }
.legal-tabela strong { font-weight: 600; color: var(--texto); }
.legal-tabela span { color: var(--texto-2); }
.legal-tabela b { font-weight: 600; color: var(--texto); }
.legal-nota { font-size: 14px; color: var(--texto-3) !important; margin-top: 14px; }
@media (max-width: 560px) { .legal { padding: 48px 0 72px; } .legal-tabela > div { grid-template-columns: 1fr; gap: 2px; } }
.link-politica { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
