/* Bagnara Multimarcas — base do site + camada de identidade no fim do arquivo. */

/* ---------- self-hosted font (latin, variable: wght 100–900, wdth 62–125) ---------- */
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
    src: url('/assets/fonts/archivo-var.woff2') format('woff2-variations'), url('/assets/fonts/archivo-var.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* surfaces */
    --ink:        #0b1733;
    --ink-2:      #102043;
    --ink-3:      #182b55;
    --ink-soft:   #1f3463;
    --paper:      #0d1a39;

    /* text */
    --bone:       #f4f7ff;
    --text:       #dfe5f2;
    --text-soft:  #aab5cf;
    --text-dim:   #8592b3;
    --text-mute:  #63719a;

    /* brand */
    --accent:       #2f5bdb;
    --accent-deep:  #2449b8;
    --accent-hot:   #7d9cf0;   /* hover / focus */
    --on-accent:    #ffffff;   /* text on red */
    --accent-soft:  rgba(46, 91, 255, 0.12);
    --accent-glow:  rgba(46, 91, 255, 0.30);
    --orange:       #2e5bff;
    --orange-hot:   #6b8cff;
    --orange-soft:  rgba(46, 91, 255, 0.12);
    --silver:       #c6d1f0;   /* labels, quiet links on dark */
    --silver-deep:  #8f9bbd;
    --silver-soft:  rgba(207, 211, 216, 0.10);
    --silver-line:  rgba(207, 211, 216, 0.30);
    --logo-bg:      #0b1733;
    --wa:           #25d366;
    --wa-deep:      #1eb257;

    /* lines & shadows */
    --border:        rgba(214, 224, 255, 0.07);
    --border-strong: rgba(214, 224, 255, 0.16);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
    --shadow-md: 0 10px 30px -12px rgba(0,0,0,0.7);
    --shadow-lg: 0 30px 60px -30px rgba(0,0,0,0.85);
    --shadow-accent: 0 12px 32px -12px rgba(46, 91, 255, 0.45);

    /* shape & rhythm */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --max-w: 1320px;
    --gutter: clamp(1.1rem, 4.5vw, 4rem);
    --space-section: clamp(4rem, 8vw, 6.5rem);
    --nav-h: 74px;

    /* type */
    --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);

    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: clip; /* clip (not hidden) keeps position:sticky working on iOS */
}
body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    min-height: 100vh;
}
body.filters-open { overflow: hidden; }

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
dl, dd, dt { margin: 0; }

h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
    color: var(--bone);
}
h1 em, h2 em, h3 em, .display em { font-style: normal; color: var(--silver); }
h4 { font-family: var(--font-body); font-weight: 700; color: var(--bone); }

::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* ---------- layout helpers ---------- */
.container {
    width: min(100% - 2 * var(--gutter), var(--max-w));
    margin-inline: auto;
}
.section { padding: var(--space-section) 0; position: relative; }
.section-soft { background: var(--ink-2); }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem 3rem;
    margin-bottom: 2.4rem;
    flex-wrap: wrap;
}
.section-head .section-title { margin-top: 0.55rem; max-width: none; } /* one line when it fits; the row itself wraps the link if not */
.section-lede { color: var(--text-soft); font-size: 1.02rem; max-width: 56ch; }
.section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.08;
    max-width: 22ch;
}
.section-title em { color: var(--silver); }
.section-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--silver);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(198, 189, 169, 0.4);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.section-link:hover { color: var(--accent); gap: 10px; }

/* ---------- eyebrow / labels / chips ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--silver);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--silver); border-radius: 2px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid var(--silver-line);
    background: var(--silver-soft);
    color: var(--silver);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1;
}
.chip-hot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 0.9rem; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0;
    line-height: 1.1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.18s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
    background: var(--accent);
    color: var(--on-accent);
}
.btn-primary:hover { background: var(--accent-hot); }
.btn-ghost {
    background: transparent;
    color: var(--bone);
    border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn-wa {
    background: var(--wa);
    color: #06170c;
    box-shadow: 0 12px 30px -12px rgba(37, 211, 102, 0.55);
}
.btn-wa:hover { background: #3be07b; }
.btn-xl { padding: 15px 24px; font-size: 1.02rem; }
.btn-sm { padding: 8px 13px; font-size: 0.86rem; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-row .btn { flex: 1 1 0; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 1; transform: none; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- misc ---------- */
.tabular { font-variant-numeric: tabular-nums; }
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
/* ============================================================
   NAVBAR (injected by shared.js into #chrome-nav)
   ============================================================ */
#chrome-nav { position: sticky; top: 0; z-index: 1000; }
.site-nav {
    position: relative;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 var(--gutter);
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.72) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-nav.is-scrolled {
    background: rgba(10, 10, 10, 0.94);
    border-bottom-color: var(--border);
}
.site-nav::after {
    display: none;
    /* sky hairline that fades in with scroll */
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--silver) 40%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.site-nav.is-scrolled::after { opacity: 0.9; }

.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 42px; width: auto; }
.logo-nav .logo-img { height: 40px; }
.logo-footer .logo-img { height: 46px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-links a {
    position: relative;
    display: inline-block;
    padding: 10px 11px;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text-soft);
    transition: color 0.2s var(--ease);
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 12px; right: 12px; bottom: 4px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--bone); }
.nav-links a.is-active::after { transform: scaleX(1); background: var(--silver); }

.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(37, 211, 102, 0.5);
    color: #6ff0a0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
    white-space: nowrap;
}
.nav-cta svg { width: 17px; height: 17px; }
.nav-cta:hover { background: var(--wa); color: #06170c; border-color: var(--wa); }

.nav-hamburger {
    display: none;
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    position: relative;
    flex-shrink: 0;
}
.nav-hamburger span,
.nav-hamburger span::before,
.nav-hamburger span::after {
    content: '';
    position: absolute;
    left: 12px;
    width: 20px; height: 2px;
    background: var(--bone);
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}
.nav-hamburger span { top: 21px; }
.nav-hamburger span::before { left: 0; top: -6px; }
.nav-hamburger span::after  { left: 0; top: 6px; }
.site-nav.is-open .nav-hamburger span { background: transparent; }
.site-nav.is-open .nav-hamburger span::before { top: 0; transform: rotate(45deg); background: var(--accent); }
.site-nav.is-open .nav-hamburger span::after  { top: 0; transform: rotate(-45deg); background: var(--accent); }

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    padding: 0.6rem var(--gutter) 1.4rem;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    gap: 2px;
}
.nav-mobile a {
    padding: 13px 4px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--bone);
    border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-of-type { border-bottom: 0; }
.nav-mobile .nav-cta {
    margin-top: 0.8rem;
    justify-content: center;
    background: var(--wa);
    color: #06170c;
    border-color: var(--wa);
    border-radius: 8px;
    padding: 14px;
    font-size: 1rem;
}
.site-nav.is-open .nav-mobile { display: flex; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.float-wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--wa);
    color: #06170c;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px -8px rgba(37,211,102,0.65);
    transition: transform 0.2s var(--ease);
}
.float-wa svg { width: 28px; height: 28px; }
.float-wa:hover { transform: scale(1.06); }
@keyframes waPulse {
    0%   { box-shadow: 0 10px 28px -8px rgba(37,211,102,0.65), 0 0 0 0 rgba(37,211,102,0.45); }
    70%  { box-shadow: 0 10px 28px -8px rgba(37,211,102,0.65), 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 10px 28px -8px rgba(37,211,102,0.65), 0 0 0 0 rgba(37,211,102,0); }
}
/* ============================================================
   HERO — Home
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
    margin-top: calc(var(--nav-h) * -1);
    padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem));
    background:
        radial-gradient(700px 420px at 0% 0%, rgba(255, 222, 33, 0.10), transparent 60%),
        var(--ink);
    isolation: isolate;
}
.hero::before {
    display: none;
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, rgba(247, 247, 243, 0.035) 0 1px, transparent 1px 22px);
    -webkit-mask-image: radial-gradient(60% 70% at 80% 30%, #000 0%, transparent 100%);
    mask-image: radial-gradient(60% 70% at 80% 30%, #000 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
.hero-text { max-width: 660px; min-width: 0; }
.hero-kicker {
    display: block;
    color: var(--silver);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.1rem;
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.04;
    margin-bottom: 1.2rem;
}
@media (max-width: 520px) { .hero h1 br { display: none; } }
.hero h1 em { color: var(--accent); }
.hero-sub {
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    color: var(--text-soft);
    max-width: 52ch;
    margin-bottom: 1.8rem;
}
.hero-sub b { color: var(--bone); font-weight: 600; }
.hero-actions { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; margin-bottom: 1.8rem; }
.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--bone); font-weight: 600; font-size: 0.95rem;
    text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border-strong);
}
.link-arrow svg { width: 18px; height: 18px; color: var(--wa); }
.link-arrow:hover { color: var(--orange); text-decoration-color: var(--orange); }
.hero-summary {
    display: flex; flex-wrap: wrap; gap: 6px 0;
    font-size: 0.92rem; color: var(--text-soft);
    padding-top: 1.2rem; border-top: 1px solid var(--border);
    max-width: 520px;
}
.hero-summary b { color: var(--bone); font-weight: 600; }
.hero-summary .sep { color: var(--text-mute); margin: 0 10px; }

/* ---- hero featured vehicle (right column) ----
   Deliberately a compact "ticket", not a second hero: capped width so the
   headline keeps the stage and the whole card sits above the fold. */
.hero-visual { position: relative; min-width: 0; width: 100%; justify-self: end; max-width: 440px; }
/* (desktop widths are fluid — see "HERO — fluid first screen" at the end of this file) */
.hero-visual::before {
    display: none;
    content: '';
    position: absolute;
    inset: 10% -6% -6% 10%;
    background: radial-gradient(60% 60% at 50% 50%, rgba(255, 222, 33, 0.22), transparent 70%);
    filter: blur(20px);
    z-index: -1;
}
#hero-featured { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-width: 0; }
.hf-track {
    display: flex;
    min-width: 0;
    width: 100%;
    transition: transform 0.5s var(--ease);
    will-change: transform;
}
.hf-slide { flex: 0 0 100%; min-width: 0; }
.hero-featured {
    display: block;
    background: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.hero-featured:hover { border-color: var(--silver-line); }
.hero-featured-img {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #0f0e0c;
    overflow: hidden;
}
.hero-featured-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.hero-featured:hover .hero-featured-img img { transform: scale(1.04); }
.hero-featured-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 55%, rgba(10, 10, 10, 0.55) 100%);
    pointer-events: none;
}
.hero-featured-tag {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 2;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--silver-line);
    color: var(--silver);
    font-size: 0.72rem;
    font-weight: 600;
}
.hero-featured-body { padding: 0.9rem 1.1rem 1rem; }
.hero-featured-head { margin-bottom: 0.7rem; min-width: 0; }
.hero-featured-overline {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--silver);
}
.hero-featured-overline .sep { color: var(--text-mute); margin: 0 2px; }
.hero-featured-title {
    font-size: clamp(1.25rem, 1.7vw, 1.5rem);
    line-height: 1.1;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-featured-meta {
    margin: 4px 0 0;
    font-size: 0.86rem;
    color: var(--text-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-featured-meta .sep { color: var(--text-mute); margin: 0 7px; }
.hero-featured-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--border);
}
.hero-featured-price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--bone);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero-featured-price small {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-dim);
}
.hero-featured-cta {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--silver);
    white-space: nowrap;
    padding-bottom: 2px;
    text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(198, 189, 169, 0.4);
}
.hero-featured:hover .hero-featured-cta { color: var(--accent); text-decoration-color: var(--accent); }
/* controls: dots on the left, arrows on the right — one low row, no extra height */
.hf-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 4px 0;
}
.hf-arrow {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    color: var(--bone);
    font-size: 1.3rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.hf-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.hf-dots { display: flex; gap: 6px; order: -1; margin-right: auto; } /* DOM: prev · dots · next → visual: dots … prev next */
.hf-dot {
    width: 7px; height: 7px;
    border-radius: 999px;
    background: var(--text-mute);
    transition: width 0.25s var(--ease), background 0.2s;
}
.hf-dot.active { width: 22px; background: var(--accent); }
.hero-featured-empty {
    padding: 3rem 2rem;
    text-align: center;
    background: var(--ink-2);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
}
.hero-featured-empty h3 { margin: 0.8rem 0 0.4rem; font-size: 1.6rem; }
.hero-featured-empty p { color: var(--text-soft); }

/* ============================================================
   CATEGORY STRIP
   ============================================================ */
.cat-strip {
    position: relative;
    background: var(--ink-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.1rem 0;
}
.cat-strip-inner {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}
.cat-strip-label {
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
    padding-right: 1.2rem;
    border-right: 1px solid var(--border);
}
.cat-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
    flex: 1;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--ink);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.cat-chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--ink-3);
    color: var(--text-soft);
    font-size: 0.74rem;
    font-weight: 600;
}
.cat-chip:hover { border-color: var(--silver); color: var(--bone); }
.cat-chip:hover .cat-chip-count { background: var(--accent); color: var(--on-accent); }
.cat-chip-all { border-color: var(--silver-line); color: var(--silver); }

/* ============================================================
   FEATURED (latest arrivals)
   ============================================================ */
.featured { position: relative; overflow: hidden; }
.featured-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--border);
}
.featured-foot p { color: var(--text-soft); }
.featured-foot p b { color: var(--bone); }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
/* ============================================================
   CAR GRID + CAR CARD
   ============================================================ */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 1.4rem;
}
.car-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    color: var(--text);
    transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
    box-shadow: var(--shadow-sm);
}
.car-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
}
.img-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #0f0e0c;
    overflow: hidden;
}
.card-carousel { position: absolute; inset: 0; }
.card-carousel img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s var(--ease), transform 0.6s var(--ease);
}
.card-carousel img.active { opacity: 1; }
.car-card:hover .card-carousel img.active { transform: none; }
.card-chips {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 3;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    pointer-events: none;
}
.card-chip {
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(10, 10, 10, 0.78);
    border: 1px solid rgba(247, 247, 243, 0.12);
    color: var(--text);
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1;
}
.card-chip-new { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* carousel controls over the photo */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(247, 247, 243, 0.14);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }
.carousel-arrow:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.car-card:hover .carousel-arrow,
.car-card:focus-within .carousel-arrow { opacity: 1; }
.carousel-dots {
    position: absolute;
    left: 0; right: 0; bottom: 10px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 4px;
    pointer-events: none;
}
.carousel-dots .dot {
    width: 5px; height: 5px;
    border-radius: 999px;
    background: rgba(247, 247, 243, 0.45);
    transition: width 0.2s var(--ease), background 0.2s;
}
.carousel-dots .dot.active { width: 16px; background: var(--accent); }
.carousel-counter {
    position: absolute;
    right: 10px; bottom: 10px;
    z-index: 3;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.65);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    pointer-events: none;
}

.card-body {
    padding: 1rem 1.15rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}
.card-brand {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--silver);
}
.card-model {
    font-size: 1.28rem;
    line-height: 1.1;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-spec-line {
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--text-soft);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 6px;
}
.card-spec-line .sep { color: var(--text-mute); }
.card-footer {
    margin-top: auto;
    padding-top: 0.8rem;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.card-price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.55rem;
    line-height: 1;
    color: var(--bone);
    font-variant-numeric: tabular-nums;
}
/* "Ver o carro" sits next to the price, only underlined on hover */
.card-cta {
    margin-left: auto;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--silver);
    white-space: nowrap;
}
.card-cta span { transition: transform 0.2s var(--ease); display: inline-block; }
.car-card:hover .card-cta { text-decoration: underline; text-underline-offset: 4px; }
.car-card:hover .card-cta span { transform: translateX(3px); }

/* ---------- no-photo placeholder ---------- */
.no-photo {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-dim);
    background: repeating-linear-gradient(135deg, #0f0e0c 0 10px, #0f0e0c 10px 20px);
}
.no-photo-icon { width: 34px; height: 34px; opacity: 0.6; }
.no-photo-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.no-photo-detail { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-md); }
.no-photo-cta { margin-top: 0.8rem; }

