/* =============================================================================
   Voicer Multimarcas — design system do site público
   Ideia: o carro sobre a plataforma giratória do estúdio. A fotografia manda;
   a interface é fina e precisa como um painel de instrumentos.
   Tipo: Archivo (uma família) — largura = papel:
     expandida (125%) identidade · normal (100%) leitura · condensada (78%) dados
   Cor: grafite, branco glaciar, prata metálica, azul Voicer em faixas profundas,
        laranja Voicer só para ação e estado ativo.
   ============================================================================= */

:root {
  --graphite: #0b1a2c;   /* marinho-noite: o escuro da marca */
  --asphalt: #11243a;
  --steel-900: #1f3349;
  --steel-700: #3f4c5c;
  --steel-500: #5d636c;
  --aluminum: #aeb4bc;
  --mist: #e2e5e8;
  --glacier: #f3f4f5;
  --white: #ffffff;
  --navy: #0a2d52;       /* azul VOICER do logotipo */
  --navy-deep: #061c36;
  --orange: #f07d1e;     /* laranja da faixa do V */
  --orange-press: #d4610c;
  --silver: linear-gradient(180deg, #ffffff 0%, #dfe5ea 48%, #aab4be 52%, #e9eef2 100%);
  /* friso cromado: a borda prateada do logotipo, usada como linha fina em cabeçalho e rodapé */
  --chrome-line: linear-gradient(90deg, rgba(174,180,188,0) 0%, #8e99a5 18%, #f4f7f9 50%, #8e99a5 82%, rgba(174,180,188,0) 100%);
  --scrim: 7, 19, 34;    /* marinho-noite do logotipo para véus sobre fotos */
  --brushed: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, rgba(0,0,0,.025) 1px 3px), linear-gradient(180deg, #eef1f3, #d9dee2);
  --ok: #2f9e6b;
  --danger: #d6453d;
  --wa: #25d366;

  --font: "Archivo", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Montserrat", "Poppins", "Archivo", system-ui, sans-serif;
  --w-display: 125%;
  --w-head: 112%;
  --w-data: 78%;

  --fs-micro: 12.5px;
  --fs-small: 14px;
  --fs-body: 17px;
  --fs-lead: 19px;
  --fs-h3: 22px;
  --fs-h2: clamp(28px, 3.1vw, 44px);
  --fs-h1: clamp(38px, 5.4vw, 76px);

  --gutter: clamp(20px, 4.2vw, 120px);
  --maxw: 1840px;
  --section: clamp(64px, 9vw, 136px);
  --radius: 2px;
  --radius-panel: 4px;
  --pill-h: 72px; --pill-gap: 10px;
  --header-h: calc(var(--pill-h) + var(--pill-gap) * 2);
  --topbar-size: 40px; --topbar-h: 0px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-float: 0 18px 50px -18px rgba(10, 14, 20, .45);

  /* Tema: faixas da marca (cabeçalho, abertura, rodapé, palco) ficam escuras sempre;
     o conteúdo troca entre claro e escuro pelas variáveis abaixo */
  --night: #0b1a2c;
  --bg: var(--glacier);
  --surface: var(--white);
  --text: #0b1a2c;
  --text-2: #5d636c;
  --text-3: #3f4c5c;
  --line: #e2e5e8;
  --line-strong: #cfd4da;
  --strong-bg: #0b1a2c;
  --strong-fg: #ffffff;
  --brand-ink: #0a2d52;
  --chip-soft: #e2e5e8;
  --media-bg: linear-gradient(180deg, #e9ebee, #d9dde2);
  --sk-a: #e6e9ec;
  --sk-b: #f1f3f5;
  --quick-bg: var(--brushed);
  --quick-line: #c9d0d6;

  color-scheme: light;
}

/* Modo escuro: marinho-noite da marca, texto claro, linhas discretas */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07131f;
  --surface: #0f2034;
  --text: #e8edf2;
  --text-2: #9eabb9;
  --text-3: #c1cad4;
  --line: #1d3148;
  --line-strong: #2b445f;
  --strong-bg: #e8edf2;
  --strong-fg: #0b1a2c;
  --brand-ink: #dbe6f1;
  --chip-soft: #18304a;
  --media-bg: linear-gradient(180deg, #17304a, #0f2034);
  --sk-a: #12263b;
  --sk-b: #1a3149;
  --quick-bg: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, rgba(0,0,0,.05) 1px 3px), linear-gradient(180deg, #172c44, #10233a);
  --quick-line: #1d3148;
}
:root[data-theme="dark"] .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c1cad4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .quick select { color: var(--text); }
:root[data-theme="dark"] .vcard::after { box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .quote::before { background: linear-gradient(180deg, #5d6f84, #2b445f); -webkit-background-clip: text; background-clip: text; }

/* Ícones: tamanho padrão (regras específicas de cada componente continuam valendo) */
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* Base ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--night); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--orange); color: var(--night); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.on-dark { background: var(--night); color: var(--white); }
.on-navy { background: var(--navy); color: var(--white); }

/* Tipografia ------------------------------------------------------------------ */
.t-h1, .t-h2, .hero-title, .vpanel h1, .vcard-title, .path h3, .brand-word, .quick .quick-label, .vsec h2, .lead-box h2, .mobile-sheet nav > a, .mobile-sheet details > summary, .feat-groups h3, .service h3 { font-family: var(--font-brand); font-stretch: 100%; }
.t-display { font-stretch: var(--w-display); font-weight: 800; letter-spacing: -.01em; }
.t-h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.t-h2 { font-size: var(--fs-h2); font-weight: 750; line-height: 1.08; letter-spacing: -.015em; }
.t-h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; }
.t-lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-3); max-width: 60ch; }
.on-dark .t-lead, .on-navy .t-lead { color: var(--aluminum); }
.t-data { font-stretch: var(--w-data); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .005em; }
.t-muted { color: var(--text-2); }
.on-dark .t-muted, .on-navy .t-muted { color: var(--aluminum); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head p { margin-top: 12px; }

/* Botões --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent;
  font-size: 15px; font-weight: 640; letter-spacing: .01em; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--night); }
.btn-primary:hover { background: #ff7a2c; }
.btn-dark { background: var(--strong-bg); color: var(--strong-fg); }
.btn-dark:hover { background: var(--steel-900); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.on-dark .btn-line, .on-navy .btn-line, .hero .btn-line { color: var(--white); border-color: rgba(255,255,255,.42); }
.on-dark .btn-line:hover, .hero .btn-line:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-wa:hover { background: #3ee27a; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 620; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-more:hover svg { transform: translateX(3px); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[aria-pressed="true"] { color: var(--orange); border-color: var(--orange); }

/* Marca ---------------------------------------------------------------------- */
/* Logotipo real sem fundo: versão de pratas mais claras sobre fundo escuro, original sobre fundo claro */
.logo { display: inline-flex; align-items: center; text-decoration: none; color: inherit; flex: none; }
.logo .logo-img { display: block; height: 58px; width: auto; max-width: none; }
.logo .logo-on-light { display: none; }
.site-footer .logo .logo-img { height: 72px; }

/* Header --------------------------------------------------------------------- */
.site-header {
  position: fixed; z-index: 50; height: var(--pill-h);
  top: calc(var(--tb, var(--topbar-h)) + var(--pill-gap)); left: var(--gutter); right: var(--gutter); margin-inline: auto; max-width: var(--maxw);
  color: var(--white); border-radius: 999px;
  background: rgba(8,20,34,.46); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 14px 36px -14px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease), border-color .3s var(--ease);
}
.site-header.is-solid, .page-light .site-header:not(.is-over-hero) { background: rgba(8,20,34,.86); border-color: rgba(255,255,255,.12); }
.site-header.is-open { background: var(--night); border-color: rgba(255,255,255,.12); }
.site-header::after { display: none; }
.site-header.is-hidden { transform: translateY(calc(-100% - var(--tb, var(--topbar-h)) - var(--pill-gap) - 6px)); }
.site-header > .wrap { height: 100%; max-width: none; display: flex; align-items: center; gap: 24px; padding-inline: 12px 12px; padding-left: 24px; }
.site-header .logo .logo-img { height: 48px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav a, .nav button {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  background: none; border: 0; color: rgba(255,255,255,.86); font-size: 15px; font-weight: 520; text-decoration: none;
}
.nav a:hover, .nav button:hover, .nav [aria-expanded="true"], .nav [aria-current="page"] { color: var(--white); }
.nav a, .nav button { border-radius: 999px; transition: background-color .2s var(--ease), color .2s var(--ease); }
.nav a:hover, .nav button:hover { background: rgba(255,255,255,.08); }
.nav [aria-current="page"], .nav [aria-expanded="true"] { background: rgba(255,255,255,.14); }
.nav button svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav [aria-expanded="true"] svg { transform: rotate(180deg); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
/* Chave de tema: trilho escuro com o botão prateado (cromado do logotipo) deslizando entre sol e lua */
.theme-switch { position: relative; display: inline-flex; align-items: center; width: 70px; height: 36px; padding: 3px; border-radius: 999px; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.06); color: var(--aluminum); cursor: pointer; }
.theme-switch::before { content: ""; position: absolute; top: 3px; left: 3px; width: 31px; height: 28px; border-radius: 999px; background: var(--brushed);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 2px 6px rgba(0,0,0,.35); transition: transform .28s var(--ease-out); }
.theme-switch .opt { position: relative; z-index: 1; flex: 1; display: grid; place-items: center; height: 100%; transition: color .2s var(--ease); }
.theme-switch svg { width: 16px; height: 16px; }
.theme-switch .opt-light { color: var(--navy-deep); }
:root[data-theme="dark"] .theme-switch::before { transform: translateX(32px); }
:root[data-theme="dark"] .theme-switch .opt-light { color: var(--aluminum); }
:root[data-theme="dark"] .theme-switch .opt-dark { color: var(--navy-deep); }
.theme-switch:hover { border-color: rgba(255,255,255,.5); }
.sheet-theme { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 14px 0; border-top: 1px solid var(--steel-900); border-bottom: 1px solid var(--steel-900); color: var(--aluminum); font-size: 15px; }
.sheet-theme-opts { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); }
.sheet-theme-opts button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--aluminum); font: 600 14px var(--font); }
.sheet-theme-opts button svg { width: 16px; height: 16px; }
.sheet-theme-opts button[aria-pressed="true"] { background: var(--brushed); color: var(--navy-deep); box-shadow: inset 0 1px 0 rgba(255,255,255,.85); }
.header-actions .btn { min-height: 44px; border-radius: 999px; }
.header-actions .header-wa { padding-inline: 20px; font-weight: 700; }
.header-actions .header-map { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--white); padding: 0; }
.menu-toggle svg { width: 26px; height: 26px; margin: auto; }

