/* ==========================================================================
   Nogueira Lins — folha de estilos do site público
   Paleta: navy #001e50 · azul #0a3a7d · destaque #00b0f0 · escuro #001237
   ========================================================================== */

:root {
    --navy: #001e50;
    --blue: #0a3a7d;
    --accent: #00b0f0;
    --accent-ink: #006a9e;
    --dark: #001237;
    --bg: #f3f6fb;
    --bg2: #fff;
    --ink: #12233f;
    --muted: #64748b;
    --line: #dde5f0;
    --r: 14px;
    --hdr: 158px;
    --font-text: "VWText", "Manrope", system-ui, "Segoe UI", Arial, sans-serif;
    --font-head: "VWHead", "Manrope", system-ui, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; padding-bottom: 68px; color: var(--ink); background: var(--bg);
    font-family: var(--font-text); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, .section__title, .btn, .vcard__price strong, .vdetail__price, .plan__price strong, .mhero__price strong { font-family: var(--font-head); }
h1, h2, h3 { line-height: 1.2; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); }
.pager { margin-top: 8px; }

/* acessibilidade */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Cabeçalho: menu + linha com logo; transparente na home, vidro ao rolar
   ========================================================================== */
.topbar {
    position: fixed; inset: 0 0 auto 0; z-index: 60; color: #fff; background: var(--dark);
    transition: background .3s, box-shadow .3s;
}
.topbar--overlay { background: linear-gradient(rgba(0, 18, 55, .72), rgba(0, 18, 55, 0)); }
.topbar:not(.topbar--overlay) + main { padding-top: var(--hdr); }

.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 32px; height: 70px; transition: height .3s; }
.mainnav { display: flex; gap: 6px; align-items: center; }
.mainnav a { position: relative; text-decoration: none; font-size: .92rem; font-weight: 700; color: #fff; padding: 26px 11px 22px; white-space: nowrap; }
.mainnav a { display: inline-flex; align-items: center; gap: 7px; }
.nav-ic { flex: none; width: 18px; height: 18px; opacity: .78; transition: opacity .2s, color .2s; }
.mainnav a:hover .nav-ic { opacity: 1; color: var(--accent); }
@media (min-width: 961px) and (max-width: 1299px) { .mainnav .nav-ic { display: none; } }
.mainnav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 12px; height: 2px; background: #fff; transform: scaleX(0); transition: transform .2s; }
.mainnav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }

.topbar__tools { display: flex; align-items: center; gap: 14px; }
.topbar__name { font-weight: 300; letter-spacing: .04em; font-size: .95rem; white-space: nowrap; }
.topbar__name b { font-weight: 800; }

