/* ================================================================
   DV Veículos — Public Catalog
   Ultra-Premium Car Marketplace · 2025
   ================================================================ */

/* ── Variables ───────────────────────────────────────────────────── */
:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: #fff7ed;
  --orange-ultra-light: #fffbf7;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --wa-green: #25d366;
  --wa-dark: #1da851;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;
  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
  --header-h: 70px;
}

/* ── Reset & Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--gray-50);
  color: var(--gray-700);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; padding: 0; }
input, select, textarea { font-family: inherit; }

/* ── Header ──────────────────────────────────────────────────────── */
.catalog-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.header-logo-icon svg, .header-logo-icon i { font-size: 18px; color: var(--white); }

.header-logo-text { display: flex; flex-direction: column; }
.header-logo-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.header-logo-sub {
  font-size: 0.65rem;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav-link {
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.header-nav-link:hover { color: var(--orange); background: var(--orange-light); }
.header-nav-link.active { color: var(--orange); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--wa-green);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 0 18px;
  height: 40px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.header-cta:hover {
  background: var(--wa-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,211,102,0.35);
}
.header-cta svg, .header-cta i { font-size: 16px; }

.header-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  cursor: pointer;
  transition: background var(--transition);
}
.header-hamburger:hover { background: var(--gray-100); }
.header-hamburger svg, .header-hamburger i { font-size: 22px; }

/* ── Mobile Nav Drawer ───────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}
.mobile-nav.open { display: block; }

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
}

.mobile-nav-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--white);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-xl);
}

.mobile-nav-close {
  align-self: flex-end;
  margin-bottom: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  cursor: pointer;
  transition: background var(--transition);
}
.mobile-nav-close:hover { background: var(--gray-100); }

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-link:hover { background: var(--gray-50); color: var(--orange); }

/* ── Hero Section ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,0.5), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 88px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,0.2);
  border: 1px solid rgba(249,115,22,0.4);
  color: #fb923c;
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #fb923c;
  border-radius: var(--radius-pill);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero h1 span { color: var(--orange); }

.hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-top: 16px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Search — redesigned */
.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 600px;
  margin: 36px auto 0;
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-pill);
  padding: 7px 7px 7px 20px;
  box-shadow:
    0 8px 40px rgba(0,0,0,0.30),
    0 0 0 3px rgba(249,115,22,0.40),
    0 0 60px rgba(249,115,22,0.18);
  transition: box-shadow 0.2s;
}
.hero-search:focus-within {
  box-shadow:
    0 8px 40px rgba(0,0,0,0.32),
    0 0 0 3px rgba(249,115,22,0.70),
    0 0 80px rgba(249,115,22,0.28);
}

.hero-search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.hero-search-field input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-900);
  background: transparent;
  min-width: 0;
  padding: 6px 0;
  letter-spacing: -0.01em;
}
.hero-search-field input::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}

.hero-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0 22px;
  height: 46px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(249,115,22,0.38);
}
.hero-search-btn:hover {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(249,115,22,0.50);
}
.hero-search-btn:active { transform: scale(0.98); }

/* legacy alias kept for any other callers */
.btn-search { background: var(--orange); color: var(--white); border-radius: var(--radius-lg);
  padding: 0 24px; height: 44px; font-weight: 700; font-size: 0.875rem; border: none;
  cursor: pointer; white-space: nowrap; flex-shrink: 0; display: inline-flex;
  align-items: center; gap: 6px; }
.btn-search:hover { background: var(--orange-dark); }

/* ── Stats Bar ───────────────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  height: 60px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 0.875rem;
}

.stat-item svg, .stat-item i {
  font-size: 16px;
  color: var(--orange);
  flex-shrink: 0;
}

.stat-item strong {
  color: var(--orange);
  font-weight: 700;
}

/* ── Filters Bar ─────────────────────────────────────────────────── */
.filters-bar {
  background: var(--white);
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-xs);
}

