/* ============================================================
   styles.css - Bretas Veículos (site público)
   Tema escuro editorial. Archivo (títulos) + Geist (texto).
   ============================================================ */

:root {
  --bg: #0b0b0b;
  --bg-light: #f3f3f1;
  --ink: #f2f2f0;
  --ink-2: #c9c9c5;
  --ink-3: #a9a9a4;
  --mut: #8a8a84;
  --dark: #111;
  --line-d: rgba(255, 255, 255, .14);
  --line-l: #d6d6d2;
  --line-l2: #ecece8;
  --wpp: #25d366;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Geist, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: #fff; color: #000; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.mono { font-family: 'Geist Mono', monospace; }

.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mut); margin-bottom: 16px;
}
.eyebrow-dark { color: #6d6d68; }

.section-title {
  margin: 0;
  font-family: Archivo, sans-serif; font-stretch: 118%; font-weight: 700;
  font-size: clamp(28px, 3.6vw, 50px); line-height: .98; letter-spacing: -.02em;
}
.section-title-sm { font-size: clamp(24px, 2.8vw, 38px); line-height: 1; }
.section-lead { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 460px; margin: 20px 0 24px; }
.section-lead-dark { color: #3c3c38; }

/* animações */
@keyframes bvUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes bvFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 24px;
  font: 600 15px Geist; cursor: pointer; border: 0;
  transition: opacity .2s, transform .2s var(--ease);
}
.btn:hover { opacity: .88; }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-outline { border: 1px solid rgba(255, 255, 255, .4); color: var(--ink); background: transparent; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.wpp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wpp); }

/* ---------------- Progresso ---------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--ink); z-index: 45; transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: rgba(11, 11, 11, 0); border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(11, 11, 11, .88); border-bottom-color: rgba(255, 255, 255, .1); }
.header-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px);
  height: 68px; display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand-text {
  font-family: Archivo, sans-serif; font-stretch: 125%; font-weight: 700;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
}
.nav-desktop { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); margin-left: auto; }
.nav-desktop a { transition: opacity .2s; }
.nav-desktop a:hover, .nav-desktop a.active { opacity: 1; color: #fff; }
.btn-wpp-header {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; font-size: 13px; font-weight: 500;
}
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 0; background: transparent;
  flex-direction: column; justify-content: center; gap: 5px; align-items: center; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 1.5px; background: #fff; transition: transform .3s, opacity .3s; }
.nav-mobile { display: none; flex-direction: column; padding: 8px clamp(16px, 4vw, 40px) 24px; background: var(--bg); }
.nav-mobile a {
  font-family: Archivo, sans-serif; font-stretch: 112%; font-size: 22px; font-weight: 600;
  padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: flex-end; overflow: hidden; background: #000;
}
.hero-media { position: absolute; inset: 0; will-change: transform, opacity; transform-origin: 50% 60%; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .92) 100%);
}
.hero-content {
  position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto;
  padding: clamp(92px, 12vw, 120px) clamp(16px, 4vw, 40px) clamp(24px, 4vw, 48px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(24px, 4vw, 40px); align-items: end;
}
.hero-copy { will-change: transform, opacity; }
.hero-eyebrow {
  font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #bdbdb8; margin-bottom: 22px; display: flex; align-items: center; gap: 12px;
  animation: bvFade .8s both;
}
.eyebrow-line { width: 28px; height: 1px; background: #bdbdb8; }
.hero-title {
  margin: 0; font-family: Archivo, sans-serif; font-stretch: 125%; font-weight: 800;
  font-size: clamp(38px, 6vw, 88px); line-height: .92; letter-spacing: -.025em; text-transform: uppercase;
}
.hero-line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-line > span { display: inline-block; animation: bvUp 1s .2s var(--ease) both; }
.hero-line:nth-child(2) > span { animation-delay: .32s; }
.hero-line:nth-child(3) > span { animation-delay: .44s; }
.hero-nome { display: inline-flex; align-items: center; gap: .18em; }
.hero-nome img { height: .82em; width: auto; }
.hero-lead { margin: 22px 0 0; max-width: 500px; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; color: #d4d4d0; animation: bvFade .9s .55s both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-self: end; animation: bvFade .9s .65s both; }

.hero-stats { position: relative; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-stats-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.hero-stat { padding: 16px 0; display: flex; align-items: baseline; gap: 10px; }
.hero-stat strong { font-family: Archivo, sans-serif; font-stretch: 112%; font-size: clamp(21px, 2vw, 26px); font-weight: 700; }
.hero-stat span { font-size: 13px; color: var(--ink-3); }

/* ============================================================
   ESTOQUE
   ============================================================ */