/* Mega menu de marcas */
.mega {
  position: absolute; left: 0; right: 0; top: calc(100% + var(--pill-gap)); background: var(--night); color: var(--white);
  border: 1px solid var(--steel-900); border-radius: 28px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .3s var(--ease-out), visibility 0s linear .3s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-block: 32px 36px; padding-inline: 32px; max-width: none; }
.mega-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px; }
.mega-brand {
  display: grid; grid-template-rows: 44px auto; gap: 12px; padding: 18px; text-decoration: none;
  background: var(--asphalt); border-radius: var(--radius); transition: background-color .2s var(--ease);
}
.mega-brand:hover, .mega-brand:focus-visible { background: var(--steel-900); }
.mega-brand .brand-logo { height: 44px; display: flex; align-items: center; }
.mega-brand .brand-logo img { max-height: 36px; max-width: 120px; filter: brightness(0) invert(1); opacity: .92; }
.brand-word { font-weight: 800; font-size: 20px; letter-spacing: .01em; color: var(--brand-ink); }
.mega .brand-word, .mobile-brands .brand-word { color: var(--white); }
.mega-brand ul { list-style: none; display: grid; gap: 2px; font-size: 14px; color: var(--aluminum); }
.mega-brand .count { font-size: var(--fs-micro); color: var(--aluminum); }
.mega-side { border-left: 1px solid var(--steel-900); padding-left: 40px; display: grid; align-content: start; gap: 18px; }
.mega-side p { color: var(--aluminum); font-size: 15px; }
.mega-empty { color: var(--aluminum); padding: 18px 0; }

/* Menu mobile */
.mobile-sheet {
  position: fixed; inset: calc(var(--tb, var(--topbar-h)) + var(--header-h)) 0 0 0; z-index: 49; background: var(--night); color: var(--white);
  display: flex; flex-direction: column; overflow-y: auto; padding: 8px var(--gutter) calc(20px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .3s var(--ease-out), visibility 0s linear .3s;
}
.mobile-sheet.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-sheet nav { display: grid; }
.mobile-sheet nav > a, .mobile-sheet details > summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px; border-bottom: 1px solid var(--steel-900);
  font-stretch: 112%; font-size: 22px; font-weight: 700; text-decoration: none; list-style: none; cursor: pointer;
}
.mobile-sheet details > summary::-webkit-details-marker { display: none; }
.mobile-sheet nav > a svg { width: 20px; height: 20px; color: var(--aluminum); }
.mobile-sheet details > summary svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.mobile-sheet details[open] > summary svg { transform: rotate(180deg); }
.mobile-brands { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 12px 0 18px; }
.mobile-brands a { background: var(--asphalt); padding: 14px; text-decoration: none; display: grid; gap: 2px; }
.mobile-brands small { color: var(--aluminum); }
.mobile-sheet .sheet-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.mobile-sheet .sheet-foot p { color: var(--aluminum); font-size: 14px; }

/* Botão flutuante do WhatsApp */
.wa-fab {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 28px;
  background: var(--night); color: var(--white); text-decoration: none; font-weight: 620; font-size: 15px;
  box-shadow: var(--shadow-float); border: 1px solid var(--steel-900);
  transition: transform .25s var(--ease), background-color .2s var(--ease);
}
.wa-fab svg { width: 26px; height: 26px; color: var(--wa); }
.wa-fab:hover { transform: translateY(-2px); background: var(--asphalt); }
/* no celular o botão flutuante só aparece depois da primeira tela, para não cobrir os botões da abertura */
.wa-fab.is-tucked { opacity: 0; transform: translateY(20px); pointer-events: none; }
.wa-fab { transition: transform .25s var(--ease), background-color .2s var(--ease), opacity .25s var(--ease); }

