@font-face {
    font-family: Inter;
    src: url('fonts/inter.woff2') format('woff2');
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('fonts/barlow-condensed-700.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

:root {
    --ink: #171613;
    --muted: #61605a;
    --paper: #f5f4ef;
    --surface: #fff;
    --line: #e3e0d7;
    --solid-line: #c7c2b5;
    --gold: #f5c641;
    --gold-hover: #e7b532;
    --black: #101010;
    --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 2px solid #956400;
    outline-offset: 3px;
}
h1, h2, h3, p { margin: 0; }
.shell { width: min(1300px, calc(100% - 80px)); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: middle; }
.sr-only, .skip:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: white;
    padding: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    border: 1px solid transparent;
    border-radius: 6px;
    min-height: 44px;
    padding: 10px 16px;
    font-size: .875rem;
    font-weight: 750;
    line-height: 1.25;
    transition: background-color .16s ease, border-color .16s ease;
}
.gold { background: var(--gold); color: #17130a; }
.gold:hover { background: var(--gold-hover); }
.subtle { border-color: var(--line); background: #fff; color: var(--ink); }
.subtle:hover { border-color: var(--solid-line); background: var(--paper); }
.whatsapp { background: #185c42; color: white; }
.whatsapp:hover { background: #0d4932; }
.whatsapp .icon { width: 19px; height: 19px; }
.contact-float {
    position: fixed;
    z-index: 4;
    right: clamp(12px, 3vw, 32px);
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    min-height: 50px;
    padding-inline: 16px;
    border: 1px solid #61b88c;
    border-radius: 30px;
    box-shadow: 0 5px 22px #09281f44;
}
.contact-float .icon { width: 23px; height: 23px; }
.contact-float[hidden] { display: none; }

.site-header { background: #0c0c0c; color: white; border-bottom: 1px solid #2d2921; }
.header-top {
    padding-block: 7px;
    border-bottom: 1px solid #2d2921;
    background: #191611;
    color: #e7ddca;
    text-align: center;
    font-size: .75rem;
    line-height: 1.4;
}
.header-hours { display: flex; justify-content: center; align-items: center; gap: 6px; }
.header-hours strong, .header-hours .icon { color: var(--gold); }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: 142px; height: auto; aspect-ratio: 288 / 107; }
.header-inner nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 35px); }
.header-inner nav > a:not(.button) { font-size: .875rem; font-weight: 650; padding-block: 10px; }
.header-inner nav > a:not(.button):hover { color: var(--gold); }
.public-header .header-inner nav > a[aria-current] { color: var(--gold); }
.public-header .header-inner nav a { white-space: nowrap; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #f4ead7; font-size: .85rem; font-weight: 650; white-space: nowrap; }
.header-phone .icon { color: var(--gold); }
.header-phone:hover { color: var(--gold); }

.hero { background: #0b0907; border-bottom: 2px solid #bc8b35; }
.hero-stage { height: min(33.333vw, 500px); }
.hero-slide {
    width: min(100%, 1500px);
    height: 100%;
    margin: auto;
    position: relative;
    overflow: hidden;
}
.hero-panorama { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-panorama img { width: 100%; height: 100%; object-fit: cover; }
.hero-welcome-mobile { display: none; }
.hero-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 46px;
    visibility: hidden;
    background: #0e0c0a;
}
.hero-controls.is-ready { visibility: visible; }
.hero-controls button {
    display: grid;
    place-items: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #f9edd1;
}
.hero-controls button:hover { color: var(--gold); background: #302618; }
.hero-controls .hero-indicator { min-width: 28px; }
.hero-indicator > span { width: 8px; height: 8px; background: #978970; border-radius: 99px; }
.hero-indicator[aria-pressed="true"] > span { width: 17px; background: var(--gold); }
.hero-slide-enter { animation: reveal-banner .22s ease-out; }
@keyframes reveal-banner { from { opacity: .72; } to { opacity: 1; } }

.stock { padding-block: 38px 64px; }
.stock-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.45rem, 5vw, 3.75rem); line-height: .98; letter-spacing: -.008em; }
.stock-heading h1 { text-transform: uppercase; }
.stock-heading p { margin-top: 11px; color: var(--muted); font-size: .875rem; }
.sort { display: flex; align-items: center; gap: 9px; }
.sort label { font-size: .78rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.sort select { min-width: 150px; }

.catalog { display: grid; grid-template-columns: minmax(218px, 268px) minmax(0, 1fr); gap: 24px; align-items: start; }
.sidebar { min-width: 0; }
.sidebar form { display: grid; gap: 12px; }
.filter-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.filter-panel summary {
    display: flex;
    align-items: center;
    gap: 9px;
    list-style: none;
    padding: 13px 15px;
    min-height: 46px;
    cursor: pointer;
    font-size: .79rem;
    text-transform: uppercase;
    font-weight: 760;
    letter-spacing: .055em;
    background: #faf9f5;
    border-radius: 8px;
}
.filter-panel summary::-webkit-details-marker { display: none; }
.filter-panel[open] summary { border-radius: 8px 8px 0 0; border-bottom: 1px solid var(--line); }
.filter-panel summary .icon:last-child { margin-left: auto; }
.filter-panel[open] summary .icon:last-child { transform: rotate(180deg); }
.filter-panel-body { padding: 13px; }
.filter-fields { display: grid; gap: 13px; }
.field { display: grid; gap: 6px; min-width: 0; font-size: .81rem; font-weight: 650; }
input:not([type=checkbox]), select, textarea {
    font-size: .85rem;
    font-weight: 500;
    color: var(--ink);
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding: 9px 10px;
    border: 1px solid var(--solid-line);
    background: white;
    border-radius: 6px;
}
textarea { resize: vertical; }
input::placeholder { color: #6e6b63; }
.search-control { display: flex; }
.search-control input { border-radius: 6px 0 0 6px; }
.search-control button {
    width: 43px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 0 6px 6px 0;
    background: var(--gold);
    color: var(--ink);
}
.search-control button:hover { background: var(--gold-hover); }
.range { padding: 0; margin: 0; border: 0; min-width: 0; }
.range legend { padding: 0; margin-bottom: 6px; font-size: .81rem; font-weight: 650; }
.range > div { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; }
.range select { font-size: .73rem; padding-left: 6px; padding-right: 0; }
.reset { justify-self: center; margin-top: -3px; padding: 7px 5px 3px; font-size: .76rem; color: var(--muted); }
.reset:hover { text-decoration: underline; }

.vehicle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.vehicle-card {
    border: 1px solid var(--line);
    border-radius: 9px;
    overflow: hidden;
    background: white;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px #3627080a;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.vehicle-card:hover { border-color: #c6b076; box-shadow: 0 7px 20px #36270816; }
.vehicle-photo, .detail-image { display: block; position: relative; aspect-ratio: 3 / 2; background: #e6e3db; }
.vehicle-photo:focus-visible { outline-offset: -4px; }
.vehicle-photo img, .detail-image img, .table-photo img { width: 100%; height: 100%; object-fit: cover; }
.demo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 4px;
    padding: 5px 7px;
    color: #fff;
    background: #171713e3;
    font-weight: 650;
    font-size: .69rem;
}
.no-photo { display: grid; place-content: center; justify-items: center; width: 100%; height: 100%; gap: 7px; color: var(--muted); font-size: .75rem; }
.no-photo .icon { width: 28px; height: 28px; }
.vehicle-body { display: flex; flex: 1; flex-direction: column; padding: 13px 14px 12px; }
.vehicle-body h2 { font-size: clamp(1.02rem, 1.48vw, 1.22rem); letter-spacing: -.035em; line-height: 1.2; overflow-wrap: anywhere; }
.vehicle-body h2 a { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.vehicle-body h2 .icon { color: #866317; }
.vehicle-body h2 a:hover { text-decoration: underline; }
.version { font-size: .82rem; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.vehicle-specs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 11px;
    margin: auto 0 0;
    padding: 14px 0 12px;
    list-style: none;
    color: #5d5a51;
    font-size: .69rem;
    font-weight: 550;
}
.vehicle-specs li { display: flex; align-items: center; gap: 4px; }
.vehicle-specs .icon { width: 14px; height: 14px; color: #7c6b3e; }
.vehicle-prices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 6px; margin: 0; }
.vehicle-prices > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    padding: 8px;
    border-radius: 6px;
}
.vehicle-prices dt { font-size: .68rem; font-weight: 750; line-height: 1.2; }
.vehicle-prices dd { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; overflow-wrap: anywhere; }
.price-fipe { background: #eeece6; color: #514d43; }
.price-fipe dd { font-size: clamp(1.1rem, 1.6vw, 1.45rem); }
.price-repasse { background: var(--gold); color: #1a1508; }
.price-repasse dd { font-size: clamp(1.2rem, 1.9vw, 1.75rem); }
.price-fipe dd.price-unlisted { font: 500 .75rem/1.35 Inter, Arial, sans-serif; }
.empty { background: white; border: 1px solid var(--line); border-radius: 8px; text-align: center; padding: 45px 16px; }
.empty > .icon { color: #82611e; width: 36px; height: 36px; margin-bottom: 12px; }
.empty p { margin: 10px 0 18px; color: var(--muted); font-size: .86rem; }

.detail { padding-block: 32px 65px; min-height: 65vh; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: .875rem; font-weight: 700; }
.back-link:hover { text-decoration: underline; }
.detail-grid { display: grid; grid-template-columns: 1.35fr 1fr; align-items: start; gap: 26px; }
.vehicle-gallery { min-width: 0; }
.detail-image { overflow: hidden; border-radius: 10px; }
.detail-image img { object-fit: contain; background: #eeebe3; }
.gallery-viewer { width: 100%; height: 100%; display: grid; place-items: center; background: #161514; }
.gallery-viewer video, .gallery-viewer iframe { display: block; width: 100%; height: 100%; border: 0; }
.gallery-viewer video { object-fit: contain; }
.youtube-trigger { display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 6px; background: #ad2424; color: white; font-weight: 700; }
.youtube-trigger:hover { background: #852121; }
.gallery-youtube-link { position: absolute; top: 9px; right: 9px; padding: 6px 8px; border-radius: 4px; background: #171613e8; color: white; font-size: .75rem; }
.gallery-youtube-link:hover { text-decoration: underline; }
.gallery-status { position: absolute; bottom: 12px; left: 12px; right: 12px; justify-self: center; padding: 7px 12px; border-radius: 6px; background: #171613e8; color: white; font-size: .82rem; pointer-events: none; }
.vehicle-gallery:has([data-gallery-toolbar]) .gallery-viewer img { touch-action: pan-y pinch-zoom; user-select: none; cursor: grab; }
.vehicle-gallery:has([data-gallery-toolbar]) .gallery-viewer img:active { cursor: grabbing; }
.gallery-toolbar:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.gallery-steps { display: flex; align-items: center; gap: 5px; }
.gallery-steps button, .gallery-video-shortcut {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--surface);
    color: var(--ink);
}
.gallery-steps button:hover, .gallery-video-shortcut:hover { border-color: #9b6a09; }
.gallery-position { min-width: 58px; text-align: center; color: var(--muted); font-size: .8rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.gallery-video-shortcut { border-color: #d6aa2b; background: var(--gold); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.gallery-thumbnails:not([hidden]) { display: flex; gap: 8px; overflow-x: auto; padding: 8px 4px; scrollbar-width: thin; scrollbar-color: #978970 #efebe1; }
.gallery-thumbnails button {
    flex: 0 0 80px;
    min-height: 54px;
    padding: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 3px;
    overflow: hidden;
    border-radius: 5px;
    border: 2px solid transparent;
    background: white;
    color: var(--ink);
    font-size: .7rem;
}
.gallery-thumbnails button[aria-pressed="true"] { border-color: #9b6a09; }
.gallery-thumbnails img { width: 100%; height: 54px; object-fit: cover; }
.detail-body { background: white; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--line); border-radius: 10px; overflow-wrap: anywhere; }
.detail-body .vehicle-prices { margin-top: 16px; gap: 9px; }
.detail-body .vehicle-prices > div { padding: clamp(10px, 2vw, 16px); }
.detail-body .vehicle-prices dt { font-size: .8rem; }
.detail-body .price-fipe dd:not(.price-unlisted) { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.detail-body .price-repasse dd { font-size: clamp(1.65rem, 3vw, 2.65rem); }
.vehicle-data { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 10px; padding-block: 16px; border-block: 1px solid var(--line); }
.vehicle-data dt { font-size: .75rem; color: var(--muted); }
.vehicle-data dd { margin: 4px 0 0; font-weight: 700; font-size: .9rem; }
.description { margin-block: 16px; color: #47443d; line-height: 1.6; font-size: .9rem; }

.about-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    align-items: center;
    gap: clamp(26px, 7vw, 90px);
    max-width: 1080px;
    padding-block: clamp(32px, 6vw, 72px);
}
.about-copy { max-width: 560px; }
.about-label { margin-bottom: 12px; color: #765811; font-size: .8rem; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }
.about-copy h1 { margin-bottom: 22px; }
.about-copy p:not(.about-label) { margin-bottom: 15px; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.about-copy p.about-lead { color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.about-copy .button { margin-top: 8px; }
.about-art { margin: 0; border: 1px solid #70511d; border-radius: 10px; overflow: hidden; background: #140d08; }
.about-art img { width: 100%; height: auto; aspect-ratio: 4 / 4.5; object-fit: cover; object-position: center top; }

.site-footer { background: var(--black); border-top: 2px solid #b98b39; color: white; }
.has-whatsapp .site-footer { padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.1fr) minmax(0, .7fr);
    align-items: start;
    gap: 24px;
    padding-block: 30px 25px;
}
.footer-brand p { margin-top: 7px; }
.footer-heading { margin-bottom: 10px; color: #fcf2df; font-size: .85rem; }
.footer-inner p, .footer-address, .footer-social, .footer-bottom { color: #d5d0c5; font-size: .82rem; line-height: 1.55; }
.footer-address { font-style: normal; }
.footer-social { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.footer-directions, .footer-social a { display: inline-flex; align-items: center; gap: 7px; min-height: 24px; }
.footer-directions { margin-top: 7px; color: #f8d467; font-size: .82rem; font-weight: 650; }
.footer-social .icon { color: var(--gold); }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-block: 13px; border-top: 1px solid #373028; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 7px 16px; }

@media (max-width: 1150px) {
    .vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 950px) {
    .shell { width: calc(100% - 40px); }
    .catalog { grid-template-columns: minmax(205px, 235px) minmax(0, 1fr); gap: 16px; }
}

@media (max-width: 760px) {
    .shell { width: calc(100% - 28px); }
    .header-inner { min-height: 65px; }
    .brand img { width: 112px; }
    .hero-stage { height: clamp(175px, 55vw, 250px); }
    .hero-slide-boas-vindas .hero-panorama { display: none; }
    .hero-welcome-mobile {
        display: grid;
        grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
        align-items: stretch;
        height: 100%;
        padding-inline: 5vw;
        gap: 8px;
        background: radial-gradient(ellipse at 80% 44%, #654010, #140e08 48%, #0a0807 76%);
    }
    .hero-welcome-message { display: grid; align-content: center; justify-items: center; gap: 7px; text-align: center; color: #fff4dc; }
    .hero-welcome-message img { width: min(100%, 260px); height: auto; }
    .hero-welcome-message p:first-child { font-family: var(--display); font-size: clamp(1.15rem, 5vw, 1.85rem); font-weight: 700; text-transform: uppercase; line-height: 1; }
    .hero-welcome-message p:last-child { font-size: clamp(.72rem, 2.6vw, .91rem); font-weight: 650; line-height: 1.2; }
    .hero-welcome-mascot { position: relative; min-width: 0; }
    .hero-welcome-mascot img { width: min(100%, 185px); height: auto; position: absolute; top: 5%; left: 50%; transform: translateX(-50%); }
    .stock { padding-block: 27px 44px; }
    .stock-heading { flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
    .sort { margin-left: auto; }
    .sort select { min-width: 130px; }
    .catalog { grid-template-columns: minmax(0, 1fr); }
    .sidebar form { gap: 8px; }
    .vehicle-grid { gap: 10px; }
    .vehicle-body { padding: 10px; }
    .vehicle-specs { gap: 4px 6px; font-size: .68rem; }
    .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    .public-header .header-inner { gap: 10px; }
    .public-header.has-phone .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; padding-top: 8px; }
    .public-header.has-phone .header-inner nav { grid-area: 2 / 1 / auto / -1; justify-content: center; border-top: 1px solid #312d26; margin-top: 6px; }
    .header-phone { grid-area: 1 / 2; }
    .about-story { grid-template-columns: minmax(0, 1fr); }
    .about-art img { aspect-ratio: 4 / 3.4; }
}

@media (max-width: 575px) {
    .header-top .noMobile { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
}

@media (max-width: 450px) {
    .vehicle-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .vehicle-body { padding: 12px 14px; }
    .vehicle-body h2 { font-size: 1.22rem; }
    .vehicle-specs { gap: 9px 14px; font-size: .75rem; }
    .price-fipe dd { font-size: 1.35rem; }
    .price-repasse dd { font-size: 1.65rem; }
}

@media (max-width: 360px) {
    .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
    .hero-slide-enter { animation: none; }
}

