/* ════════════════════════════════════════════════════════════
   AutoVehicules — Design System
   ════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --navy:       #0a1628;
  --navy-mid:   #0f2040;
  --blue:       #1d6feb;
  --blue-dark:  #1559c9;
  --blue-glow:  rgba(29,111,235,.15);
  --gold:       #f5a623;
  --white:      #ffffff;
  --off-white:  #f7f9fc;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-800:   #1e293b;
  --danger:     #ef4444;
  --success:    #22c55e;
  --warning:    #f59e0b;

  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-md: 0 8px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.16);

  --transition: all .22s ease;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--off-white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ════════════════════════════════════════════════════════════
   SIDEBAR MOBILE
   ════════════════════════════════════════════════════════════ */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1100;
  opacity: 0;
  transition: opacity .3s ease;
}
.sidebar-overlay.active { display: block; opacity: 1; }

.sidebar-mobile {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: white;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 32px rgba(0,0,0,.18);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sidebar-mobile.open { transform: translateX(0); }

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--navy);
  flex-shrink: 0;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  letter-spacing: -.03em;
}
.sidebar-brand span { color: var(--gold); }
.sidebar-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  transition: var(--transition);
}
.sidebar-close:hover { background: rgba(255,255,255,.2); }

.sidebar-search {
  padding: .875rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  flex-shrink: 0;
}
.sidebar-search-wrap {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: .5rem 1rem;
  transition: var(--transition);
}
.sidebar-search-wrap:focus-within {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.sidebar-search-wrap i { color: var(--gray-400); font-size: .85rem; flex-shrink: 0; }
.sidebar-search-input {
  flex: 1; border: none; background: none;
  outline: none; font-size: .875rem;
  color: var(--gray-800); font-family: inherit;
}
.sidebar-search-input::placeholder { color: var(--gray-400); }

.sidebar-nav { flex: 1; padding: .5rem .75rem 0; }
.sidebar-nav-label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray-400);
  padding: .5rem .5rem .2rem;
  margin-bottom: .2rem;
}
.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  margin-bottom: .1rem;
}
.sidebar-nav-link i { width: 18px; text-align: center; font-size: .95rem; flex-shrink: 0; }
.sidebar-nav-link:hover { background: var(--gray-50); color: var(--navy); }
.sidebar-nav-link.active { background: var(--blue-glow); color: var(--blue); font-weight: 600; }
.sidebar-nav-link-danger { color: var(--danger) !important; }
.sidebar-nav-link-danger:hover { background: #fef2f2 !important; }

.sidebar-account {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--gray-100);
  display: flex; flex-direction: column; gap: .5rem; flex-shrink: 0;
}
.sidebar-user-info {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem 0 .75rem;
}
.sidebar-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: white;
  font-size: .82rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sidebar-btn-primary {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .7rem 1rem;
  background: var(--blue); color: white;
  border-radius: var(--radius); font-size: .875rem; font-weight: 700;
  transition: var(--transition);
}
.sidebar-btn-primary:hover { background: var(--blue-dark); color: white; }
.sidebar-btn-outline {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .7rem 1rem;
  background: transparent; color: var(--navy);
  border-radius: var(--radius); font-size: .875rem; font-weight: 600;
  border: 1.5px solid var(--gray-200); transition: var(--transition);
}
.sidebar-btn-outline:hover { border-color: var(--navy); }

/* ════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════ */
.navbar-premium {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: 64px;
  display: flex; flex-direction: column; justify-content: center;
  background: rgba(10,22,40,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .3s ease, box-shadow .3s ease;
}
.navbar-premium.scrolled {
  background: rgba(10,22,40,.99);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.nav-container {
  max-width: 1400px; width: 100%;
  margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; gap: 1rem; height: 64px;
}

.nav-hamburger {
  display: none;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  border: none; color: white; cursor: pointer;
  font-size: 1.2rem; flex-shrink: 0; transition: var(--transition);
}
.nav-hamburger:hover { background: rgba(255,255,255,.18); }

.nav-brand {
  display: flex; align-items: center; gap: .5rem;
  font-size: 1.15rem; font-weight: 800;
  color: white; letter-spacing: -.03em;
  flex-shrink: 0; text-decoration: none;
}
.nav-brand-icon {
  width: 34px; height: 34px;
  background: var(--blue);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
}
.nav-brand-text { display: flex; align-items: center; }
.brand-accent { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: .1rem;
  list-style: none; margin: 0; padding: 0; flex-shrink: 0;
}
.nav-links a {
  display: flex; align-items: center; gap: .35rem;
  padding: .38rem .7rem;
  border-radius: var(--radius-full);
  font-size: .845rem; font-weight: 500;
  color: rgba(255,255,255,.72); white-space: nowrap;
  transition: var(--transition);
}
.nav-links a:hover { color: white; background: rgba(255,255,255,.1); }
.nav-links a.active { background: var(--blue); color: white; font-weight: 600; }

/* Recherche desktop */
.nav-search-wrap {
  flex: 1; max-width: 360px; position: relative; margin: 0 .5rem;
}
.nav-search-box {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.13);
  border-radius: var(--radius-full);
  padding: .4rem .9rem; transition: var(--transition);
}
.nav-search-box:focus-within {
  background: rgba(255,255,255,.15);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,111,235,.2);
}
.nav-search-icon { color: rgba(255,255,255,.5); font-size: .85rem; flex-shrink: 0; }
.nav-search-input {
  flex: 1; background: none; border: none; outline: none;
  color: white; font-size: .875rem; font-family: inherit; min-width: 0;
}
.nav-search-input::placeholder { color: rgba(255,255,255,.4); }
.nav-search-clear {
  background: none; border: none; color: rgba(255,255,255,.5);
  cursor: pointer; padding: 0; font-size: .85rem;
  display: flex; align-items: center; transition: var(--transition);
}
.nav-search-clear:hover { color: white; }