.filters-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  margin-right: 4px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  user-select: none;
  white-space: nowrap;
}
.filter-chip:hover { border-color: var(--orange); color: var(--orange); }
.filter-chip.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.filter-chip-count {
  background: rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  padding: 0 5px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.5;
}
.filter-chip:not(.active) .filter-chip-count {
  background: var(--gray-100);
  color: var(--gray-500);
}

.filter-select-wrap { position: relative; }

select.filter-select {
  height: 34px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 0 32px 0 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  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 fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  outline: none;
  transition: border-color var(--transition), color var(--transition);
  font-family: inherit;
}
select.filter-select:focus { border-color: var(--orange); color: var(--gray-900); }

.filters-reset {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--orange);
  cursor: pointer;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.filters-reset:hover { background: var(--orange-light); }

/* ── Vehicles Section ────────────────────────────────────────────── */
.vehicles-section {
  padding: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.vehicles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}

.vehicles-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.vehicles-count {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 400;
  margin-left: 8px;
}

.vehicles-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.sort-select {
  height: 34px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0 28px 0 10px;
  font-size: 0.8rem;
  color: var(--gray-700);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  outline: none;
  transition: border-color var(--transition);
  font-family: inherit;
}
.sort-select:focus { border-color: var(--orange); }

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ── Vehicle Card ────────────────────────────────────────────────── */
.vehicle-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.4,0,0.2,1), box-shadow 0.22s cubic-bezier(0.4,0,0.2,1), border-color 0.22s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}

.card-photo {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.vehicle-card:hover .card-photo img { transform: scale(1.04); }

.card-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-300);
  gap: 8px;
}
.card-photo-placeholder svg, .card-photo-placeholder i {
  font-size: 48px;
  color: var(--gray-300);
}
.card-photo-placeholder span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.card-origin-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-origin-badge.leilao   { background: rgba(249,115,22,0.9); color: var(--white); }
.card-origin-badge.particular { background: rgba(59,130,246,0.9); color: var(--white); }
.card-origin-badge.concessionaria { background: rgba(16,185,129,0.9); color: var(--white); }

.card-fipe-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 1.4;
}
.card-fipe-badge .fipe-label { font-size: 0.55rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.04em; }

.card-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.vehicle-card:hover .card-photo-overlay { opacity: 1; }

.card-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.card-title {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 3px;
}

.card-subtitle {
  color: var(--gray-500);
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.card-specs {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.card-spec {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--gray-600);
}
.card-spec svg, .card-spec i { font-size: 11px; color: var(--gray-400); flex-shrink: 0; }

.card-price-section { margin-top: auto; padding-top: 4px; }

.card-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 3px;
}

.card-fipe-line {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-bottom: 12px;
}

.card-discount-badge {
  display: inline-flex;
  align-items: center;
  background: #d1fae5;
  color: #065f46;
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

.card-actions {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

.btn-whatsapp {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--wa-green);
  color: var(--white);
  border-radius: var(--radius-md);
  height: 38px;
  font-weight: 600;
  font-size: 0.8rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn-whatsapp:hover { background: var(--wa-dark); transform: scale(1.02); }
.btn-whatsapp svg, .btn-whatsapp i { font-size: 15px; }

.btn-detail {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--orange);
  color: var(--orange);
  border-radius: var(--radius-md);
  height: 38px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn-detail:hover { background: var(--orange); color: var(--white); transform: scale(1.02); }

/* ── Empty State ─────────────────────────────────────────────────── */
.empty-state {
  padding: 80px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  grid-column: 1 / -1;
}

.empty-state svg, .empty-state i {
  font-size: 64px;
  color: var(--gray-300);
  margin-bottom: 4px;
}

.empty-state h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-600);
}

.empty-state p {
  font-size: 0.875rem;
  color: var(--gray-400);
  max-width: 320px;
}

/* ── Load More ───────────────────────────────────────────────────── */
.load-more-section {
  text-align: center;
  padding: 32px 40px 48px;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
  border-radius: var(--radius-md);
  padding: 0 32px;
  height: 44px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  font-family: inherit;
}
.btn-load-more:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }

/* ── Vehicle Detail Page ─────────────────────────────────────────── */
.detail-page { background: var(--gray-50); min-height: 100vh; }

.detail-breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 40px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-500);
  max-width: 1400px;
  margin: 0 auto;
}
.breadcrumb a { color: var(--gray-500); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { color: var(--gray-300); }
.breadcrumb-current { color: var(--gray-700); font-weight: 500; }

.detail-hero {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 40px;
}

.detail-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

/* Gallery */
.gallery-main {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
  border: 1px solid var(--gray-200);
  cursor: pointer;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.gallery-main:hover img { transform: scale(1.02); }

.gallery-main-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-main:hover .gallery-main-overlay { background: rgba(0,0,0,0.25); }
.gallery-main-overlay .expand-btn {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s, transform 0.2s;
  background: rgba(255,255,255,0.95);
  color: var(--gray-700);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.gallery-main:hover .expand-btn { opacity: 1; transform: scale(1); }

.gallery-count-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 10px;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color var(--transition), transform var(--transition);
  background: var(--gray-100);
}
.gallery-thumb:hover { border-color: var(--gray-300); transform: scale(1.04); }
.gallery-thumb.active { border-color: var(--orange); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Detail Info Panel */
.detail-info { display: flex; flex-direction: column; gap: 0; }

.detail-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.detail-origin-badge {
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.detail-origin-badge.leilao   { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.detail-origin-badge.particular { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.detail-origin-badge.concessionaria { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

.detail-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 4px;
}

.detail-subtitle {
  color: var(--gray-500);
  font-size: 1rem;
  margin-bottom: 20px;
}

.detail-price-section { margin-bottom: 20px; }

.detail-price-label {
  font-size: 0.72rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 4px;
}

.detail-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.04em;
  line-height: 1;
}

.detail-fipe-line {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-top: 4px;
}

.detail-savings {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #d1fae5;
  color: #065f46;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 6px;
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 24px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--gray-50);
  transition: border-color var(--transition);
}
.spec-item:hover { border-color: var(--gray-200); }

.spec-icon {
  width: 32px;
  height: 32px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.spec-text { display: flex; flex-direction: column; min-width: 0; }

.spec-label {
  color: var(--gray-500);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  white-space: nowrap;
}

.spec-value {
  color: var(--gray-900);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Detail CTA */
.detail-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-detail-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wa-green);
  color: var(--white);
  border-radius: var(--radius-md);
  height: 52px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn-detail-wa:hover {
  background: var(--wa-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}
.btn-detail-wa svg, .btn-detail-wa i { font-size: 22px; }

.btn-detail-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--orange);
  color: var(--orange);
  border-radius: var(--radius-md);
  height: 44px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.btn-detail-call:hover { background: var(--orange); color: var(--white); }

.detail-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0 0;
  border-top: 1px solid var(--gray-100);
  margin-top: 4px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--gray-500);
}
.trust-item svg, .trust-item i { font-size: 13px; color: var(--success); }

/* ── Accessories Section ─────────────────────────────────────────── */
.accessories-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 40px;
}

.section-heading {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.accessories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.accessory-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.accessory-chip:hover { background: var(--orange-light); color: var(--orange); }
.accessory-chip svg, .accessory-chip i { font-size: 12px; color: var(--success); flex-shrink: 0; }

/* ── Lead Form Section ───────────────────────────────────────────── */
.lead-form-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px 48px;
}

.lead-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 600px;
  box-shadow: var(--shadow-sm);
}

.lead-form-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.lead-form-sub {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  height: 42px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0 14px;
  font-size: 0.875rem;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
  font-family: inherit;
}
.form-control:hover { border-color: var(--gray-300); }
.form-control:focus { border-color: var(--orange); }
.form-control::placeholder { color: var(--gray-400); }

textarea.form-control {
  height: auto;
  padding: 12px 14px;
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Lightbox ────────────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}
.lightbox-overlay.open { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition);
  font-size: 22px;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition), opacity var(--transition);
  opacity: 0.75;
  font-size: 20px;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); opacity: 1; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ── WhatsApp FAB ────────────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--wa-green);
  color: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  background: var(--wa-dark);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.whatsapp-fab svg, .whatsapp-fab i { font-size: 28px; }