.search { position: relative; }
.search summary { list-style: none; cursor: pointer; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; }
.search summary::-webkit-details-marker { display: none; }
.search summary:hover, .search[open] summary { background: rgba(255, 255, 255, .16); }
.search__panel { position: absolute; right: 0; top: 120%; display: flex; gap: 8px; background: #fff; color: var(--ink); padding: 10px; border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 30, 80, .3); width: min(420px, calc(100vw - 32px)); }
.search__panel input, .search__panel select { margin: 0; }
.search__panel select { width: auto; }
.search__panel .btn { padding: 10px 16px; }

/* linha branca com o logo a ~70% da largura */
.topbar__line { display: flex; align-items: center; height: 82px; padding-bottom: 22px; margin-top: -1px; transition: height .3s; }
.topbar__line::before, .topbar__line::after { content: ""; height: 1px; background: rgba(255, 255, 255, .85); }
.topbar__line::before { flex: 1 1 auto; }
.topbar__line::after { flex: 0 0 calc(30% - 40px); }
.topbar__logo { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 30px; color: #fff; text-decoration: none; transition: width .3s, height .3s, transform .2s; }
.topbar__logo:hover { transform: scale(1.06); }
.topbar__logo svg { width: 52px; height: 52px; transition: width .3s, height .3s; }

.topbar.is-scrolled {
    background: rgba(0, 18, 55, .55); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
    box-shadow: 0 8px 30px rgba(0, 10, 40, .25); border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.topbar.is-scrolled .topbar__row { height: 54px; }
.topbar.is-scrolled .mainnav a { padding-top: 19px; padding-bottom: 15px; }
.topbar.is-scrolled .topbar__line { height: 60px; padding-bottom: 12px; }
.topbar.is-scrolled .topbar__logo { width: 42px; height: 42px; }
.topbar.is-scrolled .topbar__logo svg { width: 38px; height: 38px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .topbar.is-scrolled { background: rgba(0, 18, 55, .94); }
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-size: 1.5rem; font-weight: 300; letter-spacing: .02em; flex-shrink: 0; white-space: nowrap; }
.brand b { font-weight: 800; color: var(--accent); }
.brand svg { width: 44px; height: 44px; }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
    display: inline-block; border: 1.5px solid transparent; border-radius: 4px; padding: 13px 28px; min-height: 46px;
    font: inherit; font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
    cursor: pointer; text-decoration: none; text-align: center; transition: .15s;
}
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--blue); }
.btn--accent { background: var(--accent); color: #00122e; }
.btn--accent:hover { filter: brightness(1.08); }
.btn--ghost { border-color: var(--line); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: var(--accent); }
.vdetail__info .btn--ghost { color: var(--navy); border-color: var(--navy); }
.btn--block { display: block; width: 100%; }

/* ==========================================================================
   Banner
   ========================================================================== */
.hero { position: relative; width: 100%; height: clamp(420px, 46vw, 640px); overflow: hidden; background: var(--navy); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 16%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img, .hero__slide picture { width: 100%; height: 100%; }
.hero__slide img { object-fit: cover; }
.hero__nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); background: rgba(0, 15, 43, .6); color: #fff; border: 1px solid var(--line); font-size: 1.6rem; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; line-height: 1; }
.hero__nav--prev { left: 24px; }
.hero__nav--next { right: 24px; }

/* ==========================================================================
   Seções e títulos
   ========================================================================== */
.section { padding: 64px 0; }
.section--soft { background: var(--bg2); }
.eyebrow { display: inline-block; color: var(--blue); font-weight: 800; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 8px; }
.section__title { font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; margin: 0 0 28px; color: var(--navy); }
.section__title em { font-style: normal; font-weight: 800; color: var(--accent-ink); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.section__head .section__title { margin: 0; }
.link-arrow { font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); text-decoration: none; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* linha Volkswagen: miniaturas em uma única linha */
.mfilter { display: flex; gap: 8px; margin: 0 0 16px; }
.mfilter__btn { flex: 1 1 0; min-width: 0; text-align: center; border: 1.5px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 10px 8px; font: inherit; font-weight: 700; font-size: .82rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.mfilter__btn:hover { border-color: var(--accent); }
.mfilter__btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.models__item[hidden] { display: none; }
.models { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.models__item { flex: 1 0 96px; min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: .2s; }
.models__item:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 14px 30px rgba(0, 30, 80, .12); }
.models__thumb { display: block; aspect-ratio: 16 / 10; background: linear-gradient(180deg, #f3f6fb, #e4ebf5); padding: 6px; }
.models__thumb img { width: 100%; height: 100%; object-fit: contain; }
.models__name { padding: 8px 6px; text-align: center; font-weight: 700; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--navy); border-top: 1px solid var(--line); }

/* ==========================================================================
   Cartão de veículo / peça / serviço
   ========================================================================== */
.vcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; position: relative; transition: .2s; }
.vcard:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 40px rgba(0, 30, 80, .16); }
.vcard__ribbon { position: absolute; top: 0; left: 0; z-index: 2; background: var(--accent); color: #00122e; font-weight: 800; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 0 0 8px 0; }
.vcard__img { display: block; background: #e9eef5; }
.vcard__img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }
.vcard__body { padding: 18px 18px 6px; flex: 1; }
.vcard__brand { color: var(--accent-ink); font-size: .66rem; font-weight: 800; letter-spacing: .18em; }
.vcard__title { margin: 6px 0 8px; font-size: .95rem; font-weight: 600; line-height: 1.35; text-transform: capitalize; color: var(--navy); }
.vcard__title a { text-decoration: none; }
.vcard__unit { font-size: .74rem; margin: 0 0 14px; color: var(--muted); }
.vcard__price { margin-bottom: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.vcard__from { display: block; color: var(--muted); font-size: .8rem; text-decoration: line-through; }
.vcard__price strong { font-size: 1.5rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.vcard__save { display: inline-block; margin-top: 4px; background: #e3f6ec; color: #0b6b3a; font-weight: 800; font-size: .72rem; padding: 3px 10px; border-radius: 999px; }
.vcard__highlight { margin: 0 0 10px; font-size: .82rem; font-weight: 700; color: var(--blue); }
.vcard__tags { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vcard__tags li { background: rgba(0, 176, 240, .12); color: var(--accent-ink); font-weight: 700; font-size: .68rem; padding: 3px 9px; border-radius: 999px; }
.vcard__meta { display: flex; gap: 6px; flex-wrap: wrap; }
.vcard__meta span { border: 1px solid var(--line); border-radius: 4px; padding: 3px 9px; font-size: .7rem; font-weight: 600; color: var(--ink); }
.vcard .btn--block { margin: 16px 18px 18px; width: calc(100% - 36px); background: transparent; color: var(--navy); border-color: var(--navy); padding: 11px; }
.vcard .btn--block:hover { background: var(--navy); color: #fff; }

/* promoções */
.promo { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.promo__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.promo__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; align-items: flex-start; }
.promo__meta { display: flex; gap: 8px; align-items: center; }
.promo__badge { background: var(--accent); color: #00122e; font-weight: 800; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.promo__type { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.promo h3 { margin: 0; color: var(--navy); font-size: 1.15rem; }
.promo__sub { margin: 0; font-weight: 700; color: var(--blue); }
.promo__desc { margin: 0; color: var(--muted); font-size: .88rem; }
.promo__end { margin: 0; font-size: .75rem; color: #b45309; font-weight: 700; }
.promo .btn { margin-top: auto; }

/* planos Sign & Drive */
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.plan--featured { border: 2px solid var(--accent); box-shadow: 0 18px 40px rgba(0, 176, 240, .15); }
.plan__flag { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #00122e; font-weight: 800; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.plan img { border-radius: 10px; margin-bottom: 8px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.plan h3 { margin: 0; color: var(--navy); }
.plan__car { margin: 0; color: var(--muted); font-size: .9rem; }
.plan__price { margin: 8px 0 0; }
.plan__price strong { font-size: 1.8rem; color: var(--navy); }
.plan__price span { color: var(--muted); margin-left: 4px; }
.plan__term { margin: 0; font-size: .8rem; color: var(--muted); }
.plan__features { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; font-size: .88rem; }
.plan__features li::before { content: "✓"; color: var(--accent-ink); font-weight: 800; margin-right: 8px; }
.plan .btn { margin-top: auto; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefits li { background: var(--bg); border-radius: var(--r); padding: 20px; color: var(--muted); font-size: .9rem; }
.benefits strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 6px; }

/* ==========================================================================
   Formulários
   ========================================================================== */
label { display: block; font-size: .76rem; font-weight: 600; color: var(--muted); }
input, textarea, select {
    width: 100%; padding: 12px 14px; margin-top: 4px; border: 1.5px solid var(--line); border-radius: 6px;
    font: inherit; color: var(--ink); background: #fff; transition: .15s;
}
input::placeholder { color: #94a3b8; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 176, 240, .2); }
input[type=checkbox], input[type=radio] { width: auto; margin: 0 8px 0 0; accent-color: var(--navy); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.leadform { display: grid; gap: 14px; background: #fff; border-radius: 18px; padding: 30px; box-shadow: 0 30px 70px rgba(0, 20, 60, .16); scroll-margin-top: 110px; }
.leadform h2 { font-size: 1.3rem; margin: 0; color: var(--navy); font-weight: 800; }
.leadform .muted { font-size: .85rem; margin: 0; }
.leadform .btn { justify-self: start; }
.prefs { border: 0; padding: 0; margin: 0; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.prefs legend { float: left; margin-right: 12px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.prefs label { display: inline-flex; align-items: center; color: var(--ink); }
.check { font-size: .75rem; display: flex; align-items: flex-start; font-weight: 500; color: var(--ink); }
.check input { margin-top: 3px; }
.check a { color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.flash { padding: 14px 18px; border-radius: 10px; margin: 20px auto; }
.flash--ok { background: #e3f6ec; color: #0b6b3a; font-weight: 600; border: 1px solid #bfe8d0; }
.topbar--overlay + main > .flash { margin-top: 170px; }
.errors { color: #b00020; font-size: .82rem; margin: 0; padding-left: 18px; }

.partsearch { display: grid; grid-template-columns: 1fr 240px auto; gap: 10px; margin-bottom: 24px; }
.partsearch input, .partsearch select { margin: 0; }

/* faixa de contato */
.cta { background: linear-gradient(135deg, var(--navy), var(--blue)); padding: 72px 0; }
.cta__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 300; line-height: 1.15; margin: 0 0 14px; color: #fff; }
.cta h2 em { font-style: normal; font-weight: 800; color: var(--accent); }
.cta p { color: #c4d2ec; margin: 0; }

/* serviços da home */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.services__item { counter-increment: s; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r); padding: 28px; box-shadow: 0 6px 20px rgba(0, 30, 80, .05); }
.services__item::before { content: "0" counter(s); display: block; font-weight: 800; font-size: .8rem; color: var(--accent-ink); letter-spacing: .14em; margin-bottom: 14px; }
.services__item h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.2rem; }
.services__item p { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.services__item a { color: var(--accent-ink); font-weight: 800; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }

.units { background: #fff; scroll-margin-top: 110px; }
.units__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; font-size: .88rem; }
.units__item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.units__item h3 { margin: 0 0 10px; color: var(--navy); font-size: 1rem; }
.units__item p { margin: 5px 0; }
.units__item a { color: var(--accent-ink); }

/* ==========================================================================
   Listagem de estoque
   ========================================================================== */
.listing { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 36px 0 64px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; position: sticky; top: 116px; max-height: calc(100vh - 140px); overflow-y: auto; }
.filters__toggle { display: none; }
.tabs { display: flex; border: 1px solid var(--line); border-radius: 6px; padding: 3px; margin-bottom: 16px; }
.tabs a { flex: 1; text-align: center; padding: 9px; border-radius: 4px; text-decoration: none; font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tabs a.is-active { background: var(--navy); color: #fff; }
.filters form { display: grid; gap: 12px; }
.filters .btn { background: var(--navy); color: #fff; }
.filters__title { font-size: .72rem; font-weight: 800; margin: 8px 0 0; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); }
.facet { border-top: 1px solid var(--line); }
.facet summary { padding: 12px 2px; cursor: pointer; font-size: .74rem; font-weight: 800; letter-spacing: .1em; }
.facet label, .switch { padding: 4px 2px; color: var(--ink); font-weight: 500; }
.listing__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 18px; font-size: .9rem; font-weight: 700; }
.listing__head label { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.listing__head select { width: 190px; margin: 0; }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 36px 0 0; flex-wrap: wrap; }
.pagination a { min-width: 40px; text-align: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-size: .85rem; font-weight: 700; background: #fff; }
.pagination a.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ==========================================================================
   Detalhe do veículo / peça e páginas de conteúdo
   ========================================================================== */
.crumbs { font-size: .8rem; color: var(--muted); margin: 24px 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.vdetail { padding-bottom: 56px; }
.vdetail__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
.vstage { position: relative; border-radius: var(--r); overflow: hidden; background: #e9eef5; box-shadow: 0 14px 40px rgba(0, 30, 80, .1); }
.vstage > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vstage__badge { position: absolute; top: 16px; left: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vstage__badge.is-new { background: var(--accent); color: var(--navy); }
.vstage__note { position: absolute; right: 16px; top: 16px; padding: 5px 12px; border-radius: 8px; background: rgba(0, 30, 80, .72); color: #fff; font-size: .74rem; font-weight: 600; backdrop-filter: blur(6px); }
.vstage__count { position: absolute; right: 16px; bottom: 16px; padding: 5px 12px; border-radius: 999px; background: rgba(0, 30, 80, .72); color: #fff; font-size: .74rem; font-weight: 700; }
.vstage__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--navy); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 30, 80, .18); transition: background .2s, transform .2s; }
.vstage__nav:hover { background: var(--accent); transform: translateY(-50%) scale(1.06); }
.vstage__nav--prev { left: 14px; }
.vstage__nav--next { right: 14px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs img { width: 92px; height: 68px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; opacity: .7; transition: opacity .2s, border-color .2s; }
.thumbs img:hover, .thumbs img.is-active { border-color: var(--accent); opacity: 1; }
.vdetail__info { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0; overflow: hidden; align-self: start; position: sticky; top: 130px; box-shadow: 0 14px 40px rgba(0, 30, 80, .1); }
.vhead { padding: 26px 28px 24px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #0a3a7d 0%, #001e50 62%); }
.vhead small { color: var(--accent); font-weight: 800; letter-spacing: .2em; font-size: .72rem; }
.vhead h1 { margin: 6px 0 0; color: #fff; line-height: 1.1; }
.vhead .vname { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -.01em; }
.vhead .vversion { display: block; margin-top: 6px; font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .72); }
.vpills { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vpills li { padding: 4px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: rgba(255, 255, 255, .12); color: #fff; }
.vpills .is-hot { background: var(--accent); color: var(--navy); }
.vbody { padding: 24px 28px 26px; }
.vprice { margin: 0 0 20px; }
.vprice__label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vdetail__price { display: block; margin: 2px 0 0; font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -.01em; }
.vprice .vcard__from { margin-top: 4px; }
.vfacts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vfacts li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #f3f6fb; }
.vfacts svg { flex: none; color: var(--blue); }
.vfacts small { display: block; color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.vfacts strong { display: block; margin-top: 1px; color: var(--navy); font-size: .95rem; line-height: 1.2; }
.vmeta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 4px; font-size: .84rem; color: var(--ink, #1b2740); }
.vmeta b { margin-right: 6px; color: var(--muted); font-weight: 600; }
.vfoot { padding: 16px 28px 18px; background: #f3f6fb; border-top: 1px solid var(--line); }
.vtrust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .78rem; color: var(--muted); }
.vtrust li::before { content: "✓"; color: var(--accent-ink); font-weight: 800; margin-right: 6px; }
.vmore { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0 0; font-size: .8rem; }
.vmore a { color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.vmore a:hover { text-decoration: underline; }
.vdetail__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.vdetail__cta .btn { flex: 1; min-width: 150px; }
.vdetail__cta .btn--block { flex: 1 1 100%; }
.vdetail__cta { gap: 10px; }
.vcta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 12px; white-space: nowrap; transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s; }
.vcta:hover { transform: translateY(-2px); }
.vcta svg { flex: none; width: 18px; height: 18px; }
.vcta--main svg { width: 20px; height: 20px; }
.vcta--main { min-height: 58px; font-size: .9rem; letter-spacing: .1em; box-shadow: 0 10px 24px rgba(0, 176, 240, .35); }
.vcta--main:hover { box-shadow: 0 14px 30px rgba(0, 176, 240, .45); }
.vdetail__info .vcta.btn--ghost { border: 1.5px solid #cfd9e8; color: var(--navy); background: #fff; }
.vdetail__info .vcta.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.vdetail__info .vcta--wa { border-color: #1faa59; color: #137a3f; }
.vdetail__info .vcta--wa:hover { border-color: #1faa59; background: #1faa59; color: #fff; }
.vdetail .leadform { scroll-margin-top: 170px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; font-size: .92rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; }

.content-page__img { width: 100%; border-radius: var(--r); margin: 20px 0; aspect-ratio: 16 / 7; object-fit: cover; }
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.5rem; color: var(--navy); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.2rem; color: var(--navy); margin: 1.4em 0 .4em; }
.prose a { color: var(--blue); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose img { border-radius: 10px; margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose blockquote { margin: 1em 0; padding: 4px 18px; border-left: 4px solid var(--accent); color: var(--muted); }

/* ==========================================================================
   Rodapé, cookies e barra fixa inferior
   ========================================================================== */
.footer { background: #000a1f; color: #fff; padding-top: 60px; font-size: .88rem; border-top: 3px solid var(--accent); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1.3fr; gap: 48px; }
.footer strong { display: block; margin-bottom: 14px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.footer__grid a:not(.brand):not(.footer__cta) { display: block; color: #cfdaf0; text-decoration: none; transition: color .2s; }
.footer__grid a:hover { color: #fff; }
.footer__tag { color: #b6c5e0; margin: 18px 0 20px; max-width: 34ch; line-height: 1.55; }
.footer__cta { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; background: var(--accent); color: #00122e; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.footer__cta:hover { background: #fff; transform: translateY(-1px); }
.footer__social { display: flex; gap: 8px 18px; flex-wrap: wrap; margin: 22px 0 0; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.footer__links a { padding: 6px 0; }
.footer__unit { padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 3px; }
.footer__unit:last-child { border: 0; margin: 0; padding: 0; }
.footer__unit b { color: #fff; font-weight: 600; }
.footer__unit span { color: #b6c5e0; font-size: .82rem; }
.footer__unit a { color: var(--accent) !important; font-weight: 600; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 44px; padding: 20px 0; font-size: .78rem; color: #b6c5e0; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }

.cookie { position: fixed; left: 20px; bottom: 84px; max-width: 420px; background: var(--navy); color: #fff; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); padding: 18px; font-size: .78rem; z-index: 70; display: flex; gap: 10px; flex-wrap: wrap; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 6px; flex-basis: 100%; color: #c4d2ec; }
.cookie a { color: #fff; }
.cookie .btn { padding: 9px 20px; font-size: .72rem; }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(0, 30, 80, .1); }
.dock__inner { display: flex; align-items: center; justify-content: flex-end; gap: 28px; height: 64px; }
.dock__links { display: flex; gap: 26px; align-items: center; }
.dock__links a, .dock__more { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font: inherit; font-size: .85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dock__links a:hover, .dock__more:hover { color: var(--blue); }
.dock__more { display: none; background: none; border: 0; cursor: pointer; padding: 0; min-height: 44px; }
.dock__whats { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: .9rem; text-decoration: none; }
.dock__whats:hover { background: var(--blue); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1000px) {
    :root { --hdr: 148px; }
    .topbar__row { padding: 0 16px; height: 60px; }
    .topbar.is-scrolled .topbar__row { height: 50px; }
    .nav-toggle { display: block; }
    .topbar__name { display: none; }
    .topbar__logo { margin: 0 24px; }
    .topbar__line::after { flex: 1 1 auto; }
    .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--dark); flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
    .topbar.is-scrolled .mainnav { background: rgba(0, 18, 55, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
    .nav-open .mainnav { display: flex; }
    .mainnav a { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .mainnav a::after { display: none; }
}

@media (max-width: 900px) {
    input, select, textarea { font-size: 16px; }
    .section { padding: 40px 0; }
    .section__title { margin-bottom: 18px; }
    .section__head { margin-bottom: 18px; }
    .grid--4, .grid--3, .benefits { grid-template-columns: repeat(2, 1fr); }
    .listing, .vdetail__grid, .services, .footer__grid, .cta__grid { grid-template-columns: 1fr; }
    .cta { padding: 44px 0; }
    .cta__grid { gap: 28px; }
    .leadform { padding: 20px; border-radius: 14px; }
    .vdetail__info { position: static; }
    .vhead { padding: 22px 20px 20px; }
    .vbody { padding: 20px; }
    .vfoot { padding: 14px 20px 16px; }
    .vhead .vname { font-size: 1.8rem; }
    .vdetail__price { font-size: 1.9rem; }
    .vstage__nav { width: 38px; height: 38px; }
    .vdetail__grid { gap: 20px; }
    .footer { padding-top: 40px; }
    .footer__grid { gap: 22px; }
    .hero { height: clamp(380px, 70vw, 520px); }
    .partsearch { grid-template-columns: 1fr; }

    /* filtros recolhíveis */
    .listing { padding: 20px 0 40px; gap: 18px; }
    .filters { position: static; max-height: none; overflow: visible; padding: 12px; }
    .filters__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; margin-top: 10px; padding: 0 14px; background: var(--navy); color: #fff; border: 0; border-radius: 10px; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }
    .filters__toggle::after { content: "▾"; transition: transform .2s; }
    .filters.is-open .filters__toggle::after { transform: rotate(180deg); }
    .filters__count { margin-left: auto; margin-right: 10px; background: var(--accent); color: #00122e; border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: .75rem; }
    .filters:not(.is-open) form { display: none; }
    .filters.is-open form { margin-top: 14px; }
    .tabs { margin-bottom: 0; }
    .tabs a { min-height: 44px; display: grid; place-items: center; padding: 0; }
    .facet summary { min-height: 44px; display: flex; align-items: center; }
    .facet label, .switch { min-height: 40px; display: flex; align-items: center; }
    .listing__head { flex-direction: column; align-items: stretch; gap: 10px; }
    .listing__head label { justify-content: space-between; }
    .listing__head select { flex: 1; width: auto; }

    /* alvos de toque */
    .cookie .btn { min-height: 44px; }
    .footer__grid a:not(.brand) { padding: 6px 0; }
    .pagination a { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0; }
    .search summary { width: 44px; height: 44px; }

    /* barra inferior */
    .dock__inner { justify-content: space-between; gap: 12px; }
    .dock__more { display: inline-flex; }
    .dock__links { display: none; position: absolute; left: 0; right: 0; bottom: 100%; background: #fff; border-top: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px; box-shadow: 0 -12px 30px rgba(0, 30, 80, .12); }
    .dock.is-open .dock__links { display: flex; }
    .dock__links a { padding: 14px 0; min-height: 48px; width: 100%; border-bottom: 1px solid var(--line); }
    .dock__links a:last-child { border-bottom: 0; }
    .cookie { left: 12px; right: 12px; max-width: none; }
}

@media (max-width: 560px) {
    .container { width: calc(100% - 32px); }
    .row, .grid--4, .grid--3, .benefits { grid-template-columns: 1fr; }
    .section__head { flex-direction: column; align-items: flex-start; }
    .hero { height: clamp(340px, 92vw, 420px); }
    .models__item { flex-basis: 120px; }

    /* destaques da home em carrossel horizontal */
    .grid--4.carousel, .container > .grid--3.promos { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 0 16px 10px; scrollbar-width: none; }
    .grid--4.carousel::-webkit-scrollbar, .container > .grid--3.promos::-webkit-scrollbar { display: none; }
    .grid--4.carousel > .vcard, .container > .grid--3.promos > .promo { flex: 0 0 78%; scroll-snap-align: center; }

    /* listagem: cartões compactos (foto à esquerda) */
    .listing__results .grid--3 { grid-template-columns: 1fr; gap: 14px; }
    .listing__results .vcard { display: grid; grid-template-columns: 42% 1fr; grid-template-rows: 1fr auto; }
    .listing__results .vcard__img { grid-row: 1 / 3; }
    .listing__results .vcard__img img { height: 100%; aspect-ratio: auto; min-height: 170px; }
    .listing__results .vcard__body { padding: 12px 12px 4px; }
    .listing__results .vcard__title { font-size: .85rem; }
    .listing__results .vcard__unit { display: none; }
    .listing__results .vcard__price { margin-bottom: 8px; padding-top: 8px; }
    .listing__results .vcard__price strong { font-size: 1.2rem; }
    .listing__results .vcard__meta span { font-size: .66rem; padding: 2px 6px; }
    .listing__results .vcard .btn--block { margin: 8px 12px 12px; width: auto; min-height: 40px; padding: 8px; }

    .services__item, .units__item { padding: 20px; }
    .thumbs img { width: 72px; height: 54px; }
    .vdetail__cta .btn { flex: 1 1 100%; }
    .prefs legend { float: none; display: block; width: 100%; margin-bottom: 6px; }
    .cookie { padding: 14px; }
}

/* peças/serviços: nomes sem capitalização automática */
.pcard .vcard__title, .scard .vcard__title { text-transform: none; }

@media (max-width: 1250px) and (min-width: 1001px) {
    .mainnav a { padding-inline: 8px; font-size: .84rem; }
}

/* banner das páginas secundárias (imagem 1920 × 700; faixa central é a área segura) */
.page-banner { width: 100%; height: clamp(190px, 27vw, 360px); overflow: hidden; background: var(--navy); }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
.page-banner + .section, .page-banner + .container { margin-top: 0; }

/* Seções de serviços da home (leitura em Z) */
.hsec { padding: 72px 0; }
.hsec--soft { background: var(--soft, #f3f6fb); }
.hsec__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hsec--flip .hsec__media { order: 2; }
.hsec__media { border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 30, 80, .18); aspect-ratio: 4 / 3; }
.hsec__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hsec__lead { color: var(--muted); font-size: 1.02rem; line-height: 1.65; margin: 0 0 20px; max-width: 52ch; }
.hsec__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; }
.hsec__list li { position: relative; padding-left: 30px; font-weight: 600; color: var(--navy); }
.hsec__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001e50' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.hsec__cta { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.hsec--dark { background: linear-gradient(135deg, #001e50, #0a3a7d); color: #fff; }
.hsec--dark .eyebrow { color: var(--accent); }
.hsec--dark .section__title { color: #fff; }
.hsec--dark .section__title em { color: var(--accent); }
.hsec--dark .hsec__lead { color: #cfdaf0; }
.hsec--dark .hsec__list li { color: #fff; }
.hsec--dark .link-arrow { color: var(--accent); }
@media (max-width: 960px) {
    .hsec { padding: 48px 0; }
    .hsec__grid { grid-template-columns: 1fr; gap: 28px; }
    .hsec--flip .hsec__media { order: 0; }
}