/* Résultats communs */
.nav-search-results {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
  overflow: hidden; z-index: 500;
  max-height: 360px; overflow-y: auto;
}
.nav-search-results.visible { display: block; }

.search-result-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1rem; transition: var(--transition);
  cursor: pointer; text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--gray-50); }
.search-result-thumb {
  width: 48px; height: 36px;
  background: var(--gray-100); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); font-size: .85rem; flex-shrink: 0; overflow: hidden;
}
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-name {
  font-size: .875rem; font-weight: 600; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-result-meta { font-size: .75rem; color: var(--gray-400); }
.search-result-price { font-size: .8rem; font-weight: 700; color: var(--blue); white-space: nowrap; }
.search-no-result { padding: 1.5rem 1rem; text-align: center; color: var(--gray-400); font-size: .875rem; }
.search-result-skeleton { padding: .7rem 1rem; display: flex; gap: .75rem; align-items: center; }
.sk-box { background: var(--gray-100); border-radius: 4px; animation: skeleton 1.2s ease infinite; }
@keyframes skeleton { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

/* Icône mobile */
.nav-icon-btn {
  display: none; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(255,255,255,.1);
  border: none; color: white; cursor: pointer;
  align-items: center; justify-content: center;
  font-size: .95rem; transition: var(--transition);
}
.nav-icon-btn:hover { background: rgba(255,255,255,.18); }

/* Barre recherche mobile */
.nav-search-mobile {
  display: none; padding: .65rem 1.25rem;
  background: rgba(10,22,40,.98);
  border-top: 1px solid rgba(255,255,255,.06); position: relative;
}
.nav-search-mobile.visible { display: block; }
.nav-search-mobile-inner {
  display: flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: var(--radius-full);
  padding: .5rem 1rem; transition: var(--transition);
}
.nav-search-mobile-inner:focus-within { border-color: var(--blue); }
.nav-search-mobile-inner i { color: rgba(255,255,255,.5); font-size: .85rem; }
.nav-search-mobile-inner input {
  flex: 1; background: none; border: none; outline: none;
  color: white; font-size: .875rem; font-family: inherit;
}
.nav-search-mobile-inner input::placeholder { color: rgba(255,255,255,.4); }
.nav-search-mobile-inner button {
  background: none; border: none;
  color: rgba(255,255,255,.5); cursor: pointer; font-size: .85rem; padding: 0;
}
.nav-search-mobile .nav-search-results {
  position: absolute; top: 100%; left: 1.25rem; right: 1.25rem; margin-top: 0;
}
.navbar-premium.search-open { height: auto; }

/* Actions */
.nav-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; flex-shrink: 0; }

/* Mon compte */
.nav-compte-wrap { position: relative; }
.nav-compte-btn {
  display: flex; align-items: center; gap: .5rem;
  padding: .38rem .8rem .38rem .45rem;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: var(--radius-full);
  color: white; cursor: pointer;
  font-size: .845rem; font-weight: 600;
  font-family: inherit; transition: var(--transition); white-space: nowrap;
}
.nav-compte-btn:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.28); }
.nav-compte-btn.open  { background: rgba(255,255,255,.18); border-color: var(--blue); }
.nav-compte-user { padding: .28rem .7rem .28rem .32rem; }
.nav-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue); color: white;
  font-size: .68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: 2px solid rgba(255,255,255,.2);
}
.nav-compte-label { max-width: 100px; overflow: hidden; text-overflow: ellipsis; }
.nav-chevron { font-size: .68rem; opacity: .7; transition: transform .22s ease; }
.nav-compte-btn.open .nav-chevron { transform: rotate(180deg); }

.nav-compte-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 252px; background: white;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200); overflow: hidden; z-index: 500;
}
.nav-compte-menu.open { display: block; animation: fadeInDown .18s ease; }
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.compte-menu-header {
  display: flex; align-items: center; gap: .75rem;
  padding: .875rem 1rem; background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.compte-menu-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: white;
  font-size: .82rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.compte-menu-name { font-size: .875rem; font-weight: 700; color: var(--navy); }
.compte-menu-role { font-size: .72rem; color: var(--gray-400); margin-top: .1rem; }

.compte-menu-body { padding: .35rem 0; }
.compte-menu-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem 1rem; font-size: .875rem;
  color: var(--gray-600); transition: var(--transition);
}
.compte-menu-item i { width: 16px; text-align: center; }
.compte-menu-item:hover { background: var(--gray-50); color: var(--navy); }

.compte-menu-cta-primary {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; margin: .5rem .75rem;
  padding: .65rem 1rem;
  background: var(--blue); color: white;
  border-radius: var(--radius); font-size: .875rem; font-weight: 700;
  transition: var(--transition);
}
.compte-menu-cta-primary:hover { background: var(--blue-dark); color: white; }

.compte-menu-cta-outline {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; margin: 0 .75rem .75rem;
  padding: .6rem 1rem; background: transparent; color: var(--navy);
  border-radius: var(--radius); font-size: .875rem; font-weight: 600;
  border: 1.5px solid var(--gray-200); transition: var(--transition);
}
.compte-menu-cta-outline:hover { border-color: var(--navy); }