.whatsapp-fab-label {
  position: fixed;
  bottom: 34px;
  right: 88px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 499;
}
.whatsapp-fab:hover ~ .whatsapp-fab-label {
  opacity: 1;
  transform: translateX(0);
}

/* ── Footer ──────────────────────────────────────────────────────── */
.catalog-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 48px 40px 32px;
  margin-top: 64px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-logo-icon svg, .footer-logo-icon i { font-size: 18px; color: var(--white); }
.footer-logo-name { font-weight: 800; color: var(--white); font-size: 1rem; }
.footer-desc { font-size: 0.875rem; line-height: 1.6; max-width: 280px; }

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom a { color: var(--orange); }

/* ── Skeleton Loaders ────────────────────────────────────────────── */
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.skeleton {
  background: var(--gray-200);
  border-radius: var(--radius-sm);
  animation: skeleton-pulse 1.6s ease-in-out infinite;
}

.skeleton-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.skeleton-img {
  aspect-ratio: 4/3;
  background: var(--gray-200);
  animation: skeleton-pulse 1.6s ease-in-out infinite;
}

.skeleton-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-line {
  height: 14px;
  background: var(--gray-200);
  border-radius: 4px;
  animation: skeleton-pulse 1.6s ease-in-out infinite;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .catalog-header { padding: 0 24px; }
  .vehicles-section { padding: 32px 24px; }
  .filters-bar { padding: 12px 24px; }
  .stats-bar { padding: 0 24px; }
  .accessories-section { padding: 28px 24px; }
  .lead-form-section { padding: 0 24px 40px; }
  .detail-hero { padding: 32px 24px; }
  .detail-hero-inner { gap: 32px; }
  .catalog-footer { padding: 40px 24px 28px; }
}