/* ---------- skeleton ---------- */
.car-card.skeleton { pointer-events: none; }
.car-card.skeleton .img-wrapper,
.sk-bar {
    background: linear-gradient(90deg, var(--ink-2) 0%, var(--ink-3) 40%, var(--ink-2) 80%);
    background-size: 240% 100%;
    animation: shimmer 1.6s linear infinite;
}
.sk-bar { height: 12px; border-radius: 4px; margin: 6px 0; }
.sk-bar.sm { width: 32%; }
.sk-bar.lg { width: 78%; height: 20px; }
@keyframes shimmer {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}

/* ---------- empty state ---------- */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3.5rem 1.5rem;
    color: var(--text-soft);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--ink-2);
}
.empty-state h3 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.empty-state p { max-width: 46ch; margin: 0 auto; }
.empty-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }

/* content-visibility on long mobile lists (paired with .is-near in app.js) */
@media (max-width: 767px) {
    .estoque-shell .car-grid > .car-cell { content-visibility: auto; contain-intrinsic-size: auto 460px; }
    .estoque-shell .car-grid > .car-cell:has(.is-near) { content-visibility: visible; }
}
.footer-hours { display: flex; flex-direction: column; gap: 6px; }
.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    padding: 4px 0;
    border-bottom: 1px dashed var(--border);
}
.hours-row b { color: var(--bone); font-weight: 600; text-align: right; }
.hours-row b.closed { color: var(--text-dim); }
/* ============================================================
   FOOTER (injected)
   ============================================================ */
.site-footer {
    position: relative; isolation: isolate;
    background: #081128; border-top: 2px solid var(--accent); color: #fff;
}
.site-footer::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(60% 55% at 100% 0%, rgba(47, 91, 219, 0.2), transparent 60%),
        radial-gradient(40% 45% at 0% 100%, rgba(125, 156, 240, 0.07), transparent 60%);
}
.sf-wrap { width: min(100% - 2 * var(--gutter), var(--max-w)); margin: 0 auto; }
.sf-cta { border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-block: clamp(2rem, 3vw + 1rem, 3.5rem); }
.sf-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; }
.sf-cta-copy { flex: 1 1 320px; min-width: 0; }
.sf-cta-eyebrow { margin: 0 0 0.45rem; font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.55); }
.sf-cta-title { margin: 0; font-size: clamp(1.35rem, 1.5vw + 0.8rem, 1.9rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; color: #fff; }
.site-footer .sf-cta-title em {
    font-style: normal; color: transparent;
    background: linear-gradient(90deg, #fff 0%, var(--accent-hot) 100%);
    -webkit-background-clip: text; background-clip: text;
}
.sf-cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; flex-shrink: 0; }
.sf-btn-light { background: #fff; color: var(--ink); border: 1px solid #fff; }
.sf-btn-light:hover { background: var(--ice); border-color: var(--ice); color: var(--ink); }

.sf-main { display: flex; align-items: flex-start; gap: 4rem; padding-block: clamp(3rem, 5vw, 5rem); }
.sf-brand { flex: 0 0 280px; display: flex; flex-direction: column; align-items: flex-start; }
.sf-brand > p { margin: 1.25rem 0 2rem; max-width: 30ch; font-size: 0.88rem; line-height: 1.8; color: rgba(255, 255, 255, 0.58); }
.sf-social { display: flex; gap: 0.5rem; }
.sf-social a {
    display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.6);
    transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.sf-social a svg { width: 16px; height: 16px; }
.sf-social a:hover { border-color: var(--accent); background: var(--accent); color: #fff; }

.sf-cols { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.sf-col h3 {
    margin: 0 0 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.68rem; font-weight: 700; line-height: 1; letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}
.sf-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.sf-col ul a { display: block; font-size: 0.9rem; font-weight: 500; line-height: 1.2; color: rgba(255, 255, 255, 0.7); transition: color 0.15s, padding-left 0.15s; }
.sf-col ul a:hover { color: #fff; padding-left: 0.4rem; }
.sf-col-contact ul { gap: 1.1rem; }
.sf-col-contact li { display: flex; flex-direction: column; gap: 0.25rem; }
.sf-col-contact li a, .sf-col-contact li span:not(.sf-label) { font-size: 0.9rem; font-weight: 500; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.sf-col-contact li a:hover { color: #fff; padding-left: 0; }
.sf-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.42); }
.sf-wa {
    display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.4rem; padding: 0.7rem 1.25rem;
    border-radius: 999px; background: #1fae55; color: #fff; font-size: 0.84rem; font-weight: 600; white-space: nowrap;
    transition: background 0.18s, transform 0.18s;
}
.sf-wa svg { width: 16px; height: 16px; flex-shrink: 0; }
.sf-wa:hover { background: #17994a; transform: translateY(-1px); }

.sf-bar { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.sf-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem 1.5rem; flex-wrap: wrap; padding-block: 1.25rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); }
.sf-tech a { color: rgba(255, 255, 255, 0.68); font-weight: 600; transition: color 0.15s; }
.sf-note { padding: 0 76px 1.3rem 0; font-size: 0.74rem; line-height: 1.5; color: rgba(255, 255, 255, 0.36); }
.listing-note { margin: 1rem 0 0; font-size: 0.78rem; line-height: 1.5; color: var(--text-dim); }
.sf-tech a:hover { color: #fff; }

@media (max-width: 1600px) { .sf-bar-inner { padding-right: 76px; } }
@media (max-width: 1000px) {
    .sf-main { flex-direction: column; gap: 2.8rem; }
    .sf-brand { flex: none; }
    .sf-cols { align-self: stretch; }
}
@media (max-width: 640px) {
    .sf-cta-actions { width: 100%; }
    .sf-cta-actions .btn { flex: 1 1 0; }
    .sf-cols { grid-template-columns: 1fr 1fr; gap: 2.4rem 1.5rem; }
    .sf-col-contact { grid-column: 1 / -1; }
    .sf-bar-inner { flex-direction: column; align-items: flex-start; }
}
/* ============================================================
   PAGE HEAD (subpages)
   ============================================================ */
.page-head {
    position: relative;
    overflow: hidden;
    padding: clamp(2.6rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
    background: var(--ink);
    border-bottom: 1px solid var(--border);
}
.page-head-inner { position: relative; z-index: 1; max-width: 760px; }
.breadcrumb {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 1.1rem;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-mute); }
.page-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin: 0.5rem 0 0.8rem; max-width: 18ch; }
.page-head p { color: var(--text-soft); font-size: 1.05rem; max-width: 60ch; }
.page-head-wide .page-head-inner { max-width: none; }

/* ============================================================
   ESTOQUE PAGE
   ============================================================ */
.estoque-shell { padding: 2.2rem 0 var(--space-section); }
.estoque-inner {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}
.filter-rail {
    position: sticky;
    top: calc(var(--nav-h) + 16px);
    background: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.4rem 1.2rem;
    max-height: calc(100vh - var(--nav-h) - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}
.filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.4rem;
}
.filter-head h3 { font-size: 1.3rem; }
.filter-active-count { font-size: 0.72rem; color: var(--accent); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.filter-close { display: none; width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--border); color: var(--bone); font-size: 1.3rem; }
.filter-block {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.filter-block[hidden] { display: none; }
.filter-block:last-of-type { border-bottom: 0; }
.filter-block h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--silver);
    margin-bottom: 0.65rem;
}
.filter-input,
.filter-select {
    width: 100%;
    background: var(--ink);
    border: 1px solid var(--border);
    color: var(--bone);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}
.filter-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='%23d27e60' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
    cursor: pointer;
}
.filter-input::placeholder { color: var(--text-mute); }
.filter-input:focus, .filter-select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.filter-input[type="number"]::-webkit-outer-spin-button,
.filter-input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.filter-input[type="number"] { -moz-appearance: textfield; }
.filter-range { display: flex; gap: 8px; align-items: center; }
.filter-range .filter-input { flex: 1; min-width: 0; }
.filter-range span { color: var(--text-mute); font-size: 0.8rem; flex-shrink: 0; }
.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--ink);
    color: var(--text-soft);
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 5px 6px 0;
    transition: all 0.18s var(--ease);
}
.filter-pill:hover { border-color: var(--silver); color: var(--silver); }
.filter-pill.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 4px 12px -6px rgba(255, 222, 33, 0.6); }
.filter-reset {
    width: 100%;
    margin-top: 1rem;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.86rem;
    font-weight: 600;
    transition: all 0.18s;
}
.filter-reset:hover { color: var(--accent); border-color: var(--accent); }
.filter-apply {
    display: none;
    width: 100%;
    margin-top: 0.6rem;
    padding: 15px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 600;
    font-size: 1rem;
}
.filter-apply-count { opacity: 0.8; }

.mobile-filter-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 16px;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--ink-2);
    color: var(--bone);
    font-weight: 600;
    font-size: 0.95rem;
}
.mobile-filter-toggle svg { width: 18px; height: 18px; color: var(--silver); }
.mobile-filter-toggle > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px; height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
}
.filter-count-badge[hidden] { display: none; }

.estoque-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.3rem;
    padding: 0.8rem 1.1rem;
    background: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.estoque-count { font-size: 0.92rem; color: var(--text-soft); }
.estoque-count b { color: var(--bone); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-right: 2px; }
.estoque-tools { display: flex; align-items: center; gap: 8px; }
.estoque-tools label { font-size: 0.86rem; font-weight: 500; color: var(--text-dim); }
.estoque-sort {
    appearance: none;
    -webkit-appearance: none;
    background: var(--ink) 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='%23d27e60' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid var(--border);
    color: var(--bone);
    padding: 9px 36px 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    font-weight: 500;
    min-width: 170px;
    cursor: pointer;
}
.estoque-sort:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }

/* ============================================================
   VEÍCULO DETAIL
   ============================================================ */
.veiculo-shell { padding: 1.6rem 0 var(--space-section); }
.veiculo-shell .breadcrumb { margin-bottom: 1.4rem; }
.veiculo-top {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}
.veiculo-media { min-width: 0; }
.veiculo-gallery {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #0f0e0c;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    outline: none;
    user-select: none;
    cursor: zoom-in;
}
.vg-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.vg-slide { flex: 0 0 100%; height: 100%; position: relative; }
.vg-slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vg-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(247, 247, 243, 0.14);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.22s var(--ease), background 0.2s var(--ease), transform 0.15s var(--ease);
}
.vg-arrow.vg-prev { left: 14px; }
.vg-arrow.vg-next { right: 14px; }
.vg-arrow:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateY(-50%) scale(1.06); }
.veiculo-gallery:hover .vg-arrow,
.veiculo-gallery:focus-within .vg-arrow { opacity: 1; }
.vg-counter {
    position: absolute;
    bottom: 12px; right: 14px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.65);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    pointer-events: none;
}
.vg-zoom-hint {
    position: absolute;
    bottom: 12px; left: 14px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.65);
    color: var(--text-soft);
    font-size: 0.74rem;
    font-weight: 500;
    pointer-events: none;
}
.veiculo-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 8px;
}
.veiculo-thumbs img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-xs);
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s, transform 0.15s;
}
.veiculo-thumbs img:hover { opacity: 1; }
.veiculo-thumbs img.active { opacity: 1; border-color: var(--accent); }

/* lightbox */
.vg-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(6, 6, 7, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease);
    outline: none;
}
.vg-modal.is-open { opacity: 1; pointer-events: all; }
.vg-modal-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
    padding: 60px 84px;
}
.vg-modal-img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    user-select: none;
    pointer-events: none;
    transition: opacity 0.12s var(--ease);
}
.vg-modal-img.is-fading { opacity: 0; }
.vg-modal-close {
    position: fixed;
    top: 18px; right: 18px;
    z-index: 9001;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(247, 247, 243, 0.08);
    border: 1px solid rgba(247, 247, 243, 0.16);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, transform 0.18s;
}
.vg-modal-close svg { width: 18px; height: 18px; }
.vg-modal-close:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.vg-modal-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9001;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: rgba(247, 247, 243, 0.07);
    border: 1px solid rgba(247, 247, 243, 0.14);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, transform 0.15s;
}
.vg-modal-prev { left: 18px; }
.vg-modal-next { right: 18px; }
.vg-modal-arrow:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.vg-modal-counter-badge {
    position: fixed;
    bottom: 22px; left: 50%;
    transform: translateX(-50%);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(247, 247, 243, 0.6);
    pointer-events: none;
}

.veiculo-summary {
    min-width: 0;
    position: sticky;
    top: calc(var(--nav-h) + 16px);
    background: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
}
.veiculo-overline {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--silver);
}
.veiculo-summary h1 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    line-height: 1;
    margin: 0.3rem 0 1rem;
}
.veiculo-price {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 4vw, 3rem);
    line-height: 1;
    color: var(--bone);
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-variant-numeric: tabular-nums;
}
.veiculo-price small {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-dim);
}
.veiculo-price-sub { font-size: 0.86rem; color: var(--text-dim); margin: 0.5rem 0 1.3rem; }
.veiculo-price-sub a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.veiculo-specs {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.1rem 1rem;
    padding: 1.3rem 0 0.3rem;
    border-top: 1px solid var(--border);
    margin-bottom: 1.2rem;
}
.veiculo-specs::before { display: none; }
.vs-row { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vs-row dt { font-size: 0.76rem; font-weight: 500; color: var(--text-dim); }
.vs-row dd {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--bone);
    overflow-wrap: anywhere;
}
.vs-row dd small { display: block; font-family: var(--font-body); font-size: 0.7rem; color: var(--text-dim); font-weight: 500; }
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.1rem;
}
.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: var(--ink);
    border: 1px solid var(--border);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text);
}
.trust-row svg { width: 14px; height: 14px; color: var(--silver); }
.veiculo-summary .btn-xl { width: 100%; margin-bottom: 8px; }
.veiculo-summary .btn-row .btn { font-size: 0.95rem; padding: 12px 10px; }

.veiculo-details {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
    gap: 2rem;
    align-items: flex-start;
}
.veiculo-section {
    background: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    margin-bottom: 1.2rem;
}
.veiculo-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--border);
}
.veiculo-section p {
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.opt-item { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text); }
.opt-check {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.opt-check svg { width: 11px; height: 11px; }
.veiculo-side { display: flex; flex-direction: column; gap: 1.2rem; }
.side-card {
    position: relative;
    background: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.6rem;
}
.side-card-troca { border-color: var(--silver-line); }
.side-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--silver-soft);
    color: var(--silver);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
}
.side-card-troca .side-icon { background: var(--silver-soft); color: var(--silver); }
.side-icon svg { width: 22px; height: 22px; }
.side-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.side-card p { color: var(--text-soft); font-size: 0.92rem; line-height: 1.55; margin-bottom: 1.1rem; }
.side-card .btn { width: 100%; }
#veiculo-similar { margin-top: 3rem; }
.similar-head { margin-bottom: 1.6rem; }
.similar-head .section-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 0.5rem; max-width: none; }
.similar-foot { margin-top: 1.6rem; }
/* ============================================================
   FORMS (financiamento / avaliação / contato)
   ============================================================ */
.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 2.4rem;
    align-items: flex-start;
    padding: 2.6rem 0 var(--space-section);
}
.form-layout-reverse { grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr); }
.form-card {
    min-width: 0;
    background: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: clamp(1.4rem, 3vw, 2.2rem);
    box-shadow: var(--shadow-sm);
}
.form-card .section-title { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0.5rem 0 0.6rem; }
.form-card .section-lede { font-size: 0.95rem; margin-bottom: 1.6rem; }
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field.span-2 { grid-column: 1 / -1; }
.form-field label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text);
}
.form-field label .opt { color: var(--text-mute); font-weight: 400; }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: var(--ink);
    border: 1px solid var(--border);
    color: var(--bone);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.96rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-mute); }
.form-field select {
    appearance: none;
    -webkit-appearance: none;
    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='%23d27e60' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}
.form-field input[type="date"] { color-scheme: dark; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea,
.form-field.is-invalid .vehicle-select {
    border-color: #ff5a4e;
    box-shadow: 0 0 0 3px rgba(255,90,78,0.15);
}
.form-field.is-invalid::after {
    content: 'Campo obrigatório';
    font-size: 0.74rem;
    color: #ff7a70;
    font-weight: 600;
}
.consent-field.is-invalid::after { content: 'Você precisa autorizar para continuar'; }
.form-section-divider {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
    padding-top: 1.1rem;
    margin-top: 0.3rem;
}
.form-section-divider h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--silver);
}
.form-submit { grid-column: 1 / -1; }
.form-submit .btn { width: 100%; }
.form-note { font-size: 0.76rem; color: var(--text-mute); text-align: center; margin-top: 0.8rem; line-height: 1.5; }

