/* ═══════════════════════════════════════════════════════════
   VGF · Website v2 — main.css
   
   Faithful port of v1 styles (D:\...\Website\index.html).
   v1 used three inline <style> blocks; here they are concatenated
   in the same order they appear in v1, then v2-specific additions
   (header nav, breadcrumb, dev banner, model master/hero used by
   the new dedicated model pages) are appended at the bottom.
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════ BLOCK 1 — main styles (v1 lines 208–2303) ═══ */

/* ── BASE ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: #111;
  background: #fff;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAVBAR ──────────────────────────────────── */
.vgf-nav {
  position: sticky; top: 0; z-index: 1000;
  background: #000;
  border-bottom: 1px solid #222;
}
.vgf-nav .navbar-brand svg { height: 46px; width: auto; display: block; }
.vgf-nav .nav-link {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #aaa !important;
  padding: 8px 14px !important;
  transition: color .2s;
}
.vgf-nav .nav-link:hover,
.vgf-nav .nav-link.active { color: #fff !important; }
.navbar-toggler { border-color: #444; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── SECTIONS ────────────────────────────────── */
.vgf-section { display: none; }
.vgf-section.active { display: block; }

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
/* Slider ocupa o fundo completo */
#heroSlider {
  position: absolute; inset: 0; z-index: 0;
}
#heroSlider .carousel-inner,
#heroSlider .carousel-item {
  height: 100%;
}
#heroSlider .carousel-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.45) contrast(1.05);
}
/* Gradient overlay para legibilidade do texto */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.15) 100%);
}
.hero-noise {
  position: absolute; inset: 0; opacity: .04; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; padding: 100px 0 80px; }
.hero-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: #888; margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800; line-height: 1.05;
  color: #fff; letter-spacing: -1px; margin-bottom: 24px;
}
.hero-title span { color: #fff; opacity: .35; }
.hero-subtitle {
  font-size: 14px; font-weight: 300; color: #bbb;
  line-height: 1.8; max-width: 420px; margin-bottom: 36px;
}
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid #222;
}
.hero-stat-num {
  font-size: 28px; font-weight: 800; color: #fff;
  line-height: 1; margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 9px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: #888;
}
.hero-img-col {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-brand-mark {
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 900; letter-spacing: -6px;
  color: rgba(255,255,255,.04);
  line-height: 1; user-select: none;
  white-space: nowrap;
}

/* ── SECTION HEADER ──────────────────────────── */
.sec-header { padding: 64px 0 40px; }
.sec-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: #888; margin-bottom: 12px;
}
.sec-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; letter-spacing: -1px; color: #000;
  margin-bottom: 0;
}
.sec-title-white { color: #fff; }
.sec-lead {
  font-size: 14px; font-weight: 300; color: #777;
  line-height: 1.8; max-width: 560px;
}

/* ── BTN ─────────────────────────────────────── */
.btn-vgf {
  background: #000; color: #fff;
  border: 1px solid #000;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; border-radius: 8px;
  padding: 14px 28px;
  transition: background .2s, color .2s;
  display: inline-block;
}
.btn-vgf:hover { background: #fff; color: #000; }
.btn-vgf-outline {
  background: transparent; color: #000;
  border: 1px solid #000; border-radius: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; padding: 14px 28px;
  transition: background .2s, color .2s;
  display: inline-block;
}
.btn-vgf-outline:hover { background: #000; color: #fff; }
.btn-vgf-white {
  background: #fff; color: #000; border: 1px solid #fff;
  border-radius: 8px; font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 28px; transition: background .2s, color .2s;
  display: inline-block;
}
.btn-vgf-white:hover { background: transparent; color: #fff; }

/* ── HOME SERVICE CARDS ───────────────────────── */
.svc-cards { padding-bottom: 64px; }
.svc-card {
  border: 1px solid #e8e8e8; border-radius: 0;
  padding: 32px 28px; cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  height: 100%;
}
.svc-card:hover {
  border-color: #000; transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
}
.svc-card-eyebrow {
  font-size: 9px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: #aaa; margin-bottom: 12px;
}
.svc-card-title {
  font-size: 20px; font-weight: 700; color: #000;
  margin-bottom: 10px; letter-spacing: -.3px;
}
.svc-card-text { font-size: 13px; color: #888; line-height: 1.7; }
.svc-card-arrow {
  font-size: 18px; color: #ccc; margin-top: 20px;
  transition: color .2s, transform .2s;
}
.svc-card:hover .svc-card-arrow { color: #000; transform: translateX(4px); }

/* ── CAR CARDS ───────────────────────────────── */
/* ── CAR CARD — redesign completo ───────────────── */
.car-card {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  cursor: pointer; height: 100%;
  display: flex; flex-direction: column;
  border-left: 3px solid transparent;
  position: relative; overflow: hidden;
  transition: transform .28s cubic-bezier(0.16,1,0.3,1),
              box-shadow .28s,
              border-left-color .2s;
}
.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(0,0,0,.15);
  border-left-color: #f0c040;
}

/* — Imagem — */
.car-img-wrap {
  position: relative; height: 280px;
  overflow: hidden; background: #ebebeb; flex-shrink: 0;
}
.car-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(0.16,1,0.3,1);
}
.car-card:hover .car-img-wrap img { transform: scale(1.06); }
.car-img-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 65%, rgba(0,0,0,.22) 100%);
  pointer-events: none; z-index: 1;
}
.car-img-placeholder-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; font-weight: 900;
  color: #d0d0d0; letter-spacing: -3px; user-select: none;
}

/* — Badges — */
.car-badge {
  position: absolute; bottom: 10px; left: 0; z-index: 2;
  font-size: 8px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase;
  background: #f0c040; color: #000;
  padding: 4px 10px 4px 12px;
}
.car-year-tag {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-size: 10px; font-weight: 700; color: #fff;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 3px 9px; letter-spacing: .5px;
}

/* — Body — */
.car-card-body { padding: 16px 18px 12px; flex: 1; }
.car-card-brand {
  font-size: 8px; font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; color: #f0c040; margin-bottom: 5px;
}
.car-card-model {
  font-size: 20px; font-weight: 800; color: #000;
  letter-spacing: -.5px; line-height: 1.1; margin-bottom: 4px;
}
.car-card-version { font-size: 11px; color: #999; line-height: 1.4; }

/* — Specs strip — */
.car-card-specs {
  background: #f5f5f5; display: flex;
  padding: 10px 0; margin: 0;
  border-top: 1px solid #ebebeb;
}
.car-spec {
  flex: 1; text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  font-size: 10px; font-weight: 600;
  color: #444; letter-spacing: .3px;
}
.car-spec i { font-size: 11px; color: #bbb; }
.car-spec + .car-spec { border-left: 1px solid #e0e0e0; }

/* — Footer — */
.car-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px 15px;
  border-top: 1px solid #f0f0f0;
}
.car-price {
  font-size: 22px; font-weight: 900; color: #000; letter-spacing: -1px;
}
.car-price-label { font-size: 9px; color: #bbb; font-weight: 500; margin-top: 1px; }
.car-detail-link {
  font-size: 9px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: #ccc;
  display: flex; align-items: center; gap: 5px;
  transition: color .2s, gap .18s;
}
.car-card:hover .car-detail-link { color: #f0c040; gap: 9px; }

/* ── FILTER BAR ──────────────────────────────── */
.filter-toggle-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  background: #f8f8f8; border: 1px solid #ebebeb;
  padding: 12px 18px; margin-bottom: 0;
  transition: margin-bottom .2s ease;
}
.filter-toggle-btn {
  background: #fff; border: 1px solid #ddd; color: #333;
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 8px 16px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s ease, color .15s ease;
}
.filter-toggle-btn:hover { background: #000; color: #fff; border-color: #000; }
.filter-toggle-btn i { font-size: 10px; transition: transform .25s ease; }
.filter-toggle-btn.open i { transform: rotate(180deg); }
.filter-toggle-label {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #666;
}
.filter-bar {
  background: #f8f8f8; border: 1px solid #ebebeb;
  border-top: none;
  padding: 20px 24px; margin-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px 20px;
  align-items: end;
  overflow: hidden;
  max-height: 2000px;
  transition: max-height .35s ease, padding .25s ease, opacity .25s ease;
}
.filter-bar.is-collapsed {
  max-height: 0;
  padding-top: 0; padding-bottom: 0;
  opacity: 0;
  margin-bottom: 32px;
  border-top: none;
}
.filter-full { grid-column: 1 / -1; }

/* Labels */
.filter-label {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #aaa;
  display: block; margin-bottom: 6px;
}

/* Select */
.filter-select {
  background: #fff; border: 1px solid #ddd;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 500; color: #333;
  padding: 8px 28px 8px 12px; border-radius: 0;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  width: 100%; cursor: pointer;
}
.filter-select:focus { outline: none; border-color: #000; }

/* Dual range slider */
.range-slider-wrap { position: relative; padding-top: 4px; }
.range-track-bg {
  position: relative; height: 3px;
  background: #ddd; margin: 18px 0 8px; border-radius: 2px;
}
.range-track-fill {
  position: absolute; height: 100%;
  background: #f0c040; pointer-events: none; border-radius: 2px;
}
.range-slider-wrap input[type=range] {
  position: absolute; width: 100%; top: -7px;
  appearance: none; -webkit-appearance: none;
  background: transparent; pointer-events: none; margin: 0;
}
.range-slider-wrap input[type=range]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 15px; height: 15px;
  background: #f0c040; border: 2px solid #fff;
  box-shadow: 0 0 0 1px #f0c040;
  border-radius: 50%; cursor: pointer;
  pointer-events: all;
  transition: transform .15s;
}
.range-slider-wrap input[type=range]::-webkit-slider-thumb:active { transform: scale(1.25); }
.range-slider-wrap input[type=range]::-moz-range-thumb {
  width: 15px; height: 15px;
  background: #f0c040; border: 2px solid #fff;
  box-shadow: 0 0 0 1px #f0c040;
  border-radius: 50%; cursor: pointer;
}
.range-labels {
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 700; color: #555; margin-top: 4px;
}
.range-labels span { color: #000; }

/* Botão reset */
.filter-reset-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 1px solid #ccc;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: #888;
  padding: 8px 14px; cursor: pointer;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}
.filter-reset-btn:hover { border-color: #000; color: #000; }
.filter-reset-btn i { font-size: 10px; }

/* Contador */
.filter-count {
  font-size: 12px; font-weight: 500; color: #aaa;
  text-align: right;
}

/* ── USADOS LAYOUT (sidebar) ─────────────────── */
.usados-layout {
  display: grid;
  grid-template-columns: 272px 1fr;
  min-height: 100vh;
}
.usados-sidebar-wrap {
  /* garantir que o fundo negro ocupa sempre a coluna inteira */
  background: #080808 !important;
  align-self: stretch;
  min-height: 100%;
}
.usados-main {
  padding: 0 0 64px 32px;
  min-width: 0;
  align-self: start;
}
.usados-sidebar {
  background: #080808;
  position: sticky;
  top: 57px; /* altura do navbar */
  height: calc(100vh - 57px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
  border-right: 1px solid #1a1a1a;
  flex-shrink: 0;
}
.usados-sidebar::-webkit-scrollbar { width: 4px; }
.usados-sidebar::-webkit-scrollbar-thumb { background: #333; }

.sidebar-head {
  padding: 24px 20px 18px;
  border-bottom: 1px solid #1a1a1a;
}
.sidebar-eyebrow {
  font-size: 8px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: #f0c040; margin-bottom: 4px;
}
.sidebar-title {
  font-size: 13px; font-weight: 800; color: #fff;
  letter-spacing: -.3px;
}

.consultant-card {
  display: flex; align-items: center; gap: 6px;
  padding: 16px 24px 16px 20px;
  border-bottom: 1px solid #111;
  text-decoration: none;
  transition: background .2s;
  position: relative;
}
.consultant-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: #f0c040;
  transform: scaleY(0);
  transition: transform .2s cubic-bezier(0.16,1,0.3,1);
}
.consultant-card:hover { background: #0e0e0e; }
.consultant-card:hover::before { transform: scaleY(1); }

.consultant-photo {
  width: 88px; height: 110px;
  border-radius: 0;
  object-fit: cover; object-position: top center;
  filter: brightness(.85) saturate(.8);
  transition: filter .3s, transform .3s;
  flex-shrink: 0;
}
.consultant-card:hover .consultant-photo {
  filter: brightness(1) saturate(1.1);
  transform: scale(1.03);
}

.consultant-avatar {
  width: 88px; height: 110px;
  background: #1a1a1a; border: 1px solid #2a2a2a;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #f0c040;
  flex-shrink: 0; letter-spacing: -1px;
}
.consultant-info { flex: 1; min-width: 0; }
.consultant-name {
  font-size: 12px; font-weight: 800; color: #e8e8e8;
  letter-spacing: -.2px; line-height: 1.25;
  margin-bottom: 2px;
}
.consultant-role {
  font-size: 8px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: #f0c040; margin-bottom: 6px;
}
.consultant-phone {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: #fff;
  letter-spacing: .3px; white-space: nowrap;
}
.consultant-phone svg { opacity: .7; transition: opacity .2s; }
.consultant-card:hover .consultant-phone svg { opacity: 1; }


@media (max-width: 991px) {
  .usados-layout { grid-template-columns: 1fr; }
  /* Item C3 do Commit 11: em mobile o utilizador vai ver primeiro a
     grelha de viaturas (intent principal), só depois a equipa comercial.
     CSS `order` aplicado no grid container resolve sem mexer no markup. */
  .usados-main         { order: 1; padding: 0 0 48px; }
  .usados-sidebar-wrap { order: 2; }
  .usados-sidebar {
    position: static; height: auto;
    border-left: none; border-top: 2px solid #f0c040;
  }
  .sidebar-consultants { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sidebar-consultants { grid-template-columns: 1fr; }
}

/* ── BRAND PAGE ──────────────────────────────── */
.brand-hero {
  background: #000; color: #fff;
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background-size: cover;
}
.brand-hero-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: #d0a030; margin-bottom: 16px;
}
.brand-hero-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900; letter-spacing: -2px; margin-bottom: 20px;
}
.brand-hero-sub {
  font-size: 15px; font-weight: 400; color: #dcdcdc;
  line-height: 1.8; max-width: 560px;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}

/* Hero da Changan: a foto atual (Deepal S05 sobre neve) é muito clara à
   esquerda — onde fica o texto. Aplicamos um gradiente em CHANGAN BLUE
   (RGB 11,69,127 = #0B457F, Pantone 2154C) que cobre a metade esquerda
   deixando o carro à direita limpo. Mesmas alphas que a versão preta
   anterior — só muda a tonalidade, do preto para azul de marca, em
   conformidade com o brand book Changan. Scoped via data-brand para
   não afetar a Forthing. */
.brand-hero[data-brand="CHANGAN"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(11,69,127,.85) 0%,
    rgba(11,69,127,.55) 30%,
    rgba(11,69,127,0)   60%);
  pointer-events: none;
  z-index: 0;
}
.brand-hero[data-brand="CHANGAN"] > .container {
  position: relative;
  z-index: 1;
}
.brand-hero[data-brand="CHANGAN"] .brand-hero-sub {
  text-shadow: 0 1px 3px rgba(11,69,127,.7);
}
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  font-size: 13px; color: #555;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex; align-items: center; gap: 12px;
}
.feature-list li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: #000; flex-shrink: 0;
}
.model-card {
  border: 1px solid #e8e8e8;
  padding: 28px;
  transition: border-color .2s, transform .2s;
  height: 100%;
}
.model-card:hover { border-color: #000; transform: translateY(-3px); }
.model-card-cta { cursor: pointer; }
.model-card-link {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #ccc; margin-top: 14px;
  transition: color .2s;
}
.model-card-cta:hover .model-card-link { color: #000; }
.model-card-cat {
  font-size: 9px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: #aaa; margin-bottom: 8px;
}
.model-card-name {
  font-size: 22px; font-weight: 800; color: #000;
  letter-spacing: -.5px; margin-bottom: 8px;
}
.model-card-specs { font-size: 12px; color: #888; line-height: 1.8; margin-bottom: 16px; }
.model-card-price {
  font-size: 18px; font-weight: 700; color: #000;
  border-top: 1px solid #f0f0f0; padding-top: 14px; margin-top: 4px;
}

/* ── MODEL CARD COLOUR PICKER ────────────────── */
.model-card-img-wrap {
  position: relative; overflow: hidden;
  background: #f5f5f5; height: 180px;
  margin: -28px -28px 20px -28px;
}
.model-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: opacity .25s ease;
}
.model-colour-row {
  display: flex; gap: 7px; margin-bottom: 14px; flex-wrap: wrap;
}
.model-colour-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
  flex-shrink: 0;
}
.model-colour-dot:hover,
.model-colour-dot.active { border-color: #000; transform: scale(1.2); }

/* ── VGF HISTORY PAGE ────────────────────────── */
.history-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  background: #000;
}
/* Slider ocupa o fundo completo */
#vgfSlider {
  position: absolute; inset: 0; z-index: 0;
}
#vgfSlider .carousel-inner,
#vgfSlider .carousel-item { height: 100%; }
#vgfSlider .carousel-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.62) contrast(1.25) saturate(0.55);
}
/* Foto retrato do fundador — mostra a imagem completa */
#vgfSlider .carousel-item.founder-slide img {
  object-fit: contain;
  object-position: center center;
  filter: brightness(.72) contrast(1.2) saturate(0.5);
}
.history-hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.75) 38%, rgba(0,0,0,.18) 65%, rgba(0,0,0,.04) 100%);
}
/* Camada com toque dourado da identidade VGF */
.history-sepia-wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 100%, rgba(240,192,64,.13) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 0%, rgba(240,192,64,.07) 0%, transparent 50%),
    rgba(70, 38, 4, 0.14);
}
.history-hero-content { position: relative; z-index: 2; padding: 100px 0 80px; }
@media (max-width: 768px) {
  .history-hero { min-height: 85vh; }
}
.history-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: #666; margin-bottom: 16px;
}
.history-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900; letter-spacing: -2px; color: #fff;
  line-height: 1.05; margin-bottom: 20px;
}
.history-lead {
  font-size: 15px; font-weight: 300; color: #888;
  line-height: 1.9; max-width: 560px;
}