.section-estoque { background: var(--bg-light); color: var(--dark); padding: clamp(48px, 6vw, 88px) 0; }
.estoque-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 36px;
}
.view-toggle { display: flex; border: 1px solid var(--line-l); background: #fff; padding: 3px; gap: 3px; }
.view-btn {
  height: 34px; padding: 0 14px; border: 0; background: transparent; color: var(--dark);
  font: 500 13px Geist; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background .2s;
}
.view-btn.is-active { background: var(--dark); color: #fff; }

.filters-bar {
  position: sticky; top: 68px; z-index: 5; background: var(--bg-light);
  padding: 12px 0; margin-bottom: 28px;
  border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.cat-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 420px; }
.cat-chip {
  height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-l);
  background: #fff; color: var(--dark); font: 500 13px Geist; cursor: pointer;
  display: flex; align-items: center; gap: 7px; transition: all .2s;
}
.cat-chip:hover { border-color: #111; }
.cat-chip.is-active { background: var(--dark); color: #fff; border-color: var(--dark); }
.cat-chip .n { font-family: 'Geist Mono', monospace; font-size: 11px; opacity: .6; }
.filter-controls { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 380px; justify-content: flex-end; }
.filter-search {
  flex: 1 1 200px; max-width: 280px; height: 38px; display: flex; align-items: center; gap: 8px;
  padding: 0 12px; background: #fff; border: 1px solid var(--line-l);
}
.filter-search input { border: 0; outline: 0; background: transparent; font: 14px Geist; width: 100%; color: #111; }
.filters-bar select { height: 38px; padding: 0 10px; border: 1px solid var(--line-l); background: #fff; font: 14px Geist; color: #111; }

.result-line { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 13px; color: #6d6d68; }
.link-clear { border: 0; background: none; font: 500 13px Geist; color: #111; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.cars-loading { padding: 60px 0; text-align: center; color: #6d6d68; grid-column: 1 / -1; }

/* Grade Vitrine */
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.cars-grid.is-showroom { grid-template-columns: 1fr; gap: clamp(14px, 2vw, 20px); }

.car-card {
  background: #fff; cursor: pointer; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s; animation: bvFade .5s both;
}
.car-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .35); }
.car-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #161616; }
.car-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-nofoto { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #77776f; }
.car-nofoto img { width: 56px; opacity: .18; }
.car-nofoto span { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.car-segs { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; }
.car-seg { flex: 1; height: 2px; background: #fff; transition: opacity .2s; }
.car-flag { position: absolute; left: 10px; bottom: 10px; background: #fff; color: #111; font: 500 11px 'Geist Mono'; letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; }
/* Setas de navegação de foto (clique manual) */
.car-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.9); color: #111;
  font: 400 20px/1 Geist; padding-bottom: 2px;
  opacity: 0; transition: opacity .2s, background .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.car-nav.prev { left: 8px; }
.car-nav.next { right: 8px; }
.car-media:hover .car-nav { opacity: 1; }
.car-nav:hover { background: #fff; }
@media (hover: none) { .car-nav { opacity: 1; background: rgba(255,255,255,.82); } }
.car-media-actions { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.card-btn { height: 34px; padding: 0 10px; border: 0; background: rgba(255, 255, 255, .92); color: #111; font: 500 12px Geist; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: background .2s; }
.card-btn.is-on { background: #111; color: #fff; }
.card-fav { width: 34px; padding: 0; justify-content: center; }
.car-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.car-marca { font: 500 11px 'Geist Mono'; letter-spacing: .12em; text-transform: uppercase; color: #6d6d68; }
.car-modelo { margin: 4px 0 2px; font-family: Archivo, sans-serif; font-stretch: 112%; font-weight: 700; font-size: 21px; line-height: 1.05; }
.car-versao { font-size: 14px; color: #55554f; }
.car-specs { display: flex; font: 13px 'Geist Mono'; color: #3c3c38; border-top: 1px solid var(--line-l2); border-bottom: 1px solid var(--line-l2); }
.car-specs span { flex: 1; padding: 9px 0; }
.car-specs span + span { padding-left: 12px; border-left: 1px solid var(--line-l2); }
.car-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.car-preco { font-family: Archivo, sans-serif; font-stretch: 105%; font-weight: 700; font-size: 23px; letter-spacing: -.01em; }
.car-parcela { font-size: 13px; color: #6d6d68; }
.car-arrow { width: 40px; height: 40px; border: 1px solid #111; display: flex; align-items: center; justify-content: center; font-family: 'Geist Mono'; }

/* Showroom (lista) */
.car-row { background: #fff; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); animation: bvFade .5s both; }
.car-row .car-media { min-height: 300px; aspect-ratio: auto; }
.car-row-body { padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.car-row-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.car-row-top .car-modelo { font-stretch: 118%; font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.car-row-preco { text-align: right; }
.car-row-preco .car-preco { font-size: 32px; }
.car-ficha { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); border-top: 1px solid var(--line-l2); }
.car-ficha-item { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-l2); }
.car-ficha-item .k { font: 11px 'Geist Mono'; letter-spacing: .1em; text-transform: uppercase; color: #8a8a84; }
.car-ficha-item .v { font-size: 15px; font-weight: 500; margin-top: 3px; }
.car-opc { display: flex; flex-wrap: wrap; gap: 6px; }
.car-opc span { font-size: 12px; padding: 6px 10px; background: var(--bg-light); color: #3c3c38; }
.car-row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.car-row-actions .btn { height: 46px; }
.car-row-actions .btn-outline-d { border: 1px solid var(--line-l); background: #fff; color: #111; }
.car-row-actions .btn-outline-d.is-on { background: #111; color: #fff; }
.car-row-actions .btn-int { border: 1px solid #111; color: #111; }
.car-row-fav { width: 46px; height: 46px; border: 1px solid var(--line-l); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }

.empty-state { padding: 72px 24px; text-align: center; background: #fff; }
.empty-state h3 { margin: 0 0 8px; font-family: Archivo; font-stretch: 112%; font-size: 26px; }
.empty-state p { margin: 0 0 20px; color: #55554f; }

.estoque-cta {
  margin-top: 40px; padding: 28px clamp(20px, 3vw, 36px); background: #111; color: var(--ink);
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.estoque-cta p { margin: 0; font-family: Archivo; font-stretch: 110%; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; max-width: 640px; }
.estoque-cta .btn { height: 48px; }

/* ============================================================
   A LOJA
   ============================================================ */
.section-loja { padding: clamp(52px, 7vw, 100px) 0; background: var(--bg); }
.loja-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.loja-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.loja-frame { overflow: hidden; will-change: transform; }
.loja-frame img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transform: scale(1.12); will-change: transform; }
.loja-frame-2 { margin-top: 56px; aspect-ratio: 9/16; }
.loja-frame-2 img { aspect-ratio: 9/16; }

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.section-dif { padding: 0 0 clamp(52px, 7vw, 100px); background: var(--bg); }
.dif-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }
.dif-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-d); }
.dif-item {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  border-bottom: 1px solid var(--line-d); padding: 18px 0; color: #6d6d68; cursor: pointer; transition: color .3s;
}
.dif-item.is-active { color: var(--ink); }
.dif-item-head { display: flex; align-items: center; gap: 18px; font-family: Archivo; font-stretch: 112%; font-weight: 600; font-size: clamp(20px, 2vw, 26px); }
.dif-num { font: 12px 'Geist Mono'; width: 22px; color: #77776f; }
.dif-bar { margin-left: auto; height: 2px; width: 0; background: var(--ink); transition: width .4s; }
.dif-item.is-active .dif-bar { width: 28px; }
.dif-text { display: block; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .45s var(--ease), opacity .35s; padding-left: 40px; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.dif-item.is-active .dif-text { max-height: 320px; opacity: 1; padding-top: 8px; }
.dif-bancos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dif-banco {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; width: 106px; padding: 8px 12px;
  background: #fff; border-radius: 8px;
}
.dif-banco img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dif-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #161616; }
.dif-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .7s ease, transform 1.4s var(--ease); }
.dif-media img.is-active { opacity: 1; transform: scale(1); }

/* ============================================================
   EQUIPE / HISTÓRIA (fundo estilo hero)
   ============================================================ */
.section-equipe { background: #0b0b0b; padding: clamp(56px, 8vw, 110px) 0; }
.equipe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.equipe-copy { max-width: 620px; }
.equipe-lead { font-size: clamp(15px, 1.5vw, 17px); line-height: 1.65; color: #d4d4d0; margin: 18px 0 0; }
.equipe-nums { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 36px; }
.equipe-nums strong { display: block; font-family: Archivo, sans-serif; font-stretch: 112%; font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.equipe-nums span { font-size: 13px; color: var(--ink-3); margin-top: 6px; display: block; }
.equipe-foto { position: relative; }
.equipe-foto img { width: 100%; height: auto; display: block; border-radius: 2px; }
.equipe-foto-cap {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(0,0,0,.65); color: #fff;
  font: 500 12px 'Geist Mono'; padding: 6px 10px;
}
@media (max-width: 820px) { .equipe-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CLIENTES FELIZES
   ============================================================ */
.section-clientes { background: var(--bg); padding: clamp(52px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.clientes-head { max-width: 560px; margin-bottom: clamp(28px, 4vw, 40px); }

.clientes-slider { position: relative; cursor: grab; user-select: none; perspective: 1600px; }
.clientes-slider:active { cursor: grabbing; }
.clientes-track {
  display: flex; gap: clamp(14px, 1.8vw, 24px);
  padding: 0 clamp(16px, 4vw, 40px);
  will-change: transform;
}
.cliente-slide {
  flex: 0 0 clamp(300px, 40vw, 520px);
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: #161616;
  border-radius: 2px;
  /* transição do efeito de foco (escala/opacidade/leve rotação 3D) */
  transition: transform .55s cubic-bezier(.2,.85,.25,1), opacity .55s ease, filter .55s ease;
  transform-origin: center;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.cliente-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
  transform: scale(1.06);
}
/* slide em foco (centro): destaque total */
.cliente-slide.is-focus { opacity: 1; filter: none; }
.cliente-slide.is-focus img { transform: scale(1); }
/* slides fora do foco: recuados, mais escuros */
.cliente-slide.is-side { opacity: .55; filter: grayscale(.25) brightness(.8); transform: scale(.9); }
.cliente-slide.is-side img { transform: scale(1.12); }

/* ============================================================
   FINANCIAMENTO
   ============================================================ */
.section-fin { background: var(--bg-light); color: var(--dark); padding: clamp(52px, 7vw, 100px) 0; }
.fin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.fin-perks { display: flex; flex-direction: column; border-top: 1px solid var(--line-l); max-width: 520px; }
.fin-perks div { padding: 13px 0; border-bottom: 1px solid var(--line-l); font-size: 15px; }
.sim-card { background: #fff; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 26px; }
.sim-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.sim-label span { font-size: 14px; color: #55554f; }
.sim-label strong { font-family: 'Geist Mono'; font-weight: 500; font-size: 16px; }
.sim-label-s { display: block; font-size: 14px; color: #55554f; margin-bottom: 10px; }
.sim-card input[type=range] { width: 100%; accent-color: #111; }
.sim-prazos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.sim-prazo { height: 40px; border: 1px solid var(--line-l); background: #fff; color: #111; font: 500 13px 'Geist Mono'; cursor: pointer; transition: all .2s; }
.sim-prazo.is-active { background: #111; color: #fff; border-color: #111; }
.sim-result { background: #111; color: var(--ink); padding: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.sim-result span { font-size: 13px; color: var(--ink-3); }
.sim-result strong { display: block; font-family: Archivo; font-stretch: 110%; font-weight: 700; font-size: clamp(34px, 4vw, 46px); line-height: 1.05; }
.sim-result-meta { font-size: 12px; color: var(--mut); text-align: right; }
.sim-note { margin: -12px 0 0; font-size: 12px; color: #77776f; }

/* ============================================================
   AVALIAÇÃO
   ============================================================ */
.section-aval { padding: clamp(52px, 7vw, 100px) 0; background: var(--bg); }
.aval-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 5vw, 72px); }
.aval-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 20px; }
.aval-field { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.aval-field span { font: 11px 'Geist Mono'; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.aval-field input, .aval-field textarea { background: transparent; border: 0; outline: 0; color: var(--ink); font: 17px Geist; padding: 4px 0; resize: vertical; }
.aval-field.invalid { border-bottom-color: #ff6b6b; }
.aval-field-full { grid-column: 1 / -1; }
.aval-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 24px; }
.aval-hint { margin: 0; font-size: 13px; color: var(--mut); max-width: 360px; }

/* ============================================================
   CONTATO
   ============================================================ */
.section-contato { background: var(--bg-light); color: var(--dark); padding: clamp(52px, 7vw, 100px) 0 0; }
.section-contato .section-title { margin-bottom: 48px; }
.contato-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(32px, 5vw, 64px); }
.contato-info { display: flex; flex-direction: column; }
.contato-block { padding: 20px 0; border-top: 1px solid var(--line-l); }
.contato-block p { margin: 0; font-size: 18px; line-height: 1.5; }
.contato-block a { font-size: 18px; }
.link-under { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 14px; border-bottom: 1px solid #111; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 6px 0; font-size: 16px; }
.hours-list li b, .hours-list li span:last-child { font-family: 'Geist Mono'; font-weight: 400; }
.aberto-tag { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #3c3c38; }
.aberto-dot { width: 7px; height: 7px; border-radius: 50%; background: #b3b3ad; }
.aberto-dot.on { background: #1f9d55; }
.contato-block-row { display: flex; gap: 28px; flex-wrap: wrap; }
.contato-mapa { min-height: 460px; background: #ddd; }
.contato-mapa iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* Linha de informações (endereço, horário, contato) no topo */
.contato-info-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(20px, 3vw, 48px); margin-bottom: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line-l); padding-top: 8px;
}
.contato-info-row .contato-block { border-top: 0; }

/* Avaliações (ao lado do mapa) */
.reviews { display: flex; flex-direction: column; }
.reviews-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.reviews-score { display: flex; align-items: center; gap: 10px; margin: 4px 0 2px; }
.reviews-score strong { font-family: Archivo, sans-serif; font-stretch: 110%; font-weight: 700; font-size: 34px; line-height: 1; }
.reviews-stars { color: #f5a623; font-size: 18px; letter-spacing: 1px; }
.reviews-count { font-size: 13px; color: #6d6d68; }
.reviews-list { display: flex; flex-direction: column; gap: 14px; overflow-y: auto; max-height: 460px; padding-right: 6px; }
.reviews-list::-webkit-scrollbar { width: 6px; }
.reviews-list::-webkit-scrollbar-thumb { background: #cfcfca; border-radius: 3px; }
.review { background: #fff; border: 1px solid var(--line-l); padding: 16px; }
.review-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-avatar { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: #111; color: #fff; display: flex; align-items: center; justify-content: center; font: 600 14px Geist; }
.review-nome { font-size: 14px; font-weight: 600; }
.review-stars { color: #f5a623; font-size: 13px; letter-spacing: 1px; }
.review-texto { margin: 0; font-size: 14px; line-height: 1.55; color: #3c3c38; }

/* ---------------- Footer ---------------- */
.site-footer { margin-top: clamp(64px, 8vw, 110px); background: var(--bg); color: var(--ink-3); }
.footer-inner { padding: 40px clamp(16px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.footer-brand img { width: 28px; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a:hover { color: #fff; }

/* ============================================================
   MODAL DE DETALHES
   ============================================================ */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: clamp(0px, 2vw, 24px); }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); animation: bvFade .25s both; }
.modal-panel { position: relative; width: 100%; max-width: 1180px; max-height: 100%; overflow: auto; background: #fff; color: #111; animation: bvFade .35s var(--ease) both; }
.modal-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.modal-media { background: #111; display: flex; flex-direction: column; }
.modal-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.modal-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-nofoto { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #77776f; }
.modal-nofoto img { width: 72px; opacity: .18; }
.modal-nofoto span { font-family: 'Geist Mono'; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, .92); color: #111; font: 16px 'Geist Mono'; cursor: pointer; }
.modal-nav.prev { left: 12px; }
.modal-nav.next { right: 12px; }
.modal-counter { position: absolute; left: 12px; bottom: 12px; background: rgba(0, 0, 0, .6); color: #fff; font: 12px 'Geist Mono'; padding: 5px 8px; }
.modal-thumbs { display: flex; gap: 6px; padding: 6px; flex-wrap: wrap; }
.modal-thumb { flex: 0 0 88px; height: 64px; padding: 0; border: 0; cursor: pointer; opacity: .55; background: #222; transition: opacity .2s; }
.modal-thumb.is-active { opacity: 1; outline: 2px solid #fff; outline-offset: -2px; }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-info { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; position: relative; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 1px solid var(--line-l); background: #fff; font: 18px Geist; cursor: pointer; }
.modal-marca { font: 500 11px 'Geist Mono'; letter-spacing: .12em; text-transform: uppercase; color: #6d6d68; }
.modal-modelo { margin: 6px 0 4px; font-family: Archivo; font-stretch: 118%; font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; padding-right: 48px; }
.modal-versao { font-size: 16px; color: #55554f; }
.modal-ficha { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-l2); }
.modal-ficha-item { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line-l2); }
.modal-ficha-item .k { font: 11px 'Geist Mono'; letter-spacing: .1em; text-transform: uppercase; color: #8a8a84; }
.modal-ficha-item .v { font-size: 15px; font-weight: 500; margin-top: 3px; }
.modal-sim { background: var(--bg-light); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.modal-sim-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.modal-sim-top .lab { font-size: 13px; color: #6d6d68; }
.modal-sim-top .val { font-family: Archivo; font-stretch: 105%; font-weight: 700; font-size: 34px; line-height: 1.1; }
.modal-sim-top .parc { font-family: 'Geist Mono'; font-weight: 500; font-size: 20px; }
.modal-sim-ent { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #55554f; }
.modal-sim-ent input { flex: 1; accent-color: #111; }
.modal-sim-prazos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.modal-sim-prazos button { height: 34px; border: 1px solid var(--line-l); background: #fff; color: #111; font: 500 12px 'Geist Mono'; cursor: pointer; }
.modal-sim-prazos button.is-active { background: #111; color: #fff; }
.modal-desc { margin: 0; font-size: 15px; line-height: 1.6; color: #3c3c38; }
.modal-opc-title { font: 11px 'Geist Mono'; letter-spacing: .1em; text-transform: uppercase; color: #8a8a84; margin-bottom: 10px; }
.modal-opc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 16px; }
.modal-opc-grid div { padding: 8px 0; border-bottom: 1px solid var(--line-l2); font-size: 14px; }
.modal-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin-top: auto; }
.modal-actions .btn { height: 52px; justify-content: center; }
.modal-actions .btn-int { border: 1px solid #111; color: #111; background: #fff; }

/* ============================================================
   COMPARADOR
   ============================================================ */
.cmp-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 35;
  width: min(640px, calc(100% - 24px)); background: #111; color: var(--ink);
  padding: 10px 10px 10px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); animation: bvFade .3s both;
}
.cmp-bar[hidden] { display: none; }
.cmp-thumbs { display: flex; gap: 6px; }
.cmp-thumb { width: 48px; height: 36px; background: #222; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cmp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cmp-thumb img.ph { width: 18px; opacity: .3; }
.cmp-text { font-size: 14px; flex: 1; }
.cmp-clear { height: 40px; padding: 0 12px; border: 0; background: transparent; color: var(--ink-3); font: 500 13px Geist; cursor: pointer; }
.cmp-show { height: 40px; padding: 0 16px; border: 0; background: var(--ink); color: #111; font: 600 14px Geist; cursor: pointer; }
.cmp-show:disabled { opacity: .4; cursor: default; }
.modal-panel-cmp { max-width: 1080px; color: #111; }
.cmp-head { display: flex; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line-l2); position: sticky; top: 0; background: #fff; z-index: 2; }
.cmp-head h3 { margin: 0; font-family: Archivo; font-stretch: 112%; font-size: 22px; }
.cmp-head .modal-x { position: static; margin-left: auto; }
.cmp-content { overflow-x: auto; }
.cmp-table { min-width: 640px; }
.cmp-trow { display: grid; border-top: 1px solid var(--line-l2); }
.cmp-trow:first-child { border-top: 0; }
.cmp-cell { padding: 12px; border-left: 1px solid var(--line-l2); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.cmp-key { padding: 12px 22px; font: 11px 'Geist Mono'; letter-spacing: .1em; text-transform: uppercase; color: #8a8a84; display: flex; align-items: center; }
.cmp-cell.best { font-weight: 600; background: var(--bg-light); }
.cmp-best-tag { font: 10px 'Geist Mono'; letter-spacing: .08em; background: #111; color: #fff; padding: 2px 5px; }
.cmp-carhead { padding: 16px 12px; border-left: 1px solid var(--line-l2); }
.cmp-carhead .thumb { aspect-ratio: 4/3; background: #161616; overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.cmp-carhead .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cmp-carhead .thumb img.ph { width: 40px; opacity: .2; }
.cmp-carhead button { width: 100%; height: 40px; background: #111; color: #fff; border: 0; font: 600 13px Geist; cursor: pointer; margin-top: 8px; }

/* ---------------- WhatsApp flutuante ---------------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; height: 52px; padding: 0 20px 0 16px;
  border-radius: 999px; background: var(--wpp); color: #0b2e17; display: flex; align-items: center; gap: 10px;
  font: 600 14px Geist; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none;
  transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease);
}
.wa-float.show { opacity: 1; pointer-events: auto; transform: none; }

/* ============================================================
   REVEAL + RESPONSIVO
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(32px); }
[data-reveal].in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .btn-wpp-header { margin-left: auto; }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  .hero-cta { justify-self: start; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .loja-media { grid-template-columns: 1fr 1fr; }
  .estoque-cta { flex-direction: column; align-items: flex-start; }
  .estoque-cta .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-video { opacity: .6; }
}
