/* ==========================================================================
   SPEEDCAR BARÃO — TEMA SHOWROOM AUTOMOTIVO (v2.0)
   Inspirado nos melhores showrooms digitais (Webmotors + Padrão Mestre WARP)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&display=swap');

:root {
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-massive: 900;

  /* Cores de Marca Automotiva (Luxury) */
  --brand-primary: #C9A227;      /* Dourado TCAR/Moresi */
  --brand-primary-hover: #E8D5A3;
  --brand-dark: #0A0A0A;         /* Preto profundo */
  --brand-light: #1A1A1A;        /* Preto suave / Chumbo */
  --brand-blue: #C9A227;         /* Mudado para dourado para unificar identidade */
  --brand-whatsapp: #25D366;     /* Verde Oficial do WhatsApp */

  /* Superfícies & Fundos */
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-card: rgba(17, 17, 17, 0.7);
  --bg-dark: #000000;

  /* Textos */
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0AB;
  --text-muted: #71717A;
  --text-inverse: #000000;

  /* Bordas & Sombras */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 10px 25px rgba(201, 162, 39, 0.15);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background-color: var(--bg-primary); color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-primary); color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.speedcar-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.speedcar-section {
  padding: 80px 0;
}

.speedcar-section--alt {
  background-color: var(--bg-secondary);
}

/* Header & Topbar */
.speedcar-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--brand-primary);
}

.speedcar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.speedcar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: var(--fw-massive);
  letter-spacing: -0.03em;
  color: var(--brand-dark);
}

.speedcar-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.speedcar-brand:hover .speedcar-logo-img {
  transform: scale(1.08);
}

.speedcar-brand span.accent {
  color: var(--brand-primary);
}

.speedcar-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.speedcar-nav-link {
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.speedcar-nav-link:hover {
  color: var(--brand-primary);
}

.speedcar-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25D366;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: var(--fw-bold);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, background-color 0.2s;
}

.speedcar-whatsapp-btn:hover {
  transform: translateY(-2px);
  background-color: #20BA56;
}

/* Hero Section */
.speedcar-hero { position: relative; min-height: 85vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }

.speedcar-hero-grid { position: relative; z-index: 10; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }

.speedcar-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: var(--brand-light);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.speedcar-hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: var(--fw-massive);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--brand-dark);
  margin-bottom: 20px;
}

.speedcar-hero-title span.highlight {
  color: var(--brand-primary);
}

.speedcar-hero-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 580px;
}

.speedcar-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.speedcar-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 32px; background: var(--brand-primary); color: #000; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border-radius: var(--radius-sm); transition: all 0.3s ease; border: none; font-size: 0.95rem; }

.speedcar-btn-primary:hover {
  background-color: var(--brand-primary-hover);
  transform: translateY(-2px);
}

.speedcar-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  color: var(--brand-dark);
  border: 1px solid var(--border-card);
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.speedcar-btn-secondary:hover {
  border-color: var(--brand-dark);
  transform: translateY(-2px);
}

/* Big Numbers Bar */
.speedcar-metrics-bar {
  padding: 36px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background-color: #FFFFFF;
}