/* ─── Vehicle select (custom combobox on the financing form) ─── */
.vehicle-select-wrap { position: relative; }
.vehicle-select {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--ink);
    border: 1px solid var(--border);
    color: var(--bone);
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    min-height: 48px;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.vehicle-select:focus, .vehicle-select.is-open {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.vehicle-select-label {
    flex: 1; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: var(--text-mute);
    font-size: 0.96rem;
}
.vehicle-select.has-value .vehicle-select-label { color: var(--bone); font-weight: 600; }
.vehicle-select-trailing { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.vehicle-select-thumb { width: 62px; height: 42px; object-fit: cover; border-radius: 4px; display: none; background: var(--ink-3); }
.vehicle-select.has-value .vehicle-select-thumb { display: block; }
.vehicle-select-chevron { width: 16px; height: 16px; color: var(--silver); flex-shrink: 0; transition: transform 0.18s ease; }
.vehicle-select.is-open .vehicle-select-chevron { transform: rotate(180deg); }
.vehicle-select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    z-index: 300;
    background: var(--ink-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform-origin: top center;
    animation: vsDropIn 0.14s ease both;
}
.vehicle-select-dropdown[hidden] { display: none; }
@keyframes vsDropIn {
    from { opacity: 0; transform: scaleY(0.93) translateY(-4px); }
    to   { opacity: 1; transform: none; }
}
.vehicle-select-search-wrap { padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--border); background: var(--ink); }
.vehicle-select-search { width: 100%; background: transparent; border: 0; color: var(--bone); padding: 4px 2px; font-size: 0.92rem; outline: none; }
.vehicle-select-search::placeholder { color: var(--text-mute); }
.vehicle-select-list { max-height: 340px; overflow-y: auto; overscroll-behavior: contain; }
.vehicle-select-loading, .vehicle-select-empty { padding: 1.4rem 1rem; text-align: center; color: var(--text-mute); font-size: 0.88rem; }
.vehicle-select-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.1s;
}
.vehicle-select-option:last-child { border-bottom: 0; }
.vehicle-select-option:hover, .vehicle-select-option.is-focused { background: var(--ink-3); }
.vehicle-select-option.is-selected { background: var(--accent-soft); }
.vso-thumb { width: 72px; height: 48px; flex-shrink: 0; border-radius: 4px; overflow: hidden; background: var(--ink-3); display: flex; align-items: center; justify-content: center; }
.vso-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vso-thumb-placeholder { color: var(--text-mute); opacity: 0.6; }
.vso-info { flex: 1; min-width: 0; }
.vso-title { display: block; font-size: 0.9rem; font-weight: 600; color: var(--bone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vso-meta { display: block; font-size: 0.76rem; color: var(--text-dim); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vso-price { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--accent); flex-shrink: 0; white-space: nowrap; }

/* ─── Pill radios (Sim / Não · Vender / Trocar) ─── */
.radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-pill {
    flex: 1 1 0;
    min-width: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--ink);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.radio-pill input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--bone); }
.radio-pill:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--accent-soft); }

/* ─── Trade-in reveal ─── */
.troca-fields {
    grid-column: 1 / -1;
    padding: 1.3rem 1.3rem 1.5rem;
    background: linear-gradient(180deg, rgba(255, 222, 33, 0.06), transparent 70%), var(--ink);
    border: 1px solid var(--silver-line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    animation: trocaReveal 0.32s ease-out;
}
.troca-fields[hidden] { display: none; }
.troca-fields .form-grid { gap: 1rem; }
.troca-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1.1rem; }
.troca-icon { width: 30px; height: 30px; flex-shrink: 0; color: var(--accent); padding: 6px; background: var(--accent-soft); border-radius: 8px; box-sizing: content-box; }
.troca-head h4 { font-size: 1rem; margin-bottom: 2px; }
.troca-head p { font-size: 0.84rem; color: var(--text-soft); }
@keyframes trocaReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ─── LGPD consent ─── */
.consent-field { margin-top: 0.4rem; }
.consent-box {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--ink);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.consent-box:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.consent-box input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.consent-mark {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border: 2px solid var(--border-strong);
    border-radius: 6px;
    background: var(--ink-2);
    position: relative;
    margin-top: 1px;
    transition: border-color 0.2s, background 0.2s;
}
.consent-box:has(input:checked) .consent-mark { border-color: var(--accent); background: var(--accent); }
.consent-mark::after {
    content: '';
    position: absolute;
    top: 2px; left: 6px;
    width: 5px; height: 10px;
    border: solid var(--on-accent);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s;
}
.consent-box:has(input:checked) .consent-mark::after { transform: rotate(45deg) scale(1); }
.consent-text { font-size: 0.84rem; line-height: 1.55; color: var(--text-soft); }
.consent-text strong { color: var(--bone); }
.consent-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.fin-disclosure {
    display: flex;
    gap: 10px;
    margin-top: 1.4rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-sm);
    background: var(--ink);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.78rem;
    line-height: 1.55;
}
.fin-disclosure svg { flex-shrink: 0; margin-top: 2px; color: var(--silver); }
.fin-disclosure strong { color: var(--text-soft); }

/* ─── Side column: steps / notes ─── */
.side-stack { min-width: 0; display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: calc(var(--nav-h) + 16px); }
.step-list { display: flex; flex-direction: column; gap: 0; margin-top: 1rem; }
.step-list li {
    display: flex;
    gap: 14px;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}
.step-list li:first-child { border-top: 0; padding-top: 0.4rem; }
.step-list .step-num { width: 30px; height: 30px; font-size: 0.9rem; margin: 0; flex-shrink: 0; background: var(--ink-3); color: var(--silver); }
.step-list b { display: block; color: var(--bone); font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.step-list p { color: var(--text-soft); font-size: 0.9rem; }
.note-card {
    padding: 1.4rem;
    border-radius: var(--radius-md);
    background: var(--ink-2);
    border: 1px solid var(--silver-line);
}
.note-card h3 { font-size: 1.15rem; margin: 0.5rem 0 0.4rem; }
.note-card p { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 1rem; }
.note-card .btn { width: 100%; }

/* ============================================================
   EMPRESA (A loja)
   ============================================================ */
.about-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.about-hero-inner .page-head-inner { max-width: none; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillar {
    position: relative;
    padding: 1.8rem 1.6rem;
    background: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.pillar-num {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--silver);
    margin-bottom: 0.5rem;
}
.pillar h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.pillar p { color: var(--text-soft); font-size: 0.95rem; }
.pillar .btn { margin-top: 1.1rem; }
.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.story-copy p { color: var(--text-soft); font-size: 1.04rem; line-height: 1.7; margin-bottom: 1rem; }
.story-copy p b { color: var(--bone); font-weight: 600; }
.fact-list { display: grid; gap: 10px; }
.fact {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 1.1rem 1.2rem;
    background: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.fact-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--silver-soft); color: var(--silver); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fact-icon svg { width: 20px; height: 20px; }
.fact b { display: block; color: var(--bone); font-size: 1rem; font-weight: 600; }
.fact p { font-size: 0.9rem; color: var(--text-soft); }
.location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 1.4rem;
    align-items: stretch;
}
.location-card {
    padding: 1.8rem;
    background: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.location-card h3 { font-size: 1.4rem; }
.location-card .addr { color: var(--text); line-height: 1.5; }
.location-card .addr b { color: var(--bone); }
.location-card .btn { align-self: flex-start; }
.map-frame {
    min-height: 320px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--ink-2);
    filter: grayscale(0.4) contrast(1.05);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ============================================================
   CONTATO
   ============================================================ */
.contato-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: flex-start;
    padding: 2.6rem 0 var(--space-section);
}
.contato-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contato-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 1.2rem;
    background: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.2s, transform 0.2s var(--ease);
}
a.contato-card:hover { border-color: var(--silver-line); transform: translateY(-2px); }
.contato-card-wa { grid-column: 1 / -1; border-color: rgba(37,211,102,0.35); }
.contato-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--silver-soft); color: var(--silver); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.contato-icon svg { width: 18px; height: 18px; }
.contato-card-wa .contato-icon { background: var(--wa); color: #06170c; }
.contato-card h3 { font-size: 1.05rem; }
.contato-card p { font-size: 0.9rem; color: var(--text-soft); }
.contato-card .val { color: var(--bone); font-weight: 600; font-size: 0.95rem; overflow-wrap: anywhere; }
.contato-map { margin-top: 10px; }

/* ============================================================
   404
   ============================================================ */
.error-shell {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: radial-gradient(700px 400px at 50% 0%, rgba(255, 222, 33, 0.12), transparent 60%), var(--ink);
}
.error-inner { position: relative; z-index: 1; max-width: 680px; }
.error-code {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(6rem, 22vw, 15rem);
    line-height: 0.9;
    color: var(--bone);
    letter-spacing: -0.02em;
}
.error-code em { font-style: normal; }
.error-inner h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0.6rem 0 0.7rem; }
.error-inner p { color: var(--text-soft); max-width: 48ch; margin-bottom: 1.6rem; }
/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
    .nav-links a { padding: 10px 9px; font-size: 0.72rem; letter-spacing: 0.08em; }
    .hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
}

@media (max-width: 1100px) {
    /* nav collapses */
    .nav-links { display: none; }
    .nav-right .nav-cta { display: none; }
    .nav-hamburger { display: block; }

    .hero-inner { grid-template-columns: minmax(0, 1fr); }
    .hero-visual { max-width: 460px; justify-self: start; }

    /* estoque: filters become an off-canvas drawer */
    .estoque-inner { grid-template-columns: minmax(0, 1fr); }
    .mobile-filter-toggle { display: flex; }
    .filter-rail {
        position: fixed;
        inset: 0;
        z-index: 1500;
        max-height: none;
        border-radius: 0;
        border: 0;
        padding: 1.2rem var(--gutter) 6rem;
        transform: translateX(-102%);
        transition: transform 0.3s var(--ease);
        overflow-y: auto;
        background: var(--ink);
    }
    .filter-rail.is-open { transform: none; }
    .filter-close { display: flex; align-items: center; justify-content: center; }
    .filter-apply {
        display: block;
        position: fixed;
        left: var(--gutter); right: var(--gutter); bottom: 1rem;
        width: auto;
        margin: 0;
        box-shadow: 0 -20px 30px -10px rgba(10, 10, 10, 0.9), var(--shadow-lg);
    }
    .veiculo-top, .veiculo-details { grid-template-columns: minmax(0, 1fr); }
    .veiculo-summary { position: static; }
    .form-layout, .form-layout-reverse { grid-template-columns: minmax(0, 1fr); }
    .form-layout-reverse .form-card { order: -1; }
    .side-stack { position: static; }
    .about-hero-inner, .story-grid, .location-grid { grid-template-columns: minmax(0, 1fr); }
    .contato-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
    .pillars { grid-template-columns: minmax(0, 1fr); }
    .veiculo-thumbs { grid-template-columns: repeat(5, 1fr); }
    .cat-strip-label { display: none; }
}

@media (max-width: 767px) {
    :root { --nav-h: 64px; }
    .logo-nav .logo-img { height: 34px; }
    .hero { padding-top: calc(var(--nav-h) + 2rem); }
    .hero h1 { font-size: clamp(2.1rem, 9vw, 2.9rem); }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-featured-title { font-size: 1.3rem; }
    .hero-summary { flex-direction: column; gap: 4px; padding-top: 1rem; margin-bottom: 0.4rem; }
    .hero-summary .sep { display: none; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .form-grid { grid-template-columns: minmax(0, 1fr); }
    .form-field.span-2 { grid-column: auto; }
    .form-field input, .form-field select, .form-field textarea,
    .filter-input, .filter-select, .vehicle-select-search, .vehicle-select-label { font-size: 16px; } /* no iOS zoom */
    .veiculo-specs { grid-template-columns: 1fr 1fr; }
    .veiculo-summary .btn-row { flex-direction: column; }
    .veiculo-thumbs { grid-template-columns: repeat(4, 1fr); }
    .opt-grid { grid-template-columns: 1fr; }
    .contato-cards { grid-template-columns: minmax(0, 1fr); }
    .vg-modal-stage { padding: 56px 12px; }
    .vg-modal-arrow { width: 42px; height: 42px; font-size: 1.5rem; }
    .vg-modal-prev { left: 8px; }
    .vg-modal-next { right: 8px; }
    .estoque-toolbar { padding: 0.7rem 0.9rem; }
    .estoque-sort { min-width: 0; flex: 1; }
    .estoque-tools { width: 100%; }
    .vso-price { display: none; }
    .vso-thumb { width: 56px; height: 38px; }
    .float-wa { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

@media (max-width: 480px) {
    .car-grid { grid-template-columns: minmax(0, 1fr); }
    .page-head h1 { font-size: 2rem; }
    .veiculo-summary { padding: 1.2rem; }
    .form-card { padding: 1.2rem; }
    .radio-pill { min-width: 0; }
}

/* ============================================================
   TOUCH DEVICES — surface hover-only controls
   ============================================================ */
@media (hover: none) {
    .carousel-arrow, .vg-arrow { opacity: 0.85; }
    .car-card:hover, .hero-featured:hover { transform: none; }
    .car-card:hover .card-carousel img.active { transform: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   HOME — "como a gente trabalha" (prose + definition list)
   ============================================================ */
.about-band { background: var(--ink-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.08; margin: 0.6rem 0 1.2rem; max-width: 20ch; }
.about-copy p { color: var(--text-soft); font-size: 1.04rem; line-height: 1.7; margin-bottom: 1rem; max-width: 52ch; }
.about-copy p b { color: var(--bone); font-weight: 600; }
.about-meta { margin-top: 1.4rem; font-size: 0.92rem; color: var(--text-dim); line-height: 1.7; }
.about-meta a { color: var(--silver); text-decoration: underline; text-underline-offset: 3px; }
.def-list { display: flex; flex-direction: column; }
.def-list > div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.05rem 0;
    border-top: 1px solid var(--border);
}
.def-list > div:last-child { border-bottom: 1px solid var(--border); }
.def-list dt { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--bone); line-height: 1.2; }
.def-list dd { color: var(--text-soft); font-size: 0.95rem; line-height: 1.6; }
.def-list dd a { color: var(--silver); text-decoration: underline; text-underline-offset: 3px; }

/* ---- FAQ ---- */
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}
.faq-intro h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0.6rem 0 0.8rem; max-width: 16ch; }
.faq-intro p { color: var(--text-soft); max-width: 36ch; }
.faq-intro .btn { margin-top: 1.2rem; }
.faq { display: flex; flex-direction: column; }
.faq > details { border-top: 1px solid var(--border); }
.faq > details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1rem 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--bone);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--silver); font-size: 1.4rem; font-weight: 400; line-height: 1; transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-soft); font-size: 0.98rem; line-height: 1.65; padding: 0 0 1.1rem; max-width: 60ch; }
.faq details p a { color: var(--silver); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Instagram line ---- */
.ig-line { border-top: 1px solid var(--border); }
.ig-line-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
    padding: 1.6rem 0;
}
.ig-line p { color: var(--text-soft); font-size: 1rem; }
.ig-line p b { color: var(--bone); font-weight: 600; }
.ig-line .link-arrow svg { color: var(--silver); }

