/* ===================================================================
   NHF Automóveis — Design System
   Estilo: Soft UI Evolution · Grafite premium + acento vermelho
   Fontes: Space Grotesk (display) + Inter (corpo)
   =================================================================== */
:root {
    /* Cores */
    --ink: #0d0f13;
    --ink-2: #161a20;
    --graphite: #21262e;
    --bg: #f5f6f8;
    --surface: #ffffff;
    --surface-2: #eef0f3;
    --line: #e4e7ec;
    --line-strong: #d3d8e0;
    --text: #12151a;
    --text-2: #3d444e;
    --muted: #6b7482;
    --accent: #d21c2b;
    --accent-dark: #ac1622;
    --accent-soft: #fdecec;
    --wpp: #25d366;
    --wpp-dark: #1eb955;

    /* Sombras (soft UI evolution) */
    --shadow-xs: 0 1px 2px rgba(13,15,19,.06);
    --shadow-sm: 0 1px 3px rgba(13,15,19,.08), 0 1px 2px rgba(13,15,19,.05);
    --shadow: 0 6px 20px rgba(13,15,19,.08);
    --shadow-lg: 0 18px 44px rgba(13,15,19,.14);

    /* Raio */
    --r-sm: 10px;
    --r: 14px;
    --r-lg: 20px;

    /* Espaço */
    --max: 1200px;

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; color: var(--text); background: var(--bg);
    font-family: var(--font-body); line-height: 1.55;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; }
button { font-family: inherit; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ── Botões ───────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 12px 22px; border-radius: 11px; border: 1px solid transparent;
    background: var(--surface); color: var(--text); font-weight: 600; font-size: .95rem;
    cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
    white-space: nowrap; line-height: 1;
}
.btn .ic { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-wpp { background: var(--wpp); color: #fff; }
.btn-wpp:hover { background: var(--wpp-dark); }
.btn-outline { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--muted); font-weight: 600; }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); box-shadow: none; transform: none; }
.btn-ghost .ic { color: var(--accent); }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 15px 26px; font-size: 1rem; border-radius: 12px; }