/* Hero ----------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; color: var(--white); overflow: hidden;
  min-height: clamp(620px, calc(100svh - var(--topbar-h)), 1600px); display: grid; align-items: end;
  background: radial-gradient(120% 70% at 62% 78%, #1d3350 0%, rgba(17,36,58,0) 60%), linear-gradient(180deg, #07131f 0%, #0b1a2c 58%, #11243a 100%);
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-wide img { object-position: 100% 55%; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 55%; transform-origin: 70% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--scrim),.94) 0%, rgba(var(--scrim),.74) 30%, rgba(var(--scrim),.12) 62%, rgba(var(--scrim),0) 78%),
    linear-gradient(0deg, rgba(var(--scrim),.92) 0%, rgba(var(--scrim),.35) 32%, rgba(var(--scrim),0) 52%),
    linear-gradient(180deg, rgba(var(--scrim),.6) 0%, rgba(var(--scrim),0) 18%);
}
.hero-content { position: relative; padding-block: calc(var(--header-h) + 40px) clamp(32px, 6vh, 64px); }
.hero-copy { max-width: 620px; }
.hero-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--aluminum); margin-bottom: 16px; }
.hero-brand .dot { width: 18px; height: 3px; border-radius: 0; background: var(--orange); transform: skewX(-24deg); }
.hero-title { font-size: clamp(50px, 7.8vw, 124px); font-weight: 800; line-height: .92; letter-spacing: -.03em;
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title span { -webkit-text-fill-color: var(--aluminum); }
.hero-title span { display: block; font-size: clamp(17px, 1.5vw, 21px); font-stretch: 100%; font-weight: 500; letter-spacing: 0; color: var(--aluminum); margin-top: 18px; line-height: 1.3; }
.hero-empty .hero-title { font-size: clamp(28px, 7.4vw, 84px); line-height: 1.02; }
.hero-empty .hero-copy { max-width: 900px; }
.hero-empty.has-bg .hero-slide img { object-position: 50% 72%; }
.hero-slide.is-gif img { animation: none !important; }
/* fundo em slide: a foto inteira aparece quando a proporção da tela não combina com a da foto; as sobras ganham a própria foto desfocada */
.hero-slide picture { display: contents; }
.hero-empty.has-bg .hero-slide::before { content: ""; position: absolute; inset: -30px; background: var(--bg) center / cover no-repeat; filter: blur(30px) brightness(.65) saturate(1.1); opacity: 0; transition: opacity .3s; }
.hero-empty.has-bg .hero-slide.fit-contain::before { opacity: 1; }
@media (max-width: 980px), (max-aspect-ratio: 1/1) { .hero-empty.has-bg .hero-slide::before { background-image: var(--bg-m); } }
.hero-empty.has-bg .hero-slide.fit-contain img { animation: none !important; object-fit: contain; inset: auto; }
.hero-empty.has-bg .hero-slide.fit-h img { top: 0; left: 50%; width: auto; height: 100%; max-width: none; transform: translateX(-50%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hero-empty.has-bg .hero-slide.fit-w img { left: 0; top: 50%; width: 100%; height: auto; max-height: none; transform: translateY(-50%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); }
@media (max-width: 980px) { .hero-empty.has-bg::before { background: linear-gradient(0deg, rgba(var(--scrim),1) 0%, rgba(var(--scrim),1) 34%, rgba(var(--scrim),.82) 44%, rgba(var(--scrim),.25) 58%, rgba(var(--scrim),0) 70%, rgba(var(--scrim),.5) 100%); } }
@media (max-width: 980px) { .hero-empty.has-bg .hero-slide.fit-full img { inset: 0; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: none; -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 980px) { .hero-empty.has-bg .hero-slide.fit-w img { top: 30%; } .hero-empty.has-bg .hero-slide.fit-h img { height: 60%; } }
.hero-tag { margin-top: 18px; font-size: var(--fs-lead); color: rgba(255,255,255,.84); max-width: 44ch; }
.hero-price { margin-top: 26px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.hero-price .now { font-size: clamp(28px, 2.6vw, 38px); }
.hero-price .was { color: var(--aluminum); text-decoration: line-through; font-size: 18px; }
.hero-price .unit { color: var(--aluminum); font-size: 15px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.2); }
.hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-foot { margin-top: clamp(32px, 7vh, 64px); display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero-tabs { display: flex; flex-wrap: wrap; }
.hero-tabs button {
  position: relative; background: none; border: 0; color: rgba(255,255,255,.58); padding: 14px 22px 4px 0; margin-right: 18px;
  font-size: 14px; font-weight: 560; text-align: left; min-width: 150px; min-height: 44px;
}
.hero-tabs button::before { content: ""; position: absolute; left: 0; right: 22px; top: 0; height: 2px; background: rgba(255,255,255,.2); }
.hero-tabs button::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--orange); }
.hero-tabs button:hover { color: rgba(255,255,255,.9); }
.hero-tabs button[aria-selected="true"] { color: var(--white); }
.hero-tabs button[aria-selected="true"]::after { animation: tabfill var(--hero-interval, 7s) linear forwards; }
.hero-tabs.is-paused button[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes tabfill { to { width: calc(100% - 22px); } }
.hero-hint { display: inline-flex; align-items: center; gap: 10px; color: var(--aluminum); font-size: 14px; }
.hero-hint svg { width: 22px; height: 22px; color: var(--orange); }

/* uma entrada orquestrada + aproximação lenta da foto ativa */
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active img { animation: drift var(--hero-interval, 7s) linear both; }
  .hero.is-entering .hero-slide.is-active { animation: heroIn 1.4s var(--ease-out) both; }
  .hero.is-entering .hero-copy:not([hidden]) > * { animation: copyIn .8s var(--ease-out) both; }
  .hero-copy.is-swapping > * { animation: copyIn .7s var(--ease-out) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .12s !important; }
  .hero-copy > *:nth-child(3) { animation-delay: .2s !important; }
  .hero-copy > *:nth-child(4) { animation-delay: .28s !important; }
  .hero-copy > *:nth-child(5) { animation-delay: .36s !important; }
}
@keyframes drift { from { transform: scale(1.06) translateX(1.2%); } to { transform: scale(1) translateX(0); } }
@keyframes heroIn { from { opacity: 0; filter: brightness(.35); } to { opacity: 1; filter: none; } }
@keyframes copyIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Busca rápida --------------------------------------------------------------- */
.quick { background: var(--quick-bg); border-bottom: 1px solid var(--quick-line); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.quick .quick-label { color: var(--brand-ink); }
.quick label { border-left-color: rgba(10,45,82,.14) !important; }
.quick form { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto; gap: 0; align-items: stretch; }
.quick .quick-label { display: flex; align-items: center; padding-right: 28px; font-stretch: 112%; font-weight: 740; font-size: 20px; }
.quick label { display: grid; gap: 2px; padding: 18px 22px; border-left: 1px solid var(--line); }
.quick label span { font-size: var(--fs-micro); color: var(--text-2); font-weight: 560; }
.quick select { border: 0; background: transparent; font-size: 16px; font-weight: 600; padding: 4px 0; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2315171b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; padding-right: 22px; }
.quick select:focus-visible { outline-offset: 6px; }
.quick .btn { align-self: center; margin-left: 22px; }

/* Marcas --------------------------------------------------------------------- */
.brand-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-tile {
  display: grid; grid-template-rows: 56px auto; align-content: space-between; gap: 22px; min-height: 150px; padding: 22px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; background: var(--surface);
  transition: background-color .2s var(--ease);
}
.brand-tile:hover, .brand-tile:focus-visible { background: var(--bg); }
.brand-tile .brand-logo { display: flex; align-items: center; height: 56px; }
.brand-tile .brand-logo img { max-height: 44px; max-width: 130px; }
.brand-tile .meta { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-small); color: var(--text-2); }
.brand-tile .meta svg { width: 16px; height: 16px; color: var(--text); opacity: 0; transform: translateX(-4px); transition: all .2s var(--ease); }
.brand-tile:hover .meta svg { opacity: 1; transform: none; }

/* Cartão de veículo ---------------------------------------------------------- */
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px) clamp(16px, 2vw, 28px); }
.vcard { position: relative; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; background: var(--surface); border-radius: var(--radius-panel); overflow: hidden; }
.vcard-media { position: relative; aspect-ratio: 16 / 10; background: var(--media-bg); overflow: hidden; }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.vcard:hover .vcard-media img { transform: scale(1.035); }
.vcard-media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-strong); }
.vcard-media .ph svg { width: 56%; }
.vcard-flags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.flag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--radius); font-size: 12.5px; font-weight: 640; background: rgba(var(--scrim),.82); color: var(--white); backdrop-filter: blur(6px); }
.flag svg { width: 14px; height: 14px; }
.flag-accent { background: var(--orange); color: var(--night); }
.flag-light { background: rgba(255,255,255,.92); color: var(--night); }
.vcard-fav { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--night); }
.vcard-fav svg { width: 19px; height: 19px; }
.vcard-fav[aria-pressed="true"] { color: var(--orange); }
.vcard-fav[aria-pressed="true"] svg { fill: currentColor; }
.vcard-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.vcard-brand { font-size: var(--fs-micro); font-weight: 600; color: var(--text-2); letter-spacing: .02em; }
.vcard-title { font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.vcard-version { font-size: 15px; color: var(--text-2); }
.result-count strong { color: var(--text); font-size: 18px; }
.specs-row { display: flex; margin-top: 14px; margin-bottom: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.specs-row > div { flex: 1; display: grid; gap: 1px; padding-right: 10px; }
.specs-row > div + div { border-left: 1px solid var(--line); padding-left: 12px; }
.specs-row dt { font-size: 11.5px; color: var(--text-2); font-weight: 540; }
.specs-row dd { margin: 0; font-size: 15px; }
.vcard-foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.price { display: grid; line-height: 1.1; }
.price .was { font-size: 13px; color: var(--text-2); text-decoration: line-through; }
.price .now { font-size: 24px; font-stretch: 84%; font-weight: 720; font-variant-numeric: tabular-nums; }
.price .ask { font-size: 16px; font-weight: 620; }
.vcard-cta { font-size: 14px; font-weight: 640; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.vcard-cta svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.vcard:hover .vcard-cta svg { transform: translateX(3px); }
.vcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(var(--scrim),.06); pointer-events: none; }
.vcard.is-reserved .vcard-media img { filter: saturate(.6); }

/* destaque assimétrico da home */
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); }
.feature-grid .vcard:first-child { grid-row: span 2; }
.feature-grid .vcard:first-child .vcard-media { aspect-ratio: auto; min-height: 420px; height: 100%; }
.feature-grid .vcard:first-child { grid-template-rows: 1fr auto; }
.feature-grid .vcard:first-child .vcard-title { font-size: 28px; }
.feature-grid .vcard:not(:first-child) .vcard-media { aspect-ratio: 16 / 8.6; }
.feature-grid .vcard:not(:first-child) .specs-row { display: none; }