/* ── Mobile responsive: heros homepage + história (item C1 do Commit 11) ───
   Nem a v1 nem o porte inicial tinham media queries para os heros — só
   `clamp()` no font-size do título resolvia parte do problema. O resto
   (padding 100px, gap 40px nos stats, min-height 100vh) ficava fixo e
   estourava em mobile. Cobertura por breakpoints:
     ≤991px (Bootstrap lg): padding e gap reduzidos, sem 100vh.
     ≤768px (tablet/phone): font-sizes menores, hero-stats compacto.
     ≤480px (phone pequeno): hero-stats em 2x2 (em vez de 4 lado a lado).
   ─────────────────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  /* Heros mantêm presença mas deixam de ocupar viewport inteiro.
     Iterações: 100vh (estourava) → auto (ficava pequeno demais) → 70vh (meio termo). */
  .hero               { min-height: 70vh; }
  .hero-content       { padding: 70px 0 50px; }
  .hero-stats         { gap: 28px; padding-top: 28px; }
  /* History hero — alinhado com a homepage: mesma min-height, mesmo padding,
     mesmo overlay (105deg igual ao .hero-overlay). O override 180deg anterior
     fazia o hero parecer um componente diferente em mobile; agora os dois
     heros são visualmente coerentes. Desktop continua com o gradient 90deg
     original que deixa o slider de instalações visível à direita. */
  .history-hero       { min-height: 70vh; }
  .history-hero-content { padding: 70px 0 50px; }
  .history-hero-overlay {
    background: linear-gradient(105deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.15) 100%);
  }
}
@media (max-width: 768px) {
  .hero               { min-height: 60vh; }
  .hero-content       { padding: 56px 0 40px; }
  .hero-eyebrow       { font-size: 9px; letter-spacing: 3px; margin-bottom: 14px; }
  .hero-subtitle      { font-size: 13px; line-height: 1.7; max-width: 100%; margin-bottom: 28px; }
  .hero-stats         { gap: 18px; padding-top: 22px; }
  .hero-stat-num      { font-size: 22px; }
  .hero-stat-label    { font-size: 8px; letter-spacing: 1.5px; }
  /* Override do `.history-hero { min-height:85vh }` antigo (linha 657 da
     base v1) — aqui consolidamos em 60vh em vez de auto, para não ficar
     demasiado pequeno. */
  .history-hero       { min-height: 60vh; }
  .history-hero-content { padding: 56px 0 40px; }
  /* Tipografia alinhada com .hero-eyebrow / .hero-subtitle: mesmas margens,
     mesmo font-size do lead. Title relaxa o tracking de -2px (base) para -1px
     em mobile, igualando o tracking default do .hero-title. */
  .history-eyebrow    { font-size: 9px; letter-spacing: 3px; margin-bottom: 14px; }
  .history-title      { letter-spacing: -1px; line-height: 1.1; }
  .history-lead       { font-size: 13px; line-height: 1.7; max-width: 100%; margin-bottom: 28px; }
}
@media (max-width: 480px) {
  .hero-content { padding: 48px 0 32px; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;   /* 2x2 em vez de 4 cabaleados */
    gap: 18px 24px;
  }
  .hero-stat-num   { font-size: 20px; }
  .history-hero-content { padding: 48px 0 32px; }
  /* Removidos os tweaks extra de .history-title / .history-lead — homepage
     também não os tem a este breakpoint, e os valores herdados de @768px
     (letter-spacing -1px, font-size 13px) já estão bem em ecrãs muito pequenos. */
}