.compte-menu-footer { border-top: 1px solid var(--gray-100); padding: .35rem 0; }
.compte-menu-logout { color: var(--danger) !important; }
.compte-menu-logout:hover { background: #fef2f2 !important; color: var(--danger) !important; }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  min-height: 82vh;
  background:
    linear-gradient(rgba(8,18,34,.88), rgba(8,18,34,.88)),
    url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1920&q=80&auto=format') center/cover no-repeat;
  display: flex; align-items: center;
  padding-top: 64px; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--off-white), transparent);
  z-index: 2;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .12; pointer-events: none;
}
.hero-glow-1 { width: 500px; height: 500px; background: var(--blue); top: -150px; right: -80px; }
.hero-glow-2 { width: 300px; height: 300px; background: var(--gold); bottom: 0; left: -80px; }

.hero-content {
  max-width: 1280px; margin: 0 auto;
  padding: 3rem 2rem 4rem;
  position: relative; z-index: 3;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(29,111,235,.18);
  border: 1px solid rgba(29,111,235,.35);
  color: #93c5fd;
  padding: .3rem .85rem; border-radius: var(--radius-full);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 1.25rem;
}
.hero h1 .highlight { color: var(--gold); }

.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.62);
  max-width: 500px; line-height: 1.7; margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: .875rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn-primary-hero {
  padding: .82rem 1.75rem; border-radius: var(--radius-full);
  font-size: .9rem; font-weight: 700;
  background: var(--blue); color: white;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .55rem;
  transition: var(--transition);
}
.btn-primary-hero:hover { background: var(--blue-dark); transform: translateY(-2px); color: white; }
.btn-ghost-hero {
  padding: .82rem 1.75rem; border-radius: var(--radius-full);
  font-size: .9rem; font-weight: 600;
  background: rgba(255,255,255,.08);
  color: white; border: 1.5px solid rgba(255,255,255,.22);
  cursor: pointer; display: inline-flex; align-items: center; gap: .55rem;
  transition: var(--transition);
}
.btn-ghost-hero:hover { background: rgba(255,255,255,.15); color: white; transform: translateY(-2px); }

.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stat { text-align: left; }
.hero-stat-value { font-size: 1.85rem; font-weight: 800; color: var(--white); line-height: 1; display: block; }
.hero-stat-label { font-size: .75rem; color: rgba(255,255,255,.48); letter-spacing: .03em; text-transform: uppercase; }

/* ════════════════════════════════════════════════════════════
   SEARCH BAR
   ════════════════════════════════════════════════════════════ */
.search-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
}
.search-tabs { display: flex; gap: .4rem; margin-bottom: 1rem; }
.search-tab {
  padding: .42rem 1.1rem; border-radius: var(--radius-full);
  font-size: .845rem; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--gray-200); background: none;
  color: var(--gray-600); transition: var(--transition);
}
.search-tab.active { background: var(--navy); border-color: var(--navy); color: white; }
.search-tab:hover:not(.active) { border-color: var(--navy); color: var(--navy); }
.search-fields { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: .875rem; align-items: end; }
.search-field label {
  display: block; font-size: .74rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: .35rem;
}
.search-field select,
.search-field input {
  width: 100%; height: 44px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  padding: 0 .875rem; font-size: .875rem; color: var(--gray-800);
  background: var(--gray-50); transition: var(--transition);
  font-family: inherit; appearance: none; -webkit-appearance: none;
}
.search-field select {
  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='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center;
  padding-right: 2.25rem;
}
.search-field select:focus,
.search-field input:focus {
  outline: none; border-color: var(--blue);
  background: white; box-shadow: 0 0 0 3px var(--blue-glow);
}
.btn-search {
  height: 44px; padding: 0 1.5rem;
  background: var(--blue); color: white;
  border: none; border-radius: var(--radius);
  font-size: .875rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; gap: .45rem;
  white-space: nowrap; transition: var(--transition); font-family: inherit;
}
.btn-search:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ════════════════════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════════════════════ */
.section { padding: 2.5rem 0; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

.section-header { margin-bottom: 1.75rem; }
.section-label {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .6rem;
}
.section-label::before {
  content: ''; width: 16px; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800; color: var(--navy); letter-spacing: -.03em;
}
.section-sub { margin-top: .6rem; font-size: .95rem; color: var(--gray-400); max-width: 480px; }

/* ════════════════════════════════════════════════════════════
   VEHICLE CARDS
   ════════════════════════════════════════════════════════════ */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
}
.vehicle-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm); transition: var(--transition);
  position: relative; display: flex; flex-direction: column;
}
.vehicle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gray-200); }

.vehicle-card-img {
  position: relative; height: 190px;
  overflow: hidden; background: var(--gray-100);
}
.vehicle-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.vehicle-card:hover .vehicle-card-img img { transform: scale(1.05); }
.vehicle-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100); color: var(--gray-400); font-size: 2.8rem;
}