/* Faixas de entrada (novos / seminovos / eletrificados) ------------------------ */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--steel-900); }
.paths[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.path { position: relative; display: grid; align-content: end; min-height: clamp(300px, 34vw, 460px); padding: clamp(22px, 2.6vw, 36px); text-decoration: none; color: var(--white); overflow: hidden; isolation: isolate; background: var(--asphalt); }
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease-out); opacity: .9; }
.path::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--scrim),0) 30%, rgba(var(--scrim),.88) 100%); }
.path:hover img { transform: scale(1.04); }
.path h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.path p { margin-top: 8px; color: var(--aluminum); font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.path p svg { width: 20px; height: 20px; color: var(--white); transition: transform .25s var(--ease); }
.path:hover p svg { transform: translateX(4px); }

/* Serviços (linhas, não cards) */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--steel-900); }
.service { padding: 28px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.service + .service { padding-left: 28px; border-left: 1px solid var(--steel-900); }
.service svg { width: 28px; height: 28px; color: var(--orange); }
.service h3 { font-size: 19px; font-weight: 700; }
.service p { color: var(--aluminum); font-size: 15px; }
.service a { margin-top: 6px; color: var(--white); font-size: 15px; }

/* Visita / contato */
/* Visite a loja ---------------------------------------------------------------- */
.visit-band { background: radial-gradient(90% 120% at 100% 0%, #123e6c 0%, rgba(10,45,82,0) 55%), var(--navy); color: var(--white); }
.visit-band .t-lead { color: var(--aluminum); margin-top: 14px; max-width: 46ch; }
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.visit-facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin-top: 30px; }
.visit-facts li { display: flex; gap: 14px; align-items: flex-start; }
.visit-facts strong { display: block; font-size: 14px; font-weight: 640; color: var(--white); margin-bottom: 4px; }
.visit-facts p { color: var(--aluminum); font-size: 15.5px; line-height: 1.5; }
.visit-facts a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.visit-facts a:hover { border-color: var(--orange); }
.vf-ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(174,180,188,.28); }
.vf-ic svg { width: 19px; height: 19px; color: var(--orange); }
.visit-copy .hero-actions { margin-top: 32px; }

/* Placa "Há mais de N anos no mesmo local": metal escovado com a faixa laranja do V */
.plaque { position: relative; display: inline-grid; grid-template-columns: auto; margin-top: 26px; padding: 14px 26px 14px 34px; border-radius: 4px;
  background: var(--brushed); color: var(--navy-deep);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(0,0,0,.18), 0 14px 30px -14px rgba(0,0,0,.55); }
.plaque::before { content: ""; position: absolute; left: 12px; top: 12px; bottom: 12px; width: 7px; background: var(--orange); transform: skewX(-14deg); border-radius: 1px; }
.plaque::after { content: ""; position: absolute; inset: 7px; border-radius: 2px; pointer-events: none;
  background: radial-gradient(circle at 0 0, #8e99a5 0 2px, transparent 2.5px) 3px 3px / calc(100% - 6px) calc(100% - 6px) no-repeat,
              radial-gradient(circle at 100% 0, #8e99a5 0 2px, transparent 2.5px) -3px 3px / calc(100% - 6px) calc(100% - 6px) no-repeat; }
.plaque-kicker { font-size: 13px; font-weight: 600; color: #4a5562; }
.plaque-num { font-family: var(--font-brand); font-weight: 800; font-size: clamp(34px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.01em; color: var(--navy); text-shadow: 0 1px 0 rgba(255,255,255,.8); }
.plaque-text { font-family: var(--font-brand); font-weight: 700; font-size: 16px; color: var(--navy-deep); }

/* Mapa: arte da marca até a pessoa pedir o mapa do Google */
.map-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-panel); overflow: hidden; background: var(--navy-deep); box-shadow: 0 0 0 1px rgba(174,180,188,.22), 0 24px 50px -24px rgba(0,0,0,.6); }
.map-frame .map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame.is-live .map-load, .map-frame.is-live .map-note { display: none; }
.map-load { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: var(--radius); background: var(--brushed); color: var(--navy-deep); font: 640 15px var(--font); cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 12px 26px -10px rgba(0,0,0,.6); }
.map-load svg { width: 18px; height: 18px; color: var(--orange); }
.map-load:hover { filter: brightness(1.04); }
.map-note { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 12.5px; color: var(--aluminum); }
.map-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.map-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-size: 15px; font-weight: 560; }
.map-links a svg { width: 16px; height: 16px; color: var(--orange); transition: transform .2s var(--ease); }
.map-links a:hover svg { transform: translateX(3px); }
.foot-years { color: var(--white); }

/* Depoimentos ------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { position: relative; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 28px 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel); }
.quote::before { content: "\201C"; position: absolute; right: 22px; top: 6px; font: 800 72px/1 var(--font-brand);
  background: linear-gradient(180deg, #c3cad1, #7d8894); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { font-size: 16.5px; line-height: 1.6; color: var(--text); }
.quote figcaption { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.quote figcaption strong { font-family: var(--font-brand); font-weight: 700; font-size: 15px; color: var(--brand-ink); }
.quote figcaption span { font-size: 13.5px; color: var(--text-2); }
.quote-flag { position: absolute; left: 26px; top: -11px; padding: 2px 8px; border-radius: var(--radius); background: var(--night); color: var(--aluminum); font-size: 11.5px; font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars svg { width: 17px; height: 17px; }
.g-rating { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.g-num { font-family: var(--font-brand); font-weight: 800; font-size: 44px; line-height: 1; color: var(--brand-ink); }
.g-meta { display: grid; gap: 4px; font-size: 14px; color: var(--text-2); }
.g-rating:hover .g-meta > span:last-child { text-decoration: underline; }

/* Footer --------------------------------------------------------------------- */
.site-footer { position: relative; background: var(--night); color: var(--aluminum); font-size: 15px; padding-block: 64px 40px; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--chrome-line); opacity: .5; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-grid h4 { color: var(--white); font-size: 15px; font-weight: 640; margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--white); }
.site-footer .logo { margin-bottom: 18px; }
.foot-about { max-width: 38ch; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--steel-900); border-radius: var(--radius); }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--steel-900); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* Página interna: topo ------------------------------------------------------- */
.page-top { background: var(--night); color: var(--white); padding-block: calc(var(--header-h) + clamp(40px, 6vw, 80px)) clamp(36px, 5vw, 64px); }
.page-top .t-lead { margin-top: 16px; color: var(--aluminum); }
.scrim { display: none; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--aluminum); margin-bottom: 22px; list-style: none; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* Catálogo ------------------------------------------------------------------- */
.catalog { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(28px, 3vw, 48px); padding-block: 40px var(--section); }
.filters { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.filters-head { display: none; }
.fgroup { border-bottom: 1px solid var(--line); padding: 16px 0; }
.fgroup:first-child { padding-top: 0; }
.fgroup > legend, .fgroup > h3 { font-size: 14px; font-weight: 680; margin-bottom: 10px; padding: 0; }
fieldset.fgroup { border-left: 0; border-right: 0; border-top: 0; margin: 0; min-width: 0; padding-inline: 0; }
.field { display: grid; gap: 6px; }
.field label, .field > span { font-size: 13px; color: var(--text-2); font-weight: 540; }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface);
  font-size: 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(242,106,27,.25); }