/* ── Topbar ───────────────────────────────────────────── */
.topbar { background: var(--ink); color: #aeb6c2; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ic { width: 15px; height: 15px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-social-group { display: inline-flex; align-items: center; gap: 8px; }
.topbar-siga { color: #8b95a3; font-weight: 600; letter-spacing: .02em; }
.topbar-social {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 8px; color: #fff;
    transition: transform .15s ease, filter .15s ease;
}
.topbar-social svg { width: 18px; height: 18px; }
.topbar-social.ig { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.topbar-social.fb { background: #1877F2; }
.topbar-social:hover { transform: translateY(-1px); filter: brightness(1.1); }
@media (max-width: 720px) { .topbar { display: none; } }

/* ── Header ────────────────────────────────────────────── */
.site-header {
    background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
    position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { height: 56px; width: auto; }
.brand-mark {
    background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700;
    letter-spacing: .5px; padding: 8px 11px; border-radius: 10px; font-size: 1.05rem; line-height: 1;
}
.brand-mark::after { content: ""; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.header-nav { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 9px 14px; border-radius: 9px; font-weight: 600; color: var(--text-2); transition: .15s; }
.nav-link:hover { background: var(--surface-2); color: var(--text); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; font-weight: 600; color: var(--text); }
.nav-phone .ic { color: var(--accent); }
.nav-phone:hover { color: var(--accent); }

/* ── Hero ──────────────────────────────────────────────── */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(1000px 500px at 78% -10%, rgba(210,28,43,.28), transparent 60%),
        radial-gradient(700px 400px at 5% 110%, rgba(65,90,140,.30), transparent 55%),
        linear-gradient(180deg, #14181f, #0d0f13);
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-inner { position: relative; padding: 82px 22px 96px; max-width: 900px; margin: 0 auto; text-align: center; }
.hero-eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: #cdd4df; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    padding: 7px 15px; border-radius: 100px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; }
.hero-sub { color: #b7bfcb; font-size: 1.12rem; margin: 16px auto 0; max-width: 560px; }

.hero-search {
    display: flex; gap: 10px; margin: 34px auto 0; max-width: 720px; background: var(--surface);
    padding: 10px; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.hs-field { display: flex; align-items: center; gap: 9px; padding: 0 14px; border-radius: 11px; background: var(--surface-2); }
.hs-field .ic { color: var(--muted); }
.hs-grow { flex: 1; }
.hs-field input, .hs-field select {
    border: none; background: transparent; font-family: inherit; font-size: 1rem; color: var(--text);
    padding: 15px 0; width: 100%; outline: none; cursor: pointer;
}
.hs-field input { cursor: text; }
.hero-search .btn-accent { padding-inline: 30px; }

/* ── Faixa de confiança ────────────────────────────────── */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 22px 22px; }
.trust-item { display: flex; align-items: center; gap: 13px; padding: 8px 12px; }
.trust-item .ic { width: 30px; height: 30px; color: var(--accent); }
.trust-item strong { display: block; font-family: var(--font-body); font-size: .95rem; font-weight: 600; }
.trust-item span { font-size: .82rem; color: var(--muted); }

/* ── Catálogo ──────────────────────────────────────────── */
.catalogo { padding: 48px 22px 60px; }
.catalogo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section-title { font-size: 1.85rem; font-weight: 700; letter-spacing: -.02em; }
.section-sub { color: var(--muted); margin-top: 5px; font-size: .95rem; }
.toolbar { display: flex; gap: 10px; }
.toolbar select, .filtros select {
    padding: 11px 16px; border-radius: 11px; border: 1px solid var(--line-strong);
    background: var(--surface); font-family: inherit; font-size: .92rem; font-weight: 500; color: var(--text);
    cursor: pointer; transition: border-color .15s;
}
.toolbar select:hover { border-color: var(--ink); }

.filtros-ativos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; font-size: .88rem; }
.chip-filtro { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 100px; padding: 5px 13px; font-weight: 500; }
.limpar-filtros { color: var(--accent); font-weight: 600; }
.limpar-filtros:hover { text-decoration: underline; }

.grid-carros { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }

.card-carro {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-carro:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-foto { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.card-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.6,.2,1); }
.card-carro:hover .card-foto img { transform: scale(1.06); }
.sem-foto { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #b3bac4; background: var(--surface-2); }
.sem-foto .ic { width: 46px; height: 46px; stroke-width: 1.4; }
.sem-foto.grande { aspect-ratio: 16/10; border-radius: var(--r); }

.card-info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-titulo { font-family: var(--font-body); font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.spec {
    display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--text-2);
    background: var(--surface-2); padding: 5px 10px; border-radius: 8px; font-weight: 500;
}
.spec .ic { width: 14px; height: 14px; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.card-preco { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.card-cta {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); color: var(--accent);
    transition: background .2s ease, color .2s ease;
}
.card-cta .ic { width: 17px; height: 17px; transition: transform .2s; }
.card-carro:hover .card-cta { background: var(--accent); color: #fff; }
.card-carro:hover .card-cta .ic { transform: translateX(2px); }
.is-vendido { opacity: .74; }
.is-vendido .card-preco { color: var(--muted); }

.tag {
    position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 100px;
    font-size: .7rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .06em;
    backdrop-filter: blur(4px);
}
.tag-destaque { background: var(--ink); }
.tag-vendido { background: var(--accent); }
.tag.grande { top: 16px; left: 16px; font-size: .78rem; padding: 7px 15px; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(18px); }
[data-reveal].is-visible { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 55ms); }

.vazio { grid-column: 1/-1; text-align: center; padding: 70px 20px; color: var(--muted); }
.vazio .ic { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--line-strong); }
.vazio .btn { margin-top: 16px; }

.paginacao { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 44px; }
.pag-btn { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 10px; font-weight: 600; background: var(--surface); transition: .15s; }
.pag-btn:hover { border-color: var(--ink); }
.pag-info { color: var(--muted); font-size: .9rem; }

/* ── CTA banner ────────────────────────────────────────── */
.cta-banner { background: var(--ink); color: #fff; margin-top: 20px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 46px 22px; flex-wrap: wrap; }
.cta-banner h2 { font-size: 1.6rem; font-weight: 700; }
.cta-banner p { color: #b7bfcb; margin-top: 6px; }

/* ── Detalhe ───────────────────────────────────────────── */
.detalhe { padding: 26px 22px 60px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { font-weight: 600; color: var(--text-2); }
.breadcrumb a:hover { color: var(--accent); }

.detalhe-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 36px; align-items: start; }
.galeria-principal { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); border: 1px solid var(--line); }
.galeria-principal img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.galeria-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: rgba(13,15,19,.5); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    transition: background .15s ease, opacity .15s ease;
}
.galeria-nav:hover { background: rgba(13,15,19,.82); }
.galeria-nav .ic { width: 24px; height: 24px; stroke-width: 2.3; }
.galeria-prev { left: 14px; }
.galeria-next { right: 14px; }
.galeria-count {
    position: absolute; bottom: 14px; right: 14px; z-index: 3;
    background: rgba(13,15,19,.6); color: #fff; font-size: .8rem; font-weight: 600;
    padding: 5px 12px; border-radius: 100px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.galeria-principal img { cursor: zoom-in; }

/* ── Lightbox (visualizador com zoom) ─────────────────── */
.lightbox {
    position: fixed; inset: 0; z-index: 1000; background: rgba(8,10,13,.95);
    display: none; align-items: center; justify-content: center; touch-action: none;
    -webkit-user-select: none; user-select: none;
}
.lightbox.is-open { display: flex; }
.lb-stage { width: 100%; height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.lb-img {
    max-width: 94vw; max-height: 88vh; transform: translate(0,0) scale(1); transform-origin: center center;
    transition: transform .12s ease-out; cursor: zoom-in; will-change: transform; -webkit-user-drag: none;
}
.lb-img.is-zoomed { cursor: grab; }
.lb-img.is-panning { cursor: grabbing; transition: none; }
.lb-btn {
    position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: none; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.12); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    transition: background .15s ease;
}
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 16px; right: 16px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-controls {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 2;
    display: flex; align-items: center; gap: 10px;
    background: rgba(0,0,0,.5); padding: 7px 10px; border-radius: 100px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lb-controls .lb-btn { position: static; width: 42px; height: 42px; }
.lb-count { color: #fff; font-size: .85rem; font-weight: 600; min-width: 52px; text-align: center; }
@media (max-width: 640px) {
    .lb-btn { width: 44px; height: 44px; }
    .lb-close { top: 12px; right: 12px; }
    .lb-prev { left: 8px; } .lb-next { right: 8px; }
}
.galeria-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4/3; transition: border-color .15s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--line-strong); }
.thumb.is-active { border-color: var(--accent); }

.detalhe-info {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 28px; position: sticky; top: 92px; box-shadow: var(--shadow-sm);
}
.detalhe-titulo { font-family: var(--font-body); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.detalhe-meta { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.detalhe-preco { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; color: var(--ink); letter-spacing: -.03em; margin: 12px 0 22px; }

.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 24px; }
.spec-box { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 11px; align-items: center; background: var(--surface-2); border-radius: 12px; padding: 12px 14px; }
.spec-box .ic { grid-row: 1 / 3; width: 24px; height: 24px; color: var(--accent); }
.spec-box span { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.spec-box strong { font-family: var(--font-body); font-size: .95rem; font-weight: 600; }

.detalhe-acoes { display: flex; flex-direction: column; gap: 10px; }
.detalhe-garantias { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.detalhe-garantias li { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--text-2); font-weight: 500; }
.detalhe-garantias .ic { width: 20px; height: 20px; color: #1a9e4b; }

.bloco { margin-top: 46px; }
.bloco-titulo { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; padding-left: 14px; border-left: 4px solid var(--accent); }
.descricao-texto { color: var(--text-2); margin-top: 16px; max-width: 760px; line-height: 1.75; }
.opcionais { list-style: none; padding: 0; margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.opcionais li { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 12px 15px; font-size: .9rem; font-weight: 500; }
.opcionais .ic { width: 18px; height: 18px; color: #1a9e4b; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #9aa3b1; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 56px 22px 40px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 40px; }
.footer-logo strong { color: #fff; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.02em; }
.footer-brand-col p { font-size: .92rem; line-height: 1.7; max-width: 380px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.social-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 11px; color: #fff;
    transition: transform .15s ease, filter .15s ease;
}
.social-btn svg { width: 22px; height: 22px; }
.social-btn.wpp { background: var(--wpp); }
.social-btn.ig { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.social-btn.fb { background: #1877F2; }
.social-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; font-weight: 700; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; font-size: .92rem; margin: 8px 0; color: #9aa3b1; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; font-size: .82rem; flex-wrap: wrap; }

/* ── WhatsApp flutuante ────────────────────────────────── */
.wpp-float {
    position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%;
    background: var(--wpp); color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,.45); z-index: 90; transition: transform .18s ease;
}
.wpp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: wpp-pulse 2.4s infinite; }
.wpp-float:hover { transform: scale(1.08); }
@keyframes wpp-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ── Responsivo ────────────────────────────────────────── */
@media (max-width: 960px) {
    .detalhe-grid { grid-template-columns: 1fr; gap: 24px; }
    .detalhe-info { position: static; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}
@media (max-width: 820px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .header-inner { height: 64px; }
    .brand-logo { height: 46px; }
    .brand-name { font-size: 1.05rem; white-space: nowrap; }
    .header-nav { gap: 6px; }
    .nav-link { display: none; }
    .nav-phone { padding: 9px 8px; }
    .nav-phone span { display: none; }
    /* Apenas o WhatsApp DO HEADER vira ícone circular no mobile.
       (não afeta o "Tenho interesse" da página do carro) */
    .header-nav .btn-wpp { padding: 0; border-radius: 50%; width: 44px; height: 44px; }
    .header-nav .btn-wpp span { display: none; }
    .header-nav .btn-wpp .ic { width: 24px; height: 24px; }
    .hero-inner { padding: 56px 22px 68px; }
    .hero-search { flex-wrap: wrap; }
    .hero-search .hs-field, .hero-search .btn-accent { flex: 1 1 100%; }
    .catalogo-head { align-items: stretch; }
    .toolbar { width: 100%; }
    .toolbar select { flex: 1; }
    .grid-carros { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
    .card-info { padding: 13px 14px 15px; gap: 9px; }
    .card-preco { font-size: 1.15rem; }
    .card-cta { display: none; }
    .card-foot { justify-content: flex-start; }
    .footer-grid { grid-template-columns: 1fr; }
    .galeria-thumbs { grid-template-columns: repeat(4, 1fr); }
    .specs-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