.vehicle-badge {
  position: absolute; top: 10px; left: 10px;
  padding: .25rem .65rem; border-radius: var(--radius-full);
  font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.badge-disponible  { background: rgba(34,197,94,.14);  color: #15803d; border: 1px solid rgba(34,197,94,.3); }
.badge-location    { background: rgba(245,158,11,.14);  color: #b45309; border: 1px solid rgba(245,158,11,.3); }
.badge-vendu       { background: rgba(239,68,68,.14);   color: #b91c1c; border: 1px solid rgba(239,68,68,.3); }
.badge-maintenance { background: rgba(99,102,241,.14);  color: #4338ca; border: 1px solid rgba(99,102,241,.3); }

.vehicle-favorite {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; color: var(--gray-400);
  font-size: .95rem; transition: var(--transition);
}
.vehicle-favorite:hover { color: var(--danger); transform: scale(1.08); }
.vehicle-favorite.active { color: var(--danger); }

.vehicle-card-body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.vehicle-brand {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .18rem;
}
.vehicle-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .65rem; }
.vehicle-specs { display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: .875rem; }
.vehicle-spec { display: flex; align-items: center; gap: .28rem; font-size: .76rem; color: var(--gray-400); }
.vehicle-spec i { font-size: .75rem; }

.vehicle-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .875rem; border-top: 1px solid var(--gray-100); margin-top: auto;
}
.vehicle-price-rent { display: flex; flex-direction: column; }
.vehicle-price-rent .price-amount { font-size: 1.1rem; font-weight: 800; color: var(--navy); line-height: 1; }
.vehicle-price-rent .price-label  { font-size: .7rem; color: var(--gray-400); }
.vehicle-action {
  padding: .48rem 1rem; border-radius: var(--radius-full);
  font-size: .8rem; font-weight: 700;
  background: var(--blue); color: white;
  border: none; cursor: pointer; transition: var(--transition);
  display: inline-flex; align-items: center; gap: .35rem;
}
.vehicle-action:hover { background: var(--blue-dark); color: white; transform: translateY(-1px); }

/* ════════════════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.feature-card {
  padding: 1.75rem; border-radius: var(--radius-lg);
  background: white; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm); transition: var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--blue); opacity: 0; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.1rem;
}
.feature-icon-blue   { background: rgba(29,111,235,.1);  color: var(--blue); }
.feature-icon-green  { background: rgba(34,197,94,.1);   color: #15803d; }
.feature-icon-gold   { background: rgba(245,158,11,.1);  color: #b45309; }
.feature-icon-red    { background: rgba(239,68,68,.1);   color: #b91c1c; }
.feature-icon-purple { background: rgba(139,92,246,.1);  color: #7c3aed; }

.feature-card h4 { font-size: .975rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.feature-card p  { font-size: .845rem; color: var(--gray-400); line-height: 1.6; margin: 0; }

/* ════════════════════════════════════════════════════════════
   STATS
   ════════════════════════════════════════════════════════════ */
.stats-section {
  background: var(--navy); padding: 2.5rem 0; position: relative; overflow: hidden;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.stat-item { text-align: center; }
.stat-value {
  font-size: 2.6rem; font-weight: 900; color: white;
  line-height: 1; font-family: 'Playfair Display', serif; margin-bottom: .35rem;
}
.stat-value span { color: var(--gold); }
.stat-label {
  font-size: .78rem; color: rgba(255,255,255,.48);
  letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   AUTH PAGES
   ════════════════════════════════════════════════════════════ */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }

.auth-left {
  background: var(--navy);
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem; position: relative; overflow: hidden;
}
.auth-left::before {
  content: ''; position: absolute;
  width: 400px; height: 400px;
  background: rgba(29,111,235,.18);
  border-radius: 50%;
  top: -120px; right: -100px;
}

.auth-left-brand {
  display: flex; align-items: center; gap: .55rem;
  font-size: 1.25rem; font-weight: 800;
  color: white; position: relative; z-index: 1;
}
.auth-left-brand .brand-dot { color: var(--gold); }

.auth-left-content { position: relative; z-index: 1; }
.auth-left-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; color: white; line-height: 1.2; margin-bottom: .875rem;
}
.auth-left-content h2 .text-gold { color: var(--gold); }
.auth-left-content p { color: rgba(255,255,255,.58); line-height: 1.7; margin-bottom: 1.75rem; }

.auth-features { display: flex; flex-direction: column; gap: .65rem; }
.auth-feature { display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.72); font-size: .875rem; }
.auth-feature-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(29,111,235,.25); display: flex;
  align-items: center; justify-content: center;
  font-size: .72rem; color: #93c5fd; flex-shrink: 0;
}
.auth-left-footer { position: relative; z-index: 1; font-size: .75rem; color: rgba(255,255,255,.28); }

.auth-right {
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem; background: white; overflow-y: auto;
}
.auth-form-container { width: 100%; max-width: 400px; }
.auth-form-title {
  font-size: 1.65rem; font-weight: 800; color: var(--navy);
  margin-bottom: .35rem; letter-spacing: -.03em;
}
.auth-form-sub { color: var(--gray-400); font-size: .875rem; margin-bottom: 1.75rem; }

.form-group { margin-bottom: 1.1rem; }
.form-label {
  display: block; font-size: .74rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--gray-600); margin-bottom: .45rem;
}
.input-wrapper { position: relative; display: flex; align-items: center; }
.input-icon {
  position: absolute; left: .85rem; color: var(--gray-400);
  font-size: .9rem; pointer-events: none; z-index: 1;
}
.form-input {
  width: 100%; height: 46px;
  padding: 0 1rem 0 2.5rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  font-size: .875rem; color: var(--gray-800);
  background: var(--gray-50); transition: var(--transition);
  font-family: inherit; outline: none;
}
.form-input:focus { border-color: var(--blue); background: white; box-shadow: 0 0 0 3px var(--blue-glow); }
.form-input::placeholder { color: var(--gray-400); }
.input-action {
  position: absolute; right: .7rem; background: none; border: none;
  color: var(--gray-400); cursor: pointer; padding: .25rem;
  border-radius: var(--radius-sm); transition: var(--transition); font-size: .9rem;
}
.input-action:hover { color: var(--navy); }
.form-input-no-icon { padding-left: 1rem; }