@media (max-width: 900px) {
    .about-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
    .def-list > div { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
}

/* ============================================================
   MEDIA FRAMES — aspect-aware fitting (see fitImage in shared.js)
   Landscape photos fill the frame (cover); portrait/square posts are
   shown whole (contain) over a blurred copy of themselves.
   ============================================================ */
.img-wrapper, .hero-featured-img, .vg-slide { position: relative; overflow: hidden; background: #0f0e0c; }
.img-backdrop {
    position: absolute;
    inset: -14%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    filter: blur(22px) saturate(1.1) brightness(0.5);
    transform: scale(1.06);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    pointer-events: none;
}
.has-backdrop > .img-backdrop { opacity: 1; }
.card-carousel { z-index: 1; }
.hero-featured-img > img, .vg-slide > img { position: relative; z-index: 1; }
.card-carousel img.is-contain,
.hero-featured-img img.is-contain,
.vg-slide img.is-contain { object-fit: contain; }
/* hero frame follows the cover: square for portrait posts, 4:3 for photos */
.hero-featured-img { aspect-ratio: 4 / 3; transition: aspect-ratio 0.3s var(--ease); }
.hero-featured-img::after { z-index: 2; }
.hero-featured-tag { z-index: 3; }
.vg-slide .img-backdrop { filter: blur(26px) saturate(1.1) brightness(0.45); }

/* ============================================================
   HERO — fluid first screen (two-column layout, ≥ 1101px)
   Every size in the hero is a multiple of one scale token, --hs,
   which follows the viewport width (1vw) between ~1150px and
   ~1700px and is clamped outside that range. So a 1280px laptop
   sees the same composition as a 1512px MacBook, just smaller,
   and a 1920px monitor sees it a bit bigger — never a fixed card
   floating in a bigger screen. Baseline: --hs = 15.12px @ 1512px.
   The hero also owns the first screen: its height is the viewport
   minus the category strip, so that strip always peeks at the fold.
   ============================================================ */
@media (min-width: 1101px) {
    .hero {
        /* width-driven, but a short wide viewport (e.g. 1512×770) scales down a notch so the card keeps air */
        --hs: clamp(0.72rem, min(1vw, 1.9vh), 1.0625rem);
        --hero-peek: 86px; /* .cat-strip height */
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: min(calc(100vh - var(--hero-peek)), 1080px);
        min-height: min(calc(100svh - var(--hero-peek)), 1080px);
        padding-top: calc(var(--nav-h) + var(--hs) * 2);
        padding-bottom: calc(var(--hs) * 2);
    }
    .hero-inner { gap: calc(var(--hs) * 5); }

    /* text column */
    .hero-text { max-width: calc(var(--hs) * 44); }
    .hero-kicker { font-size: calc(var(--hs) * 0.95); margin-bottom: calc(var(--hs) * 1.15); }
    .hero h1 { font-size: calc(var(--hs) * 4.25); margin-bottom: calc(var(--hs) * 1.25); }
    .hero-sub { font-size: calc(var(--hs) * 1.24); margin-bottom: calc(var(--hs) * 1.9); }
    .hero-actions { gap: calc(var(--hs) * 0.66) calc(var(--hs) * 1.2); margin-bottom: calc(var(--hs) * 1.9); }
    .hero-actions .btn-xl { font-size: calc(var(--hs) * 1.08); padding: calc(var(--hs) * 1) calc(var(--hs) * 1.6); }
    .hero-actions .link-arrow { font-size: calc(var(--hs) * 1); }
    .hero-actions .link-arrow svg { width: calc(var(--hs) * 1.2); height: calc(var(--hs) * 1.2); }
    .hero-summary { font-size: calc(var(--hs) * 0.97); padding-top: calc(var(--hs) * 1.25); max-width: calc(var(--hs) * 34.5); }

    /* featured card */
    .hero-visual { max-width: calc(var(--hs) * 28); }
    .hero-featured-tag {
        top: calc(var(--hs) * 0.66); left: calc(var(--hs) * 0.66);
        padding: calc(var(--hs) * 0.27) calc(var(--hs) * 0.6);
        font-size: calc(var(--hs) * 0.76);
    }
    .hero-featured-body { padding: calc(var(--hs) * 0.95) calc(var(--hs) * 1.15) calc(var(--hs) * 1.05); }
    .hero-featured-head { margin-bottom: calc(var(--hs) * 0.75); }
    .hero-featured-overline { font-size: calc(var(--hs) * 0.8); }
    .hero-featured-title { font-size: calc(var(--hs) * 1.6); }
    .hero-featured-meta { font-size: calc(var(--hs) * 0.91); }
    .hero-featured-foot { padding-top: calc(var(--hs) * 0.75); }
    .hero-featured-price { font-size: calc(var(--hs) * 1.6); }
    .hero-featured-price small { font-size: calc(var(--hs) * 0.76); }
    .hero-featured-cta { font-size: calc(var(--hs) * 0.93); }
    .hf-controls { padding-top: calc(var(--hs) * 0.66); }
    .hf-arrow { width: calc(var(--hs) * 2.25); height: calc(var(--hs) * 2.25); font-size: calc(var(--hs) * 1.35); }
    .hf-dot { width: calc(var(--hs) * 0.46); height: calc(var(--hs) * 0.46); }
    .hf-dot.active { width: calc(var(--hs) * 1.45); }
}

/* ============================================================
   CAROUSEL ARROWS — SVG chevrons (hero, cards, gallery, lightbox)
   The buttons are flex-centered; the chevron scales with the button.
   ============================================================ */
.hf-arrow, .carousel-arrow, .vg-arrow, .vg-modal-arrow { padding: 0; line-height: 0; }
.hf-arrow svg, .carousel-arrow svg, .vg-arrow svg, .vg-modal-arrow svg {
    display: block;
    width: 48%; height: 48%;
    flex: none;
}
/* optical centering: a chevron's visual weight sits toward its point, nudge it 1px against the point */
.hf-prev svg, .carousel-arrow.prev svg, .vg-prev svg, .vg-modal-prev svg { transform: translateX(-1px); }
.hf-next svg, .carousel-arrow.next svg, .vg-next svg, .vg-modal-next svg { transform: translateX(1px); }

/* ============================================================
   Identidade — ajustes de base
   ============================================================ */
:root { --topbar-h: 36px; }


h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.005em; }
h2, .section-title { font-weight: 600; letter-spacing: 0; }
h3 { font-weight: 600; }
.section-title { font-size: clamp(1.55rem, 2.6vw, 2.15rem); line-height: 1.12; }
.hero h1 { font-weight: 700; line-height: 1.02; letter-spacing: -0.015em; }
.hero h1 em, .page-head h1 em, h2 em, .section-title em, .error-code em { font-style: normal; }
.hero h1 em { color: var(--accent); font-weight: 700; }
.page-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; line-height: 1.08; max-width: 24ch; }
.page-head h1 em { color: var(--accent); font-weight: 700; }
h2 em, .section-title em { color: var(--accent); font-weight: 600; }
.about-copy h2, .faq-intro h2, .sell-copy h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 600; }
.eyebrow { color: var(--text-soft); font-weight: 500; letter-spacing: 0.12em; font-size: 0.72rem; text-transform: uppercase; }
.eyebrow::before { width: 14px; height: 2px; background: var(--accent); }
.hero-kicker { color: var(--silver); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
body { line-height: 1.6; font-weight: 400; }
p, li, dd { font-weight: 400; }
.error-code em { color: var(--accent); }

/* ---------- buttons: red for the primary action, slim outlines elsewhere ---------- */
.btn { font-weight: 500; border-radius: 8px; letter-spacing: 0.01em; }
.btn-xl { padding: 13px 22px; font-size: 0.98rem; }
.btn-ghost { border-color: rgba(214, 224, 255, 0.2); }
.btn-wa { box-shadow: none; }
.nav-cta { border-color: rgba(37, 211, 102, 0.35); font-weight: 500; }
:focus-visible { outline-color: var(--accent-hot); }

/* ---------- nav + top bar (scrolls away; the nav stays) ---------- */
.nav-links a { font-weight: 500; color: var(--text-soft); }
.nav-links a.is-active::after { background: var(--accent); }
.site-nav { max-width: none; padding-inline: max(var(--gutter), calc((100% - var(--max-w)) / 2)); }
.nav-mobile { padding-inline: max(var(--gutter), calc((100% - var(--max-w)) / 2)); }
.site-nav.is-scrolled { background: rgba(4, 6, 13, 0.92); }
#chrome-nav { top: 0; }
.topbar { height: var(--topbar-h); background: #070708; border-bottom: 1px solid var(--border); font-size: 0.8rem; color: var(--text-dim); }
.topbar-inner { height: 100%; display: flex; align-items: center; gap: 1.6rem; padding: 0 var(--gutter); max-width: calc(var(--max-w) + 2 * var(--gutter)); margin: 0 auto; }
.topbar-item, .topbar-right a { display: inline-flex; align-items: center; gap: 7px; color: var(--text-dim); transition: color 0.2s; }
a.topbar-item:hover, .topbar-right a:hover { color: var(--bone); }
.topbar svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.topbar-right { margin-left: auto; display: inline-flex; align-items: center; gap: 1.1rem; }
.topbar-right a { color: var(--text-soft); }

/* ---------- category tabs above the featured grid ---------- */
.cat-strip { background: transparent; border-top-color: rgba(214, 224, 255, 0.05); border-bottom-color: rgba(214, 224, 255, 0.05); }
.cat-chip { background: transparent; border-color: rgba(214, 224, 255, 0.1); font-weight: 500; }
.cat-chip-count { background: rgba(214, 224, 255, 0.06); font-weight: 500; }
.cat-tabs { flex-wrap: wrap; overflow: visible; margin: -0.6rem 0 1.8rem; padding: 0; gap: 8px; }
.cat-tabs .cat-chip { padding: 7px 10px 7px 14px; font-size: 0.88rem; }

/* ---------- cards: quiet frame, model in evidence, version on its own line ---------- */
.car-grid { gap: 1.6rem 1.4rem; }
.car-card { background: var(--ink-2); border: 1px solid rgba(214, 224, 255, 0.05); border-radius: 12px; box-shadow: none; }
.car-card:hover { border-color: rgba(46, 91, 255, 0.5); box-shadow: 0 22px 44px -30px rgba(0, 0, 0, 0.9); }
.card-body { padding: 1.05rem 1.2rem 1.15rem; gap: 2px; }
.card-brand { color: var(--text-soft); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.card-model { font-size: 1.14rem; font-weight: 600; }
.card-version { font-size: 0.86rem; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-spec-line { font-size: 0.8rem; color: var(--text-dim); margin-top: 6px; }
.card-footer { padding-top: 0.9rem; margin-top: auto; border-top: 1px solid rgba(214, 224, 255, 0.05); }
.card-price { font-size: 1.32rem; font-weight: 600; }
.card-price.is-consult { font-family: var(--font-body); font-size: 0.98rem; font-weight: 500; color: var(--bone); letter-spacing: 0.01em; }
.card-cta { font-weight: 500; font-size: 0.84rem; }
.card-chip { font-weight: 500; font-size: 0.7rem; background: rgba(4, 6, 13, 0.72); border-color: rgba(214, 224, 255, 0.08); }
.card-chip-new { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ---------- visit block: the store copy, address/hours/phones, the map ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.visit-copy > p { color: var(--text-soft); font-size: 1.02rem; max-width: 54ch; margin: 1rem 0 1.6rem; }
.visit-copy .section-title { margin-top: 0.55rem; max-width: 24ch; }
.visit-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-bottom: 1.6rem; }
.visit-facts dt { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.35rem; }
.visit-facts dd { font-size: 0.93rem; line-height: 1.55; color: var(--text); }
.visit-facts dd a { color: var(--bone); text-decoration: underline; text-decoration-color: rgba(214, 224, 255, 0.3); text-underline-offset: 3px; }
.visit-facts dd a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.visit-map { min-height: 360px; }
.visit-map iframe { min-height: 360px; height: 100%; }
@media (max-width: 1100px) { .visit-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
    .visit-grid { grid-template-columns: 1fr; }
    .visit-copy .section-title { max-width: none; }
    .visit-map { min-height: 280px; }
}
@media (max-width: 520px) { .visit-facts { grid-template-columns: 1fr; } }

/* ---------- vehicle page ---------- */
.veiculo-version { display: block; margin-top: 0.35rem; font-family: var(--font-body); font-size: 1.02rem; font-weight: 400; color: var(--text-soft); line-height: 1.3; }
.veiculo-price { font-weight: 600; }
.veiculo-price.is-consult { font-size: clamp(1.6rem, 2.4vw, 1.9rem); font-weight: 500; color: var(--bone); }
.veiculo-summary h1 { font-weight: 600; }
.veiculo-specs dd { font-weight: 500; }
.chip-accent { background: var(--accent-soft); border-color: rgba(46, 91, 255, 0.4); color: var(--accent-hot); }
.skeleton-box { background: linear-gradient(90deg, var(--ink-2) 0%, var(--ink-3) 40%, var(--ink-2) 80%); background-size: 240% 100%; animation: shimmer 1.6s linear infinite; }
.veiculo-top { grid-template-columns: minmax(0, var(--media-fr, 1.45fr)) minmax(320px, 1fr); }
.veiculo-gallery { aspect-ratio: var(--vg-ratio, 4 / 3); }
.vg-slide img.is-small { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; border-radius: var(--radius-sm); }
@media (max-width: 1100px) { .veiculo-top { grid-template-columns: minmax(0, 1fr); } }
.img-wrapper { aspect-ratio: 1 / 1; }
.card-carousel img.is-portrait.is-cover { object-position: 50% 62%; }
.veiculo-thumbs img { aspect-ratio: 1 / 1; }
.veiculo-gallery:has(.vg-slide.is-placeholder) .vg-zoom-hint { display: none; }

/* ---------- estoque ---------- */
.filter-hint { margin-top: 0.5rem; font-size: 0.76rem; color: var(--text-dim); line-height: 1.35; }

/* ---------- "Fotos em breve" (only when the store uploads a placeholder card) ---------- */
.coming-soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--ink-3); }
.coming-logo { width: auto; height: clamp(34px, 20%, 56px); opacity: 0.5; filter: saturate(0.85); }
.coming-label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); }
.coming-soon-detail { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-md); gap: 14px; }
.coming-soon-detail .coming-logo { height: clamp(48px, 18%, 90px); }
.coming-soon-detail .coming-label { font-size: 0.8rem; }
.coming-cta { margin-top: 6px; }
.img-wrapper.is-placeholder, .hero-featured-img.is-placeholder, .vg-slide.is-placeholder { background: var(--ink-3); }
.img-wrapper.is-placeholder .img-backdrop, .vg-slide.is-placeholder .img-backdrop, .hero-featured-img.is-placeholder .img-backdrop { display: none; }
.img-wrapper.is-placeholder img, .vg-slide.is-placeholder img, .hero-featured-img.is-placeholder img { object-fit: contain !important; }
.car-card:hover .img-wrapper.is-placeholder img { transform: none; }
.card-carousel .coming-logo { position: static; inset: auto; width: auto; height: clamp(34px, 20%, 56px); opacity: 0.5; object-fit: contain; }
.car-card:hover .coming-logo { opacity: 0.8; transition: opacity 0.3s var(--ease); }

/* ---------- sections, forms, pages: less chrome ---------- */
.about-band { background: transparent; }
.def-list dt { font-weight: 500; }
.def-list dd a { color: var(--silver); }
.faq summary { font-weight: 500; }
.faq summary::after { color: var(--accent); }
.page-head { border-bottom-color: rgba(214, 224, 255, 0.05); }
.form-card, .note-card, .side-card, .location-card, .contato-card, .pillar, .veiculo-summary, .veiculo-section, .filter-rail, .estoque-toolbar {
    border-color: rgba(214, 224, 255, 0.06) !important;
    box-shadow: none !important;
}
.stat-num, .pillar-num { font-weight: 600; }
.pillar-num { color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.pillars-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillars-4 .pillar h3 { font-size: 1.15rem; }
@media (max-width: 1100px) { .pillars-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pillars-4 { grid-template-columns: 1fr; } }
.section-link { display: inline; color: var(--bone); text-decoration-color: rgba(214, 224, 255, 0.3); }
.section-link:hover { color: var(--accent); }
.form-grid > .consent-field { grid-column: 1 / -1; }
.contato-card .val-sm { font-size: 0.95rem; word-break: break-all; }
.link-arrow:hover { color: var(--accent); text-decoration-color: var(--accent); }
.sell-num { color: var(--accent); }
.sell-options a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* check-list */
.check-list { display: grid; gap: 0.9rem; margin-top: 1rem; }
.check-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.93rem; color: var(--text-soft); line-height: 1.5; }
.check-list b { color: var(--bone); font-weight: 500; }
.check-list .opt-check { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-hot); margin-top: 1px; }
.check-list .opt-check svg { width: 12px; height: 12px; }

/* A loja: foto da fachada + texto */
.about-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-photo { margin: 0; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--ink-2); aspect-ratio: 4 / 5; }
.about-photo picture, .about-photo img { display: block; width: 100%; height: 100%; }
.about-photo img { object-fit: cover; object-position: 50% 30%; }
.about-split .story-copy p { color: var(--text-soft); max-width: 58ch; }
.about-split .story-copy p + p { margin-top: 0.9rem; }
.about-split .check-list { margin-top: 1.5rem; }
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; } .about-photo { aspect-ratio: 4 / 4.4; } }