.speedcar-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.speedcar-metric-item h3 {
  font-size: 2.2rem;
  font-weight: var(--fw-massive);
  color: var(--brand-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.speedcar-metric-item p {
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Showroom Vitrine de Estoque */
.speedcar-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.speedcar-section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: var(--fw-massive);
  letter-spacing: -0.03em;
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.speedcar-section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.speedcar-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.speedcar-filter-btn {
  background: #111111;
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.5px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.speedcar-filter-btn.active,
.speedcar-filter-btn:hover {
  background-color: var(--brand-dark);
  color: #FFFFFF;
  border-color: var(--brand-dark);
}

.speedcar-stock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.speedcar-car-card,
.speedcar-card {
  background: #111111;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* Efeito 'Hover Me' Vermelho Suave & Sofisticado — Calibrado por Humberto */
.speedcar-car-card:hover,
.speedcar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.18), 
              0 18px 40px rgba(15, 23, 42, 0.10);
}

.speedcar-car-card::after,
.speedcar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 19px;
  border: 1.5px solid rgba(229, 9, 20, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: inset 0 0 12px rgba(229, 9, 20, 0.06);
  z-index: 5;
}

.speedcar-car-card:hover::after,
.speedcar-card:hover::after {
  opacity: 1;
}

.speedcar-car-image-box,
.speedcar-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background-color: #FFFFFF;
  overflow: hidden;
}

.speedcar-car-image-box img,
.speedcar-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.speedcar-car-card:hover .speedcar-car-image-box img,
.speedcar-card:hover .speedcar-card-img {
  transform: scale(1.08);
}

.speedcar-car-badge,
.speedcar-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #0284C7;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.speedcar-car-badge--highlight {
  background-color: var(--brand-primary);
}

.speedcar-car-content,
.speedcar-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.speedcar-car-title,
.speedcar-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

.speedcar-car-specs,
.speedcar-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.speedcar-car-specs span,
.speedcar-spec-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.speedcar-car-pricing,
.speedcar-card-price-block {
  margin-bottom: 20px;
}

.speedcar-car-price,
.speedcar-card-price {
  font-size: 1.65rem;
  font-weight: var(--fw-massive);
  color: var(--brand-dark);
  line-height: 1.1;
  margin-bottom: 4px;
}

.speedcar-car-installments,
.speedcar-card-installments {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748B;
}

.speedcar-card-whatsapp-btn,
.speedcar-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background-color: #25D366;
  color: #FFFFFF !important;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: auto;
  border: none;
  cursor: pointer;
}

.speedcar-card-whatsapp-btn:hover,
.speedcar-btn-whatsapp:hover {
  background-color: #20BA56;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
  color: #FFFFFF !important;
}

.speedcar-card-whatsapp-btn:active,
.speedcar-btn-whatsapp:active {
  transform: translateY(0);
}

/* Seção de Avaliação de Usados */
.speedcar-trade-box {
  background: var(--brand-dark);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.speedcar-trade-box h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: var(--fw-massive);
  line-height: 1.15;
  margin-bottom: 16px;
}

.speedcar-trade-box p {
  color: #94A3B8;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Seção de Humanização e Localização */
.speedcar-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.speedcar-location-info h3 {
  font-size: 1.8rem;
  font-weight: var(--fw-massive);
  color: var(--brand-dark);
  margin-bottom: 16px;
}

.speedcar-location-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.speedcar-hours-card {
  background: #111111;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}

/* ==========================================================================
   RODAPÉ INSTITUCIONAL (HIGH CONTRAST & PREMIUM DARK THEME)
   ========================================================================== */
.speedcar-footer {
  background: linear-gradient(180deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.98) 100%), url('https://images.unsplash.com/photo-1555353540-64fd1b312b91?q=80&w=2000&auto=format&fit=crop') center/cover fixed no-repeat !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 0 32px;
  color: #94A3B8;
}

.speedcar-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.speedcar-footer-grid h4 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: #FFFFFF !important;
  text-transform: uppercase;
}

.speedcar-footer-grid p {
  color: #94A3B8 !important;
  font-size: 0.86rem;
  line-height: 1.6;
}

.speedcar-footer-grid a {
  color: #94A3B8 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.speedcar-footer-grid a:hover {
  color: #EF4444 !important;
}

.speedcar-footer-brand-title {
  color: #FFFFFF !important;
  font-size: 1.25rem;
  font-weight: 900;
}

.speedcar-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #94A3B8;
  gap: 16px;
}

.speedcar-footer-bottom-copy {
  flex: 1 1 0;
  text-align: left;
}

.speedcar-footer-bottom-cities {
  flex: 1 1 0;
  text-align: center;
  color: #94A3B8;
  font-weight: 500;
}

.speedcar-footer-bottom-crm {
  flex: 1 1 0;
  display: flex;
  justify-content: flex-end;
}

.speedcar-footer-crm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38BDF8 !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.speedcar-footer-crm-btn:hover {
  background: #38BDF8;
  color: #0A0E17 !important;
  border-color: #38BDF8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35);
}

/* ==========================================================================
   MENU MOBILE DRAWER & TOGGLE BUTTON
   ========================================================================== */
.speedcar-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.speedcar-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  background: #F1F5F9;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 101;
  transition: all 0.2s ease;
}

.speedcar-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--brand-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.speedcar-menu-toggle:hover {
  background: #E2E8F0;
}