/* ── Road Journey Timeline ───────────────────────────────────────────── */
.road-journey {
  position: relative;
  background: #0c0c0c;
  padding: 0 0 80px;
  overflow: hidden;
}
.road-journey-header {
  text-align: center;
  padding: 72px 24px 0;
  position: relative;
  z-index: 2;
}
.road-journey-header .sec-eyebrow { color: #f0c040; }
.road-journey-header .sec-title { color: #fff; }
.road-journey::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  pointer-events: none;
  z-index: 0;
}
.road-svg-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  /* adaptive spacer: 24px base, grows to 60px on wider screens */
  padding: 0 clamp(24px, 4vw, 60px);
  box-sizing: border-box;
  z-index: 1;
}
.road-svg-wrap svg { width: 100%; height: auto; display: block; }

/* Animação da estrada — abrandada em Commit 11 (item C2).
   v1: 2.8s (rápido demais). 1ª iteração: 5.5s. Final: 7.5s a pedido do User
   para dar mais tempo de leitura/percepção do desenho da estrada. */
#road-asphalt {
  stroke-dasharray: 3800;
  stroke-dashoffset: 3800;
  transition: stroke-dashoffset 7.5s cubic-bezier(0.4,0,0.2,1);
}
#road-edge-l, #road-edge-r {
  stroke-dasharray: 3800;
  stroke-dashoffset: 3800;
  transition: stroke-dashoffset 7.5s cubic-bezier(0.4,0,0.2,1) 0.20s;
}
#road-dashes {
  stroke-dasharray: 36 24;
  stroke-dashoffset: 3800;
  transition: stroke-dashoffset 7.5s cubic-bezier(0.4,0,0.2,1) 0.40s;
}
.road-journey.road-animated #road-asphalt,
.road-journey.road-animated #road-edge-l,
.road-journey.road-animated #road-edge-r { stroke-dashoffset: 0; }
.road-journey.road-animated #road-dashes { stroke-dashoffset: 0; }

.road-milestone {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.road-journey.road-animated .road-milestone { opacity: 1; }
/* Milestones desacoplados da velocidade da estrada — aparecem nos primeiros
   ~3s (escalonados) enquanto a estrada continua a desenhar-se em background
   até 7.5s. Pedido do User: "estrada lenta, cards rápidos." */
.road-journey.road-animated .road-milestone-1 { transition-delay: 0.4s; }
.road-journey.road-animated .road-milestone-2 { transition-delay: 1.0s; }
.road-journey.road-animated .road-milestone-3 { transition-delay: 1.6s; }
.road-journey.road-animated .road-milestone-4 { transition-delay: 2.2s; }
.road-journey.road-animated .road-milestone-5 { transition-delay: 2.8s; }

/* responsive breakpoints */
@media (max-width: 900px) {
  /* tablets: scale down the SVG so it stays readable */
  .road-svg-wrap { max-width: 100%; padding: 0 8px; }
}
@media (max-width: 680px) {
  /* mobile: hide SVG, show vertical strip */
  .road-svg-wrap { display: none; }
  .road-mobile { display: flex !important; }
}
.road-mobile {
  display: none;
  flex-direction: column;
  padding: 40px 24px 0;
  position: relative;
  gap: 0;
}
.road-mobile::before {
  content: '';
  position: absolute;
  left: 43px; top: 0; bottom: 0;
  width: 3px;
  background: repeating-linear-gradient(to bottom, #f0c040 0px, #f0c040 18px, transparent 18px, transparent 30px);
}
.road-mobile-item {
  display: flex; gap: 20px; margin-bottom: 40px;
  opacity: 0; transform: translateX(-16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.road-journey.road-animated .road-mobile-item { opacity: 1; transform: translateX(0); }
.road-journey.road-animated .road-mobile-item:nth-child(1) { transition-delay: 0.3s; }
.road-journey.road-animated .road-mobile-item:nth-child(2) { transition-delay: 0.6s; }
.road-journey.road-animated .road-mobile-item:nth-child(3) { transition-delay: 0.9s; }
.road-journey.road-animated .road-mobile-item:nth-child(4) { transition-delay: 1.2s; }
.road-journey.road-animated .road-mobile-item:nth-child(5) { transition-delay: 1.5s; }
.road-mobile-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: #f0c040; flex-shrink: 0; margin-top: 3px;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 5px rgba(240,192,64,0.2);
}
.road-mobile-year {
  font-size: 28px; font-weight: 900; color: #f0c040;
  letter-spacing: -1.5px; line-height: 1; margin-bottom: 4px;
}
.road-mobile-title {
  font-size: 11px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 5px;
}
.road-mobile-text { font-size: 12px; color: rgba(255,255,255,0.68); line-height: 1.65; }
/* Cards inside SVG foreignObject */
.road-card {
  font-family: 'Montserrat', sans-serif;
  background: rgba(22,22,22,0.92);
  border: 1px solid rgba(240,192,64,0.2);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.8);
  width: 100%; height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.road-card-year {
  font-size: 28px; font-weight: 900;
  color: #f0c040; letter-spacing: -1.5px;
  line-height: 1; margin-bottom: 5px;
}
.road-card-title {
  font-size: 10px; font-weight: 700;
  color: #fff; text-transform: uppercase;
  letter-spacing: .7px; margin-bottom: 7px;
}
.road-card-text {
  font-size: 10.5px; color: rgba(255,255,255,0.52);
  line-height: 1.6; margin: 0;
}
/* Photo grid */
.photo-grid { padding: 0 0 72px; }
.photo-grid-item {
  overflow: hidden; position: relative; background: #f5f5f5;
}
.photo-grid-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease; display: block;
}
.photo-grid-item:hover img { transform: scale(1.04); }
.photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff; font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 32px 16px 14px;
}
/* Quem somos text */
.quem-somos { padding: 64px 0 40px; background: #f8f8f8; }
.quem-somos-body {
  font-size: 15px; color: #444; line-height: 2;
  max-width: 740px;
}
.quem-somos-body strong { color: #000; }

/* ── POLICY PAGES ────────────────────────────── */
.policy-hero {
  background: #000; color: #fff;
  padding: 56px 0 48px;
}
.policy-hero-eyebrow {
  font-size: 9px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: #555; margin-bottom: 14px;
}
.policy-hero-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900; letter-spacing: -1.5px; margin-bottom: 0;
}
.policy-body { padding: 56px 0 72px; }
.policy-body h2 {
  font-size: 17px; font-weight: 700; color: #000;
  margin: 36px 0 14px; letter-spacing: -.3px;
}
.policy-body h3 {
  font-size: 13px; font-weight: 700; color: #000;
  margin: 24px 0 10px; text-transform: uppercase; letter-spacing: .5px;
}
.policy-body p {
  font-size: 13px; color: #555; line-height: 1.9; margin-bottom: 14px;
}
.policy-body ul {
  padding-left: 20px; margin-bottom: 16px;
}
.policy-body ul li {
  font-size: 13px; color: #555; line-height: 1.8; margin-bottom: 4px;
}
.policy-body a { color: #000; text-decoration: underline; }
.policy-body .policy-update {
  font-size: 11px; color: #aaa; margin-top: 48px;
  padding-top: 20px; border-top: 1px solid #f0f0f0;
}
.policy-toc {
  background: #f8f8f8; border: 1px solid #ebebeb;
  padding: 28px 32px; margin-bottom: 40px;
}
.policy-toc-title {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: #aaa; margin-bottom: 14px;
}
.policy-toc ol {
  padding-left: 20px; margin: 0;
}
.policy-toc ol li {
  font-size: 12px; color: #555; line-height: 2;
}
.credito-table {
  width: 100%; border-collapse: collapse; margin: 20px 0;
}
.credito-table td {
  padding: 12px 16px; border: 1px solid #ebebeb;
  font-size: 13px; vertical-align: top;
}
.credito-table td:first-child {
  font-weight: 700; color: #000;
  background: #f8f8f8; white-space: nowrap;
  width: 220px;
}
.credito-highlight {
  background: #000; color: #fff;
  padding: 24px 28px; margin: 24px 0;
}
.credito-highlight p {
  color: #aaa; margin: 0; font-size: 13px; line-height: 1.8;
}
.credito-highlight strong { color: #fff; }

/* ── VIDEO SECTION ───────────────────────────── */
.video-section { background: #000; padding: 64px 0; }
.video-section .sec-eyebrow { color: #999; }
.video-section .sec-title-white { color: #fff; }
.video-wrap {
  border: 1px solid #222;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.video-wrap iframe { display: block; }

/* ── YOUTUBE FACADE ──────────────────────────── */
.yt-facade {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  cursor: pointer;
  overflow: hidden;
  display: block;
}
.yt-facade img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, opacity .3s ease;
}
.yt-facade:hover img { transform: scale(1.03); opacity: .85; }
.yt-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: none; border: none; padding: 0;
  cursor: pointer; line-height: 0;
  transition: transform .2s ease, filter .2s ease;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.6));
}
.yt-play-btn svg { width: 72px; height: 51px; }
.yt-facade:hover .yt-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.8));
}
.yt-facade iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ── MODELO EV CARD ──────────────────────────── */
.ev-badge {
  display: inline-block; background: #000; color: #fff;
  font-size: 8px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 3px 8px; margin-bottom: 10px;
}
.ev-spec-row {
  display: flex; gap: 0;
  background: #f8f8f8;
  border: 1px solid #ebebeb;
  margin-top: 14px;
}
.ev-spec {
  flex: 1; padding: 12px 10px; text-align: center;
  border-right: 1px solid #ebebeb;
}
.ev-spec:last-child { border-right: none; }
.ev-spec-val {
  font-size: 16px; font-weight: 800; color: #000;
  line-height: 1; margin-bottom: 3px;
}
.ev-spec-label {
  font-size: 8px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: #aaa;
}

/* ── SPECS ACCORDION (ficha técnica em cards de modelo) ───────────────
   Acordeão minimalista com 4 categorias (Motor, Bateria, Dimensões,
   Equipamento). Quebra para fora do padding do .model-card via margens
   negativas para que os separadores ocupem a largura toda do card. */
.specs-accordion {
  margin: 18px -28px 14px;
  border-top: 1px solid #f0f0f0;
}
.specs-panel {
  border-bottom: 1px solid #f0f0f0;
}
.specs-panel > summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.specs-panel > summary::-webkit-details-marker { display: none; }
.specs-panel > summary::marker { content: ''; }
.specs-panel > summary:hover .specs-panel-label { color: #000; }
.specs-panel-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #444;
  transition: color .15s;
}
.specs-panel-icon {
  position: relative;
  width: 11px; height: 11px;
  flex-shrink: 0;
}
.specs-panel-icon::before,
.specs-panel-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1px;
  background: #000;
  transform: translateY(-50%);
}
.specs-panel-icon::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform .2s ease;
}
.specs-panel[open] .specs-panel-icon::after {
  transform: translateY(-50%) rotate(0);
}
.specs-panel[open] .specs-panel-label {
  color: #000;
}
.specs-list {
  list-style: none;
  padding: 0 28px 14px;
  margin: 0;
}
.specs-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  font-size: 12px;
  line-height: 1.5;
  border-top: 1px dashed #f1f1f1;
}
.specs-row:first-child { border-top: none; }
.specs-row-label {
  color: #888;
  flex: 1 1 auto;
}
.specs-row-value {
  color: #000;
  font-weight: 600;
  text-align: right;
  flex: 0 0 auto;
}
/* Categoria "Equipamento": rows são features (label sem value) →
   removemos a coluna direita e damos uma vibe de bullet list. */