/* photo gallery on "A loja": 3 columns, portrait and landscape mixed */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--ink-2); aspect-ratio: 4 / 5; }
.gallery figure.landscape { aspect-ratio: 4 / 3; }
.gallery figure.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem 1rem 0.8rem; font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--bone); background: linear-gradient(180deg, transparent, rgba(4, 6, 13, 0.85)); }
.gallery img[src*="noite"] { object-position: 50% 18%; }
.gallery video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ink-3); }
.gallery figure.has-video figcaption { top: 0; bottom: auto; padding: 0.8rem 1rem 1.8rem; background: linear-gradient(0deg, transparent, rgba(4, 6, 13, 0.85)); pointer-events: none; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; gap: 10px; } .gallery figure { aspect-ratio: 4 / 3; } .gallery figure.has-video { aspect-ratio: 4 / 5; } }


/* A loja: logo */
.brand-badge {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
    padding: 2.4rem 2rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--logo-bg);
    border: 1px solid var(--border-strong);
    text-align: center; overflow: hidden;
}
.brand-badge img { width: min(400px, 92%); height: auto; }
.brand-badge-sub { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver); }
.brand-badge-foot { font-size: 0.82rem; color: var(--text-dim); }
@media (max-width: 767px) { .brand-badge { padding: 2rem 1.4rem 1.6rem; } }

/* ---------- consentimento (LGPD) ---------- */
:root {
    --ck-bg: var(--ink-2);
    --ck-bg-2: var(--ink-3);
    --ck-fg: var(--bone);
    --ck-text: var(--text);
    --ck-muted: var(--text-soft);
    --ck-border: var(--border-strong);
    --ck-accent: var(--accent);
    --ck-accent-hover: var(--accent-hot);
    --ck-on-accent: var(--on-accent);
    --ck-accent-soft: var(--accent-soft);
    --ck-radius: var(--radius-lg);
    --ck-btn-radius: 10px;
    --ck-font: var(--font-body);
    --ck-font-display: var(--font-display);
    --ck-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75), 0 2px 10px rgba(0, 0, 0, 0.35);
    --ck-overlay: rgba(0, 0, 0, 0.6);
    --ck-switch-off: var(--ink-soft);
}

/* Consentimento de cookies (LGPD) + página /privacidade: tudo lê as variáveis --ck-* acima. */
.ck-banner {
    position: fixed; z-index: 1200;
    left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom));
    width: min(440px, calc(100vw - 32px));
    display: flex; gap: 14px; align-items: flex-start;
    padding: 18px 18px 16px;
    background: var(--ck-bg); color: var(--ck-fg);
    border: 1px solid var(--ck-border); border-radius: var(--ck-radius);
    box-shadow: var(--ck-shadow);
    font-family: var(--ck-font); font-size: 0.92rem; line-height: 1.5;
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.26s ease, transform 0.26s ease;
}
.ck-banner.is-in { opacity: 1; transform: none; }
.ck-banner-icon { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--ck-accent-soft); color: var(--ck-accent); }
.ck-banner-icon svg { width: 22px; height: 22px; }
.ck-banner-body { min-width: 0; flex: 1 1 auto; }
.ck-title { margin: 0 0 4px; font-family: var(--ck-font-display, var(--ck-font)); font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ck-fg); line-height: 1.25; }
.ck-text { margin: 0; color: var(--ck-muted); font-size: 0.88rem; }
.ck-text b { color: var(--ck-fg); font-weight: 600; }
.ck-text a, .ck-cat p a { color: var(--ck-fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ck-border); }
.ck-text a:hover, .ck-cat p a:hover { color: var(--ck-accent); text-decoration-color: var(--ck-accent); }
.ck-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; }
.ck-btn {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 40px; padding: 0 16px;
    border-radius: var(--ck-btn-radius); border: 1px solid transparent;
    font: inherit; font-weight: 600; font-size: 0.9rem; line-height: 1;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.ck-btn:active { transform: translateY(1px); }
.ck-btn-primary { background: var(--ck-accent); color: var(--ck-on-accent); border-color: var(--ck-accent); }
.ck-btn-primary:hover { background: var(--ck-accent-hover); border-color: var(--ck-accent-hover); }
.ck-btn-ghost { background: transparent; color: var(--ck-fg); border-color: var(--ck-border); }
.ck-btn-ghost:hover { border-color: var(--ck-fg); }
.ck-link { appearance: none; -webkit-appearance: none; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--ck-muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ck-border); }
.ck-link:hover { color: var(--ck-accent); text-decoration-color: var(--ck-accent); }
.ck-btn:focus-visible, .ck-link:focus-visible, .ck-close:focus-visible, .ck-switch input:focus-visible + .ck-switch-track { outline: 2px solid var(--ck-accent); outline-offset: 2px; }

/* modal de preferências */
.ck-lock, .ck-lock body { overflow: hidden; }
.ck-overlay {
    position: fixed; inset: 0; z-index: 1300;
    display: grid; place-items: end center;
    padding: 0; background: var(--ck-overlay);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    opacity: 0; transition: opacity 0.22s ease;
}
.ck-overlay.is-in { opacity: 1; }
.ck-modal {
    width: min(560px, 100vw); max-height: min(92vh, 92svh); overflow: auto;
    background: var(--ck-bg); color: var(--ck-fg);
    border: 1px solid var(--ck-border); border-radius: var(--ck-radius) var(--ck-radius) 0 0;
    box-shadow: var(--ck-shadow); font-family: var(--ck-font); line-height: 1.5;
    padding: 22px 22px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(18px); transition: transform 0.22s ease;
}
.ck-overlay.is-in .ck-modal { transform: none; }
.ck-modal-head { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; }
.ck-modal-head .ck-title { font-size: 1.2rem; }
.ck-close { flex: 0 0 auto; appearance: none; -webkit-appearance: none; cursor: pointer; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--ck-border); background: transparent; color: var(--ck-muted); font-size: 1.4rem; line-height: 1; }
.ck-close:hover { color: var(--ck-fg); border-color: var(--ck-fg); }
.ck-cats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ck-cat { padding: 14px 16px; border: 1px solid var(--ck-border); border-radius: calc(var(--ck-radius) - 6px); background: var(--ck-bg-2); }
.ck-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ck-cat-head b { display: block; font-weight: 700; font-size: 0.98rem; color: var(--ck-fg); }
.ck-cat-sub { display: block; font-size: 0.78rem; color: var(--ck-muted); }
.ck-cat p { margin: 8px 0 0; font-size: 0.86rem; color: var(--ck-muted); }
.ck-cat code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.84em; padding: 1px 5px; border-radius: 5px; background: var(--ck-accent-soft); color: var(--ck-fg); }
.ck-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--ck-border); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ck-muted); white-space: nowrap; }
.ck-tag-on { border-color: transparent; background: var(--ck-accent-soft); color: var(--ck-accent); }
.ck-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.ck-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-switch-track { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--ck-switch-off); transition: background 0.18s ease; flex: 0 0 auto; }
.ck-switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); transition: transform 0.18s ease; }
.ck-switch input:checked + .ck-switch-track { background: var(--ck-accent); }
.ck-switch input:checked + .ck-switch-track::after { transform: translateX(18px); }
.ck-switch-label { font-size: 0.8rem; font-weight: 600; color: var(--ck-muted); min-width: 5.5em; }
.ck-modal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ck-border); }
.ck-modal-foot .ck-actions { margin: 0; }

@media (min-width: 640px) {
    .ck-overlay { place-items: center; padding: 24px; }
    .ck-modal { border-radius: var(--ck-radius); padding: 26px 26px 22px; }
}
@media (max-width: 600px) {
    /* enquanto o banner está aberto, o WhatsApp flutuante sobe para não ficar coberto */
    body:has(.ck-banner.is-in) .float-wa { bottom: calc(var(--ck-banner-h, 0px) + 22px); transition: bottom 0.26s ease, transform 0.2s ease; }
}
@media (max-width: 520px) {
    .ck-banner { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 16px; gap: 12px; }
    .ck-banner-icon { display: none; }
    .ck-actions .ck-btn { flex: 1 1 auto; }
    .ck-actions .ck-link { flex-basis: 100%; text-align: left; margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
    .ck-banner, .ck-overlay, .ck-modal, .ck-switch-track, .ck-switch-track::after { transition: none; }
}

/* rodapé: links legais entre o © e a etiqueta da plataforma */
.footer-legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: inherit; }
.footer-legal-links a, .footer-legal-links button { appearance: none; -webkit-appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; font: inherit; color: inherit; opacity: 0.85; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: transparent; transition: opacity 0.18s ease, text-decoration-color 0.18s ease; }
.footer-legal-links a:hover, .footer-legal-links button:hover { opacity: 1; text-decoration-color: currentColor; }

/* página /privacidade */
.legal { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); font-family: var(--ck-font); }
.legal-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 1.6rem; font-size: 0.86rem; color: var(--ck-muted); }
.legal-meta b { color: var(--ck-fg); font-weight: 600; }
.legal-toc { align-self: start; padding: 18px 20px; border: 1px solid var(--ck-border); border-radius: var(--ck-radius); background: var(--ck-bg-2); }
.legal-toc h2 { margin: 0 0 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ck-muted); }
.legal-toc ol { margin: 0; padding: 0 0 0 1.4em; display: grid; gap: 6px; font-size: 0.9rem; list-style: decimal; }
.legal-toc li::marker { color: var(--ck-muted); font-size: 0.85em; }
.legal-toc a { color: var(--ck-fg); text-decoration: none; }
.legal-toc a:hover { color: var(--ck-accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-body { max-width: 74ch; color: var(--ck-text, var(--ck-muted)); font-size: 1rem; line-height: 1.7; }
.legal-body h2 { margin: 2.2rem 0 0.7rem; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ck-fg); scroll-margin-top: 110px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 1.4rem 0 0.4rem; font-size: 1.02rem; font-weight: 700; color: var(--ck-fg); }
.legal-body p, .legal-body li { margin: 0 0 0.75rem; }
.legal-body ul { list-style: disc; padding-left: 1.3em; }
.legal-body ol { list-style: decimal; padding-left: 1.3em; }
.legal-body li::marker { color: var(--ck-muted); }
.legal-body a { color: var(--ck-fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ck-border); }
.legal-body a:hover { color: var(--ck-accent); text-decoration-color: var(--ck-accent); }
.legal-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.86em; padding: 1px 6px; border-radius: 5px; background: var(--ck-accent-soft); color: var(--ck-fg); }
.legal-body .legal-callout { margin: 1rem 0 1.2rem; padding: 14px 16px; border-left: 3px solid var(--ck-accent); border-radius: 0 10px 10px 0; background: var(--ck-bg-2); color: var(--ck-fg); font-size: 0.95rem; }
.legal-body .legal-callout p { margin: 0; }
.legal-table-wrap { overflow-x: auto; margin: 0.6rem 0 1.2rem; border: 1px solid var(--ck-border); border-radius: 12px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 560px; }
.legal-table th, .legal-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ck-border); }
.legal-table th { font-weight: 700; color: var(--ck-fg); background: var(--ck-bg-2); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { color: var(--ck-fg); font-weight: 600; white-space: nowrap; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 1rem 0 0; }
.legal-body .ck-btn { text-decoration: none; }
@media (min-width: 960px) {
    .legal-inner { grid-template-columns: minmax(0, 1fr) 260px; }
    .legal-toc { position: sticky; top: calc(var(--nav-h, 72px) + 24px); order: 2; }
}

/* ============================================================
   Bagnara — showroom à noite
   ============================================================ */
:root {
    --ice: #b7c7ec;
    --led: #2f5bdb;
    --led-glow: rgba(61, 107, 255, 0.5);
    --line: rgba(214, 224, 255, 0.12);
    --sheet: #f3f5f9;
    --sheet-ink: #0b1733;
    --sheet-soft: #4b5878;
    --sheet-line: #d9dfea;
    --nav-h: 72px;
    --r-xl: 14px;
    --wide: 100%;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
body { background: var(--ink); font-stretch: 100%; font-variation-settings: normal; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-hot); outline-offset: 3px; }

h1, h2, h3, .display, .display-sm { font-family: var(--font-display); color: var(--bone); }
.display {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 700;
    font-stretch: 100%;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.display em, .display-sm em, .section-title em, .page-head h1 em, h2 em, h1 em { font-style: normal; color: inherit; }
.display-sm { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; }
.section-title { font-weight: 700; letter-spacing: -0.015em; }
.page-head h1 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.eyebrow { color: var(--ice); font-weight: 600; letter-spacing: 0; font-size: 0.9rem; text-transform: none; }
.eyebrow::before { display: none; }

.btn { border-radius: 6px; font-weight: 600; padding: 13px 22px; }
.btn-primary { background: var(--accent); box-shadow: 0 10px 30px -12px var(--led-glow); }
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 14px 36px -10px var(--led-glow); transform: none; }
.btn-ghost { border-color: rgba(214, 224, 255, 0.18); background: rgba(214, 224, 255, 0.03); }
.btn-ghost:hover { border-color: var(--accent-hot); color: #fff; background: rgba(46, 91, 255, 0.12); }
.btn-ghost svg, .btn [data-icon] svg { width: 18px; height: 18px; }
.btn [data-icon] { display: inline-flex; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--bone); background: rgba(214, 224, 255, 0.06); border: 1px solid rgba(214, 224, 255, 0.1); transition: background 0.2s, border-color 0.2s; flex-shrink: 0; }
.icon-btn:hover { background: rgba(46, 91, 255, 0.2); border-color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: no-preference) {
    .reveal:not(.is-in) { opacity: 0; transform: translateY(26px); }
    .reveal { transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
}

/* ---------- logo ---------- */
.logo-nav .logo-img { height: 40px; width: auto; }
.logo-footer .logo-img { height: auto; width: 208px; }
.logo-reels .logo-img { height: 26px; width: auto; }
@media (max-width: 760px) { .logo-nav .logo-img { height: 33px; } }
@media (max-width: 380px) { .logo-nav .logo-img { height: 29px; } }

/* ---------- nav ---------- */
.site-nav {
    max-width: none;
    padding-inline: max(var(--gutter), calc((100% - var(--max-w)) / 2));
    background: rgba(11, 23, 51, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.site-nav.is-scrolled { background: rgba(11, 23, 51, 0.97); border-bottom-color: rgba(214, 224, 255, 0.07); }
.nav-links a { font-weight: 550; color: var(--text-soft); font-size: 0.92rem; }
.nav-links a.is-active, .nav-links a:hover { color: #fff; }
.nav-links a::after, .nav-links a.is-active::after { background: var(--accent); box-shadow: 0 0 10px var(--led-glow); }
.nav-garage {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    height: 40px; padding: 0 14px; border-radius: 6px;
    border: 1px solid rgba(214, 224, 255, 0.14); color: var(--bone); font-weight: 600; font-size: 0.88rem;
    transition: border-color 0.2s, background 0.2s;
}
.nav-garage svg { width: 17px; height: 17px; }
.nav-garage:hover { border-color: var(--accent); background: rgba(46, 91, 255, 0.12); }
[hidden] { display: none !important; }
.garage-count {
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
    background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 750;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 0 14px var(--led-glow);
}
.nav-cta { border-radius: 6px; height: 40px; font-weight: 600; }
@media (max-width: 1180px) { .nav-garage-label { display: none; } .nav-garage { width: 40px; padding: 0; justify-content: center; } .nav-garage .garage-count { position: absolute; top: -5px; right: -6px; } }

/* ============================================================
   HOME — "cabe no bolso"
   ============================================================ */
.page-home main { overflow-x: clip; }
.bolso {
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - var(--nav-h));
    padding: clamp(2.2rem, 6vh, 4.5rem) 0 1.2rem;
    display: flex; flex-direction: column;
    background: var(--ink);
}
.has-hexlight { position: relative; isolation: isolate; overflow: hidden; }
.hexlight {
    --mx: 62%; --my: 22%;
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='126' height='72.75' viewBox='0 0 126 72.75'%3E%3Cpath d='M0 36.375 21 0h42l21 36.375-21 36.375H21zM84 36.375h42' fill='none' stroke='%237d9dff' stroke-width='2'/%3E%3C/svg%3E");
    background-size: 126px 72.75px;
    opacity: 0.5;
    -webkit-mask-image: radial-gradient(420px 300px at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.25) 45%, transparent 75%), linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 55%);
    mask-image: radial-gradient(420px 300px at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.25) 45%, transparent 75%), linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 55%);
    transition: -webkit-mask-position 0.2s;
}
.hexlight::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(360px 240px at var(--mx) var(--my), rgba(61, 107, 255, 0.35), transparent 70%);
    mix-blend-mode: screen;
}
.hexlight.is-drift { animation: hex-drift 14s ease-in-out infinite alternate; }
@property --mx { syntax: '<percentage>'; inherits: true; initial-value: 62%; }
@property --my { syntax: '<percentage>'; inherits: true; initial-value: 22%; }
@keyframes hex-drift { 0% { --mx: 20%; --my: 10%; } 50% { --mx: 80%; --my: 28%; } 100% { --mx: 45%; --my: 6%; } }

