/* ============================================================
   Maurinho Caminhões — azul-marinho #201E50 + amarelo #FCCF04
   Barlow Condensed nos títulos (visual de pátio/estrada), Barlow no texto
   ============================================================ */
/* Fontes servidas pelo próprio site: nenhum dado do visitante vai para o Google (LGPD) */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/Barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("../fonts/Barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/Barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("../fonts/Barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/BarlowCondensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/BarlowCondensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("../fonts/BarlowCondensed-800.woff2") format("woff2"); }

:root {
  --navy: #201E50;
  --navy-2: #2E3192;
  --navy-900: #17153D;
  --yellow: #FCCF04;
  --yellow-2: #FFD93A;
  --wa: #1FAF54;
  --wa-600: #178F44;
  --ink: #1B1A2E;
  --muted: #62617A;
  --line: #E1E2EA;
  --soft: #F3F4F7;
  --bg: #FFFFFF;
  --danger: #C8322F;
  --r: 6px;
  --r-lg: 10px;
  --shadow: 0 1px 2px rgba(27, 26, 46, .06), 0 6px 18px -8px rgba(27, 26, 46, .16);
  --shadow-lg: 0 18px 40px -16px rgba(23, 21, 61, .35);
  --wrap: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-title: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.center { display: flex; justify-content: center; margin-top: 32px; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; vertical-align: -.2em; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Tipografia ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-2); display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 10px; background: var(--yellow); transform: skewX(-20deg); }
.eyebrow--light { color: var(--yellow); }
.section__title { font-family: var(--font-title); font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 4.2vw, 50px); letter-spacing: .005em; color: var(--navy); text-wrap: balance; }
.section__sub { color: var(--muted); font-size: 17px; margin-top: 14px; max-width: 60ch; text-wrap: pretty; }
.tag { display: inline-block; padding: 6px 14px 6px 12px; background: var(--yellow); color: var(--navy); font-family: var(--font-title); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: var(--r); border: 2px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; background: none; transition: background .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-600); }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: var(--yellow-2); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Barra de contato e header ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__in > span { display: flex; align-items: center; gap: 8px; }
.topbar .i { color: var(--yellow); }
.topbar__links { display: flex; gap: 20px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; color: #fff; }
.topbar__links a:hover { color: var(--yellow); }

.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 6px 20px -12px rgba(23, 21, 61, .35); }
.header__in { display: flex; align-items: center; gap: 28px; }
.brand { flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { position: relative; padding: 10px 12px; font-weight: 600; font-size: 15.5px; text-decoration: none; color: var(--navy); white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header__cta { min-height: 44px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; color: var(--navy); }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; width: 22px; height: 2.5px; background: currentColor; transition: transform .3s var(--ease); content: ""; }
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1140px) {
  :root { --header-h: 64px; }
  .topbar { display: none; }
  .brand img { height: 36px; }
  .burger { display: block; }
  .header__cta { margin-left: auto; padding: 0 12px; }
  .header__cta span { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0; padding: 4px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3); transform: translateY(-6px); opacity: 0; visibility: hidden; transition: .25s var(--ease); }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a::after { display: none; }
}