.strength-meter { margin-top: .45rem; }
.strength-bar { height: 4px; border-radius: 2px; background: var(--gray-200); overflow: hidden; margin-bottom: .25rem; }
.strength-fill { height: 100%; border-radius: 2px; transition: all .4s ease; }
.strength-text { font-size: .72rem; color: var(--gray-400); }

.form-check-custom { display: flex; align-items: flex-start; gap: .55rem; cursor: pointer; }
.form-check-custom input[type="checkbox"] {
  width: 16px; height: 16px; border: 1.5px solid var(--gray-200);
  border-radius: 4px; appearance: none; -webkit-appearance: none;
  cursor: pointer; flex-shrink: 0; margin-top: 2px;
  background: var(--gray-50); transition: var(--transition);
}
.form-check-custom input[type="checkbox"]:checked {
  background: var(--blue); border-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
}
.form-check-label { font-size: .845rem; color: var(--gray-600); line-height: 1.5; }
.form-check-label a { color: var(--blue); font-weight: 600; }

.btn-submit {
  width: 100%; height: 50px;
  background: var(--blue); color: white;
  border: none; border-radius: var(--radius);
  font-size: .925rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  transition: var(--transition); font-family: inherit; margin-top: 1.5rem;
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }

.auth-divider {
  display: flex; align-items: center; gap: .875rem;
  margin: 1.25rem 0; color: var(--gray-400); font-size: .8rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.auth-switch { text-align: center; font-size: .845rem; color: var(--gray-400); margin-top: 1.25rem; }
.auth-switch a { color: var(--blue); font-weight: 700; }

/* ════════════════════════════════════════════════════════════
   FLASH MESSAGES
   ════════════════════════════════════════════════════════════ */
.flash-container {
  position: fixed; top: 80px; right: 1.25rem;
  z-index: 9999; display: flex; flex-direction: column;
  gap: .45rem; max-width: 360px; width: 100%;
}
.flash-toast {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .85rem 1rem; border-radius: var(--radius);
  background: white; box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  animation: slideInRight .28s ease;
  position: relative; overflow: hidden;
}
.flash-toast::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; border-radius: 4px 0 0 4px;
}
.flash-toast.success::before { background: var(--success); }
.flash-toast.danger::before  { background: var(--danger); }
.flash-toast.warning::before { background: var(--warning); }
.flash-toast.info::before    { background: var(--blue); }
.flash-icon { font-size: 1rem; flex-shrink: 0; margin-top: .05rem; }
.flash-toast.success .flash-icon { color: var(--success); }
.flash-toast.danger  .flash-icon { color: var(--danger); }
.flash-toast.warning .flash-icon { color: var(--warning); }
.flash-toast.info    .flash-icon { color: var(--blue); }
.flash-text { font-size: .845rem; color: var(--gray-800); line-height: 1.4; }
.flash-close {
  margin-left: auto; background: none; border: none; cursor: pointer;
  color: var(--gray-400); font-size: .85rem; padding: 0;
  flex-shrink: 0; transition: var(--transition);
}
.flash-close:hover { color: var(--gray-800); }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer { background: var(--navy); color: rgba(255,255,255,.62); padding: 3rem 0 1.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 2rem;
}
.footer-brand .brand-name {
  font-size: 1.15rem; font-weight: 800; color: white;
  margin-bottom: .65rem; display: flex; align-items: center; gap: .45rem;
}
.footer-brand p { font-size: .845rem; line-height: 1.7; margin-bottom: 1.25rem; max-width: 240px; }
.footer-socials { display: flex; gap: .55rem; }
.footer-social {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-size: .85rem;
  transition: var(--transition); border: 1px solid rgba(255,255,255,.1);
}
.footer-social:hover { background: var(--blue); border-color: var(--blue); color: white; transform: translateY(-2px); }

.footer-col h6 {
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: white; margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .845rem; color: rgba(255,255,255,.52); transition: var(--transition); }
.footer-links a:hover { color: white; padding-left: .3rem; }

.footer-contact-item {
  display: flex; align-items: center; gap: .55rem;
  font-size: .845rem; margin-bottom: .55rem;
}
.footer-contact-item i { color: #93c5fd; font-size: .875rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .875rem;
}
.footer-bottom p { font-size: .78rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { font-size: .78rem; color: rgba(255,255,255,.38); transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.75); }