.select { appearance: none; padding-right: 34px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2315171b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.range2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 14px; font-weight: 540; background: var(--surface); transition: all .15s var(--ease); }
.chip input:checked + span { background: var(--strong-bg); border-color: var(--strong-bg); color: var(--strong-fg); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--text); }
.check small { margin-left: auto; color: var(--text-2); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar .result-count { font-size: 15px; color: var(--text-2); }
.toolbar .result-count strong { color: var(--text); font-size: 18px; }
.toolbar-right { display: flex; gap: 10px; align-items: center; }
.toolbar .select { min-height: 42px; width: auto; font-size: 15px; }
.search-box { position: relative; flex: 1; min-width: 220px; max-width: 420px; }
.search-box svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-2); }
.search-box .input { padding-left: 40px; min-height: 42px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 20px; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: var(--radius); background: var(--chip-soft); color: var(--text); font-size: 13.5px; font-weight: 560; }
.active-filters button svg { width: 14px; height: 14px; }
.btn-filters { display: none; }
.empty-state { padding: 64px 24px; text-align: left; border: 1px dashed var(--line-strong); border-radius: var(--radius-panel); display: grid; gap: 14px; justify-items: start; }
.empty-state h3 { font-size: 22px; }
.load-more { display: flex; justify-content: center; margin-top: 40px; }
.skeleton .vcard-media, .skeleton .sk { background: linear-gradient(90deg, var(--sk-a) 0%, var(--sk-b) 50%, var(--sk-a) 100%); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
.skeleton .sk { height: 14px; border-radius: 2px; margin-top: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

/* Página do veículo ---------------------------------------------------------- */
.vpage-stage { background: linear-gradient(180deg, #07131f 0%, #0b1a2c 70%, #11243a 100%); color: var(--white); padding-top: var(--header-h); }
.vpage-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0; }
.stage { position: relative; min-height: clamp(360px, 62vh, 720px); display: grid; grid-template-rows: auto 1fr auto; padding: 18px 0 18px; }
.stage-tabs { display: flex; gap: 4px; padding-left: var(--gutter); }
.stage-tabs button { height: 38px; padding: 0 14px; border: 1px solid transparent; border-radius: var(--radius); background: none; color: var(--aluminum); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.stage-tabs button svg { width: 18px; height: 18px; }
.stage-tabs button[aria-selected="true"] { color: var(--white); border-color: var(--text-3); background: rgba(255,255,255,.04); }
.stage-view { position: relative; display: grid; min-height: 0; }
.stage-view > [role="tabpanel"] { position: relative; min-height: 0; display: grid; }
.stage-photo { display: grid; place-items: center; padding: 0 var(--gutter); }
.stage-photo img { max-height: min(62vh, 680px); width: 100%; object-fit: contain; }
.stage-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 14px var(--gutter) 2px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.stage-thumbs::-webkit-scrollbar { display: none; }
.stage-thumbs[hidden] { display: none; }
.stage-thumbs button { flex: none; width: 96px; aspect-ratio: 16 / 10; padding: 0; border: 1px solid transparent; border-radius: var(--radius); overflow: hidden; background: var(--asphalt); opacity: .6; scroll-snap-align: start; transition: opacity .2s var(--ease), border-color .2s; }
.stage-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--orange); }
.stage-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.stage-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--steel-700); background: rgba(var(--scrim),.6); color: var(--white); display: grid; place-items: center; z-index: 2; }
.stage-nav svg { width: 20px; height: 20px; }
.stage-nav.prev { left: 16px; } .stage-nav.next { right: 16px; }
.stage-counter { position: absolute; right: var(--gutter); bottom: 6px; font-size: 13px; color: var(--aluminum); }
.stage-open { position: absolute; right: var(--gutter); top: 0; }