.specs-row:not(:has(.specs-row-value)) .specs-row-label {
  color: #333;
  font-weight: 500;
}
.specs-row:not(:has(.specs-row-value))::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #000;
  flex-shrink: 0;
  margin-right: -8px;
  align-self: center;
}

/* ── SPECS COMPARATOR (lado-a-lado quando 2+ trims comparáveis) ─────
   Layout em grelha de 1 coluna de labels + N colunas de trims. Cabeçalho
   com nome do trim e headline numbers. Seções por categoria como
   sub-tabelas, com diff highlight em #fdf6e3 (dourado claro, alinhado
   ao accent #d0a030 da marca). Em mobile colapsa para colunas só de
   trims, com label sticky por cima de cada bloco. */
.cmp {
  margin-top: 14px;
  background: #fff;
  border: 1px solid #e8e8e8;
}
.cmp-grid {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  border-bottom: 1px solid #ebebeb;
}
.cmp-grid.cmp-grid-3 { grid-template-columns: 200px 1fr 1fr 1fr; }
.cmp-trim-head { padding: 24px; border-left: 1px solid #ebebeb; }
.cmp-trim-head:first-child { border-left: none; }
.cmp-trim-eyebrow {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #aaa; margin-bottom: 6px;
}
.cmp-trim-name {
  font-size: 22px; font-weight: 800;
  letter-spacing: -.3px; margin-bottom: 16px; color: #000;
}
.cmp-headline { display: flex; gap: 18px; flex-wrap: wrap; }
.cmp-headline-item { display: flex; flex-direction: column; }
.cmp-headline-val {
  font-size: 22px; font-weight: 800; line-height: 1; color: #000;
}
.cmp-headline-label {
  font-size: 8px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: #aaa; margin-top: 4px;
}
.cmp-section { border-top: 1px solid #ebebeb; }
.cmp-section:first-child { border-top: none; }
.cmp-section-title {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: #888;
  padding: 14px 28px 10px; margin: 0;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}
.cmp-table {
  width: 100%; border-collapse: collapse;
  table-layout: fixed;
}
.cmp-table th, .cmp-table td {
  padding: 10px 12px; text-align: left; vertical-align: middle;
  font-size: 12px; line-height: 1.5;
  border-bottom: 1px dashed #f1f1f1;
}
.cmp-table tr:last-child th,
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-label {
  width: 200px; font-weight: 500; color: #888;
  padding-left: 28px !important;
}
.cmp-val {
  font-weight: 600; color: #000;
}
.cmp-val.cmp-empty { color: #ccc; font-weight: 400; }
.cmp-val.cmp-diff { background: #fdf6e3; }
.cmp-check {
  text-align: center !important; font-weight: 700;
}
.cmp-check.cmp-on  { color: #000; }
.cmp-check.cmp-off { color: #ccc; font-weight: 400; }
.cmp-check.cmp-diff { background: #fdf6e3; }
.cmp-check.cmp-diff.cmp-on { color: #c08020; }
.cmp-cta {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  background: #000;
  padding: 18px 28px;
  gap: 12px;
}
.cmp-cta.cmp-cta-3 { grid-template-columns: 200px 1fr 1fr 1fr; }
.cmp-cta-link {
  color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; padding: 10px 16px;
  border: 1px solid #444; text-align: center;
  transition: border-color .2s, background .2s;
}
.cmp-cta-link:hover { border-color: #fff; background: rgba(255,255,255,.06); color: #fff; }
.cmp-cta-spacer { /* coluna vazia alinhada com a coluna de labels */ }

@media (max-width: 800px) {
  .cmp-grid,
  .cmp-grid.cmp-grid-3,
  .cmp-cta,
  .cmp-cta.cmp-cta-3 { grid-template-columns: 1fr 1fr; }
  .cmp-grid > .cmp-trim-head:first-child { display: none; }
  .cmp-cta-spacer { display: none; }
  .cmp-table { table-layout: auto; }
  .cmp-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 8px;
    border-bottom: 1px dashed #f1f1f1;
  }
  .cmp-table tr:last-child { border-bottom: none; }
  .cmp-table th, .cmp-table td { border-bottom: none; }
  .cmp-table th.cmp-label {
    grid-column: 1 / -1;
    padding: 10px 28px 4px !important;
    color: #aaa; font-size: 9px;
    letter-spacing: 1.5px; text-transform: uppercase;
    background: #fafafa;
  }
}

/* ── SERVICES ────────────────────────────────── */
.service-card {
  padding: 28px; border: 1px solid #e8e8e8; height: 100%;
  transition: border-color .2s, transform .2s;
}
.service-card:hover { border-color: #000; transform: translateY(-3px); }
.service-card-cta { cursor: pointer; }
.service-link {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #ccc;
  margin-top: 16px; transition: color .2s;
}
.service-card-cta:hover .service-link { color: #000; }
.service-icon {
  width: 44px; height: 44px; background: #000;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon i { color: #fff; font-size: 18px; }
.service-name {
  font-size: 16px; font-weight: 700; color: #000; margin-bottom: 8px;
}
.service-desc { font-size: 13px; color: #888; line-height: 1.7; }

/* ── CTA STRIP ───────────────────────────────── */
.cta-strip {
  background: #000; color: #fff;
  padding: 48px 0; margin: 48px 0;
}
.cta-strip-title {
  font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 6px;
}
.cta-strip-sub { font-size: 14px; color: #aaa; }

/* ── OFICINA PAGE ─────────────────────────────── */
.oficina-hero {
  background: #0a0a0a;
  padding: 90px 0 64px;
}
.oficina-brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #1c1c1c;
  border: 1px solid #1c1c1c;
}
.oficina-brand-cell {
  background: #111;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: background .25s;
}
.oficina-brand-cell:hover { background: #171717; }
.oficina-brand-cell img {
  max-height: 58px;
  max-width: 160px;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.2);
  opacity: .65;
  transition: opacity .3s, filter .3s;
}
.oficina-brand-cell:hover img {
  opacity: 1;
  filter: brightness(1.5);
}
.oficina-brand-cell-label {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #777;
  text-align: center;
  transition: color .25s;
}
.oficina-brand-cell:hover .oficina-brand-cell-label { color: #aaa; }
a.oficina-brand-cell { text-decoration: none; cursor: pointer; }
a.oficina-brand-cell:hover { outline: 1px solid #333; }
.oficina-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #1c1c1c;
  border: 1px solid #1c1c1c;
}
.otrust-badge {
  background: #0f0f0f;
  padding: 22px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background .2s;
}
.otrust-badge:hover { background: #141414; }
.otrust-logo { flex-shrink: 0; }
.otrust-label {
  font-size: 11px;
  color: #666;
  line-height: 1.5;
}
.otrust-label strong {
  display: block;
  color: #ccc;
  font-weight: 700;
  letter-spacing: .3px;
  margin-top: 2px;
}

.oficina-stats-bar {
  background: #f0c040;
  padding: 0;
}
.oficina-stats-row {
  display: flex;
  align-items: stretch;
}
.oficina-stat {
  flex: 1;
  padding: 28px 24px;
  text-align: center;
}
.oficina-stat-num {
  font-size: 32px;
  font-weight: 900;
  color: #000;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}
.oficina-stat-num span {
  font-size: 22px;
  font-weight: 700;
}
.oficina-stat-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5a4a00;
}
.oficina-stat-sep {
  width: 1px;
  background: rgba(0,0,0,.12);
  margin: 16px 0;
}

.oficina-process-wrap {
  background: #f8f8f8;
  padding: 80px 0;
}
.oficina-process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.oficina-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}
.oficina-step-num {
  width: 52px;
  height: 52px;
  background: #000;
  color: #f0c040;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.oficina-step-title {
  font-size: 14px;
  font-weight: 800;
  color: #000;
  margin-bottom: 10px;
  letter-spacing: -.2px;
}
.oficina-step-desc {
  font-size: 12px;
  color: #777;
  line-height: 1.8;
}
.oficina-step-arrow {
  padding: 0 4px;
  margin-top: 14px;
  color: #ccc;
  font-size: 14px;
  flex-shrink: 0;
}

/* ── CONTACT FORM TABS ────────────────────────── */
.cform-tabs {
  display: flex;
  border-bottom: 2px solid #000;
  margin-bottom: 0;
}
.cform-tab {
  flex: 1;
  background: #f0f0f0;
  border: none;
  border-bottom: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  padding: 14px 8px;
  cursor: pointer;
  transition: background .15s, color .15s;
  border-right: 1px solid #e0e0e0;
}
.cform-tab:last-child { border-right: none; }
.cform-tab:hover { background: #e8e8e8; color: #333; }
.cform-tab.active { background: #000; color: #f0c040; }
.cform-panel { display: none; }
.cform-panel.active { display: block; }
.cform-title {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  letter-spacing: -.3px;
}
.req { color: #c0392b; font-weight: 700; margin-left: 1px; }
.form-control-vgf.is-invalid { border-color: #c0392b !important; background-color: #fff8f8; }
.cform-group-error {
  font-size: 11px; color: #c0392b; font-weight: 600;
  margin-top: -10px; margin-bottom: 12px; display: none;
}
.cform-group-error.show { display: block; }
.cform-privacy {
  font-size: 11px; color: #aaa; margin-bottom: 6px;
  display: flex; align-items: flex-start; gap: 8px;
}
.cform-privacy label { cursor: pointer; line-height: 1.5; }
.cform-privacy input[type=checkbox] { margin-top: 2px; flex-shrink: 0; accent-color: #000; }
.cform-feedback {
  margin-top: 14px; font-size: 13px; font-weight: 600;
  padding: 12px 16px; display: none; border-left: 3px solid;
}
.cform-feedback.ok { display: block; color: #1a6b3c; border-color: #1a6b3c; background: #f0faf5; }
.cform-feedback.err { display: block; color: #c0392b; border-color: #c0392b; background: #fff5f5; }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }

@media (max-width: 767px) {
  .oficina-process-steps { flex-direction: column; align-items: stretch; gap: 24px; }
  .oficina-step-arrow { display: none; }
  .oficina-step { flex-direction: row; text-align: left; align-items: flex-start; gap: 16px; padding: 0; }
  .oficina-step-num { margin-bottom: 0; flex-shrink: 0; }
  .oficina-stats-row { flex-wrap: wrap; }
  .oficina-stat { flex: 0 0 50%; }
  .oficina-stat-sep { display: none; }
  .oficina-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cform-tab { font-size: 9px; padding: 12px 4px; letter-spacing: 1px; }
}

/* ── CONTACTS ────────────────────────────────── */
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid #f0f0f0;
}
.contact-info-icon {
  width: 40px; height: 40px; background: #000; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.contact-info-icon i { color: #fff; font-size: 15px; }
.contact-info-label {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #aaa; margin-bottom: 4px;
}
.contact-info-value { font-size: 14px; font-weight: 500; color: #000; line-height: 1.6; }
.contact-form-wrap {
  background: #f8f8f8; border: 1px solid #ebebeb; padding: 36px;
}
.form-label-vgf {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #888; margin-bottom: 6px;
  display: block;
}
.form-control-vgf {
  width: 100%; background: #fff; border: 1px solid #ddd;
  border-radius: 0; font-family: 'Montserrat', sans-serif;
  font-size: 13px; color: #333; padding: 11px 14px;
  outline: none; transition: border-color .2s; margin-bottom: 14px;
}
.form-control-vgf:focus { border-color: #000; }
.form-control-vgf::placeholder { color: #bbb; }
select.form-control-vgf {
  cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
textarea.form-control-vgf { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; background: #000; color: #fff;
  border: 1px solid #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 15px;
  cursor: pointer; transition: background .2s, color .2s;
}
.form-submit:hover { background: #fff; color: #000; }
.location-card {
  border: 1px solid #e8e8e8; padding: 24px; height: 100%;
  transition: border-color .2s;
}
.location-card:hover { border-color: #000; }
.location-card-title {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 10px; color: #000;
}
.location-card-addr { font-size: 13px; color: #777; line-height: 1.7; }

/* ── MODAL ───────────────────────────────────── */
/* ══ MODAL REDESIGN ══════════════════════════════ */
.vgf-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.88);
  align-items: center; justify-content: center;
  padding: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.vgf-modal-overlay.open { display: flex; }

.vgf-modal {
  background: #0c0c0c;
  width: 100%; max-width: 1400px;
  height: 92vh;
  display: grid;
  grid-template-columns: 55% 45%;
  overflow: hidden;
  position: relative;
  animation: mIn .3s cubic-bezier(.22,.68,0,1.2);
  border: 1px solid #1e1e1e;
}
@keyframes mIn {
  from { opacity:0; transform: scale(.96) translateY(12px); }
  to   { opacity:1; transform: scale(1)  translateY(0); }
}

/* ── Coluna esquerda: galeria ── */
.vm-gallery {
  background: #080808;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.vm-main-photo {
  flex: 1; position: relative;
  min-height: 400px; overflow: hidden;
}
.vm-main-photo img {
  width: 100%; height: 100%;
  object-fit: contain;
  position: absolute; inset: 0;
  transition: opacity .25s ease;
}
.vm-main-photo .vm-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; font-weight: 900; letter-spacing: -6px;
  color: #1a1a1a;
}
.vm-photo-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.1);
  color: #fff; cursor: pointer; font-size: 18px; line-height: 1;
  transition: background .2s, border-color .2s; z-index: 2;
  user-select: none;
}
.vm-photo-nav:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.vm-photo-prev { left: 12px; }
.vm-photo-next { right: 12px; }
.vm-photo-counter {
  position: absolute; bottom: 10px; right: 12px;
  font-size: 10px; font-weight: 600; letter-spacing: 1px;
  color: rgba(255,255,255,.45); z-index: 2;
}
.vm-badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-size: 9px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; padding: 5px 10px;
  background: #f0c040; color: #000;
}
/* Thumbnails */
.vm-thumbs {
  display: flex; gap: 4px; padding: 8px;
  overflow-x: auto; background: #080808;
  flex-shrink: 0;
}
.vm-thumbs::-webkit-scrollbar { height: 3px; }
.vm-thumbs::-webkit-scrollbar-thumb { background: #333; }
.vm-thumb {
  flex-shrink: 0; width: 64px; height: 46px;
  overflow: hidden; cursor: pointer; opacity: .45;
  border: 1px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.vm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vm-thumb.active { opacity: 1; border-color: #fff; }
.vm-thumb:hover:not(.active) { opacity: .75; }

/* ── Coluna direita: detalhes ── */
.vm-details {
  background: #fff;
  overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column;
  height: 100%;
}
.vm-details::-webkit-scrollbar { width: 4px; }
.vm-details::-webkit-scrollbar-thumb { background: #ddd; }

.vm-close {
  position: absolute; top: 0; right: 0; z-index: 10;
  width: 46px; height: 46px;
  background: #000; color: #fff; border: none;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.vm-close:hover { background: #333; }

.vm-header { padding: 32px 28px 0; }
.vm-brand-tag {
  font-size: 9px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: #aaa; margin-bottom: 8px;
}
.vm-model-name {
  font-size: 30px; font-weight: 900; letter-spacing: -1.5px;
  color: #000; line-height: 1; margin-bottom: 6px;
}
.vm-version-line {
  font-size: 11px; font-weight: 500; color: #888;
  margin-bottom: 22px; line-height: 1.5;
}

/* Preço */
.vm-price-block {
  margin: 0 28px 22px;
  background: #000; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.vm-price-amount {
  font-size: 30px; font-weight: 900; color: #fff; letter-spacing: -1.5px;
}
.vm-price-label {
  font-size: 9px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  margin-top: 3px;
}
.vm-cta-btn {
  background: #fff; color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; border: none;
  padding: 11px 18px; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s;
}
.vm-cta-btn:hover { background: #f0c040; }

/* Specs */
.vm-specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 0 28px 22px;
  border: 1px solid #ebebeb;
}
.vm-spec-item {
  padding: 12px 10px; text-align: center;
  border-right: 1px solid #ebebeb;
}
.vm-spec-item:last-child { border-right: none; }
.vm-spec-item:nth-child(n+4) { border-top: 1px solid #ebebeb; }
.vm-spec-icon {
  font-size: 13px; color: #bbb; margin-bottom: 5px;
}
.vm-spec-label {
  font-size: 8px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #bbb; margin-bottom: 3px;
}
.vm-spec-val {
  font-size: 13px; font-weight: 800; color: #000;
}

/* Equipment tabs */
.vm-equip {
  padding: 0 28px 0;
  flex: 1;
  display: flex; flex-direction: column;
  min-height: 0;
}
.vm-equip-heading {
  font-size: 8px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: #aaa; margin-bottom: 10px;
  flex-shrink: 0;
}
.vm-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.vm-tab-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: #aaa;
  background: none; border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 4px; cursor: pointer; margin-bottom: -1px;
  transition: color .2s, border-color .2s;
  text-align: center; line-height: 1.4;
}
.vm-tab-btn.active { color: #000; border-bottom-color: #000; }
.vm-tab-btn:hover:not(.active) { color: #555; }
.vm-tab-panel { display: none; flex: 1; min-height: 0; }
.vm-tab-panel.active {
  display: flex; flex-direction: column; flex: 1; min-height: 0;
}
.vm-equip-list {
  column-count: 2; column-gap: 20px;
  overflow-y: auto;
  flex: 1;
}
.vm-equip-list::-webkit-scrollbar { width: 3px; }
.vm-equip-list::-webkit-scrollbar-thumb { background: #ddd; }
.vm-equip-item {
  font-size: 12px; color: #555; padding: 4px 0;
  display: flex; align-items: flex-start; gap: 7px;
  break-inside: avoid;
}
.vm-equip-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: #000; flex-shrink: 0; margin-top: 3px;
}

/* Footer do modal */
.vm-footer {
  padding: 14px 28px; border-top: 1px solid #ebebeb;
  display: flex; gap: 10px; flex-wrap: wrap;
  background: #fff; flex-shrink: 0; margin-top: auto;
}
.vm-footer-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 11px 20px;
  cursor: pointer; border: 1px solid #000;
  transition: background .2s, color .2s;
}
.vm-footer-btn.primary { background: #000; color: #fff; }
.vm-footer-btn.primary:hover { background: #222; }
.vm-footer-btn.ghost { background: #fff; color: #000; }
.vm-footer-btn.ghost:hover { background: #f5f5f5; }

/* Mobile: stack layout */
@media (max-width: 720px) {
  .vgf-modal {
    grid-template-columns: 1fr;
    height: 100vh;
    overflow-y: auto;
  }
  /* Gallery: deixar o conteúdo ditar a altura. Sem isto, o min-height
     anterior (280 px) combinado com `overflow: hidden` na regra base
     cortava os ~25 px de baixo das miniaturas (photo 240 + thumbs 65 =
     305 > 280), e o card branco de detalhes começava exactamente em
     y = 280, sobrepondo-se à thumbnail row — daí o efeito "encavalitado".

     `min-width: 0` é crítico: a grid 1fr do .vgf-modal, sem esta safety,
     dimensiona a coluna ao min-content da gallery, que (por causa das 16
     miniaturas de 64 px com flex-shrink: 0 dentro de .vm-thumbs) era
     ~1100 px. A foto principal — `align-self: stretch` por defeito —
     herdava esses 1100 px, e a imagem com object-fit: contain ficava
     centrada off-screen, deixando o container preto.

     `overflow: clip visible` permite que as miniaturas mostrem a altura
     toda (sem cortar como antes) mas continua a clipar horizontalmente
     o que sobrar (scroll interno do .vm-thumbs trata o resto).
     Substituído em 2026-05-01. */
  .vm-gallery {
    min-height: auto;
    min-width: 0;
    overflow: clip visible;
  }
  /* Photo com altura fixa: `flex: 1 1 0%` da regra base, dentro de uma
     gallery auto-sized, é instável (basis 0 + min-height pode colapsar
     em alguns engines). Forçar 240 px aqui é determinístico. */
  .vm-main-photo {
    flex: 0 0 240px;
    min-height: 240px;
  }
  /* Respiração visual entre miniaturas e o card branco. */
  .vm-thumbs { margin-bottom: 6px; }
  .vm-details { max-height: none; overflow: visible; }
  .vm-specs { grid-template-columns: repeat(3, 1fr); }
  .vm-equip-list { column-count: 1; }
  .vm-price-amount { font-size: 24px; }
  .vm-model-name { font-size: 24px; }
}

/* ── FOOTER ──────────────────────────────────── */
.vgf-footer {
  background: #000; color: #fff;
  padding: 56px 0 24px;
}
.footer-col-title {
  font-size: 9px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: #888; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid #1a1a1a;
}
.footer-link {
  display: block; font-size: 12px; font-weight: 400;
  color: #888; margin-bottom: 8px;
  transition: color .2s; cursor: pointer;
}
.footer-link:hover { color: #fff; }
.footer-divider {
  border-color: #1a1a1a; margin: 28px 0 24px;
}
.footer-bottom {
  font-size: 11px; color: #777;
}
.footer-logo-text {
  font-size: 14px; font-weight: 800; letter-spacing: 2px;
  color: #fff; margin-bottom: 8px;
}
.footer-logo-sub { font-size: 10px; color: #777; letter-spacing: 1px; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid #333;
  color: #888; transition: border-color .2s, color .2s;
  margin-right: 8px;
}
.social-link:hover { border-color: #fff; color: #fff; }

/* ── DIVIDER ─────────────────────────────────── */
.vgf-divider { border-color: #f0f0f0; margin: 40px 0; }

/* ── MAP FRAME ───────────────────────────────── */
.vgf-map-frame { border: 1px solid #222; overflow: hidden; }
.vgf-map-frame iframe { display: block; width: 100%; height: 400px; border: 0; }
.vgf-map-link { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #888; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.vgf-map-link:hover { color: #fff; }
@media (max-width: 768px) { .vgf-map-frame iframe { height: 280px; } }

/* ══════════════════════════════════════════════
   DESIGN ENHANCEMENTS
══════════════════════════════════════════════ */

/* ── SECTION ENTRANCE ANIMATION ─────────────── */
@keyframes secEnter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.vgf-section.active {
  animation: secEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── NAV ACTIVE INDICATOR ────────────────────── */
.vgf-nav .nav-link { position: relative; }
.vgf-nav .nav-link.active::after {
  content: '';
  position: absolute; bottom: -1px; left: 14px; right: 14px;
  height: 2px; background: #f0c040;
}

/* ── CTA STRIP ACCENT ────────────────────────── */
.cta-strip { border-top: 2px solid #1e1e1e; }
#sec-forthing .cta-strip,
#sec-changan  .cta-strip,
#sec-oficina  .cta-strip { margin: 0; }

/* ── HERO SLIDER: CROSSFADE + KEN BURNS ─────── */
#heroSlider,
#heroSlider .carousel-inner { height: 100%; }
#heroSlider .carousel-item   { height: 100%; }

/* Ken Burns — each image gently zooms & drifts */
@keyframes kbA { from { transform: scale(1)    translateX(0px);  } to { transform: scale(1.07) translateX(-10px); } }
@keyframes kbB { from { transform: scale(1.04) translateX(-6px); } to { transform: scale(1)    translateX(4px);   } }
@keyframes kbC { from { transform: scale(1)    translateY(0px);  } to { transform: scale(1.06) translateY(-8px);  } }

#heroSlider .carousel-item:nth-child(1) img { animation: kbA 8s ease-in-out alternate infinite; }
#heroSlider .carousel-item:nth-child(2) img { animation: kbB 9s ease-in-out alternate infinite; }
#heroSlider .carousel-item:nth-child(3) img { animation: kbA 7s ease-in-out alternate infinite reverse; }
#heroSlider .carousel-item:nth-child(4) img { animation: kbC 10s ease-in-out alternate infinite; }
#heroSlider .carousel-item:nth-child(5) img { animation: kbB 8s ease-in-out alternate infinite reverse; }

/* Slider indicators — pill style */
#heroSlider .carousel-indicators {
  bottom: 14px; margin: 0; gap: 5px;
  justify-content: flex-end; padding-right: 20px;
}
#heroSlider .carousel-indicators [data-bs-target] {
  width: 6px; height: 6px; border-radius: 50%;
  border: none; opacity: 1;
  background: rgba(255,255,255,.3);
  transition: width .35s ease, background .35s ease;
  margin: 0;
}
#heroSlider .carousel-indicators .active {
  width: 22px; border-radius: 3px;
  background: #fff;
}

/* ── BRAND HERO ENTRANCE ─────────────────────── */
@keyframes brandIn {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}
#sec-forthing.active .brand-hero,
#sec-changan.active  .brand-hero {
  animation: brandIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Brand logo fade-up */
@keyframes logoUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: .95; transform: translateY(0); }
}
.brand-logo-img {
  height: 52px; width: auto; display: block;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  animation: logoUp 0.5s ease 0.25s both;
}

/* Brand hero text stagger */
#sec-forthing.active .brand-hero-eyebrow,
#sec-changan.active  .brand-hero-eyebrow {
  animation: secEnter 0.5s ease 0.15s both;
}
#sec-forthing.active .brand-hero-title,
#sec-changan.active  .brand-hero-title {
  animation: secEnter 0.5s ease 0.25s both;
}
#sec-forthing.active .brand-hero-sub,
#sec-changan.active  .brand-hero-sub {
  animation: secEnter 0.5s ease 0.35s both;
}

/* ── VIDEO CARDS ─────────────────────────────── */
.vgf-vc {
  position: relative; border-radius: 8px; overflow: hidden;
  background: #111; cursor: pointer;
  isolation: isolate;
}
.vgf-vc video {
  width: 100%; height: 200px; object-fit: cover; display: block;
  opacity: .75;
  transition: opacity .4s ease, transform .7s cubic-bezier(0.16,1,0.3,1);
}
.vgf-vc:hover video { opacity: 1; transform: scale(1.05); }

.vgf-vc-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.92));
  transition: padding .3s ease;
}
.vgf-vc:hover .vgf-vc-label { padding-bottom: 20px; }

.vgf-vc-cat {
  font-size: 8px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #f0c040; margin-bottom: 4px;
}
.vgf-vc-name {
  font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3;
}

/* ── SVC UNIFIED GRID (Oficina) ──────────────── */
.svc-unified-grid {
  background: #080808;
  padding: 80px 0 64px;
}
.svc-unified-grid .svc-card {
  background: #0f0f0f;
  border: 1px solid #1a1a1a;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color .25s, transform .25s;
}
.svc-unified-grid .svc-card:hover {
  border-color: #f0c040;
  transform: translateY(-4px);
}
.svc-card-visual {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
}
.svc-card-visual video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .78;
  transition: opacity .4s, transform .5s cubic-bezier(0.16,1,0.3,1);
}
.svc-unified-grid .svc-card:hover .svc-card-visual video {
  opacity: 1;
  transform: scale(1.05);
}
.svc-card-icon-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #111;
}
.svc-card-icon-bg i {
  font-size: 34px;
  color: #f0c040;
  opacity: .6;
  transition: opacity .3s;
}
.svc-unified-grid .svc-card:hover .svc-card-icon-bg i { opacity: 1; }
.svc-card-body {
  padding: 18px 20px 22px;
  display: flex; flex-direction: column; flex: 1;
}
.svc-card-cat {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #f0c040; margin-bottom: 8px;
}
.svc-card-name {
  font-size: 15px; font-weight: 700; color: #e8e8e8; margin-bottom: 8px;
  line-height: 1.3;
}
.svc-card-desc {
  font-size: 12px; color: #888; line-height: 1.75; flex: 1; margin-bottom: 16px;
}
.svc-card-cta {
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  color: #777; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.svc-card-cta i { font-size: 10px; transition: transform .2s; }
.svc-unified-grid .svc-card:hover .svc-card-cta { color: #f0c040; }
.svc-unified-grid .svc-card:hover .svc-card-cta i { transform: translateX(3px); }

/* ── RENT CARD ───────────────────────────────── */
.rent-card {
  border: 1px solid #e8e8e8; height: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.rent-card:hover { border-color: #000; box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.rent-card-body { padding: 24px; }
.rent-card-type {
  font-size: 9px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: #aaa; margin-bottom: 4px;
}
.rent-card-name { font-size: 18px; font-weight: 700; color: #000; margin-bottom: 14px; }
.rent-price { font-size: 24px; font-weight: 800; color: #000; }
.rent-per { font-size: 12px; color: #aaa; font-weight: 400; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  /* Hero */
  .hero { min-height: 380px; }
  .brand-hero { min-height: 70vh; }

  /* Brand logo nos heróis das marcas */
  .brand-logo-img { height: 36px; margin-bottom: 14px; }

  /* Títulos das marcas mais compactos */
  .brand-hero-title { letter-spacing: -1px; }

  /* Formulários */
  .filter-bar { gap: 12px; }
  .contact-form-wrap { padding: 18px 16px; }
  .vgf-modal-body { padding: 20px; }

  /* Secções: padding vertical mais compacto */
  .svc-unified-grid { padding: 48px 0 32px; }
  .svc-card-body { padding: 14px 16px 18px; }
  .svc-card-name { font-size: 14px; }

  /* Modal de usados */
  .vgf-modal-inner { margin: 8px; border-radius: 0; }

  /* Grelha de usados: 1 coluna em ecrãs pequenos */
  .cars-grid { grid-template-columns: 1fr; }

  /* Imagem da viatura: mais destaque em mobile */
  .car-img-wrap { height: 260px; }

  /* CTA strip */
  .cta-strip { text-align: center; }

  /* Model cards: espaçamento */
  .model-card { padding: 20px; }
  .model-card-name { font-size: 18px; }

  /* Botões de ação lado a lado → empilhados */
  .brand-hero .d-flex { flex-direction: column; align-items: flex-start; }
  .brand-hero .d-flex .btn-vgf-white,
  .brand-hero .d-flex .btn-vgf-outline { width: auto; }

  /* Footer: texto centrado */
  footer .d-flex { flex-direction: column; gap: 12px; }
}

/* Ecrãs muito pequenos (< 480px) */
@media (max-width: 480px) {
  /* Tabs de formulário: encurtar label */
  .cform-tab { font-size: 8px; padding: 11px 2px; letter-spacing: 0.5px; }

  /* Reduz tamanho do logo SVG no navbar */
  .vgf-nav .navbar-brand svg { height: 36px; }

  /* Hero: padding lateral */
  .hero .container,
  .brand-hero .container,
  .history-hero .container { padding-left: 20px; padding-right: 20px; }

  /* Usados: filtros em coluna */
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar select,
  .filter-bar input { width: 100%; }

  /* Oficina: trust badges 1 coluna em ecrãs muito pequenos */
  .oficina-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Stats: 2x2 */
  .oficina-stat { flex: 0 0 50%; }
  .oficina-stat-num { font-size: 36px; }

  /* Grelha de serviços: garantir aspeto rácio no telemóvel */
  .svc-card-visual { aspect-ratio: 16/8; }

  /* Car cards: imagem ligeiramente mais baixa em ecrãs muito pequenos */
  .car-img-wrap { height: 240px; }
}

/* ── PAGINAÇÃO ───────────────────────────────── */
.pagination-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 32px 0 48px;
}
.pg-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #e0e0e0;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 600; color: #555;
  cursor: pointer; transition: all .18s;
  user-select: none;
}
.pg-btn:hover:not(:disabled) { border-color: #000; color: #000; }
.pg-btn.active { background: #000; border-color: #000; color: #fff; }
.pg-btn:disabled { opacity: .3; cursor: default; }
.pg-btn-nav { width: 38px; font-size: 14px; }
.pg-ellipsis {
  width: 38px; height: 38px; display: flex;
  align-items: center; justify-content: center;
  font-size: 12px; color: #bbb; pointer-events: none;
}

/* ── GOOGLE REVIEWS ──────────────────────────── */
.reviews-section {
  background: #fff;
  padding: 72px 0 64px;
  border-top: 1px solid #f0f0f0;
}
.reviews-tabs {
  display: flex; gap: 0;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 36px;
}
.reviews-tab {
  background: none; border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: #aaa;
  padding: 12px 24px 14px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.reviews-tab.active { color: #000; border-bottom-color: #000; }
.reviews-panel { display: none; }
.reviews-panel.active { display: block; }
.reviews-summary {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 32px; padding-bottom: 28px;
  border-bottom: 1px solid #f0f0f0;
}
.reviews-score {
  font-size: 52px; font-weight: 900; letter-spacing: -2px;
  line-height: 1; color: #000;
}
.reviews-meta { flex: 1; }
.reviews-stars-row { display: flex; gap: 3px; margin-bottom: 4px; }
.reviews-stars-row i { color: #f0c040; font-size: 16px; }
.reviews-count { font-size: 12px; color: #888; }
.reviews-google-logo {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #aaa; font-weight: 600;
  margin-left: auto;
}
.reviews-google-logo svg { width: 18px; height: 18px; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review-card {
  border: 1px solid #ebebeb;
  padding: 20px;
  transition: border-color .2s, box-shadow .2s;
}
.review-card:hover { border-color: #ccc; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.review-card-top {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: #000; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
  text-transform: uppercase;
}
.review-author { font-size: 13px; font-weight: 700; color: #000; margin-bottom: 2px; }
.review-date { font-size: 11px; color: #aaa; }
.review-stars { display: flex; gap: 2px; margin-bottom: 10px; }
.review-stars i { color: #f0c040; font-size: 12px; }
.review-text { font-size: 13px; color: #555; line-height: 1.75; }
.reviews-cta {
  margin-top: 28px; display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.reviews-cta-link {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #000;
  display: flex; align-items: center; gap: 6px;
  text-decoration: none; transition: color .2s;
}
.reviews-cta-link:hover { color: #888; }
.reviews-placeholder-note {
  font-size: 10px; color: #bbb; font-style: italic;
}
@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-summary { flex-wrap: wrap; }
  .reviews-google-logo { margin-left: 0; }
}
@media (min-width: 576px) and (max-width: 991px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── HOME FEATURED SLIDER ──────────────────────── */
.featured-slider {
  position: relative;
  margin-bottom: 28px;
}
.featured-slider-viewport {
  overflow: hidden;
  margin: 0 -6px;
  padding: 6px 6px 18px;
}
.featured-slider-track {
  display: flex;
  gap: 18px;
  transition: transform .55s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
}
.featured-slide {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
}
@media (max-width: 991px) {
  .featured-slide { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 640px) {
  .featured-slider-track { gap: 14px; }
  .featured-slide { flex-basis: 100%; }
}
.featured-slider-btn {
  position: absolute;
  top: calc(50% - 32px);
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(0,0,0,.12);
  color: #000;
  font-size: 15px;
  cursor: pointer;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s, opacity .2s;
}
.featured-slider-btn:hover {
  background: #f0c040;
  color: #000;
  box-shadow: 0 10px 28px rgba(240,192,64,.35);
}
.featured-slider-btn:active { transform: translateY(-50%) scale(.95); }
.featured-slider-btn.prev { left: -22px; }
.featured-slider-btn.next { right: -22px; }
.featured-slider-btn:disabled,
.featured-slider-btn.is-disabled {
  opacity: .35;
  cursor: not-allowed;
  box-shadow: none;
}
.featured-slider-btn:disabled:hover,
.featured-slider-btn.is-disabled:hover {
  background: #fff;
  color: #000;
  box-shadow: none;
}
@media (max-width: 1200px) {
  .featured-slider-btn.prev { left: 6px; }
  .featured-slider-btn.next { right: 6px; }
}
@media (max-width: 640px) {
  .featured-slider-btn { width: 42px; height: 42px; font-size: 13px; }
}
.featured-slider-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 4px;
}
.featured-slider-dot {
  width: 28px; height: 3px;
  background: #e4e4e4;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .25s, width .25s;
}
.featured-slider-dot.active {
  background: #f0c040;
  width: 44px;
}
.featured-slider-empty {
  padding: 60px 0;
  text-align: center;
  color: #999;
  font-size: 13px;
}

/* ═══════════════════ BLOCK 2 — WhatsApp widget (v1 lines 2338–2392) ═══ */

#wa-widget {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
#wa-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
#wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
#wa-menu {
  background: #fff; border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  padding: 16px 0 8px;
  width: 260px;
  display: none; flex-direction: column;
  animation: waIn .2s cubic-bezier(0.16,1,0.3,1) both;
}
#wa-menu.open { display: flex; }
@keyframes waIn {
  from { opacity:0; transform: translateY(10px) scale(.97); }
  to   { opacity:1; transform: none; }
}
.wa-menu-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #aaa;
  padding: 0 16px 12px; border-bottom: 1px solid #f0f0f0; margin-bottom: 4px;
}
.wa-option {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; text-decoration: none;
  transition: background .15s;
}
.wa-option:hover { background: #f8f8f8; }
.wa-option-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: #f0fdf4; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-option-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700; color: #000; margin-bottom: 2px;
}
.wa-option-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; color: #888;
}
@media (max-width: 480px) {
  #wa-widget { bottom: 16px; right: 16px; }
  #wa-menu { width: 240px; }
}

/* ═══════════════════ BLOCK 3 — Consent banner (v1 lines 4542–4613) ═══ */

.vgf-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #000;
  color: #fff;
  border-top: 1px solid #333;
  padding: 18px 20px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.35);
  display: none;            /* Mostrado via JS só quando preciso */
  animation: vgfConsentSlide .32s ease-out;
}
@keyframes vgfConsentSlide {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.vgf-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.vgf-consent-text {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.5;
  color: #ddd;
}
.vgf-consent-text strong { color: #fff; }
.vgf-consent-text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.vgf-consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.vgf-consent-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  padding: 10px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
/* Peso visual deliberadamente equivalente entre Aceitar e Rejeitar
   (EDPB Guidelines 03/2022 §32 — "equally easy to refuse"; CNIL
   2023-001 — "boutons de même taille, contraste et hiérarchie"; CNPD
   alinhada via DL 7/2024). Ambos solid fill, mesma área visual, só
   diferem em cor para sinalizar a primária do site. */
.vgf-consent-btn-accept {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.vgf-consent-btn-accept:hover { background: #ddd; border-color: #ddd; }
.vgf-consent-btn-reject {
  background: #444;
  color: #fff;
  border-color: #444;
}
.vgf-consent-btn-reject:hover { background: #555; border-color: #555; }
@media (max-width: 600px) {
  .vgf-consent { padding: 14px 16px; }
  .vgf-consent-inner { gap: 14px; }
  .vgf-consent-actions { width: 100%; }
  .vgf-consent-btn { flex: 1; padding: 12px 16px; }
}

/* ═══════════════════════════════════════════════════════════════════
   V2 ADDITIONS — selectors used by templates that didn't exist in v1
   (multipage nav header, breadcrumb, dev banner, model master cards
   on the brand page, model-hero / version-card on the new dedicated
   model pages). Kept here so the v1 port above can be diffed cleanly.
   ═══════════════════════════════════════════════════════════════════ */

/* Color dots — contraste em fundo preto (model.njk hero).
   Item A1 do Commit 11: o hover usava `border-color:#000` (invisível em
   fundo preto). Inline style nos dots define `border-color:#fff` no active
   e `rgba(255,255,255,.25)` no inactive; este selector preserva contorno
   branco quando `:hover` em vez de cair para preto. */
.brand-hero .model-colour-dot:hover { border-color: #fff !important; }

/* ── SITE HEADER ────────────────────────────────────────── */
.site-header { border-bottom: 1px solid #ebebeb; }
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px 24px; flex-wrap: wrap;
}
.brand-mark { display: flex; flex-direction: column; line-height: 1; }
.brand-mark-name  { font-size: 20px; font-weight: 900; letter-spacing: -.5px; }
.brand-mark-since { font-size: 9px; font-weight: 600; letter-spacing: 2px; color: #aaa; text-transform: uppercase; margin-top: 4px; }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav-link {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #888;
  padding: 10px 14px; border-radius: 4px;
  transition: color .15s, background .15s;
}
.site-nav-link:hover { color: #000; background: #fafafa; }
.site-nav-link.is-active { color: #000; background: #f0f0f0; }
.site-header-cta {
  background: #000; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  padding: 10px 16px; border-radius: 6px;
}
.site-header-cta:hover { background: #d0a030; color: #000; }

.dev-banner {
  background: #d0a030; color: #000;
  padding: 8px 24px; text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: .5px;
}
.dev-banner a { text-decoration: underline; font-weight: 700; }

/* ── BREADCRUMB ─────────────────────────────────────────── */
.crumb {
  padding: 22px 24px 12px;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #888;
}
.crumb a { color: #888; }
.crumb a:hover { color: #000; }
.crumb .sep { margin: 0 8px; opacity: .5; }
.crumb b { color: #000; font-weight: 700; }

/* ── HOMEPAGE / GENERIC HERO ────────────────────────────── */
.home-hero {
  padding: 96px 24px;
  background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
  text-align: center;
}
.home-hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 900; letter-spacing: -2px; margin: 0 0 16px; }
.home-hero p  { font-size: 16px; color: #666; max-width: 600px; margin: 0 auto 32px; line-height: 1.7; }

.cards-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 0 24px;
}
.card-link {
  display: block; padding: 32px 28px;
  border: 1px solid #e8e8e8;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  height: 100%;
}
.card-link:hover { border-color: #000; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.06); }
.card-link h3 { font-size: 22px; font-weight: 800; letter-spacing: -.4px; margin: 0 0 8px; }
.card-link p  { font-size: 13px; color: #888; line-height: 1.7; margin: 0 0 16px; }
.card-link .more { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #999; }
.card-link:hover .more { color: #000; }

/* ── BRAND PAGE — auxiliar grid (.brand-grid não existe na v1) ─────────
   NOTE: .brand-hero, .brand-hero-eyebrow/title/sub e .feature-list já vêm
   portados da v1 (Block 1). As redefinições que estavam aqui no scaffold
   inicial foram removidas porque sobrescreviam silenciosamente as
   originais (cascade — last wins) e a partir o aspecto das páginas
   de modelo: a v1 tem `.brand-hero { min-height: 100vh }` com hero
   full-bleed e gradient overlay específico que estavam a ser anulados
   por `min-height: 60vh` + um `::before` mais opaco daqui. */
.brand-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; padding: 64px 0; }
@media (max-width: 880px) { .brand-grid { grid-template-columns: 1fr; } }

/* ── BRAND PAGE — MODEL CARD GRID ───────────────────────── */
.model-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.model-master {
  border: 1px solid #e8e8e8;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  overflow: hidden;
}
.model-master:hover { border-color: #000; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.model-master-img { background: #f5f5f5; height: 240px; display: flex; align-items: center; justify-content: center; padding: 16px; }
.model-master-img img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform .35s ease; }
.model-master:hover .model-master-img img { transform: scale(1.04); }
.model-master-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.model-master-cat  { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #aaa; margin-bottom: 8px; }
.model-master-name { font-size: 24px; font-weight: 800; letter-spacing: -.5px; margin: 0 0 8px; }
.model-master-desc { font-size: 13px; color: #777; line-height: 1.7; margin: 0 0 16px; flex: 1; }

.versions-ribbon { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.vchip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f4f4f4; border: 1px solid #e8e8e8;
  padding: 5px 9px; font-size: 9px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: #555;
}
.vchip.phev { background: #fff8e6; border-color: #d0a030; color: #8a6f1c; }
.vchip.hev  { background: #eef5ee; border-color: #b6d4b6; color: #2f6b2f; }
.vchip.ice  { background: #f0f3f8; border-color: #c4d2e3; color: #335577; }
.vchip.ev   { background: #f4f4f4; border-color: #d8d8d8; color: #222; }
.vchip-dot { width: 6px; height: 6px; border-radius: 50%; background: #000; }
.vchip.phev .vchip-dot { background: #d0a030; }
.vchip.hev  .vchip-dot { background: #2f6b2f; }
.vchip.ice  .vchip-dot { background: #335577; }
.vchip.ev   .vchip-dot { background: #000; }

.model-master-cta {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: #999;
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid #f0f0f0;
}
.model-master:hover .model-master-cta { color: #000; }

/* ── MODEL PAGE ─────────────────────────────────────────── */
.model-hero { padding: 24px 0 64px; background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%); }
.model-hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .model-hero-grid { grid-template-columns: 1fr; } }
.model-eyebrow  { font-size: 10px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: #888; margin-bottom: 12px; }
.model-title    { font-size: clamp(40px, 6vw, 72px); font-weight: 900; letter-spacing: -2px; margin: 0 0 16px; line-height: 1; }
.model-tagline  { font-size: 15px; color: #666; line-height: 1.7; max-width: 480px; margin-bottom: 24px; }
.model-cta-row  { display: flex; gap: 10px; flex-wrap: wrap; }
.model-hero-image { background: #fff; border: 1px solid #eee; padding: 24px; height: 380px; display: flex; align-items: center; justify-content: center; }
.model-hero-image img { max-width: 100%; max-height: 100%; object-fit: contain; }

.colour-row { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.colour-dot {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color .15s, transform .15s;
}
.colour-dot:hover, .colour-dot.is-active { border-color: #000; transform: scale(1.15); }

/* Versions grid */
.versions-section { padding: 72px 0; }
.versions-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 24px; }
.version-card {
  border: 1px solid #e8e8e8; padding: 28px; height: 100%;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
  position: relative;
}
.version-card.available:hover { border-color: #000; transform: translateY(-3px); }
.version-card.coming {
  background: repeating-linear-gradient(45deg, #fff, #fff 10px, #fafaf3 10px, #fafaf3 20px);
  border-color: #d0a030;
}
.vc-badge { display: inline-block; align-self: flex-start; font-size: 8px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; margin-bottom: 14px; }
.vc-badge.ev   { background: #000; color: #fff; }
.vc-badge.phev { background: #d0a030; color: #000; }
.vc-name        { font-size: 20px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.4px; }
.vc-cat         { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #888; margin-bottom: 16px; }
.vc-coming-line { font-size: 13px; color: #8a6f1c; font-weight: 600; margin-bottom: 16px; }
.vc-spec-row    { display: grid; grid-template-columns: 1fr 1fr 1fr; background: #f8f8f8; border: 1px solid #ebebeb; margin-bottom: 16px; }
.vc-spec        { padding: 12px 8px; text-align: center; border-right: 1px solid #ebebeb; }
.vc-spec:last-child { border-right: 0; }
.vc-spec-val    { font-size: 18px; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.vc-spec-val.ghost { color: #ccc; }
.vc-spec-label  { font-size: 8px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #aaa; }
.vc-price       { font-size: 16px; font-weight: 700; padding-top: 14px; border-top: 1px solid #f0f0f0; margin-bottom: 14px; }
.vc-price.ghost { color: #ccc; }
.vc-cta         { margin-top: auto; }

/* Warranty strip */
.warranty-strip { background: #0a0a0a; color: #fff; padding: 32px 0; }
.warranty-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.warranty-label { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #888; margin-bottom: 6px; }
.warranty-val   { font-size: 16px; font-weight: 700; }

/* ── SITE FOOTER (auxiliares) ────────────────────────────────────────
   NOTE: o footer.njk usa `.vgf-footer` (v1 port), não `.site-footer`. As
   classes `.site-footer*` abaixo eram do scaffold inicial e ficaram
   pelo benefício de quem usar uma versão alternativa.  As redefinições
   de `.footer-col-title`, `.footer-link` e `.footer-bottom` foram
   removidas porque sobrescreviam silenciosamente as do `.vgf-footer`
   na v1 (cascade — last wins). */
.site-footer { background: #0a0a0a; color: #aaa; padding: 64px 0 0; margin-top: 64px; }
.site-footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
@media (max-width: 880px) { .site-footer-inner { grid-template-columns: 1fr; } }
.footer-brand-name  { font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -.5px; }
.footer-brand-since { font-size: 10px; font-weight: 600; letter-spacing: 2px; color: #888; text-transform: uppercase; margin: 6px 0 16px; }
.footer-address     { font-size: 13px; line-height: 1.8; font-style: normal; }
.footer-address a   { color: #fff; }
.footer-cols        { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 600px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
.footer-build { font-family: monospace; }

/* ─── WhatsApp floating widget (port da v1, l. 2337-2393) ─────────
   Markup vive em _includes/partials/wa-widget.njk e é incluído pelo
   base.njk → visível em todas as páginas. Toggle via vgf-ui.js.
   ───────────────────────────────────────────────────────────────── */
#wa-widget {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
#wa-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
#wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
#wa-menu {
  background: #fff; border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  padding: 16px 0 8px;
  width: 260px;
  display: none; flex-direction: column;
  animation: waIn .2s cubic-bezier(0.16,1,0.3,1) both;
}
#wa-menu.open { display: flex; }
@keyframes waIn {
  from { opacity:0; transform: translateY(10px) scale(.97); }
  to   { opacity:1; transform: none; }
}
.wa-menu-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #aaa;
  padding: 0 16px 12px; border-bottom: 1px solid #f0f0f0; margin-bottom: 4px;
}
.wa-option {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; text-decoration: none;
  transition: background .15s;
}
.wa-option:hover { background: #f8f8f8; }
.wa-option-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: #f0fdf4; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-option-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700; color: #000; margin-bottom: 2px;
}
.wa-option-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; color: #888;
}
@media (max-width: 480px) {
  #wa-widget { bottom: 16px; right: 16px; }
  #wa-menu { width: 240px; }
}

/* ══════════════════════════════════════════════════════════════════════
   CHANGAN BRAND COLOURS — scope override
   ──────────────────────────────────────────────────────────────────────
   Conforme brand guidelines oficiais Changan ("Beyond the Horizon"):
     • Primary  · CHANGAN BLUE   #0B457F   (Pantone 2154C)
     • Sec.     · SKY WHITE      #FFFFFF
     • Sec.     · INSPIRING BLUE #B3CFE4
     • Sec.     · EVOLVING BLUE  #708EC9
   Color ratio recomendado: primary-led (>70% Changan Blue).
   Estas regras aplicam-se SÓ a páginas com wrapper `#sec-changan`
   (página da marca + páginas dos modelos Changan/Deepal). A
   identidade VGF (concessão) noutras secções fica intacta.
══════════════════════════════════════════════════════════════════════ */

/* CTA strip — full-width azul Changan em vez de preto */
#sec-changan .cta-strip { background: #0B457F; }
#sec-changan .cta-strip .cta-strip-sub { color: #B3CFE4; }

/* Vídeo section (Deepal S07 highlight reel) — fundo azul Changan */
#sec-changan .video-section { background: #0B457F; }
#sec-changan .video-section .sec-eyebrow { color: #B3CFE4; }
#sec-changan .video-section p { color: #dbe7f3 !important; }

/* Botões: outline branco mantém-se; o hover preto passa a azul Changan */
#sec-changan .btn-vgf-outline:hover { background: #0B457F; color: #fff; border-color: #fff; }

/* Botão branco: o hover default escurece a #000 — passa a Changan Blue */
#sec-changan .btn-vgf-white:hover { background: #B3CFE4; color: #0B457F; }

/* Bullets da feature-list — passa a azul Changan (em vez de preto) */
#sec-changan .feature-list li::before { background: #0B457F; }

/* Model card hover — borda azul Changan */
#sec-changan .model-card:hover { border-color: #0B457F; }
#sec-changan .model-card-cta:hover .model-card-link { color: #0B457F; }

/* EV badge default era preto — fica azul Changan nas páginas Changan */
#sec-changan .ev-badge { background: #0B457F; color: #fff; }

/* Acordeão specs — ícone +/− e label hover em azul Changan */
#sec-changan .specs-panel-icon::before,
#sec-changan .specs-panel-icon::after { background: #0B457F; }
#sec-changan .specs-panel > summary:hover .specs-panel-label,
#sec-changan .specs-panel[open] .specs-panel-label { color: #0B457F; }

/* Filter toggle (caso ferramente de filtros apareça em página Changan) */
#sec-changan .filter-toggle-btn:hover {
  background: #0B457F; color: #fff; border-color: #0B457F;
}