/* ---------- Topo ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
/* painel azul inclinado atrás da foto, com a faixa amarela da logo na borda */
.hero::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 58%; right: -10%; background: var(--navy-2); border-left: 22px solid var(--yellow); transform: skewX(-8deg); transform-origin: bottom; }
.hero__in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 64px 0 120px; }
.hero__visual { position: relative; }
.hero__media { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-900); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); outline: 1px solid rgba(255, 255, 255, .12); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__media img.on { opacity: 1; }
.hero__visual .hero__feature { position: relative; margin: -34px 18px 0 auto; z-index: 1; }
.hero__copy { max-width: 560px; }
.hero__title { font-family: var(--font-title); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 6.2vw, 82px); line-height: .95; margin-top: 18px; text-wrap: balance; }
.hero__title span { color: var(--yellow); display: block; }
.hero__lead { margin-top: 20px; font-size: clamp(17px, 1.5vw, 19px); color: rgba(255, 255, 255, .84); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__feature { display: grid; width: fit-content; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; background: rgba(23, 21, 61, .88); border-left: 4px solid var(--yellow); border-radius: var(--r); color: #fff; text-decoration: none; backdrop-filter: blur(6px); max-width: 420px; transition: background .2s; }
.hero__feature:hover { background: var(--navy-900); }
.hero__feature small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.hero__feature b { display: block; font-family: var(--font-title); font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.hero__feature span { font-size: 14px; color: rgba(255, 255, 255, .75); }
.hero__feature strong { font-family: var(--font-title); font-size: 22px; color: var(--yellow); white-space: nowrap; }
.hero__feature .i { color: var(--yellow); }

/* ---------- Busca rápida ---------- */
.searchbar { position: relative; z-index: 3; margin-top: -48px; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 14px; padding: 20px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border-top: 4px solid var(--yellow); }
.searchbar label { display: grid; gap: 6px; }
.searchbar label span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.searchbar .btn { align-self: end; }

select, input, textarea { width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 14px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
textarea { padding: 12px 14px; resize: vertical; }
select { appearance: none; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23201E50' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
select:focus, input:focus, textarea:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(46, 49, 146, .14); }

/* ---------- Números ---------- */
.numbers { padding: 44px 0 8px; }
.numbers__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers__in > div { padding: 4px 24px; border-left: 1px solid var(--line); }
.numbers__in > div:first-child { border-left: 0; padding-left: 0; }
.numbers b { display: block; font-family: var(--font-title); font-size: 40px; font-weight: 800; color: var(--navy); line-height: 1.05; }
.numbers span { color: var(--muted); font-size: 14.5px; font-weight: 500; }

/* ---------- Seções ---------- */
.section { padding: clamp(64px, 8vw, 100px) 0; }
.section--soft { background: var(--soft); }
.section__head { margin-bottom: 32px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.panel__title { font-family: var(--font-title); font-size: 24px; font-weight: 800; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.panel__text { color: var(--muted); margin-top: 14px; }
.panel__quote { margin-top: 18px; padding: 12px 16px; border-left: 4px solid var(--yellow); background: var(--soft); font-weight: 600; color: var(--navy); }

/* ---------- Estoque: filtros + lista ---------- */
.stock { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 22px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.filters__head { display: none; }
.filters__search { position: relative; }
.filters__search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filters__search input { padding-left: 42px; }
.filters__group { display: grid; gap: 8px; }
.filters__group legend { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.opts { display: grid; gap: 2px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: var(--r); background: none; text-align: left; font-weight: 600; color: var(--ink); transition: background .15s; }
.opt::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #C5C6D3; flex: none; transition: .15s; }
.opt span { flex: 1; }
.opt small { color: var(--muted); font-weight: 600; font-size: 13px; }
.opt:hover { background: var(--soft); }
.opt[aria-pressed="true"] { background: var(--soft); color: var(--navy); }
.opt[aria-pressed="true"]::before { border: 5px solid var(--navy); }
.filters__foot { display: grid; gap: 8px; }
.filters__apply, .filters__shade, .stock__open { display: none; }

.stock__bar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.stock__summary { color: var(--muted); font-weight: 500; flex: 1; }
.stock__summary b { color: var(--navy); }
.stock__sort { display: flex; align-items: center; gap: 10px; }
.stock__sort span { font-size: 14px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.stock__sort select { min-height: 42px; width: auto; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 800; }

/* ---------- Card do caminhão ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.truck { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s, border-color .25s, transform .25s var(--ease); animation: rise .45s var(--ease) both; animation-delay: calc(var(--n, 0) * 45ms); }
.truck:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-3px); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
/* A capa já vem pronta em 3:2 e sem a tarja da loja (sync/capa.mjs); fotos sem capa alinham pelo topo */
.truck__media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--soft); overflow: hidden; }
.truck__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .5s var(--ease); }
.truck__media img.is-tall { object-position: 50% 50%; } /* capa de reel (vertical) */
.truck:hover .truck__media img { transform: scale(1.03); }
.truck__flags { position: absolute; top: 10px; left: 10px; right: 90px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
/* no topo: embaixo fica a tarja da loja que vem nas fotos */
.truck__media-info { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; }
.truck__media-info span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 4px; background: rgba(23, 21, 61, .82); color: #fff; font-size: 12px; font-weight: 600; }
.truck__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.truck__brand { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-2); }
.truck__title { font-family: var(--font-title); font-size: 27px; font-weight: 800; text-transform: uppercase; color: var(--navy); margin-top: 2px; }
.truck__title a { text-decoration: none; }
.truck__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; } /* o card todo é clicável */
.truck__sub { color: var(--muted); font-size: 14.5px; margin-top: 2px; min-height: 1.55em; }
.truck__specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.truck__specs div { padding: 9px 0 9px 10px; border-left: 1px solid var(--line); }
.truck__specs div:first-child { border-left: 0; padding-left: 0; }
.truck__specs dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.truck__specs dd { margin: 0; font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.truck__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 10px; }
.truck__price { flex: 1; min-width: 0; }
.truck__price small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.truck__price small s { margin-right: 4px; }
.truck__price strong { display: block; font-family: var(--font-title); font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.05; }
.truck__wa { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: var(--r); border: 0; display: grid; place-items: center; background: var(--wa); color: #fff; flex: none; }
.truck__wa:hover { background: var(--wa-600); }
.truck__wa .i { width: 22px; height: 22px; }
.truck.is-sold .truck__media img { filter: grayscale(1) brightness(.85); }
.truck.is-sold .truck__price strong { color: var(--danger); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--navy); }
.badge .i { width: 13px; height: 13px; }
.badge--new { background: var(--yellow); }
.badge--hot { background: var(--navy); color: var(--yellow); }
.badge--down { background: var(--wa); color: #fff; }
.badge--res { background: #FFE7A0; color: #5E4500; }
.badge--sold { background: var(--danger); color: #fff; }

.ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: rgba(255, 255, 255, .3); --i-bg: var(--navy); }
.ph .i { width: 40%; height: 40%; }
.skeleton { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.skeleton div { background: linear-gradient(90deg, var(--soft) 0 40%, #fafafc 50%, var(--soft) 60% 100%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton .s1 { aspect-ratio: 3 / 2; }
.skeleton .s2 { height: 22px; margin: 18px; width: 60%; }
.skeleton .s3 { height: 16px; margin: 0 18px 22px; width: 40%; }
@keyframes shimmer { to { background-position: -150% 0; } }
.empty { text-align: center; padding: 48px 20px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); }
.empty > .i { width: 72px; height: 48px; color: var(--navy-2); }
.empty h3 { font-family: var(--font-title); font-size: 26px; text-transform: uppercase; color: var(--navy); margin-top: 12px; }
.empty p { color: var(--muted); margin: 8px auto 0; max-width: 46ch; }
.empty__ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Como comprar ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: p; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.process li { position: relative; padding: 30px 26px 32px; border-left: 1px solid var(--line); }
.process li:first-child { border-left: 0; }
.process__n { position: absolute; top: 22px; right: 22px; font-family: var(--font-title); font-weight: 800; font-size: 44px; color: var(--soft); line-height: 1; -webkit-text-stroke: 1px var(--line); }
.process .i { width: 44px; height: 44px; padding: 10px; border-radius: var(--r); background: var(--navy); color: var(--yellow); }
.process h3 { font-family: var(--font-title); font-size: 23px; font-weight: 800; text-transform: uppercase; color: var(--navy); margin-top: 18px; }
.process p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* ---------- Vender / trocar ---------- */
.sell { position: relative; background: var(--navy); color: #fff; padding: clamp(64px, 8vw, 100px) 0; overflow: hidden; isolation: isolate; }
.sell::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -40%; width: 520px; height: 180%; background: linear-gradient(180deg, rgba(46, 49, 146, .7), rgba(46, 49, 146, .15)); transform: skewX(-12deg); }
.sell::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 8px; background: var(--yellow); }
.sell__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.sell .section__title { color: #fff; }
.sell__lead { color: rgba(255, 255, 255, .8); font-size: 17px; margin-top: 14px; max-width: 48ch; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.ticks .i { width: 26px; height: 26px; padding: 5px; border-radius: 4px; background: var(--yellow); color: var(--navy); }
.sell .panel { color: var(--ink); }
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--navy); }
.form__tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.form__tabs input { position: absolute; opacity: 0; pointer-events: none; }
.form__tabs span { display: block; text-align: center; padding: 11px; font-weight: 700; color: var(--muted); cursor: pointer; transition: .2s; }
.form__tabs label + label span { border-left: 1.5px solid var(--line); }
.form__tabs input:checked + span { background: var(--navy); color: #fff; }
.form__tabs input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: -3px; }
.form:not(.is-troca) .field--troca { display: none; }

/* ---------- Financiamento (pelo banco do cliente) ---------- */
.fin__cta { margin-top: 26px; }
.fin { list-style: none; margin: 0; display: grid; gap: 0; padding: 8px 26px; }
.fin li { display: flex; gap: 16px; padding: 20px 0; }
.fin li + li { border-top: 1px solid var(--line); }
.fin .i { width: 46px; height: 46px; padding: 11px; border-radius: var(--r); background: var(--navy); color: var(--yellow); }
.fin b { display: block; font-family: var(--font-title); font-size: 21px; text-transform: uppercase; color: var(--navy); }
.fin span { color: var(--muted); font-size: 15px; }
.panel--fin .btn { margin-top: 16px; }

/* ---------- Entregas ---------- */
.deliveries { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.delivery { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; display: block; color: #fff; text-decoration: none; }
.delivery img { width: 100%; height: 100%; object-fit: cover; }
.delivery span { position: absolute; inset: auto 0 0; padding: 40px 14px 12px; font-size: 13.5px; font-weight: 600; background: linear-gradient(transparent, rgba(23, 21, 61, .92)); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- A loja ---------- */
.store__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .i { width: 22px; height: 22px; color: var(--navy-2); margin-top: 2px; }
.contact-list b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sellers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 24px; }
.seller { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s, background .2s; }
.seller:hover { border-color: var(--wa); background: #F4FBF6; }
.seller b { display: block; color: var(--navy); font-size: 16px; }
.seller small { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.seller__wa { margin-left: auto; width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; background: var(--wa); color: #fff; flex: none; }
.seller__wa .i { width: 22px; height: 22px; }
.store__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.store__map { min-height: 420px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.store__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* mapa carregado só no clique */
.map-load { width: 100%; height: 100%; min-height: 420px; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 24px; border: 0; text-align: center; color: var(--navy);
  background: linear-gradient(rgba(243, 244, 247, .92), rgba(243, 244, 247, .92)), repeating-linear-gradient(45deg, #e6e7ee 0 2px, transparent 2px 22px); }
.map-load > .i { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--navy); color: var(--yellow); }
.map-load b { font-family: var(--font-title); font-size: 24px; text-transform: uppercase; }
.map-load small { max-width: 34ch; color: var(--muted); font-size: 13.5px; }
.map-load small a { color: var(--navy-2); }
.map-load:hover b { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }

/* ---------- Privacidade (LGPD) ---------- */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); cursor: pointer; }
.consent input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--navy); }
.consent a { color: var(--navy-2); font-weight: 600; }
.privacy-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 0; }
.privacy-note .i { color: var(--wa); margin-top: 1px; }
.privacy-note a { color: var(--navy-2); }
.panel--video .privacy-note { margin-top: 12px; }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }
.legal { max-width: 780px; padding: 8px 0 96px; }
.legal__date { color: var(--muted); font-size: 14px; margin-top: 8px; }
.legal__lead { font-size: 18px; margin-top: 24px; }
.legal h2 { font-family: var(--font-title); font-size: 26px; text-transform: uppercase; color: var(--navy); margin: 40px 0 10px; }
.legal h3 { font-size: 17px; color: var(--navy); margin: 22px 0 6px; }
.legal p, .legal li { color: #3D3C55; font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; margin: 10px 0 0; }
.legal a { color: var(--navy-2); font-weight: 600; }
.legal__box { margin-top: 26px; padding: 20px 22px; border-left: 5px solid var(--yellow); background: var(--soft); border-radius: 0 var(--r) var(--r) 0; }
.legal__box b:first-child { font-family: var(--font-title); font-size: 20px; text-transform: uppercase; color: var(--navy); }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .8); padding-top: 60px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { width: min(300px, 100%); height: auto; }
.footer__brand p { margin-top: 18px; max-width: 36ch; font-size: 15px; }
.footer h3 { font-family: var(--font-title); font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; font-weight: 700; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 15px; }
.footer__list li, .footer__list a { display: flex; gap: 10px; text-decoration: none; }
.footer__list a:hover { color: #fff; }
.footer__list .i { margin-top: 3px; color: var(--yellow); }
.footer__base { background: var(--navy-900); border-top: 4px solid var(--yellow); font-size: 13px; color: rgba(255, 255, 255, .55); }
.footer__base-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0; }

/* ---------- WhatsApp: botão flutuante e escolha do vendedor ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(23, 21, 61, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.05); }
.wa-float .i { width: 30px; height: 30px; }
.wa-pick { border: 0; padding: 0; border-radius: var(--r-lg); width: min(100% - 32px, 380px); box-shadow: var(--shadow-lg); }
.wa-pick::backdrop { background: rgba(23, 21, 61, .55); }
.wa-pick[open] { animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }
.wa-pick__head { background: var(--navy); color: #fff; padding: 18px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 4px solid var(--yellow); }
.wa-pick__head > .i { width: 28px; height: 28px; color: var(--wa); }
.wa-pick__head b { display: block; font-family: var(--font-title); font-size: 21px; text-transform: uppercase; }
.wa-pick__head small { opacity: .8; }
.wa-pick__close { margin-left: auto; width: 36px; height: 36px; border-radius: var(--r); border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.wa-pick__list { list-style: none; padding: 10px; margin: 0; display: grid; gap: 6px; }
.wa-pick__list a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid var(--line); text-decoration: none; transition: border-color .2s, background .2s; }
.wa-pick__list a:hover, .wa-pick__list a:focus-visible { border-color: var(--wa); background: #F4FBF6; }
.wa-pick__list b { display: block; color: var(--navy); }
.wa-pick__list small { color: var(--muted); }
.wa-pick__list .i { margin-left: auto; color: var(--wa); width: 24px; height: 24px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Página do caminhão
   ============================================================ */
.crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding: 22px 0 18px; }
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--navy); }
.crumbs b { color: var(--navy); font-weight: 600; }
.tp { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
/* foto inteira, sem corte, com o fundo preenchido pela própria foto desfocada */
.gallery__main { position: relative; aspect-ratio: 4 / 3; max-height: 78vh; width: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-900); }
.gallery__blur { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(28px) brightness(.55) saturate(1.1); }
.gallery__main img { position: relative; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.gallery__badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); z-index: 2; }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__count { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 5px 10px; border-radius: 4px; background: rgba(23, 21, 61, .8); color: #fff; font-size: 13px; font-weight: 600; }
.gallery__zoom { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 40px; height: 40px; border-radius: var(--r); border: 0; background: rgba(23, 21, 61, .8); color: #fff; display: grid; place-items: center; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery__thumbs button { flex: 0 0 96px; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; border: 2.5px solid transparent; padding: 0; background: var(--soft); opacity: .65; transition: .2s; }
.gallery__thumbs button.on { border-color: var(--yellow); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.tp-info { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 18px; }
.tp-info__brand { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-2); }
.tp-info__title { font-family: var(--font-title); font-size: clamp(38px, 4.4vw, 56px); font-weight: 800; text-transform: uppercase; color: var(--navy); margin-top: -10px; }
.tp-info__sub { color: var(--muted); font-size: 17px; font-weight: 500; margin-top: -10px; }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); border: 1px solid var(--line); border-radius: var(--r); margin: 0; }
.quick div { padding: 10px 14px; border-left: 1px solid var(--line); }
.quick div:first-child { border-left: 0; }
.quick dt { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.quick dd { margin: 0; font-weight: 700; font-size: 16px; color: var(--navy); }
.tp-price { padding: 18px 20px; border-radius: var(--r); background: var(--navy); color: #fff; border-left: 6px solid var(--yellow); }
.tp-price small { display: block; font-size: 13px; color: rgba(255, 255, 255, .75); font-weight: 600; }
.tp-price small s { margin-right: 4px; }
.tp-price strong { display: block; font-family: var(--font-title); font-size: clamp(40px, 4.4vw, 50px); font-weight: 800; color: var(--yellow); line-height: 1.05; }
.tp-price span { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.tp-price.is-sold { background: var(--soft); color: var(--ink); border-left-color: var(--danger); }
.tp-price.is-sold small { color: var(--muted); }
.tp-price.is-sold strong { color: var(--danger); }
.tp-ctas { display: grid; gap: 10px; }
.tp-ctas__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trust { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.trust li { display: flex; gap: 10px; }
.trust .i { color: var(--navy-2); }

.tp-body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 0; }
.specs div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.checks li { display: flex; gap: 10px; font-weight: 500; font-size: 15px; }
.checks .i { color: var(--wa); width: 20px; height: 20px; flex: none; }
.video { position: relative; display: block; width: 100%; max-width: 420px; aspect-ratio: 9 / 14; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; background: var(--navy-900); color: #fff; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.video__play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; transition: transform .25s var(--ease); }
.video:hover .video__play { transform: scale(1.06); }
.video__play .i { width: 30px; height: 30px; margin-left: 4px; }
.video__label { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-weight: 700; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.panel--video .link { display: inline-block; margin-top: 12px; color: var(--navy-2); font-weight: 700; text-decoration: none; }
.tp-source { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 28px; color: var(--muted); font-size: 14px; }
.tp-source a { color: var(--navy); font-weight: 700; }
.related { padding: 64px 0 96px; }
.related .section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.related .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.mobile-bar { display: none; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 11, 32, .96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: 100dvh; object-fit: contain; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; z-index: 2; }
.lightbox .gallery__count { left: 50%; transform: translateX(-50%); bottom: 20px; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1080px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process li:nth-child(3) { border-left: 0; }
  .process li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .hero::before { left: -10%; top: 62%; }
  .hero__in { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 96px; }
  .hero__visual .hero__feature { margin: -28px 12px 0; width: auto; max-width: none; }
  .searchbar { grid-template-columns: 1fr 1fr; margin-top: -36px; }
  .searchbar .btn { grid-column: 1 / -1; }
  .numbers__in { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .numbers__in > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stock { grid-template-columns: 1fr; }
  .stock__open { display: inline-flex; }
  .filters { position: fixed; z-index: 80; inset: 0 auto 0 0; width: min(88vw, 360px); border-radius: 0; overflow-y: auto; align-content: start; transform: translateX(-102%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); }
  .filters.open { transform: none; }
  .filters__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-title); font-size: 24px; text-transform: uppercase; color: var(--navy); }
  .filters__close { width: 40px; height: 40px; border: 0; border-radius: var(--r); background: var(--soft); display: grid; place-items: center; }
  .filters__apply { display: inline-flex; }
  .filters__foot { position: sticky; bottom: -20px; margin: 0 -20px -20px; padding: 14px 20px 20px; background: #fff; border-top: 1px solid var(--line); grid-template-columns: 1fr 1.4fr; }
  .filters__shade { position: fixed; inset: 0; z-index: 79; background: rgba(23, 21, 61, .5); }
  .filters.open + .filters__shade { display: block; }
  .split, .sell__in, .store__in, .tp, .tp-body { grid-template-columns: 1fr; }
  .tp-info { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .page-truck .wa-float { display: none; }
  .page-truck { padding-bottom: 76px; }
  .mobile-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(23, 21, 61, .3); }
  .mobile-bar div { flex: 1; min-width: 0; }
  .mobile-bar small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-bar strong { font-family: var(--font-title); font-size: 26px; color: var(--navy); line-height: 1; }
}
@media (max-width: 640px) {
  .hero__ctas .btn { width: 100%; }
  .stock__sort span { display: none; }
  .stock__summary { order: 3; flex-basis: 100%; }
  .process { grid-template-columns: 1fr; }
  .process li { border-left: 0 !important; }
  .process li + li { border-top: 1px solid var(--line); }
  .form__row, .checks, .specs { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .store__map, .store__map iframe, .map-load { min-height: 300px; }
}