/* ════════════════════════════════════════════════════════════
   ANIMATIONS & UTILITIES
   ════════════════════════════════════════════════════════════ */
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeInUp    { from { transform: translateY(18px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn      { from { opacity: 0; } to { opacity: 1; } }

.animate-fade-up { animation: fadeInUp .45s ease forwards; }
.animate-fade-in { animation: fadeIn .35s ease forwards; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .32s; }

.page-wrapper { padding-top: 64px; min-height: 100vh; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .nav-search-wrap { max-width: 240px; }
  .nav-links a { padding: .38rem .58rem; font-size: .8rem; }
}
@media (max-width: 960px) {
  .search-fields { grid-template-columns: repeat(2, 1fr); }
  .btn-search { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .nav-links { display: none; }
  .nav-search-wrap { display: none; }
  .nav-hamburger { display: flex; }
  .nav-icon-btn { display: flex; }
  .nav-compte-label { display: none; }
  .nav-chevron { display: none; }
  .nav-compte-btn { padding: .28rem .45rem; border-radius: 50%; border: none; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.1rem; }
  .search-fields { grid-template-columns: 1fr; }
  .btn-search { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .stat-value { font-size: 2rem; }
  .section { padding: 2rem 0; }
  .hero-stats { gap: 1.25rem; }
  .hero-stats .hero-stat-value { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .btn-primary-hero, .btn-ghost-hero { justify-content: center; }
  .nav-brand-text { display: none; }
}

/* ════════════════════════════════════════════════════════════
   CATALOGUE — Layout & Filtres
   ════════════════════════════════════════════════════════════ */
.catalogue-layout {
  display: grid; grid-template-columns: 270px 1fr;
  gap: 1.5rem; max-width: 1400px; margin: 0 auto;
  padding: 1.5rem; align-items: start;
}

.catalogue-sidebar {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
  position: sticky; top: 76px;
  max-height: calc(100vh - 90px); overflow-y: auto;
  overscroll-behavior: contain;
}
.catalogue-sidebar::-webkit-scrollbar { width: 4px; }
.catalogue-sidebar::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

.sidebar-filters-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.1rem; border-bottom: 1px solid var(--gray-100);
  position: sticky; top: 0; background: white; z-index: 2;
}
.sidebar-filters-header h2 {
  font-size: .95rem; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: .45rem;
}
.btn-reset-filters {
  font-size: .74rem; color: var(--danger); font-weight: 600;
  display: flex; align-items: center; gap: .28rem; transition: var(--transition);
}
.btn-reset-filters:hover { opacity: .75; }

.filter-section { padding: .875rem 1.1rem; border-bottom: 1px solid var(--gray-100); }
.filter-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gray-400); margin-bottom: .55rem;
}
.filter-pills { display: flex; gap: .35rem; flex-wrap: wrap; }
.filter-pill {
  display: flex; align-items: center; gap: .32rem;
  padding: .36rem .8rem; border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-200); font-size: .8rem; font-weight: 600;
  cursor: pointer; color: var(--gray-600); transition: var(--transition);
}
.filter-pill input { display: none; }
.filter-pill:hover { border-color: var(--blue); color: var(--blue); }
.filter-pill.active { background: var(--navy); border-color: var(--navy); color: white; }

.filter-check {
  display: flex; align-items: center; gap: .5rem;
  padding: .42rem .55rem; border-radius: var(--radius-sm);
  font-size: .845rem; color: var(--gray-600); cursor: pointer;
  transition: var(--transition); margin-bottom: .08rem;
}
.filter-check input { display: none; }
.filter-check:hover { background: var(--gray-50); color: var(--navy); }
.filter-check.active { color: var(--blue); font-weight: 600; }
.filter-check.active::before {
  content: ''; width: 3px; height: 14px;
  background: var(--blue); border-radius: 2px; margin-right: .1rem;
}

.filter-check-grid { display: flex; flex-wrap: wrap; gap: .35rem; }
.filter-chip {
  padding: .32rem .7rem; border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-200); font-size: .76rem; font-weight: 600;
  cursor: pointer; color: var(--gray-600); transition: var(--transition);
}
.filter-chip input { display: none; }
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip.active { background: var(--blue-glow); border-color: var(--blue); color: var(--blue); }

.filter-range-row { display: flex; align-items: center; gap: .45rem; }
.filter-range-sep { color: var(--gray-400); font-size: .78rem; }
.filter-input {
  flex: 1; min-width: 0; height: 34px; padding: 0 .55rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .8rem; font-family: inherit; color: var(--gray-800);
  outline: none; transition: var(--transition);
}
.filter-input:focus { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-glow); }

.filter-select {
  width: 100%; height: 34px; padding: 0 .7rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .8rem; font-family: inherit; color: var(--gray-800);
  outline: none; background: white; cursor: pointer; transition: var(--transition);
}
.filter-select:focus { border-color: var(--blue); }

.btn-apply-filters {
  width: calc(100% - 2.2rem); margin: .875rem 1.1rem;
  height: 40px; background: var(--blue); color: white;
  border: none; border-radius: var(--radius);
  font-size: .845rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  font-family: inherit; transition: var(--transition);
}
.btn-apply-filters:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* En-tête catalogue */
.catalogue-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .875rem; margin-bottom: 1.1rem;
}
.catalogue-count { font-size: .95rem; color: var(--gray-600); }
.catalogue-count strong { color: var(--navy); font-size: 1.1rem; }
.catalogue-tools { display: flex; align-items: center; gap: .65rem; }

.sort-select {
  height: 34px; padding: 0 .8rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-full);
  font-size: .8rem; font-family: inherit; color: var(--gray-700);
  background: white; cursor: pointer; outline: none; transition: var(--transition);
}
.sort-select:focus { border-color: var(--blue); }

.view-toggle { display: flex; gap: .22rem; }
.view-btn {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200); background: white;
  cursor: pointer; color: var(--gray-400);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: var(--transition);
}
.view-btn:hover { border-color: var(--blue); color: var(--blue); }
.view-btn.active { background: var(--navy); border-color: var(--navy); color: white; }

