/* ====================================================================
   AUTOSTAND ONE - MAIN CSS (CRIASITE-CORE DESIGN SYSTEM)
   Theme: Dark Metal & Amber Gold Premium
   Mobile First, WCAG AA Compliant, High Performance
   ==================================================================== */

:root {
  --bg-primary: #0b0f17;
  --bg-surface: #111827;
  --bg-card: #1f293d;
  --bg-card-hover: #28354e;
  
  --accent-amber: #f59e0b;
  --accent-gold: #d97706;
  --accent-blue: #0284c7;
  --accent-blue-hover: #0369a1;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #64748b;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(245, 158, 11, 0.4);
  
  --badge-new: #10b981;
  --badge-promo: #ef4444;
  --badge-reserved: #f59e0b;
  --badge-sold: #64748b;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-main: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.15);
  
  --font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --header-height: 80px;
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.text-center { text-align: center; }
.text-promo { color: var(--badge-promo) !important; }
.hidden { display: none !important; }

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-title-accent {
  color: var(--accent-amber);
}

.brand-subtitle {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-amber);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family);
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-gold));
  color: #000;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.1);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1ebc57;
  transform: translateY(-2px);
}

.btn-block { width: 100%; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.85rem; }

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn .bar {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: all 0.3s ease;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 85vh;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 50% 20%, rgba(2, 132, 199, 0.15), transparent 70%),
              url('../hero-car.jpg') center/cover no-repeat;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 23, 0.85) 0%, rgba(11, 15, 23, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-amber);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 30%, var(--accent-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  max-width: 700px;
  margin: 0 auto;
}

.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-number { font-size: 1.8rem; font-weight: 800; color: var(--accent-amber); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 35px; background: var(--border-color); }

/* PESQUISA INSTANTÂNEA */
.search-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 20;
  box-shadow: var(--shadow-main);
}

.search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.search-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.btn-text-link {
  background: none;
  border: none;
  color: var(--accent-amber);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.search-toggle { display: none; }

.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-control {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--accent-amber);
}

/* MARCAS GRELHA */
.brand-section {
  padding: 4rem 0 2rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-amber);
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0.3rem 0;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

.brand-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.brand-badge:hover, .brand-badge.active {
  background: var(--accent-amber);
  color: #000;
  border-color: var(--accent-amber);
  transform: translateY(-2px);
}

.brand-logo {
  display: block;
  width: 88px;
  height: 34px;
  max-width: 100%;
  max-height: 36px;
  object-fit: contain;
}

/* Desktop logo contrast rules are scoped below to preserve mobile rendering. */
@media (min-width: 769px) {

  .brand-badge {
    background: #172235;
  }

  .brand-logo {
    width: 100px;
    height: 40px;
    max-height: 42px;
  }

  .brand-badge:hover .brand-logo,
  .brand-badge.active .brand-logo {
    filter: brightness(1.12) contrast(1.05);
  }

/* Reforço de contraste apenas nos SVGs escuros sobre o fundo azul-marinho. */
.brand-badge[data-brand="Mercedes-Benz"] .brand-logo,
.brand-badge[data-brand="Peugeot"] .brand-logo {
  filter: brightness(0) invert(1) drop-shadow(0 0 1px rgba(255, 255, 255, 0.35));
}

.brand-badge[data-brand="Volvo"] .brand-logo,
.brand-badge[data-brand="Ford"] .brand-logo {
  filter: brightness(1.9) saturate(0.9) contrast(1.05);
}

.brand-badge[data-brand="Porsche"] .brand-logo {
  filter: brightness(1.3) contrast(1.05);
}
}

.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-badge:first-child .brand-name {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* VIATURAS GRID & CARDS */
.vehicles-section {
  padding: 3rem 0 5rem;
}

.vehicles-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.results-count {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 1.75rem;
}

.vehicle-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-main);
}

.card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vehicle-card:hover .card-img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  z-index: 10;
  text-transform: uppercase;
}

.badge-new { background: var(--badge-new); }
.badge-promo { background: var(--badge-promo); }
.badge-reserved { background: var(--badge-reserved); color: #000; }
.badge-sold { background: var(--badge-sold); }

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-brand {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-amber);
  text-transform: uppercase;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.2rem 0;
}

.card-version {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

.card-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.old-price {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-dark);
  display: block;
}

.current-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
}