.vpanel { position: relative; padding: 28px 32px 32px; background: var(--asphalt); border-left: 1px solid var(--steel-900); display: grid; align-content: start; gap: 18px; }
.vpanel .crumbs { margin-bottom: 0; }
.vpanel .flags { display: flex; gap: 6px; flex-wrap: wrap; }
.vpanel h1 { font-size: clamp(30px, 2.6vw, 40px); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; }
.vpanel h1 small { display: block; font-size: 17px; font-stretch: 100%; font-weight: 500; color: var(--aluminum); margin-top: 10px; line-height: 1.35; }
.vpanel .brand-line { font-size: 14px; color: var(--aluminum); font-weight: 560; }
.vpanel .quick-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--steel-900); border-bottom: 1px solid var(--steel-900); }
.vpanel .quick-specs div { padding: 12px 0; display: grid; gap: 2px; }
.vpanel .quick-specs div + div { padding-left: 14px; border-left: 1px solid var(--steel-900); }
.vpanel .quick-specs dt { font-size: 12px; color: var(--aluminum); }
.vpanel .quick-specs dd { margin: 0; font-size: 17px; }
.vpanel .price .now { font-size: 38px; }
.vpanel .price .was { color: var(--aluminum); font-size: 15px; }
.vpanel .terms { font-size: 14px; color: var(--aluminum); }
.vpanel .cta-stack { display: grid; gap: 10px; }
.vpanel .cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vpanel .cta-row.one { grid-template-columns: 1fr; }
.vpanel .cta-row .btn { padding: 8px 10px; white-space: normal; text-align: center; line-height: 1.2; font-size: 14px; }
.vpanel .cta-row .btn svg { width: 16px; height: 16px; }
.lead-box .form-grid .two { grid-template-columns: minmax(0, 1fr); }
.lead-box .seg span { font-size: 13px; }
.vpanel .btn-line { color: var(--white); border-color: var(--text-3); }
.vpanel .tools { display: flex; gap: 8px; }
.vpanel .icon-btn { background: transparent; border-color: var(--text-3); color: var(--white); }
.vpanel .code { font-size: 13px; color: var(--aluminum); }
.reserved-note { display: flex; gap: 10px; align-items: start; padding: 12px 14px; background: rgba(242,106,27,.1); border: 1px solid rgba(242,106,27,.35); border-radius: var(--radius); font-size: 14px; }