.speedcar-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.speedcar-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.speedcar-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.speedcar-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.speedcar-mobile-drawer.open {
  visibility: visible;
}

.speedcar-mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.speedcar-mobile-drawer.open .speedcar-mobile-drawer-backdrop {
  opacity: 1;
}

.speedcar-mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 85vw);
  background: #111111;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px 20px;
}

.speedcar-mobile-drawer.open .speedcar-mobile-drawer-content {
  transform: translateX(0);
}

.speedcar-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.speedcar-mobile-drawer-close {
  background: #F1F5F9;
  border: 1px solid var(--border-subtle);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--brand-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.speedcar-mobile-drawer-close:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
}

.speedcar-mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.speedcar-mobile-nav-links a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A; /* Fixed: dark text on white background */
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.speedcar-mobile-nav-links a:hover {
  background: var(--brand-light);
  color: var(--brand-primary);
  border-color: rgba(229, 9, 20, 0.3);
}

.speedcar-mobile-nav-highlight a {
  background: #0F172A !important;
  color: #38BDF8 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

.speedcar-mobile-drawer-footer {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   RESPONSIVIDADE COMPLETA & MEDIA QUERIES (MOBILE FIRST FLUIDITY)
   ========================================================================== */
@media (max-width: 1080px) {
  .speedcar-stock-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 960px) {
  .speedcar-hero {
    padding: 48px 0 40px;
  }

  .speedcar-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .speedcar-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .speedcar-hero-actions {
    justify-content: center;
  }

  .speedcar-hero-visual img {
    max-height: 380px;
    width: 100%;
    object-fit: cover;
  }

  .speedcar-trade-box {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 32px;
  }

  .speedcar-location-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .speedcar-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .speedcar-nav-links {
    display: none;
  }

  .speedcar-menu-toggle {
    display: flex;
  }

  .speedcar-nav {
    height: 70px;
  }

  .speedcar-brand {
    font-size: 1.15rem;
  }

  .speedcar-logo-img {
    height: 42px;
  }
}

@media (max-width: 640px) {
  .speedcar-container {
    padding: 0 16px;
  }

  .speedcar-nav {
    height: 64px;
  }

  .speedcar-brand {
    font-size: 1.05rem;
    gap: 8px;
  }

  .speedcar-logo-img {
    height: 36px;
  }

  .speedcar-whatsapp-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .speedcar-hero {
    padding: 32px 0;
  }

  .speedcar-eyebrow {
    font-size: 0.68rem;
    padding: 5px 12px;
    letter-spacing: 1px;
    margin-bottom: 14px;
  }

  .speedcar-hero-title {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
    margin-bottom: 16px;
  }

  .speedcar-hero-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .speedcar-hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .speedcar-btn-primary,
  .speedcar-btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.82rem;
  }

  .speedcar-metrics-bar {
    padding: 24px 0;
  }

  .speedcar-metrics-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .speedcar-metric-item h3 {
    font-size: 1.8rem;
  }

  .speedcar-section {
    padding: 48px 0;
  }

  .speedcar-section-header {
    margin-bottom: 28px;
  }

  .speedcar-section-title {
    font-size: 1.75rem;
  }

  .speedcar-section-subtitle {
    font-size: 0.88rem;
  }

  .speedcar-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 24px;
    gap: 8px;
  }

  .speedcar-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 7px 16px;
    font-size: 0.75rem;
  }

  .speedcar-stock-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .speedcar-car-content,
  .speedcar-card-content {
    padding: 18px;
  }

  .speedcar-car-title,
  .speedcar-card-title {
    font-size: 1.1rem;
  }

  .speedcar-car-price,
  .speedcar-card-price {
    font-size: 1.45rem;
  }

  .speedcar-card-whatsapp-btn,
  .speedcar-btn-whatsapp {
    padding: 12px 16px;
    font-size: 0.84rem;
  }

  .speedcar-trade-box {
    padding: 28px 18px;
  }

  .speedcar-trade-box h3 {
    font-size: 1.45rem;
  }

  .speedcar-trade-box p {
    font-size: 0.9rem;
  }

  .speedcar-location-info h3 {
    font-size: 1.45rem;
  }

  .speedcar-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .speedcar-footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    font-size: 0.78rem;
  }

  .speedcar-footer-bottom-copy,
  .speedcar-footer-bottom-cities,
  .speedcar-footer-bottom-crm {
    flex: none;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   SPEEDCAR AI CHAT WIDGET — ASSISTENTE INTELIGENTE AUTOMOTIVO
   ========================================================================== */

.warp-chat-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 999;
  border: none;
  outline: none;
}