/* PÁGINA INDIVIDUAL DE DETALHE DA VIATURA */
.vehicle-detail-hero {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover { color: var(--accent-amber); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.gallery-wrapper { display: flex; flex-direction: column; gap: 1rem; }
.main-image-container { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 420px; }
.main-img { width: 100%; height: 100%; object-fit: cover; }

.thumbs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.thumb-btn {
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  height: 90px;
  background: var(--bg-surface);
}

.thumb-btn.active { border-color: var(--accent-amber); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

.detail-info-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.detail-brand { font-size: 0.9rem; font-weight: 700; color: var(--accent-amber); text-transform: uppercase; }
.detail-title { font-size: 2.2rem; font-weight: 800; margin: 0.3rem 0; }
.detail-version { color: var(--text-muted); margin-bottom: 1.5rem; }

.detail-price-box {
  background: var(--bg-primary);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.detail-old-price { font-size: 1rem; text-decoration: line-through; color: var(--text-dark); display: block; }
.detail-price { font-size: 2.4rem; font-weight: 800; }
.vat-note { display: block; font-size: 0.8rem; color: var(--badge-new); margin-top: 0.2rem; }

.quick-specs-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.q-spec {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.q-label { font-size: 0.75rem; color: var(--text-muted); }
.q-val { font-size: 0.95rem; font-weight: 700; color: var(--text-main); }

.action-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-description-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3.5rem;
}

.sub-heading { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.equipment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.eq-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: var(--text-main); }

/* SIMULADOR FINANCIAMENTO */
.finance-section { padding: 4rem 0; background: var(--bg-surface); }
.finance-card { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 2.5rem; }
.finance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contacts-section .finance-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: stretch; gap: 1.75rem; }
.contacts-card { padding: 1.75rem !important; }
.contacts-content .section-subtitle { max-width: 42rem; }
.contacts-content > p { margin-bottom: 0.35rem !important; }
.contacts-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.contacts-actions .btn { min-height: 2.75rem; }
.contacts-image { min-height: 18rem; overflow: hidden; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.contacts-image img { display: block; width: 100%; height: 100%; min-height: 18rem; object-fit: cover; object-position: center; }
.range-val { font-weight: 700; color: var(--accent-amber); }
.form-range { width: 100%; accent-color: var(--accent-amber); cursor: pointer; }
.finance-summary-box { background: var(--bg-surface); padding: 2rem; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.result-price { font-size: 2.5rem; font-weight: 800; color: var(--accent-amber); margin: 0.5rem 0; }
.finance-preapproval > summary { list-style: none; pointer-events: none; }
.finance-preapproval > summary::-webkit-details-marker { display: none; }

/* REVIEWS & FOOTER */
.reviews-section { padding: 4rem 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.review-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.5rem; }
.review-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.review-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.review-stars { color: var(--accent-amber); margin-bottom: 0.5rem; }

.site-footer { background: #070a10; border-top: 1px solid var(--border-color); padding-top: 3rem; margin-top: 3rem; }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 1.75rem; padding-bottom: 2rem; }
.footer-heading { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.2rem; color: var(--accent-amber); }
.footer-nav-list li { margin-bottom: 0.6rem; }
.footer-bottom { border-top: 1px solid var(--border-color); padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.85rem; color: var(--text-muted); }
.footer-credit { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-muted); white-space: nowrap; }
.footer-credit-label { font-size: 0.72rem; }
.criasite-signature { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.criasite-signature-main { display: inline-flex; align-items: center; font-size: 0.9rem; letter-spacing: -0.03em; }
.criasite-symbol { color: #2563eb; font-family: monospace; font-weight: 700; margin-right: 0.2rem; animation: criasite-blink 1.2s steps(2, start) infinite; }
.criasite-cria { color: #e2e8f0; font-weight: 900; }
.criasite-site { color: #2563eb; font-weight: 300; }
.criasite-tagline { color: #64748b; font-size: 0.38rem; font-weight: 700; letter-spacing: 0.18em; margin-left: 1.25rem; margin-top: 0.16rem; }
@keyframes criasite-blink { 50% { opacity: 0.35; } }

.whatsapp-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s ease;
}
.whatsapp-float-btn:hover { transform: scale(1.1); }

/* STATUS ALERTS & NO RESULTS */
.status-alert {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.status-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #10b981;
}

.status-alert.danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #ef4444;
}

.no-results-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}

.no-results-box svg {
  margin-bottom: 1rem;
  color: var(--accent-amber);
}

/* BADGES DO CICLO DE VIDA DA VIATURA */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-new { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-preparation { background: rgba(59, 130, 246, 0.2); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-published { background: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-reserved { background: rgba(249, 115, 22, 0.2); color: #f97316; border: 1px solid rgba(249, 115, 22, 0.3); }
.badge-negotiation { background: rgba(139, 92, 246, 0.2); color: #8b5cf6; border: 1px solid rgba(139, 92, 246, 0.3); }
.badge-sold { background: rgba(239, 68, 68, 0.2); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-archived { background: rgba(100, 116, 139, 0.2); color: #94a3b8; border: 1px solid rgba(100, 116, 139, 0.3); }

/* RESPONSIVIDADE MOBILE FIRST */
@media (max-width: 992px) {
  .hero-title { font-size: 2.4rem; }
  .detail-grid, .finance-grid, .footer-content { grid-template-columns: 1fr; }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 2rem;
    display: none;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-menu.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 1.25rem; }
  .hamburger-btn { display: flex; }
  .header-wa-btn span { display: none; }
}

@media (min-width: 993px) {
  .services-section .reviews-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .services-section .review-card {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 2.5rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.12;
  }

  .hero-title br { display: none; }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.85rem 0.5rem;
  }

  .stat-divider { display: none; }
  .stat-number { font-size: 1.3rem; }
  .stat-label { font-size: 0.68rem; line-height: 1.25; text-align: center; }

  .search-card {
    margin-top: -1rem;
    padding: 1rem;
  }

  .search-header {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0;
  }

  .search-title { display: none; }

  .search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.5rem;
    padding: 0.45rem 0;
    background: transparent;
    border: 0;
    color: var(--text-main);
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }

  .search-toggle span:last-child { color: var(--accent-amber); font-size: 1.2rem; }
  .search-card[data-search-collapsed="true"] .search-grid { display: none; }
  .search-card[data-search-collapsed="false"] .search-grid { margin-top: 1rem; }
  .search-grid { grid-template-columns: minmax(0, 1fr); }
  .btn-text-link { padding: 0.45rem 0; }

  .vehicles-section { padding: 2rem 0 3rem; }

  .vehicles-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .vehicle-card {
    width: 100%;
    min-width: 0;
  }

  #vehicles-grid-container {
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    margin: 0 -1.25rem;
    padding: 0.25rem 1.25rem 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #vehicles-grid-container::-webkit-scrollbar { display: none; }
  #vehicles-grid-container .vehicle-card {
    flex: 0 0 min(86vw, 350px);
    scroll-snap-align: start;
  }
  #vehicles-grid-container .no-results-box { flex: 0 0 100%; }

  .card-media { height: 190px; }
  .card-body { min-width: 0; padding: 1rem; }
  .card-title, .card-version, .current-price { overflow-wrap: anywhere; }

  .reviews-section { padding: 2.5rem 0; }

  .reviews-grid {
    display: flex;
    gap: 1rem;
    margin: 1.5rem -1.25rem 0;
    padding: 0.25rem 1.25rem 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .reviews-grid::-webkit-scrollbar { display: none; }
  .reviews-grid .review-card {
    flex: 0 0 min(86vw, 340px);
    min-width: 0;
    scroll-snap-align: start;
  }

  .finance-section { padding: 2.5rem 0; }
  .finance-card { padding: 1.25rem; }
  .finance-grid { gap: 1.25rem; }
  .finance-summary-box { padding: 1.25rem; }

  .finance-preapproval { margin-top: 1rem; }
  .finance-preapproval summary {
    cursor: pointer;
    list-style-position: inside;
    pointer-events: auto;
  }
  .finance-preapproval .credit-form { margin-top: 1rem; }

  .contacts-section { margin: 2rem auto !important; }
  .contacts-section > .finance-card { padding: 1.25rem !important; }
  .contacts-section .finance-grid { grid-template-columns: 1fr; gap: 1rem; }
  .contacts-section .finance-grid > div:last-child { height: auto !important; }
  .contacts-image { min-height: 10rem; max-height: 11rem; }
  .contacts-image img { min-height: 10rem; }
  .contacts-actions { gap: 0.5rem; margin-top: 1rem; }
  .contacts-actions .btn { flex: 1 1 100%; }

  .site-footer { padding-top: 2.5rem; margin-top: 2rem; }
  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
    padding-bottom: 1.75rem;
  }

  .footer-brand-col,
  .footer-legal-col { grid-column: 1 / -1; }
  .footer-heading { margin-bottom: 0.65rem; font-size: 0.95rem; }
  .footer-nav-list li { margin-bottom: 0.35rem; }
  .footer-desc, .license-info { font-size: 0.8rem; line-height: 1.45; }
  .footer-bottom { padding: 1rem 0; }
  .footer-bottom-inner { flex-direction: column; gap: 0.65rem; text-align: center; }
  .footer-credit { justify-content: center; white-space: normal; }
}