.vsections { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0; }
.vsections > .main { padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 64px) var(--section) var(--gutter); display: grid; gap: clamp(48px, 6vw, 80px); align-content: start; }
.vsections > aside { padding: clamp(36px, 5vw, 64px) var(--gutter) var(--section) 32px; border-left: 1px solid var(--line); }
.vsec h2 { font-size: clamp(24px, 2.2vw, 32px); font-stretch: 110%; font-weight: 760; margin-bottom: 22px; }
.spec-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--text-2); font-size: 15px; }
.spec-table dd { margin: 0; font-weight: 620; text-align: right; }
.feat-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.feat-groups h3 { font-size: 15px; font-weight: 680; margin-bottom: 10px; color: var(--text-2); }
.feat-groups ul { list-style: none; display: grid; gap: 8px; }
.feat-groups li { display: flex; gap: 10px; align-items: start; font-size: 16px; }
.feat-groups li svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 3px; }
.vdesc { max-width: 68ch; display: grid; gap: 14px; color: var(--text-3); font-size: 17px; }
.gallery-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gallery-grid button { padding: 0; border: 0; background: var(--chip-soft); aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery-grid button:hover img { transform: scale(1.04); }
.lead-box { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.lead-box h2 { font-size: 24px; font-stretch: 108%; font-weight: 760; }
.form-grid { display: grid; gap: 12px; }
.form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-align: center; padding: 4px; }
.seg label + label span { border-left: 1px solid var(--line-strong); }
.seg input:checked + span { background: var(--strong-bg); color: var(--strong-fg); }
.seg input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: -2px; }
.consent { display: flex; gap: 10px; font-size: 13px; color: var(--text-2); line-height: 1.45; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--text); }
.form-msg { font-size: 14px; padding: 12px 14px; border-radius: var(--radius); }
.form-msg.ok { background: rgba(47,158,107,.12); color: #1d6b47; }
.form-msg.err { background: rgba(214,69,61,.1); color: #9e2b25; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: var(--danger); font-size: 13px; }
.input[aria-invalid="true"] { border-color: var(--danger); }

/* barra fixa de contato no celular (página do veículo) */
.mobile-cta { display: none; }

/* Lightbox ------------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(10,11,13,.97); color: var(--white); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s linear .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 14px; color: var(--aluminum); }
.lb-top button, .lb-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--steel-700); background: rgba(var(--scrim),.6); color: var(--white); display: grid; place-items: center; }
.lb-top button svg, .lb-nav svg { width: 22px; height: 22px; }
.lb-stage { position: relative; overflow: hidden; touch-action: none; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; transition: transform .25s var(--ease); user-select: none; -webkit-user-drag: none; }
.lb-stage.is-zoomed img { cursor: grab; transition: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }
.lb-caption { padding: 14px 18px 22px; text-align: center; font-size: 14px; color: var(--aluminum); }

/* Comparar / favoritos ------------------------------------------------------- */
.compare-bar { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); z-index: 45; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; background: var(--night); color: var(--white); border-radius: var(--radius-panel); box-shadow: var(--shadow-float); transition: transform .35s var(--ease-out); font-size: 14px; }
.compare-bar:not(.is-visible) { visibility: hidden; }
.compare-bar.is-visible { transform: translate(-50%, 0); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { vertical-align: bottom; }
.compare-table tbody th { color: var(--text-2); font-weight: 540; width: 180px; }
.compare-table img { width: 100%; max-width: 260px; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); }

/* Texto institucional -------------------------------------------------------- */
.prose { max-width: 68ch; display: grid; gap: 16px; font-size: 17px; color: var(--text-3); }
.prose h2 { color: var(--text); font-size: 24px; margin-top: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

/* Toast ---------------------------------------------------------------------- */
.toast { position: fixed; left: 50%; top: calc(var(--header-h) + 14px); transform: translate(-50%, -20px); opacity: 0; z-index: 90; background: var(--night); color: var(--white); padding: 12px 18px; border-radius: var(--radius); font-size: 14px; box-shadow: var(--shadow-float); transition: all .3s var(--ease-out); pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Faixa de prévia (somente modo demonstração) */
.demo-ribbon { position: fixed; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 39; background: rgba(var(--scrim),.86); color: var(--aluminum); font-size: 12px; padding: 7px 10px; border-radius: var(--radius); border: 1px solid var(--steel-900); max-width: 60vw; }

/* Responsivo ----------------------------------------------------------------- */
@media (max-width: 1180px) {
  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(3) { padding-left: 0; border-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--steel-900); }
  .vpage-grid, .vsections { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 980px) {
  :root { --pill-h: 60px; --pill-gap: 8px; --topbar-size: 44px; }
  .nav, .header-actions .btn-label, .header-actions .theme-switch { display: none; }
  .header-actions .header-map { display: inline-flex; }
  .menu-toggle { display: grid; }
  .header-actions .btn { padding: 0 14px; }
  .hero { min-height: max(660px, calc(100svh - var(--topbar-h))); }
  .hero-slide img, .hero-slide.is-wide img { inset: 0 0 auto 0; height: 60%; object-position: 72% 62%; }
  .hero::before { background: linear-gradient(0deg, rgba(var(--scrim),1) 0%, rgba(var(--scrim),1) 40%, rgba(var(--scrim),.55) 52%, rgba(var(--scrim),0) 68%, rgba(var(--scrim),.5) 100%); }
  .logo .logo-img { height: 46px; }
  .hero-content { padding-top: 48vh; }
  .quick form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick .quick-label { grid-column: 1 / -1; padding: 16px 0 4px; }
  .quick label:nth-of-type(1) { border-left: 0; padding-left: 0; }
  .quick .btn { grid-column: 1 / -1; margin: 6px 0 18px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-grid .vcard:first-child { grid-row: auto; }
  .feature-grid .vcard:first-child .vcard-media { min-height: 0; aspect-ratio: 16/10; }
  .paths, .paths[data-n] { grid-template-columns: minmax(0, 1fr); }
  .path { min-height: 200px; }
  .stage { min-height: 0; padding: 12px 0; }
  .visit, .split { grid-template-columns: minmax(0, 1fr); }
  .quotes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 12px var(--gutter) 6px; scrollbar-width: none; }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { flex: 0 0 min(86%, 360px); scroll-snap-align: start; }
  .testimonials .section-head { align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 70; max-height: 86svh; background: var(--surface); padding: 0 var(--gutter) calc(18px + env(safe-area-inset-bottom)); border-radius: 12px 12px 0 0; box-shadow: 0 -20px 60px rgba(0,0,0,.25); transform: translateY(105%); transition: transform .35s var(--ease-out); }
  .filters.is-open { transform: none; }
  .filters-head { display: flex; position: sticky; top: 0; background: var(--surface); z-index: 1; justify-content: space-between; align-items: center; padding: 16px 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
  .filters-head h2 { font-size: 20px; }
  .filters-apply { position: sticky; bottom: calc(-18px - env(safe-area-inset-bottom)); background: var(--surface); padding: 12px 0 calc(18px + env(safe-area-inset-bottom)); margin-bottom: calc(-18px - env(safe-area-inset-bottom)); box-shadow: 0 -10px 16px -12px rgba(0,0,0,.25); }
  .btn-filters { display: inline-flex; }
  .scrim { display: block; position: fixed; inset: 0; background: rgba(10,11,13,.5); z-index: 69; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s linear .25s; }
  .scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
  .vpage-grid, .vsections { grid-template-columns: minmax(0, 1fr); }
  .vpanel { border-left: 0; border-top: 1px solid var(--steel-900); padding: 24px var(--gutter) 28px; }
  .vsections > .main { padding: 40px var(--gutter) 48px; }
  .vsections > aside { border-left: 0; border-top: 1px solid var(--line); padding: 40px var(--gutter) calc(var(--section) + 40px); }
  .lead-box { position: static; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(var(--scrim),.94); backdrop-filter: blur(10px); border-top: 1px solid var(--steel-900); transform: translateY(110%); transition: transform .3s var(--ease-out); }
  .mobile-cta.is-visible { transform: none; }
  .page-vehicle .wa-fab { display: none; }
  .stage-nav { display: none; }
}
@media (max-width: 680px) {
  :root { --fs-body: 16px; }
  .demo-ribbon { position: static; display: block; max-width: none; border-radius: 0; text-align: center; padding: 10px 16px 90px; background: var(--night); border: 0; }
  .vgrid { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: minmax(0, 1fr); }
  .service, .service + .service { padding: 22px 0 6px; border-left: 0; }
  .service + .service { border-top: 1px solid var(--steel-900); }
  .quick form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .quick label:nth-of-type(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .quick label:nth-of-type(2) { padding-right: 0; }
  .spec-table, .feat-groups { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .wa-fab { padding: 0; width: 56px; justify-content: center; }
  .wa-fab .lbl { display: none; }
  .hero-tabs button { min-width: 0; padding-right: 14px; margin-right: 10px; }
  .hero-tabs button::before { right: 14px; }
  @keyframes tabfill { to { width: calc(100% - 14px); } }
  .hero-actions .btn { flex: 1; }
  .vpanel .quick-specs dd { font-size: 15px; }
  .toolbar-right { width: 100%; }
  .toolbar-right .select { flex: 1; }
  .form-grid .two { grid-template-columns: minmax(0, 1fr); }
  .compare-table tbody th { width: 110px; }
}

/* ===== Celular: navegação mais curta, toque confortável ===== */
html { scroll-padding-top: calc(var(--header-h) + 12px); }
a, button, label, select, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(242,106,27,.18); }
@media (max-width: 980px) {
  /* listas de veículos da home: deslizar para o lado em vez de uma coluna enorme */
  .vscroll { display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .vscroll::-webkit-scrollbar { display: none; }
  .vscroll > .vcard, .vscroll > .vcard:first-child { flex: 0 0 min(80%, 340px); scroll-snap-align: start; grid-row: auto; }
  .vscroll > .vcard:last-child { margin-right: var(--gutter); }
  .vscroll .vcard-foot { flex-wrap: wrap; align-items: baseline; row-gap: 2px; }
  .vscroll .price, .vscroll .vcard-foot .now { white-space: nowrap; }
  .vscroll .vcard-media, .vscroll .vcard:first-child .vcard-media { aspect-ratio: 4/3; min-height: 0; }
  /* categorias (SUV, hatch…): faixa deslizante, cada uma mais baixa */
  .paths, .paths[data-n] { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .paths::-webkit-scrollbar { display: none; }
  .paths .path { flex: 0 0 min(72%, 280px); min-height: 150px; scroll-snap-align: start; }
}
@media (max-width: 680px) {
  .section { padding-block: clamp(40px, 11vw, 56px); }
  .btn { min-height: 46px; }
  .btn-sm, .header-actions .btn { min-height: 44px; }
  .menu-toggle, .header-actions .btn-icon { min-width: 44px; min-height: 44px; }
  .link-more { display: inline-flex; align-items: center; min-height: 44px; }
  .vcard-cta { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-grid a, .foot-links a, .site-footer a { display: inline-flex; align-items: center; min-height: 40px; }
  .hero-tabs button { min-height: 44px; }
  .hero-actions { gap: 10px; }
  /* campos com 16px e altura boa evitam o zoom automático do iPhone */
  input, select, textarea { font-size: 16px; }
  .quick select { min-height: 40px; }
  .toolbar .select, .toolbar .btn { min-height: 46px; }
  .wa-fab { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .page-vehicle .wa-fab { display: none; }
  body { padding-bottom: env(safe-area-inset-bottom); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}

@media (max-width: 560px) {
  .visit-facts { grid-template-columns: minmax(0, 1fr); }
  .map-frame { aspect-ratio: 1 / 1; }
}

/* ===== Faixa do endereço no topo (sai da tela ao rolar; dá para fechar) ===== */
html:has(.topbar) { --topbar-h: var(--topbar-size); }
html.no-topbar { --topbar-h: 0px; }
.topbar {
  position: relative; z-index: 51; height: var(--topbar-size); color: var(--white);
  background: linear-gradient(90deg, var(--navy-deep) 0%, var(--navy) 55%, #123e6c 100%);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.12);
}
html.no-topbar .topbar { display: none; }
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; position: relative; padding-right: calc(var(--gutter) + 36px); }
.tb-addr { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; font-weight: 520; color: rgba(255,255,255,.92); }
.tb-addr svg { width: 16px; height: 16px; flex: none; color: var(--orange); }
.tb-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 14px; border-radius: 999px;
  background: var(--orange); color: var(--night); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), transform .2s var(--ease-out);
}
.tb-btn svg { width: 14px; height: 14px; }
.tb-btn:hover { background: #ff7a2c; transform: translateY(-1px); }
.tb-close { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: rgba(255,255,255,.75); cursor: pointer; }
.tb-close svg { width: 18px; height: 18px; }
.tb-close:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* ===== Endereço: ao chegar pelo menu, a seção ocupa exatamente a tela, com o conteúdo centralizado ===== */
.visit-band { display: flex; align-items: center; scroll-margin-top: -12px; padding-block: clamp(28px, 5vh, 72px); }
.visit-band > .wrap { width: 100%; }
.visit { align-items: center; }
@media (min-width: 981px) {
  .visit-band {
    /* topo da seção no topo da tela (o menu recolhe ao descer); a folga do menu fica dentro da seção, nos dois lados */
    scroll-margin-top: calc(-1 * (var(--header-h) + 12px));
    min-height: 100vh; min-height: 100svh; padding-block: var(--header-h);
  }
}
/* telas de notebook (pouca altura): compacta para a seção inteira caber */
@media (min-width: 981px) and (max-height: 860px) {
  .visit-band .plaque { display: none; }
  .visit-facts { margin-top: 20px; gap: 16px 24px; }
  .visit-copy .hero-actions { margin-top: 22px; }
}
@media (min-width: 981px) and (max-height: 700px) {
  .visit-band .t-lead { margin-top: 8px; }
  .visit-facts { margin-top: 14px; gap: 12px 20px; }
  .visit-facts p { font-size: 14.5px; line-height: 1.4; }
}

/* ===== Celular: pílula mais compacta, botões redondos de ícone ===== */
@media (max-width: 980px) {
  .site-header { left: 12px; right: 12px; }
  .site-header > .wrap { padding-inline: 8px 8px; padding-left: 16px; gap: 8px; }
  .site-header .logo .logo-img { height: 40px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { width: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
  .header-actions .header-map { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); }
  .tb-addr { font-size: 12.5px; gap: 6px; }
  .topbar .wrap { gap: 8px; padding-inline: 14px 44px; justify-content: space-between; }
  .tb-btn { height: 30px; padding: 0 12px; font-size: 12.5px; }
  .tb-btn svg { display: none; }
  .tb-rest { display: none; }
  .tb-close { right: 4px; }
  .mega { border-radius: 22px; }
}

/* ===== Celular: veículos de 2 em 2 (estoque, marcas, favoritos e vitrines da home) ===== */
@media (max-width: 680px) {
  .vgrid, .vscroll, .feature-grid.vscroll {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px;
    overflow: visible; scroll-snap-type: none; margin-inline: 0; padding: 0;
  }
  .vscroll > .vcard, .vscroll > .vcard:first-child { flex: initial; min-width: 0; }
  .vscroll > .vcard:last-child { margin-right: 0; }
  .feature-grid.vscroll > .vcard:first-child { grid-column: 1 / -1; }
  .vcard-media, .vscroll .vcard-media, .vscroll .vcard:first-child .vcard-media, .feature-grid .vcard:not(:first-child) .vcard-media { aspect-ratio: 4 / 3; min-height: 0; }
  .feature-grid.vscroll > .vcard:first-child .vcard-media { aspect-ratio: 16 / 10; }
  .vcard-body { padding: 12px 12px 14px; gap: 2px; }
  .vcard-brand { font-size: 11px; }
  .vcard-title, .feature-grid .vcard:first-child .vcard-title { font-size: 16px; line-height: 1.15; }
  .vcard-version { font-size: 12.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .specs-row, .feature-grid .vcard:not(:first-child) .specs-row { display: flex; margin-top: 8px; padding-top: 8px; }
  .specs-row > div { padding-right: 6px; min-width: 0; }
  .specs-row > div + div { padding-left: 8px; }
  .specs-row > div:nth-child(3) { display: none; }
  .specs-row dt { font-size: 10.5px; }
  .specs-row dd { font-size: 12.5px; }
  .vcard-foot { padding-top: 10px; }
  .vcard-cta { display: none; }
  .price .now { font-size: 18px; }
  .price .was { font-size: 11.5px; }
  .vcard-flags { left: 8px; top: 8px; gap: 4px; }
  .vcard-flags > * { font-size: 10.5px; padding: 3px 7px; }
  .vcard-fav { width: 32px; height: 32px; right: 8px; top: 8px; }
  .vcard-fav svg { width: 16px; height: 16px; }
}
@media (max-width: 680px) {
  .specs-row dd { white-space: nowrap; font-size: 12px; letter-spacing: -.01em; }
  .specs-row > div { align-content: start; }
}

/* ===== Celular: card enxuto — marca/modelo, uma linha de dados, preço ===== */
@media (max-width: 680px) {
  .vgrid, .vscroll, .feature-grid.vscroll { gap: 10px 8px; }
  .vcard-media, .vscroll .vcard-media, .vscroll .vcard:first-child .vcard-media, .feature-grid .vcard:not(:first-child) .vcard-media { aspect-ratio: 5 / 4; }
  .feature-grid.vscroll > .vcard:first-child .vcard-media { aspect-ratio: 16 / 9; }
  .vcard-body { padding: 9px 10px 11px; gap: 1px; }
  .vcard-brand { font-size: 10.5px; line-height: 1.2; }
  .vcard-title, .feature-grid .vcard:first-child .vcard-title { font-size: 15px; line-height: 1.2; }
  .vcard-version { font-size: 11.5px; line-height: 1.25; -webkit-line-clamp: 1; }
  /* Ano e km viram uma linha só, sem rótulos nem divisórias */
  .specs-row, .feature-grid .vcard:not(:first-child) .specs-row { margin: 5px 0 0; padding: 0; border: 0; gap: 0; flex-wrap: nowrap; overflow: hidden; }
  .specs-row dt { display: none; }
  .specs-row > div { flex: none; display: block; padding: 0; border: 0; }
  .specs-row > div + div { padding-left: 0; border: 0; }
  .specs-row > div + div::before { content: "·"; margin: 0 5px; color: var(--text-2); }
  .specs-row dd { font-size: 11.5px; font-weight: 500; color: var(--text-2); }
  .specs-row > div:nth-child(3) { display: none; }
  .vcard-foot { padding-top: 6px; }
  .price .now { font-size: 17px; }
  .price .was { font-size: 11px; }
  .vcard-flags { left: 6px; top: 6px; }
  .vcard-flags > * { font-size: 10px; padding: 2px 6px; }
  .vcard-fav { width: 28px; height: 28px; right: 6px; top: 6px; }
  .vcard-fav svg { width: 14px; height: 14px; }
}
@media (max-width: 680px) {
  .specs-row > div { display: flex; align-items: baseline; white-space: nowrap; }
  .specs-row > div + div::before { line-height: 1; }
}