@media (max-width: 1024px) {
  .detail-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .detail-title { font-size: 1.6rem; }
  .detail-price { font-size: 2.4rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-nav  { display: none; }
  .header-cta  { display: none; }
  .header-hamburger { display: flex; }

  .catalog-header { padding: 0 16px; }

  .hero-content { padding: 60px 16px 56px; }
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero p  { font-size: 0.95rem; }
  .hero-search { margin-top: 24px; }

  .stats-bar { padding: 0 16px; gap: 20px; height: auto; padding: 14px 16px; }
  .stat-item:not(:first-child):not(:nth-child(2)):not(:nth-child(3)) { display: none; }

  .filters-bar { padding: 10px 16px; overflow-x: auto; flex-wrap: nowrap; gap: 8px; }
  .filters-label { display: none; }
  .filters-reset { margin-left: 0; flex-shrink: 0; }

  .vehicles-section { padding: 24px 16px; }
  .vehicles-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .accessories-section { padding: 24px 16px; }
  .lead-form-section { padding: 0 16px 36px; }
  .lead-form-card { padding: 24px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .catalog-footer { padding: 32px 16px 24px; }

  .detail-breadcrumb { padding: 10px 16px; }
  .detail-hero { padding: 20px 16px; }
  .detail-title { font-size: 1.4rem; }
  .detail-price { font-size: 2rem; }

  .load-more-section { padding: 24px 16px 40px; }
}

@media (max-width: 480px) {
  .vehicles-grid { grid-template-columns: 1fr; }
  /* hero-search: keep single row on mobile, just adjust padding/font */
  .hero-search { padding: 6px 6px 6px 16px; gap: 6px; margin: 28px 16px 0; }
  .hero-search-field input { font-size: 0.9rem; }
  .hero-search-btn { padding: 0 16px; height: 42px; font-size: 0.85rem; gap: 5px; }
  .hero-search-btn svg { display: none; } /* hide icon on very small screens, save space */
  .card-actions { gap: 6px; }
  .detail-specs-grid { grid-template-columns: 1fr; }
  .whatsapp-fab { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .detail-trust-row { flex-wrap: wrap; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Hero overlay fix (for real background images) ───────────────── */
.hero::before {
  background: linear-gradient(135deg,rgba(0,0,0,0.72) 0%,rgba(10,10,10,0.52) 50%,rgba(0,0,0,0.70) 100%) !important;
}

/* ── Hero inner / structure ──────────────────────────────────────── */
.hero-inner {
  position: relative; z-index: 1;
  padding: 88px 24px 80px;
  max-width: 820px; margin: 0 auto; text-align: center;
}
.hero-inner h1 {
  color: #fff; font-size: clamp(2rem,5vw,3.5rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px;
}
.hero-inner h1 span { color: var(--orange); }
.hero-inner p { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 540px; margin: 0 auto 32px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(249,115,22,0.18); border: 1px solid rgba(249,115,22,0.4);
  color: #fb923c; border-radius: 9999px;
  padding: 4px 14px; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px;
}

/* ── Hero stats ──────────────────────────────────────────────────── */
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 36px; flex-wrap: wrap;
}
.hero-stat { padding: 0 28px; text-align: center; }
.hero-stat-num { display: block; font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.hero-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.55); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; display: block; }
.hero-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }
@media (max-width: 480px) {
  .hero-inner { padding: 64px 20px 56px; }
  .hero-stats { gap: 8px; }
  .hero-stat { padding: 0 16px; }
  .hero-stat-divider { height: 24px; }
}

/* ── Header (site-header alias) ──────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100; height: 80px;
  background: #fff; border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1320px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; }
.header-wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff; padding: 8px 18px;
  border-radius: 9999px; font-weight: 600; font-size: 0.875rem;
  transition: background 0.18s;
}
.header-wa-btn:hover { background: #1da851; }

/* ── Origin badges (new terminology) ────────────────────────────── */
.origin-badge.novo          { background: #dbeafe; color: #1d4ed8; }
.origin-badge.seminovo      { background: #dcfce7; color: #15803d; }
.origin-badge.repasse       { background: #fef3c7; color: #b45309; }
.origin-badge.particular    { background: #ede9fe; color: #6d28d9; }
.origin-badge.outros        { background: var(--gray-100); color: var(--gray-600); }
.origin-badge.leilao        { background: #fef3c7; color: #b45309; }

/* ── Card actions (WhatsApp + Detail buttons) ────────────────────── */
.card-actions { display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.btn-whatsapp {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #25d366; color: #fff; border-radius: 9px;
  padding: 8px 10px; font-size: 0.8rem; font-weight: 700;
  border: none; cursor: pointer; transition: background 0.18s;
}
.btn-whatsapp:hover { background: #1da851; }
.btn-detail {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #fff; color: var(--orange); border: 1.5px solid var(--orange);
  border-radius: 9px; padding: 8px 10px; font-size: 0.8rem; font-weight: 700;
  cursor: pointer; transition: all 0.18s;
}
.btn-detail:hover { background: var(--orange-light); }

/* ── Main content layout ─────────────────────────────────────────── */
.main-content { max-width: 1320px; margin: 0 auto; padding: 32px 24px 64px; }
.content-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.content-header h2 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); }

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
@media (max-width: 768px) {
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .main-content  { padding: 16px 12px 80px; }
}
@media (max-width: 480px) {
  .vehicle-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer { background: #f97316; color: rgba(255,255,255,0.9); padding: 48px 24px 0; }
.footer-inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.8); max-width: 320px; margin-top: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { color: #fff; font-weight: 700; margin-bottom: 4px; display: block; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 0.875rem; transition: color 0.18s; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding: 16px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }

/* ── WhatsApp FAB ────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 9999px;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 500; transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); width: auto; padding: 0 20px; }
.whatsapp-label { font-size: 0.875rem; font-weight: 700; white-space: nowrap; overflow: hidden; max-width: 0; transition: max-width 0.3s, margin 0.3s; }
.whatsapp-float:hover .whatsapp-label { max-width: 140px; margin-left: 8px; }