.warp-chat-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(229, 9, 20, 0.65);
}

.warp-chat-trigger:active {
  transform: scale(0.92);
}

.warp-chat-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #22C55E;
  border: 2px solid #FFFFFF;
}

.warp-chat-dialog {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: min(400px, calc(100vw - 32px));
  height: min(600px, calc(100vh - 130px));
  background-color: var(--bg-primary); color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
  animation: speedcarChatSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes speedcarChatSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.warp-chat-header {
  padding: 16px 20px;
  background-color: var(--brand-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.warp-chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.warp-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
}

.warp-chat-header-title {
  font-size: 0.95rem;
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.warp-chat-header-badge {
  font-size: 0.65rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #22C55E;
  display: flex;
  align-items: center;
  gap: 6px;
}

.warp-chat-header-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22C55E;
}

.warp-chat-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s;
  line-height: 1;
}

.warp-chat-close-btn:hover {
  opacity: 1;
}

.warp-chat-body {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: var(--bg-secondary);
}

.warp-chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
}

.warp-chat-msg--assistant {
  align-self: flex-start;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.warp-chat-msg--user {
  align-self: flex-end;
  background-color: var(--brand-primary);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.warp-chat-suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.warp-chat-suggestions-title {
  font-size: 0.65rem;
  font-weight: var(--fw-bold);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.warp-chat-suggestion-chip {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  outline: none;
}

.warp-chat-suggestion-chip:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background-color: var(--brand-light);
  transform: translateY(-1px);
}

.warp-chat-footer {
  padding: 12px 16px;
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
}

.warp-chat-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  transition: border-color 0.2s;
}

.warp-chat-input-form:focus-within {
  border-color: var(--brand-primary);
}

.warp-chat-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--text-primary);
  outline: none;
}