.btn-mobile-filters {
  display: none; align-items: center; gap: .35rem;
  padding: .38rem .875rem; background: white;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-full);
  font-size: .8rem; font-weight: 600; color: var(--gray-700);
  cursor: pointer; font-family: inherit; position: relative;
}
.filter-badge {
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--blue); color: white; font-size: .62rem;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}

.active-filters { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.active-filter-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .7rem;
  background: var(--blue-glow); border: 1px solid rgba(29,111,235,.2);
  border-radius: var(--radius-full); font-size: .75rem; color: var(--blue);
  transition: var(--transition);
}
.active-filter-tag:hover { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.2); color: var(--danger); }

/* Prix catalogue */
.price-label-small { font-size: .68rem; color: var(--gray-400); letter-spacing: .03em; }
.price-amount-main { font-size: 1.05rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.price-amount-main small { font-size: .68rem; font-weight: 500; color: var(--gray-400); }
.price-secondary { font-size: .7rem; color: var(--gray-400); margin-top: .08rem; }

/* Vue liste */
.vehicles-grid.vehicles-list { grid-template-columns: 1fr; }
.vehicles-grid.vehicles-list .vehicle-card { flex-direction: row; }
.vehicles-grid.vehicles-list .vehicle-card-img {
  width: 210px; height: auto; flex-shrink: 0;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.vehicles-grid.vehicles-list .vehicle-card-body { flex: 1; }

/* Pagination */
.pagination-nav {
  display: flex; align-items: center; justify-content: center;
  gap: .35rem; margin-top: 2rem; padding-bottom: .75rem;
}
.page-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200); background: white;
  color: var(--gray-600); font-size: .845rem; font-weight: 600; transition: var(--transition);
}
.page-btn:hover { border-color: var(--blue); color: var(--blue); }
.page-btn.active { background: var(--navy); border-color: var(--navy); color: white; }

/* Empty state */
.catalogue-empty { text-align: center; padding: 3rem 2rem; color: var(--gray-400); }
.catalogue-empty i { font-size: 3rem; margin-bottom: .875rem; display: block; }
.catalogue-empty h3 { color: var(--navy); margin-bottom: .45rem; }
.catalogue-empty a { color: var(--blue); font-weight: 600; }

/* Overlay mobile */
.filter-mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 900;
}
.filter-mobile-overlay.active { display: block; }

/* ════════════════════════════════════════════════════════════
   DETAIL VEHICULE
   ════════════════════════════════════════════════════════════ */
.detail-layout {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 1.5rem; max-width: 1300px; margin: 0 auto;
  padding: 1.5rem; align-items: start;
}

.breadcrumb-nav {
  display: flex; align-items: center; gap: .38rem;
  font-size: .8rem; color: var(--gray-400); margin-bottom: 1rem; flex-wrap: wrap;
}
.breadcrumb-nav a { color: var(--gray-400); transition: var(--transition); }
.breadcrumb-nav a:hover { color: var(--blue); }
.breadcrumb-nav span { color: var(--navy); font-weight: 600; }
.breadcrumb-nav i { font-size: .68rem; }

/* Galerie */
.gallery-wrap { margin-bottom: 1.25rem; }
.gallery-main {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--gray-100); aspect-ratio: 16/9;
}
.gallery-main-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gallery-main:hover .gallery-main-img { transform: scale(1.02); }
.gallery-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem; color: var(--gray-300); background: var(--gray-50);
}
.gallery-badge { position: absolute; top: .875rem; left: .875rem; padding: .3rem .8rem; border-radius: var(--radius-full); font-size: .72rem; font-weight: 700; }
.gallery-actions-overlay { position: absolute; top: .875rem; right: .875rem; display: flex; gap: .45rem; }
.gallery-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  font-size: .95rem; color: var(--gray-600);
  transition: var(--transition);
}
.gallery-btn:hover { background: white; color: var(--navy); transform: scale(1.05); }
.gallery-btn.active { color: var(--danger); }

.gallery-thumbs {
  display: flex; gap: .55rem; margin-top: .65rem;
  overflow-x: auto; padding-bottom: .25rem;
}
.gallery-thumb {
  flex-shrink: 0; width: 76px; height: 56px;
  border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: var(--transition);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { border-color: var(--gray-400); }
.gallery-thumb.active { border-color: var(--blue); }

/* Tabs */
.detail-tabs { background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); overflow: hidden; }
.detail-tabs-nav { display: flex; border-bottom: 1px solid var(--gray-200); background: var(--gray-50); }
.tab-btn {
  flex: 1; padding: .82rem 1rem; border: none; background: none;
  font-size: .83rem; font-weight: 600; color: var(--gray-400);
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .38rem;
  font-family: inherit; transition: var(--transition);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); background: white; }

.tab-content { display: none; padding: 1.25rem; }
.tab-content.active { display: block; }

/* Specs */
.specs-grid { display: flex; flex-direction: column; gap: 0; }
.spec-row {
  display: flex; align-items: center; gap: .875rem;
  padding: .65rem 0; border-bottom: 1px solid var(--gray-100);
}
.spec-row:last-child { border-bottom: none; }
.spec-icon-wrap {
  width: 30px; height: 30px; border-radius: var(--radius-sm);
  background: var(--gray-50); display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: var(--blue); flex-shrink: 0;
}
.spec-label { flex: 1; font-size: .845rem; color: var(--gray-400); }
.spec-value { font-size: .875rem; font-weight: 700; color: var(--navy); }