.bolso-grid {
    width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter);
    display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
    gap: clamp(1.5rem, 4vw, 4.5rem); align-items: end;
}
.bolso-kicker {
    display: block;
    font-size: 1rem; font-weight: 600; letter-spacing: 0;
    color: var(--ice); margin-bottom: clamp(1rem, 2.4vh, 1.6rem);
}
.bolso-kicker em { font-style: normal; color: inherit; }
.frase {
    font-family: var(--font-display);
    font-size: clamp(2rem, min(3.7vw, 6.4vh), 3.9rem);
    font-weight: 600; font-stretch: 100%;
    line-height: 1.14; letter-spacing: -0.025em;
    color: rgba(244, 247, 255, 0.62);
    text-wrap: pretty;
    max-width: 21ch;
}
.frase-tail { white-space: normal; }
.fv {
    position: relative; display: inline;
    font: inherit; letter-spacing: inherit; line-height: inherit;
    color: #fff; padding: 0 0.06em;
    background: none;
    text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.14em;
    text-decoration-color: var(--accent);
    border-radius: 0;
    transition: background 0.25s, color 0.25s;
    cursor: pointer; font-variant-numeric: tabular-nums;
}
.fv:hover { background: none; text-decoration-color: #fff; }
.fv-cat { color: #fff; }

.deck {
    margin-top: clamp(1.4rem, 3.4vh, 2.4rem);
    display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 14px 18px; align-items: end;
    max-width: 860px;
}
.deck-mode {
    display: inline-flex; padding: 3px; border-radius: 8px;
    background: rgba(214, 224, 255, 0.06); border: 1px solid rgba(214, 224, 255, 0.1);
    align-self: end;
}
.deck-mode button { padding: 9px 16px; border-radius: 6px; font-size: 0.86rem; font-weight: 650; color: var(--text-soft); transition: background 0.2s, color 0.2s; }
.deck-mode button[aria-checked="true"] { background: var(--accent); color: #fff; }
.deck-range { display: grid; gap: 8px; padding: 12px 16px 10px; border-radius: 8px; background: var(--ink-2); border: 1px solid var(--line); }
.deck-range[hidden] { display: none; }
.deck-range[data-for="avista"] { grid-column: span 2; }
.deck-label { display: flex; justify-content: space-between; gap: 10px; font-size: 0.86rem; color: var(--text-soft); font-weight: 500; }
.deck-label b { color: #fff; font-size: 0.92rem; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.deck-segs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.deck-segs button {
    padding: 8px 15px; border-radius: 6px; font-size: 0.86rem; font-weight: 600; color: var(--text-soft);
    border: 1px solid rgba(214, 224, 255, 0.12); transition: all 0.2s;
}
.deck-segs button:hover { color: #fff; border-color: rgba(214, 224, 255, 0.3); }
.deck-segs button[aria-checked="true"] { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.is-ping { animation: ping 0.9s var(--ease-out); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--led-glow); } 100% { box-shadow: 0 0 0 16px rgba(61, 107, 255, 0); } }

input[type="range"] {
    --fill: 50%;
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 22px; background: transparent; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
    height: 4px; border-radius: 4px;
    background: linear-gradient(90deg, var(--accent) 0 var(--fill), rgba(214, 224, 255, 0.14) var(--fill) 100%);
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(214, 224, 255, 0.14); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%;
    background: #fff; border: 5px solid var(--accent); box-shadow: 0 0 0 6px rgba(47, 91, 219, 0.18), 0 0 20px var(--led-glow);
    transition: transform 0.15s;
}
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--accent); box-shadow: 0 0 20px var(--led-glow); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 8px rgba(107, 140, 255, 0.4), 0 0 22px var(--led-glow); }

.bolso-result { padding-bottom: 6px; }
.odometer {
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 0.9; letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    color: #fff;
    text-shadow: 0 10px 40px rgba(61, 107, 255, 0.45);
    transform-origin: 0 100%;
}
.odometer.bump { animation: bump 0.45s var(--ease-out); }
@keyframes bump { 0% { transform: scale(0.94); } 60% { transform: scale(1.03); } 100% { transform: none; } }
.res-label { margin-top: 0.7rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 650; color: #fff; }
.res-near { margin-top: 0.5rem; color: var(--text-soft); font-size: 0.98rem; max-width: 34ch; }
.res-near b { color: var(--ice); }
.res-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.3rem; }

.esteira-wrap { position: relative; margin-top: clamp(1.6rem, 4vh, 3rem); }
.esteira {
    display: flex; gap: 18px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    --edge: max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter)));
    padding: 6px var(--edge) 70px;
    scroll-padding-inline: var(--edge);
    scrollbar-width: none;
    min-height: 330px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--edge) * 0.6), #000 calc(100% - 60px), transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--edge) * 0.6), #000 calc(100% - 60px), transparent);
}
.esteira::-webkit-scrollbar { display: none; }
.floor { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none; background: linear-gradient(180deg, transparent, var(--ink) 85%); }
.ticket {
    flex: 0 0 auto; width: clamp(220px, 21vw, 270px);
    scroll-snap-align: start;
    display: flex; flex-direction: column; gap: 12px;
    color: inherit;
    transition: transform 0.35s var(--ease-out);
}
.ticket:hover { transform: translateY(-6px); }
.t-photo {
    position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden;
    background: var(--ink-3);
    border: 1px solid rgba(214, 224, 255, 0.08);
    -webkit-box-reflect: below 6px linear-gradient(transparent 62%, rgba(255, 255, 255, 0.16));
    transition: border-color 0.3s, box-shadow 0.3s;
}
.ticket:hover .t-photo { border-color: rgba(125, 156, 240, 0.6); box-shadow: 0 20px 50px -20px var(--led-glow); }
.ticket:hover .t-photo img { transform: scale(1.05); }
.t-photo { background: linear-gradient(110deg, var(--ink-3) 30%, #18213f 50%, var(--ink-3) 70%) 0 0 / 220% 100%; animation: shimmer 1.6s linear infinite; }
.t-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: transform 0.7s var(--ease-out), opacity 0.5s; }
.t-photo img.is-loaded { opacity: 1; }

.t-nophoto { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(46, 91, 255, 0.25), transparent 70%); }
.t-body { display: grid; gap: 2px; padding: 0 2px; }
.t-meta { font-size: 0.82rem; font-weight: 500; color: var(--text-dim); }
.t-model { font-size: 1.08rem; font-weight: 750; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-prices { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.t-prices b { font-size: 1rem; font-weight: 700; color: var(--bone); font-variant-numeric: tabular-nums; }
.t-sub { font-size: 0.84rem; font-weight: 650; color: var(--ice); font-variant-numeric: tabular-nums; }
.ticket.is-near .t-photo { filter: saturate(0.6) brightness(0.8); }
.ticket.is-near .t-sub { color: #ffd27a; }
.fineprint { width: 100%; max-width: var(--max-w); margin: -40px auto 0; padding: 0 var(--gutter); position: relative; z-index: 1; font-size: 0.8rem; line-height: 1.5; color: #c9d3f5; }
.fineprint b { color: #ffc43d; }
.bolso:not(.is-ready) .esteira::before {
    content: ''; flex: 0 0 auto; width: 100%; height: 240px; border-radius: 16px;
    background: linear-gradient(90deg, rgba(214, 224, 255, 0.03), rgba(214, 224, 255, 0.07), rgba(214, 224, 255, 0.03));
    background-size: 200% 100%; animation: shimmer 1.4s linear infinite;
}
::view-transition-group(*) { animation-duration: 0.45s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

@media (max-width: 980px) {
    .bolso { min-height: 0; padding-top: 1.8rem; }
    .bolso-grid { grid-template-columns: 1fr; align-items: start; gap: 1.6rem; }
    .frase { max-width: none; font-size: clamp(1.9rem, 8.2vw, 3rem); }
    .deck { grid-template-columns: 1fr 1fr; }
    .deck-mode { grid-column: 1 / -1; justify-self: start; }
    .deck-range[data-for="avista"] { grid-column: 1 / -1; }
    .bolso-copy { display: contents; }
    .bolso-kicker { order: 1; margin-bottom: 0; }
    .frase { order: 2; }
    .bolso-result { order: 3; }
    .deck { order: 4; margin-top: 0; }
    .bolso-result { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: end; }
    .odometer { font-size: clamp(4.6rem, 22vw, 7rem); grid-row: span 2; }
    .res-label { margin: 0; }
    .res-near { grid-column: 1 / -1; }
    .res-actions { grid-column: 1 / -1; }
    .ticket { width: 66vw; max-width: 280px; }
}
@media (max-width: 560px) {
    .bolso-grid { gap: 1.2rem; }
    .deck { grid-template-columns: 1fr; gap: 10px; }
    .deck-range { padding: 10px 14px 8px; }
    .deck-mode { justify-self: stretch; }
    .deck-mode button { flex: 1; }
    .res-actions { margin-top: 1rem; }
    .res-actions .btn { flex: 1 1 auto; }
    .deck-segs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
    .deck-segs::-webkit-scrollbar { display: none; }
    .deck-segs button { flex-shrink: 0; }
}

/* ============================================================
   HOME — modo Reels (chamada + celular)
   ============================================================ */
.reels-band { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; overflow: hidden; background: var(--ink-2); border-block: 1px solid var(--line); }
.reels-band::before {
    content: ''; position: absolute; right: 8%; top: 50%; width: 760px; height: 760px; translate: 0 -50%;
    background: radial-gradient(circle, rgba(47, 91, 219, 0.28), transparent 62%); pointer-events: none;
}
.reels-grid {
    position: relative; display: grid;
    grid-template-columns: minmax(0, 560px) minmax(0, 480px);
    justify-content: center; align-items: center;
    gap: clamp(2.5rem, 7vw, 7.5rem);
}
.reels-copy .display { max-width: 15ch; }
.reels-copy > p { color: var(--text-soft); font-size: 1.08rem; line-height: 1.6; max-width: 46ch; margin: 1.2rem 0 1.8rem; }
.reels-steps { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--line); }
.reels-steps li { border-bottom: 1px solid var(--line); }
.rs-step {
    position: relative; width: 100%; display: flex; align-items: center; gap: 16px;
    padding: 0.95rem 1rem 0.95rem 1.1rem; background: none; border: 0; border-radius: 0;
    color: var(--text-soft); font: inherit; font-size: 0.98rem; text-align: left; cursor: pointer;
    transition: background 0.35s, color 0.35s;
}
.rs-step::before {
    content: ''; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px;
    background: var(--accent-hot); box-shadow: 0 0 14px var(--led-glow);
    transform: scaleY(0); transform-origin: 50% 0; transition: transform 0.5s var(--ease-out);
}
.rs-step b { color: #fff; font-weight: 600; }
.rs-icon { flex: none; display: inline-flex; width: 22px; height: 22px; color: var(--ice); transition: color 0.35s, transform 0.45s var(--ease-out); }
.rs-icon svg { width: 100%; height: 100%; }
.rs-step:is(.is-live, :hover, :focus-visible) { color: var(--ice); background: linear-gradient(90deg, rgba(47, 91, 219, 0.16), rgba(47, 91, 219, 0) 75%); }
.rs-step:is(.is-live, :hover, :focus-visible)::before { transform: scaleY(1); }
.rs-step:focus-visible { outline: none; }
.rs-step:is(.is-live, :hover, :focus-visible) .rs-icon { color: #fff; }
.rs-step[data-pp="swipe"]:is(.is-live, :hover, :focus-visible) .rs-icon { transform: translateY(-3px); }
.rs-step[data-pp="photo"]:is(.is-live, :hover, :focus-visible) .rs-icon { transform: translateX(3px); }
.rs-step[data-pp="heart"]:is(.is-live, :hover, :focus-visible) .rs-icon { color: #ff4d6d; transform: scale(1.15); }
.rs-step[data-pp="heart"]:is(.is-live, :hover, :focus-visible) .rs-icon svg { fill: currentColor; }
.rs-step[data-pp="wa"]:is(.is-live, :hover, :focus-visible) .rs-icon { color: #25d366; }
.reels-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; }
.reels-actions .btn { display: inline-flex; align-items: center; gap: 0.55rem; }
.reels-alt { color: var(--text-soft); font-size: 0.94rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(214, 224, 255, 0.3); }
.reels-alt:hover { color: #fff; }

.pp-wrap { position: relative; justify-self: center; width: min(330px, 78vw); rotate: -4deg; transition: rotate 0.6s var(--ease-out), translate 0.6s var(--ease-out); }
.pp-wrap:hover { rotate: 0deg; translate: 0 -6px; }
.pp-card {
    position: absolute; inset: 5% 0; border-radius: 40px; overflow: hidden; clip-path: inset(0 round 40px);
    background: var(--ink-3); border: 1px solid rgba(214, 224, 255, 0.12);
    transform-origin: 50% 100%; transition: transform 0.6s var(--ease-out);
}
.pp-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55) saturate(0.85); }
.pp-card-1 { transform: translateX(22%) rotate(8deg) scale(0.93); opacity: 0.7; }
.pp-card-2 { transform: translateX(40%) rotate(15deg) scale(0.86); opacity: 0.35; }
.pp-wrap:hover .pp-card-1 { transform: translateX(28%) rotate(10deg) scale(0.93); }
.pp-wrap:hover .pp-card-2 { transform: translateX(50%) rotate(18deg) scale(0.86); }
.phone {
    position: relative; display: block; width: 100%; aspect-ratio: 9 / 19;
    border-radius: 46px; padding: 11px;
    background: #1a2440;
    box-shadow: 0 0 0 1px rgba(214, 224, 255, 0.14), 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 120px -30px var(--led-glow);
}
.phone::before { content: ''; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #000; z-index: 5; }
.phone-screen { position: relative; display: block; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; clip-path: inset(0 round 36px); isolation: isolate; background: #000; text-align: left; }
.pp-feed { position: absolute; inset: 0; }
.pp-slide { position: absolute; inset: 0; transition: transform 0.7s cubic-bezier(.7, 0, .2, 1); }
.pp-slide.is-below { transform: translateY(100%); }
.pp-slide.is-above { transform: translateY(-100%); }
.pp-shot { position: absolute; inset: 0; opacity: 0; overflow: hidden; transition: opacity 0.5s; }
.pp-shot.is-on { opacity: 1; }
.pp-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 2.4s linear; }
.pp-shot.is-on img { transform: scale(1); }
.pp-shot i { display: none; position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(18px) brightness(0.5) saturate(1.2); }
.pp-shot.is-fit i { display: block; }
.pp-shot.is-fit img, .pp-shot.is-fit.is-on img { object-fit: contain; transform: none; }
.phone-screen::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 22%, transparent 52%, rgba(0, 0, 0, 0.88) 100%); }
.pp-top { position: absolute; top: 58px; left: 14px; right: 14px; z-index: 2; display: grid; gap: 8px; }
.pp-bars { display: flex; gap: 4px; }
.pp-bars i, .reel-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.pp-bars i b, .reel-bars i b { display: block; height: 100%; width: 0; background: #fff; }
.pp-bars i.is-done b, .reel-bars i.is-done b { width: 100%; }
.pp-bars i.is-run b { animation: bar-run 1.9s linear forwards; }
@keyframes bar-run { from { width: 0; } to { width: 100%; } }
.pp-pos { justify-self: end; font-size: 0.7rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.35); font-variant-numeric: tabular-nums; }
.pp-info { position: absolute; left: 16px; right: 74px; bottom: 24px; z-index: 2; display: grid; gap: 3px; color: #fff; }
.pp-brand { font-size: 0.76rem; color: rgba(255, 255, 255, 0.8); font-weight: 500; }
.pp-model { font-size: 1.2rem; font-weight: 700; line-height: 1.15; }
.pp-price { font-size: 0.95rem; font-weight: 700; }
.pp-price small { display: block; font-size: 0.78rem; font-weight: 600; color: var(--ice); margin-top: 1px; }
.pp-more { justify-self: start; margin-top: 8px; font-size: 0.74rem; font-weight: 600; padding: 6px 11px; border-radius: 6px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.22); }
.pp-rail { position: absolute; right: 10px; bottom: 26px; z-index: 2; display: grid; gap: 12px; justify-items: center; }
.pp-act { display: grid; justify-items: center; gap: 3px; color: #fff; }
.pp-act > span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.2); }
.pp-act svg { width: 18px; height: 18px; }
.pp-act small { font-size: 0.6rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.pp-act-heart > span { transition: color 0.25s, background 0.25s; }
.pp-act-heart.is-on > span { color: #ff4d6d; background: rgba(255, 255, 255, 0.92); }
.pp-act-heart.is-on svg { fill: currentColor; }
.pp-act.is-pop > span { animation: pp-pop 0.55s var(--ease-out); }
@keyframes pp-pop { 0% { transform: scale(1); } 35% { transform: scale(1.3); } 100% { transform: scale(1); } }
.pp-act-wa.is-pop > span { animation: pp-pop 0.55s var(--ease-out), pp-ring 1.2s ease-out; }
@keyframes pp-ring { from { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } to { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
.pp-tap {
    position: absolute; z-index: 3; right: 14%; top: 40%; width: 46px; height: 46px; margin: -23px -23px 0 0;
    border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.25);
    opacity: 0; pointer-events: none;
}
.pp-tap.is-go { animation: pp-tap 0.7s ease-out; }
@keyframes pp-tap { 0% { opacity: 0; transform: scale(0.5); } 25% { opacity: 1; transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.6); } }
.pp-burst {
    position: absolute; z-index: 3; left: 50%; top: 42%; width: 92px; height: 92px; margin: -46px 0 0 -46px;
    color: #fff; opacity: 0; pointer-events: none; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.45));
}
.pp-burst svg { width: 100%; height: 100%; fill: currentColor; }
.pp-burst.is-go { animation: pp-burst 1s var(--ease-out); }
@keyframes pp-burst { 0% { opacity: 0; transform: scale(0.3); } 25% { opacity: 1; transform: scale(1.12); } 45% { transform: scale(0.95); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1) translateY(-14px); } }
.pp-bubble {
    position: absolute; z-index: 3; right: 58px; bottom: 164px; max-width: 64%;
    padding: 8px 11px; border-radius: 12px 12px 3px 12px;
    background: #dcf8c6; color: #10291a; font-size: 0.72rem; font-weight: 600; line-height: 1.3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    opacity: 0; transform-origin: 100% 100%; pointer-events: none;
}
.pp-bubble.is-go { animation: pp-bubble 1.9s var(--ease-out); }
@keyframes pp-bubble { 0% { opacity: 0; transform: scale(0.6); } 15% { opacity: 1; transform: scale(1.04); } 25% { transform: scale(1); } 80% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1) translateY(-6px); } }
.pp-act-wa > span { background: #25d366; border-color: #25d366; }
.pp-swipe {
    position: absolute; z-index: 3; left: 50%; top: 66%; width: 34px; height: 34px; margin-left: -17px;
    border-radius: 50%; background: rgba(255, 255, 255, 0.85); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18);
    opacity: 0; pointer-events: none;
}
.pp-swipe.is-go { animation: pp-swipe 0.9s cubic-bezier(.5, 0, .3, 1); }
@keyframes pp-swipe { 0% { opacity: 0; transform: translateY(0) scale(0.8); } 20% { opacity: 1; transform: translateY(0) scale(1); } 85% { opacity: 0.9; transform: translateY(-150px) scale(1); } 100% { opacity: 0; transform: translateY(-170px) scale(0.9); } }
@media (max-width: 900px) {
    .reels-grid { grid-template-columns: 1fr; }
    .reels-band::before { right: -30%; top: 75%; }
    .pp-wrap { width: min(280px, 66vw); rotate: -3deg; margin-right: 14%; }
    .pp-card-1 { transform: translateX(20%) rotate(7deg) scale(0.93); }
    .pp-card-2 { transform: translateX(36%) rotate(13deg) scale(0.86); }
}
@media (prefers-reduced-motion: reduce) { .pp-slide, .pp-shot, .pp-shot img, .pp-wrap, .pp-card, .rs-step::before, .rs-icon { transition: none; } }

/* ============================================================
   HOME — para todos os gostos
   ============================================================ */
.gostos { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 1rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head-row .display { margin-top: 0.8rem; max-width: 16ch; }
.section-link { color: var(--bone); text-decoration-color: rgba(214, 224, 255, 0.3); }
.section-link:hover { color: var(--ice); }
.gosto-list { border-top: 1px solid rgba(214, 224, 255, 0.1); }
.gosto-list li { border-bottom: 1px solid rgba(214, 224, 255, 0.1); }
.gosto {
    position: relative;
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) auto;
    align-items: center; gap: 1.2rem;
    padding: clamp(1.1rem, 2.4vw, 1.7rem) 0.4rem;
    transition: padding 0.4s var(--ease-out), background 0.3s;
}
.gosto::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(47, 91, 219, 0.16), transparent 70%); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.gosto:hover::before { opacity: 1; }
.gosto:hover { padding-left: 1.4rem; }
.g-n { font-size: 0.8rem; font-weight: 650; color: var(--text-mute); font-variant-numeric: tabular-nums; }
.g-title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 650; letter-spacing: -0.015em; line-height: 1.1; color: #fff; }
.gosto:hover .g-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; text-decoration-color: var(--accent); }
.g-note { color: var(--text-dim); font-size: 0.92rem; max-width: 36ch; }
.g-stats { display: grid; justify-items: end; gap: 2px; text-align: right; white-space: nowrap; }
.g-stats b { color: #fff; font-weight: 700; }
.g-stats span { color: var(--text-soft); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.g-thumb { display: none; }
.g-arrow { justify-self: end; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(214, 224, 255, 0.15); color: #fff; transition: all 0.3s var(--ease-out); }
.gosto:hover .g-arrow { background: var(--accent); border-color: var(--accent); transform: rotate(-35deg); box-shadow: 0 0 24px var(--led-glow); }
@media (max-width: 900px) {
    .gosto { grid-template-columns: minmax(0, 1fr) auto; gap: 0.3rem 1rem; padding: 1.1rem 0; }
    .gosto:hover { padding-left: 0; }
    .g-n, .g-arrow { display: none; }
    .g-note { grid-column: 1; grid-row: 2; font-size: 0.86rem; }
    .g-stats { grid-column: 1; grid-row: 3; justify-items: start; text-align: left; display: flex; gap: 10px; margin-top: 4px; }
    .g-thumb { display: block; grid-column: 2; grid-row: 1 / span 3; width: 96px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--ink-3); }
    .g-thumb img { width: 100%; height: 100%; object-fit: cover; }
}

/* ============================================================
   HOME — serviços
   ============================================================ */
.servicos { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--sheet); color: var(--sheet-ink); }
.servicos .display { color: var(--sheet-ink); max-width: 22ch; }
.serv-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--sheet-ink); }
.serv {
    display: flex; flex-direction: column; gap: 0.6rem;
    padding: 1.4rem 1.4rem 1.6rem 0;
    color: var(--sheet-ink);
}
.serv + .serv { padding-left: 1.4rem; border-left: 1px solid var(--sheet-line); }
.serv h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; color: var(--sheet-ink); }
.serv p { color: var(--sheet-soft); font-size: 0.94rem; line-height: 1.55; }
.serv-go { margin-top: auto; padding-top: 0.6rem; font-weight: 600; color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.serv:hover .serv-go { text-decoration-thickness: 2px; }
@media (max-width: 1100px) {
    .serv-grid { grid-template-columns: 1fr; }
    .serv, .serv + .serv { display: grid; grid-template-columns: 180px minmax(0, 1fr) 200px; align-items: baseline; gap: 0.4rem 1.6rem; padding: 1.3rem 0; border-left: 0; border-bottom: 1px solid var(--sheet-line); }
    .serv-go { margin: 0; padding: 0; justify-self: end; }
}
@media (max-width: 640px) {
    .serv, .serv + .serv { grid-template-columns: 1fr; }
    .serv-go { justify-self: start; padding-top: 0.3rem; }
}

/* ============================================================
   HOME — a loja nova (teto de hexágonos + contagem)
   ============================================================ */
.loja-nova { position: relative; padding: 0 0 clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.ceiling { position: relative; height: clamp(150px, 22vw, 260px); color: rgba(150, 178, 255, 0.85); -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent); mask-image: linear-gradient(180deg, #000 20%, transparent); perspective: 600px; }
.ceiling-hex { width: 100%; height: 100%; transform: rotateX(48deg) scale(1.4); transform-origin: 50% 0; filter: drop-shadow(0 0 6px rgba(120, 150, 255, 0.9)) drop-shadow(0 0 22px rgba(61, 107, 255, 0.7)); }
.ceiling-hex use { opacity: 0.3; animation: hex-on 4.5s ease-in-out infinite; animation-delay: var(--d); }
@keyframes hex-on { 0%, 100% { opacity: 0.25; } 45% { opacity: 1; } }
.loja-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 25vw, 330px); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; margin-top: -2rem; position: relative; }
.loja-main { display: grid; gap: clamp(1.8rem, 3vw, 2.6rem); min-width: 0; }
.loja-copy .display { margin: 0 0 1.1rem; max-width: 20ch; }
.loja-copy > p { color: var(--text-soft); font-size: 1.05rem; max-width: 56ch; }
.loja-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8rem; }
.loja-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem 1.6rem; padding: 1.4rem 1.5rem; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--line); }
.loja-facts dt { font-size: 0.86rem; color: var(--text-dim); font-weight: 500; margin-bottom: 2px; }
.loja-facts dd { color: #fff; font-weight: 550; line-height: 1.45; }
.loja-facts a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(214, 224, 255, 0.3); }
.loja-media {
    position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; clip-path: inset(0 round 18px);
    background: #050a18; box-shadow: 0 0 0 1px var(--line), 0 34px 80px -34px rgba(0, 0, 0, 0.95), 0 0 110px -36px var(--led-glow);
    scroll-margin-top: calc(var(--nav-h) + 24px);
}
.loja-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #050a18; }
.loja-media-link {
    position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px;
    padding: 2.6rem 1rem 1rem; color: #fff; font-size: 0.9rem; font-weight: 600;
    background: linear-gradient(180deg, rgba(5, 10, 24, 0), rgba(5, 10, 24, 0.9));
}
.loja-media-link svg { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--accent); transition: background 0.2s; }
.loja-media-link:hover svg { background: var(--accent-deep); }
.loja-play {
    position: absolute; inset: 0; display: none; align-content: center; justify-items: center; gap: 12px;
    color: #fff; font-size: 0.92rem; font-weight: 600; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
    background: linear-gradient(180deg, rgba(5, 10, 24, 0.15), rgba(5, 10, 24, 0.55));
}
.loja-play svg { width: 68px; height: 68px; padding: 19px 17px 19px 21px; border-radius: 50%; background: var(--accent); box-shadow: 0 12px 36px -8px var(--led-glow); transition: transform 0.2s var(--ease-out), background 0.2s; }
.loja-play:hover svg { transform: scale(1.06); background: var(--accent-deep); }
.loja-media-film.has-play:not(.is-playing) .loja-play { display: grid; }
.loja-foto { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.fachada { margin: 0; }
.fachada img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 62%; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.fachada figcaption { margin-top: 0.8rem; font-size: 0.88rem; color: var(--text-dim); }
@media (max-width: 1100px) { .loja-facts { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
    .loja-grid { grid-template-columns: 300px minmax(0, 1fr); align-items: start; margin-top: 0; gap: 2rem 1.6rem; }
    .loja-main { display: contents; }
    .loja-copy { order: 1; grid-column: 1 / -1; }
    .loja-media { order: 2; }
    .loja-facts { order: 3; }
    .fachada img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
    .loja-grid { grid-template-columns: minmax(0, 1fr); }
    .loja-media { aspect-ratio: 4 / 5; }
    .loja-media-film { aspect-ratio: 9 / 16; width: min(100%, 380px); margin-inline: auto; }
}

/* ============================================================
   HOME — Instagram
   ============================================================ */
.ig-band { padding: clamp(2.5rem, 5vw, 3.5rem) 0; background: var(--ink-2); border-block: 1px solid var(--line); }
.ig-grid { display: block; }
.ig-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.4rem 2rem; align-items: center; }
.ig-copy h2 { max-width: 30ch; }
.ig-copy p { grid-column: 1; margin: 0 !important; }
.ig-copy .btn { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 760px) { .ig-copy { grid-template-columns: 1fr; } .ig-copy .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 0.8rem; } }
.ig-num { font-family: var(--font-display); font-size: clamp(4.2rem, 12vw, 10.5rem); font-weight: 900; font-stretch: var(--wide); letter-spacing: -0.05em; line-height: 0.85; font-variant-numeric: tabular-nums; color: transparent; -webkit-text-stroke: 2px rgba(169, 193, 255, 0.85); text-shadow: 0 0 60px rgba(46, 91, 255, 0.35); }
.ig-copy p { color: var(--text-soft); margin: 1rem 0 1.5rem; max-width: 50ch; }
@media (max-width: 900px) { .ig-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-band { background: var(--sheet); color: var(--sheet-ink); }
.faq-band .display-sm { color: var(--sheet-ink); }
.faq-intro p { color: var(--sheet-soft); margin: 0.8rem 0 1.4rem; }
.faq-band .faq details { border-color: var(--sheet-line); background: transparent; }
.faq-band .faq summary { font-weight: 600; color: var(--sheet-ink); }
.faq-band .faq summary::after { color: var(--accent-deep); }
.faq-band .faq p { color: var(--sheet-soft); }
.faq-band .faq p a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Cards do estoque: parcela, coração da garagem
   ============================================================ */
.car-cell { position: relative; display: flex; flex-direction: column; min-width: 0; }
.car-cell > .car-card { flex: 1; }
.car-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.car-card { transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.car-card:is(:hover, :focus-visible) { border-color: rgba(125, 157, 255, 0.6); box-shadow: 0 0 0 1px rgba(47, 91, 219, 0.25), 0 20px 44px -28px rgba(47, 91, 219, 0.7); transform: none; }
.car-card:focus-visible { outline: none; }
.car-card .card-carousel img { transition: opacity 0.3s var(--ease), transform 0.7s var(--ease-out); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .car-card:hover .img-wrapper:not(.is-placeholder) .card-carousel img.active { transform: scale(1.05); }
}
.card-model { font-weight: 650; }
.card-brand { color: var(--text-dim); font-weight: 650; }
.card-prices { display: grid; gap: 1px; }
.card-price { font-weight: 750; color: #fff; }
.card-monthly { font-size: 0.86rem; font-weight: 650; color: var(--ice); font-variant-numeric: tabular-nums; }
.card-monthly small { font-size: 0.78rem; font-weight: 550; color: var(--text-dim); margin-left: 1px; }
.card-cta { color: var(--text-soft); }
.card-chip-new { background: var(--accent); border-color: var(--accent); color: #fff; }
.heart-btn {
    position: absolute; top: 12px; right: 12px; z-index: 4;
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; background: rgba(11, 23, 51, 0.6); border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s;
}
.heart-btn svg { width: 19px; height: 19px; transition: fill 0.2s; }
.heart-btn:hover { transform: scale(1.08); background: rgba(4, 6, 13, 0.8); }
.heart-btn.is-saved { color: #ff4d6d; }
.heart-btn.is-saved svg { fill: currentColor; animation: heart-pop 0.4s var(--ease-out); }
@keyframes heart-pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.car-cell .card-chips { right: 60px; }

/* ============================================================
   Garagem (gaveta)
   ============================================================ */
html.garage-open, html.reels-open { overflow: hidden; }
.garage { position: fixed; inset: 0; z-index: 1300; }
.garage-scrim { position: absolute; inset: 0; background: rgba(2, 3, 8, 0.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.26s; }
.garage-panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%);
    display: flex; flex-direction: column;
    background: var(--ink);
    border-left: 1px solid rgba(214, 224, 255, 0.1);
    box-shadow: -40px 0 80px -30px rgba(0, 0, 0, 0.8);
    transform: translateX(100%); transition: transform 0.36s var(--ease-out);
}
.garage.is-on .garage-scrim { opacity: 1; }
.garage.is-on .garage-panel { transform: none; }
.garage[data-view="comparar"] .garage-panel { width: min(940px, 100%); transition: transform 0.36s var(--ease-out), width 0.36s var(--ease-out); }
.garage-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.4rem 1rem; }
.garage-head h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.015em; margin-top: 6px; }
.garage-tabs { display: flex; gap: 6px; padding: 0 1.4rem 1rem; }
.garage-tabs[hidden] { display: none; }
.garage-tabs button { padding: 8px 16px; border-radius: 6px; font-weight: 650; font-size: 0.88rem; color: var(--text-soft); border: 1px solid rgba(214, 224, 255, 0.12); }
.garage-tabs button[aria-selected="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.garage-body { flex: 1; overflow: auto; padding: 0 1.4rem 1.4rem; }
.garage-foot { display: grid; gap: 8px; padding: 1rem 1.4rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(214, 224, 255, 0.08); background: rgba(4, 6, 13, 0.9); }
.garage-foot[hidden] { display: none; }
.garage-foot .btn { width: 100%; }
.garage-list { display: grid; gap: 10px; }
.g-item { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border-radius: 10px; background: rgba(214, 224, 255, 0.04); border: 1px solid rgba(214, 224, 255, 0.07); }
.g-item .g-thumb { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--ink-3); }
.g-item .g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-info { display: grid; gap: 2px; min-width: 0; }
.g-info b { color: #fff; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-meta { font-size: 0.82rem; color: var(--text-dim); font-weight: 500; }
.g-price { color: var(--bone); font-weight: 650; font-size: 0.94rem; }
.g-price small { color: var(--ice); font-weight: 600; margin-left: 4px; }
.g-item.is-gone { opacity: 0.6; }
.g-item.is-gone span { font-size: 0.85rem; color: var(--text-dim); }
.garage-empty { display: grid; justify-items: center; text-align: center; gap: 0.8rem; padding: 3rem 1rem; }
.garage-empty-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(46, 91, 255, 0.14); color: var(--ice); }
.garage-empty-icon svg { width: 28px; height: 28px; }
.garage-empty h3 { font-size: 1.3rem; }
.garage-empty p { color: var(--text-soft); max-width: 38ch; margin-bottom: 0.6rem; }
.cmp-scroll { overflow-x: auto; margin: 0 -1.4rem; padding: 0 1.4rem; }
.cmp { border-collapse: separate; border-spacing: 0; min-width: 100%; font-size: 0.9rem; }
.cmp th, .cmp td { padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(214, 224, 255, 0.07); vertical-align: top; }
.cmp thead th { min-width: 150px; border-bottom: 0; padding-bottom: 14px; }
.cmp tbody th { position: sticky; left: -1.4rem; background: var(--ink); color: var(--text-dim); font-weight: 500; font-size: 0.86rem; white-space: nowrap; z-index: 1; }
.cmp td { color: var(--text); font-variant-numeric: tabular-nums; }
.cmp td.is-best { color: #fff; font-weight: 700; }
.cmp td.is-best::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--led-glow); margin-right: 7px; vertical-align: middle; }
.cmp-car { display: grid; gap: 8px; color: #fff; font-weight: 700; }
.cmp-car img, .cmp-noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--ink-3); display: block; }
.cmp-note { margin-top: 1rem; font-size: 0.8rem; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.dot-best { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--led-glow); }
.garage-toast {
    position: fixed; z-index: 1250; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom));
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-radius: 8px;
    background: var(--ink-2); border: 1px solid var(--line); color: #fff; font-size: 0.9rem; font-weight: 600;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
    transform: translate(-50%, 140%); opacity: 0; transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.garage-toast svg { width: 17px; height: 17px; color: #ff4d6d; fill: currentColor; }
.garage-toast b { padding: 5px 12px; border-radius: 5px; background: var(--accent); font-size: 0.82rem; }
.garage-toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ============================================================
   Modo Reels
   ============================================================ */
.reels { position: fixed; inset: 0; z-index: 1400; background: #000; color: #fff; opacity: 0; transition: opacity 0.28s; }
.reels.is-on { opacity: 1; }
.reels-top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(12px + env(safe-area-inset-top)) 16px 12px; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent); }
.reels-top > * { pointer-events: auto; }
.reels-pos { position: absolute; top: calc(78px + env(safe-area-inset-top)); right: 16px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.35); font-size: 0.76rem; font-weight: 650; line-height: 1.4; color: rgba(255, 255, 255, 0.85); font-variant-numeric: tabular-nums; }
.reels-pos:empty { display: none; }
.reels-close { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.2); }
.reels-feed { position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.reels-feed::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.reel-media { position: absolute; inset: 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.reel-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(34px) brightness(0.55) saturate(1.2); }
.reel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.35s; }
.reel-img.is-loaded { opacity: 1; }
.reel::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85) 100%); }
.reel-tap { position: absolute; top: 12%; bottom: 30%; z-index: 2; background: transparent; }
.reel-tap-prev { left: 0; width: 32%; }
.reel-tap-next { right: 0; width: 68%; }
.reel-bars { position: absolute; z-index: 4; top: calc(64px + env(safe-area-inset-top)); left: 16px; right: 16px; display: flex; gap: 4px; }
.reel-bars i.is-now b { width: 6%; }
.reel-bars i.is-run b { animation: bar-run var(--photo-ms, 3800ms) linear forwards; }
.reels.is-paused .reel-bars i.is-run b { animation-play-state: paused; }
.reel-info { position: absolute; z-index: 3; left: 16px; right: 92px; bottom: calc(26px + env(safe-area-inset-bottom)); display: grid; gap: 4px; }
.reel-meta { font-size: 0.86rem; color: rgba(255, 255, 255, 0.8); font-weight: 500; }
.reel-model { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: #fff; }
.reel-version { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.reel-prices { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.reel-prices b { font-size: 1.4rem; font-weight: 800; }
.reel-prices span { color: var(--ice); font-weight: 650; }
.reel-more { margin-top: 8px; justify-self: start; font-weight: 600; font-size: 0.92rem; padding: 9px 16px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.2); }
.reel-rail { position: absolute; z-index: 4; right: 12px; bottom: calc(30px + env(safe-area-inset-bottom)); display: grid; gap: 14px; justify-items: center; }
.rail-btn { position: static; display: grid; justify-items: center; gap: 4px; width: auto; height: auto; border: 0; background: none; backdrop-filter: none; color: #fff; font-size: 0.68rem; font-weight: 650; }
.rail-btn svg { width: 50px; height: 50px; padding: 13px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-sizing: border-box; }
.rail-btn:hover { transform: none; background: none; }
.rail-btn:hover svg { background: rgba(255, 255, 255, 0.24); }
.rail-wa svg { background: #25d366; border-color: #25d366; color: #fff; }
.rail-btn.heart-btn.is-saved svg { color: #ff4d6d; fill: #ff4d6d; background: rgba(255, 77, 109, 0.18); }
.reels-nav { display: none; }
.reels-hint { position: absolute; z-index: 6; left: 50%; bottom: 40%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.4s, transform 0.4s var(--ease-out); }
.reels-hint span { display: inline-block; padding: 10px 18px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); font-weight: 650; font-size: 0.9rem; }
.reels-hint.is-on { opacity: 1; transform: translate(-50%, 0); animation: hint-nudge 1.2s ease-in-out 2; }
@keyframes hint-nudge { 50% { transform: translate(-50%, -14px); } }
.reels-flash { position: absolute; z-index: 7; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 12px 20px; border-radius: 14px; background: rgba(0, 0, 0, 0.75); font-weight: 650; opacity: 0; pointer-events: none; }
.reels-flash.is-on { animation: flash 1.6s ease forwards; }
@keyframes flash { 10%, 75% { opacity: 1; } 100% { opacity: 0; } }
@media (min-width: 900px) {
    .reels { --vw: min(calc(100dvh * 9 / 16), 520px); --rail: 96px; background: #070d1d; }
    .reels-feed { left: 50%; right: auto; width: calc(var(--vw) + var(--rail)); transform: translateX(calc(-50% + var(--rail) / 2)); }
    .reel-media, .reel::after { right: var(--rail); }
    .reel-bars { right: calc(var(--rail) + 16px); }
    .reels-pos { right: calc(50% - var(--vw) / 2 + 16px); }
    .reel-info { right: calc(var(--rail) + 16px); }
    .reel-rail { right: 14px; }
    .reel-media { overflow: hidden; border-radius: 0; }
    .reels-nav { display: grid; gap: 10px; position: absolute; z-index: 5; right: 28px; top: 50%; transform: translateY(-50%); }
    .reels-nav button { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
    .reels-nav button svg { width: 22px; height: 22px; transform: rotate(90deg); }
    .reels-nav button:hover { background: var(--accent); border-color: var(--accent); }
}

/* ---------- page heads ---------- */
.page-head { background: var(--ink); border-bottom-color: var(--line); }
.float-wa { box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.6); }
html.reels-open .float-wa, html.garage-open .float-wa { display: none; }
.chip-accent { background: rgba(255, 255, 255, 0.06); border-color: var(--line); color: var(--text); }
.skeleton-box { background: linear-gradient(90deg, var(--ink-2) 0%, var(--ink-3) 40%, var(--ink-2) 80%); background-size: 240% 100%; animation: shimmer 1.6s linear infinite; }

/* ---------- estoque de demonstração (só em localhost) ---------- */
html.is-demo-stock body::after {
    content: 'Estoque de demonstração · só em localhost';
    position: fixed; left: 12px; bottom: 12px; z-index: 2000; pointer-events: none;
    padding: 6px 10px; border-radius: 8px; background: #ffd27a; color: #2a1d00; font-size: 0.72rem; font-weight: 700;
}
.nw { white-space: nowrap; }

/* ---------- estoque: barra "cabe no bolso" ---------- */
.bolso-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; margin-bottom: 14px; padding: 12px 14px 12px 16px; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--line); }
.bolso-bar.is-on { border-color: var(--accent); }
.bb-toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.bb-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.bb-switch { position: relative; width: 44px; height: 26px; border-radius: 999px; background: rgba(214, 224, 255, 0.16); transition: background 0.2s; flex-shrink: 0; }
.bb-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.25s var(--ease-out); }
.bb-toggle input:checked + .bb-switch { background: var(--accent); box-shadow: 0 0 16px var(--led-glow); }
.bb-toggle input:checked + .bb-switch::after { transform: translateX(18px); }
.bb-toggle input:focus-visible + .bb-switch { outline: 2px solid var(--accent-hot); outline-offset: 3px; }
.bb-text { display: grid; line-height: 1.3; }
.bb-text b { color: #fff; font-weight: 700; }
.bb-text span { color: var(--ice); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.bb-actions { display: flex; align-items: center; gap: 14px; }
.bb-edit { font-size: 0.88rem; font-weight: 650; color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; }
.bb-edit:hover { color: #fff; }

.about-split-text { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: start; }
.about-split-text > .check-list { margin-top: 0; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line, rgba(169,193,255,.12)); border-radius: 10px; background: var(--ink-2); }
@media (max-width: 900px) { .about-split-text { grid-template-columns: 1fr; } }

.veiculo-media { position: relative; }
.veiculo-heart { top: 16px; right: 16px; width: 46px; height: 46px; }
.veiculo-reels { margin-top: 0.6rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.veiculo-reels svg { width: 18px; height: 18px; }
.vsim {
    margin: 1.1rem 0 1.3rem; padding: 1.1rem 1.15rem 1rem;
    border: 1px solid var(--line); border-radius: 10px;
    background: var(--ink-2);
    display: grid; gap: 0.65rem;
}
.vsim-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.vsim-kicker { font-size: 1rem; color: #fff; font-weight: 650; }
.vsim-pmt { font-size: clamp(1.5rem, 2.6vw, 1.8rem); font-weight: 700; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.vsim-pmt small { font-size: 0.82rem; font-weight: 500; font-stretch: 100%; color: var(--text-soft); margin-left: 0.3rem; text-shadow: none; letter-spacing: 0; }
.vsim-row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-soft); }
.vsim-row b { color: #fff; font-variant-numeric: tabular-nums; }
.vsim-terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)); gap: 0.4rem; }
.vsim-terms button {
    padding: 0.55rem 0; border-radius: 6px; font: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer;
    color: var(--text-soft); background: rgba(214, 224, 255, 0.06); border: 1px solid rgba(214, 224, 255, 0.12);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.vsim-terms button[aria-checked="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.vsim-fit { margin: 0; font-size: 0.86rem; color: #ffb4a8; }
.vsim-fit.is-ok { color: #7ef0b0; }
.sim-notice {
    display: flex; gap: 0.7rem; align-items: flex-start;
    padding: 0.8rem 0.9rem; border-radius: 12px;
    background: rgba(255, 196, 61, 0.08); border: 1px solid rgba(255, 196, 61, 0.35);
}
.sim-notice-icon { flex: none; color: #ffc43d; display: inline-flex; margin-top: 1px; }
.sim-notice-icon svg { width: 18px; height: 18px; }
.sim-notice p { margin: 0; font-size: 0.8rem; line-height: 1.45; color: #e6ebff; }
.sim-notice b { color: #ffc43d; }

.eyebrow, .card-brand, .no-photo-label, .filter-active-count, .hero-kicker, .visit-facts dt,
.coming-label, .pillar-num, .gallery figcaption, .brand-badge-sub, .legal-toc h2, .legal-table th { text-transform: none; letter-spacing: 0; }
.card-brand { font-size: 0.84rem; }
.pillar-num { font-weight: 650; }

.hexname {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    display: flex; align-items: flex-end; justify-content: flex-end;
    overflow: hidden;
}
.hexname span {
    font-family: var(--font-display); font-weight: 900; font-stretch: 125%;
    font-size: clamp(3.6rem, 9vw, 8.5rem); line-height: 0.74; letter-spacing: -0.02em;
    color: transparent; -webkit-text-stroke: 1.5px rgba(125, 157, 255, 0.11);
    white-space: nowrap; transform: translate(0.03em, 0.24em);
    padding-right: max(var(--gutter), calc((100vw - var(--max-w)) / 2));
}
.hexlight .hexname { z-index: 0; }
.hexlight .hexname span { -webkit-text-stroke: 2px rgba(150, 178, 255, 1); }
.page-head.has-hexlight, .error-shell.has-hexlight { padding-bottom: clamp(4.2rem, 8vw, 7rem); }
@media (max-width: 700px) {
    .hexname { justify-content: center; }
    .hexname span { font-size: 16vw; padding-right: 0; transform: translateY(0.24em); }
}

/* ---------- página do veículo: barra fixa de interesse (celular e tablet) ---------- */
.vbar { display: none; }
@media (max-width: 1100px) {
    body:has(.vbar) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .vbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
        display: flex; align-items: center; justify-content: space-between; gap: 14px;
        padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
        background: rgba(11, 23, 51, 0.94); border-top: 1px solid var(--line);
        -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
        box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, 0.8);
        transform: translateY(110%); transition: transform 0.35s var(--ease-out);
    }
    .vbar.is-on { transform: none; }
    .vbar-info { display: grid; min-width: 0; line-height: 1.25; }
    .vbar-info b { font-size: 1.08rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
    .vbar-info span { font-size: 0.8rem; color: var(--ice); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .vbar .btn { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; }
    .vbar .btn svg { width: 18px; height: 18px; }
    html.vbar-on body:not(:has(.ck-banner.is-in)) .float-wa { transform: scale(0.6); opacity: 0; pointer-events: none; }
    .float-wa { transition: transform 0.25s var(--ease-out), opacity 0.25s; }
    body:has(.ck-banner.is-in) .vbar { display: none; }
    html.reels-open .vbar, html.garage-open .vbar { display: none; }
}
@media (prefers-reduced-motion: reduce) { .vbar { transition: none; } }