.warp-chat-send-btn {
  background-color: var(--brand-primary);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.warp-chat-send-btn:hover {
  background-color: var(--brand-primary-hover);
}

.warp-chat-disclaimer {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}


/* ==========================================================================
   WARP LUXURY DARK OVERRIDES
   ========================================================================== */

/* Metrics Bar */
.speedcar-metrics-bar {
  background-color: #111111 !important;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}
.speedcar-metric-item h3 {
  color: var(--brand-primary) !important;
}
.speedcar-metric-item p {
  color: #FFFFFF !important;
  font-weight: 300 !important;
}

/* Card Styling fixes */
.speedcar-car-title {
  color: #FFFFFF !important;
}
.speedcar-car-price {
  color: var(--brand-primary) !important;
}

/* Car Specs (Badges) */
.speedcar-car-specs span {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Car Badges (Top Overlays) */
.speedcar-car-badge {
  background: rgba(10, 10, 10, 0.7) !important;
  backdrop-filter: blur(5px) !important;
  color: var(--brand-primary) !important;
  border: 1px solid var(--brand-primary) !important;
  font-weight: 500 !important;
  text-transform: uppercase;
}

.speedcar-car-badge--highlight {
  background: var(--brand-primary) !important;
  color: #000000 !important;
  border: none !important;
}

/* Body / Sections */
.speedcar-section {
  background-color: var(--bg-primary) !important;
}
.speedcar-section--alt {
  background-color: var(--bg-secondary) !important;
}

/* General Text adjustments */
.speedcar-section-title {
  color: #FFFFFF !important;
}
.speedcar-section-subtitle {
  color: var(--text-secondary) !important;
}

/* Form / Trade Box */
.speedcar-trade-box {
  background: #111111 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}
.speedcar-trade-box h3 {
  color: #FFFFFF !important;
}
.speedcar-trade-box p {
  color: #A0A0AB !important;
}

/* Location Grid */
.speedcar-location-info h3 {
  color: #FFFFFF !important;
}
.speedcar-location-info p, .speedcar-hours-card {
  color: #A0A0AB !important;
}
.speedcar-hours-card {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}

/* Contact Badges / Mobile */
.speedcar-mobile-drawer-content {
  background: #0A0A0A !important;
  border-left: 1px solid rgba(201, 162, 39, 0.2) !important;
}
.speedcar-mobile-nav-links li a {
  background: transparent !important;
  color: #E2E8F0 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.speedcar-mobile-nav-highlight a {
  background: #0F172A !important;
  color: #38BDF8 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}
.speedcar-mobile-nav-links li a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--brand-primary) !important;
}


/* ==========================================================================
   WARP LUXURY REFINEMENTS (FEEDBACK)
   ========================================================================== */

/* Header Brand Text & Logo */
.speedcar-brand {
  color: #FFFFFF !important;
}
.speedcar-brand span.accent {
  color: var(--brand-primary) !important;
}
.speedcar-logo-img {
  /* Make the logo entirely gold/yellow to match the luxury theme */
  filter: brightness(0) saturate(100%) invert(75%) sepia(53%) saturate(614%) hue-rotate(352deg) brightness(85%) contrast(90%);
}

/* Card Hover State (Gold Richness) */
.speedcar-car-card:hover {
  background: rgba(201, 162, 39, 0.05) !important;
  border-color: var(--brand-primary) !important;
  box-shadow: 0 10px 40px rgba(201, 162, 39, 0.15) !important;
}

/* Chatbot Dark Mode Fixes */
.warp-chat-dialog {
  background: #111111 !important;
  border: 1px solid rgba(201, 162, 39, 0.2) !important;
}
.warp-chat-header {
  background: #0A0A0A !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}
.warp-chat-header-title {
  color: #FFFFFF !important;
}
.warp-chat-msg--assistant {
  background: #1A1A1A !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
}
.warp-chat-msg--user {
  background: rgba(201, 162, 39, 0.1) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--brand-primary) !important;
}
.warp-chat-suggestions-title {
  color: #71717A !important;
}
.warp-chat-suggestion-chip {
  background: #0A0A0A !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}
.warp-chat-suggestion-chip:hover {
  background: rgba(201, 162, 39, 0.1) !important;
  border-color: var(--brand-primary) !important;
  color: var(--brand-primary) !important;
}
.warp-chat-input-form {
  background: #1A1A1A !important;
  border-color: rgba(255,255,255,0.1) !important;
}
.warp-chat-input {
  color: #FFFFFF !important;
}
.warp-chat-input::placeholder {
  color: #71717A !important;
}
.warp-chat-send-btn {
  background: var(--brand-primary) !important;
  color: #000000 !important;
}

/* ==========================================================================
   WARP LUXURY REFINEMENTS - BOTTOM SECTIONS EXPERIENCE (AUDI / MERCEDES)
   ========================================================================== */
.speedcar-bottom-experience {
  position: relative;
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.60) 0%, rgba(8, 10, 15, 0.45) 40%, rgba(5, 7, 10, 0.85) 100%), 
              url('https://images.unsplash.com/photo-1618843479313-40f8afb4b4d8?q=80&w=2200&auto=format&fit=crop') center/cover no-repeat fixed !important;
  border-top: 1px solid rgba(201, 162, 39, 0.35) !important;
  box-shadow: inset 0 20px 50px rgba(0, 0, 0, 0.8) !important;
}

.speedcar-bottom-experience #avaliacao,
.speedcar-bottom-experience #sobre,
.speedcar-bottom-experience .speedcar-footer {
  background: transparent !important;
  background-color: transparent !important;
}

.speedcar-bottom-experience #avaliacao {
  padding-bottom: 40px !important;
  border-top: none !important;
}

.speedcar-bottom-experience #sobre {
  padding-top: 40px !important;
  border-top: none !important;
}

.speedcar-bottom-experience .speedcar-trade-box {
  background: rgba(14, 18, 26, 0.78) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(201, 162, 39, 0.35) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7) !important;
  border-radius: 16px !important;
}

.speedcar-bottom-experience .speedcar-hours-card {
  background: rgba(14, 18, 26, 0.80) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(201, 162, 39, 0.25) !important;
  color: #FFFFFF !important;
  border-radius: 12px !important;
  padding: 16px !important;
  margin: 16px 0 !important;
}

.speedcar-bottom-experience .speedcar-footer {
  border-top: 1px solid rgba(201, 162, 39, 0.2) !important;
}

.speedcar-bottom-experience .speedcar-footer-bottom {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
}