.description-text p { font-size: .875rem; line-height: 1.8; color: var(--gray-600); }
.conditions-list { display: flex; flex-direction: column; gap: .875rem; }
.condition-item { display: flex; gap: .8rem; }
.condition-item i { color: var(--success); font-size: 1.05rem; margin-top: .1rem; flex-shrink: 0; }
.condition-item strong { display: block; font-size: .845rem; color: var(--navy); margin-bottom: .18rem; }
.condition-item p { font-size: .8rem; color: var(--gray-400); margin: 0; line-height: 1.5; }

/* CTA sticky */
.detail-sidebar-sticky { position: sticky; top: 76px; display: flex; flex-direction: column; gap: .875rem; }
.cta-card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); overflow: hidden;
}
.cta-header { padding: 1.1rem 1.1rem 0; display: flex; justify-content: space-between; align-items: flex-start; }
.cta-brand { font-size: .72rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .05em; }
.cta-title { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: .12rem 0; }
.cta-year { font-size: .78rem; color: var(--gray-400); }
.cta-views { font-size: .75rem; color: var(--gray-400); display: flex; align-items: center; gap: .22rem; }

.cta-price-block { padding: .875rem 1.1rem; border-bottom: 1px solid var(--gray-100); }
.cta-price-rent { background: rgba(29,111,235,.04); }
.cta-price-sale { background: rgba(34,197,94,.04); }
.cta-price-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-400); margin-bottom: .18rem; }
.cta-price-value { font-size: 1.85rem; font-weight: 900; color: var(--navy); line-height: 1; }
.cta-price-currency { font-size: .95rem; font-weight: 600; }
.cta-price-note { font-size: .7rem; color: var(--gray-400); margin-top: .25rem; }

.cta-dates { padding: .875rem 1.1rem; border-bottom: 1px solid var(--gray-100); }
.cta-dates-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--gray-400); margin-bottom: .55rem; }
.cta-dates-row { display: flex; gap: .45rem; align-items: center; margin-bottom: .65rem; }
.cta-dates-arrow { color: var(--gray-400); font-size: .75rem; }
.cta-date-field { flex: 1; }
.cta-date-field label { display: block; font-size: .68rem; color: var(--gray-400); margin-bottom: .18rem; font-weight: 600; }
.cta-date-field input {
  width: 100%; height: 36px; padding: 0 .55rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .8rem; font-family: inherit; outline: none;
  color: var(--gray-800); transition: var(--transition);
}
.cta-date-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-glow); }

.cta-total-calc {
  display: flex; justify-content: space-between; align-items: center;
  padding: .58rem .7rem; background: var(--gray-50);
  border-radius: var(--radius-sm); font-size: .845rem;
}
.cta-total-calc span { color: var(--gray-600); }
.cta-total-calc strong { color: var(--navy); font-size: .95rem; font-weight: 800; }

.cta-buttons { padding: .875rem 1.1rem; display: flex; flex-direction: column; gap: .55rem; }
.cta-btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.1rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 700; transition: var(--transition);
  border: none; cursor: pointer;
}
.cta-btn-primary { background: var(--blue); color: white; }
.cta-btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); color: white; }
.cta-btn-secondary { background: var(--success); color: white; }
.cta-btn-secondary:hover { background: #16a34a; transform: translateY(-1px); color: white; }
.cta-btn-outline { background: white; color: var(--navy); border: 1.5px solid var(--gray-200); }
.cta-btn-outline:hover { border-color: var(--navy); }
.cta-indisponible {
  padding: .7rem 1rem; background: var(--gray-50); border-radius: var(--radius-sm);
  font-size: .845rem; color: var(--gray-400);
  display: flex; align-items: center; gap: .45rem; text-align: center; justify-content: center;
}

.cta-contact { display: flex; gap: .45rem; padding: .7rem 1.1rem 1.1rem; }
.cta-contact-link {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .38rem;
  padding: .5rem .7rem; border-radius: var(--radius-sm);
  font-size: .78rem; font-weight: 600;
  border: 1.5px solid var(--gray-200); color: var(--gray-600); transition: var(--transition);
}
.cta-contact-link:hover { border-color: var(--blue); color: var(--blue); }
.cta-whatsapp:hover { border-color: #25d366; color: #25d366; }

.guarantees-card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: .875rem 1.1rem; display: flex; flex-direction: column; gap: .65rem;
}
.guarantee-item { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--gray-600); }
.guarantee-item i { color: var(--success); font-size: .95rem; flex-shrink: 0; }

/* ── Responsive catalogue ──────────────────────────────── */
@media (max-width: 1024px) {
  .catalogue-layout { grid-template-columns: 230px 1fr; gap: 1.1rem; }
  .detail-layout { grid-template-columns: 1fr 310px; }
}
@media (max-width: 820px) {
  .catalogue-layout { grid-template-columns: 1fr; }
  .catalogue-sidebar {
    display: none; position: fixed;
    left: 0; top: 0; bottom: 0; width: 290px;
    z-index: 950; border-radius: 0; max-height: 100vh;
  }
  .catalogue-sidebar.open { display: flex; flex-direction: column; }
  .btn-mobile-filters { display: flex; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar-sticky { position: static; }
}
@media (max-width: 640px) {
  .catalogue-layout { padding: .875rem; }
  .detail-layout { padding: .875rem; }
  .vehicles-grid { grid-template-columns: 1fr; }
  .cta-dates-row { flex-wrap: wrap; }
  .detail-tabs-nav { flex-wrap: wrap; }
  .tab-btn { font-size: .76rem; padding: .65rem .5rem; }
}
