/* ============================================================
   HERO SECTION (ACCUEIL)
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  background: radial-gradient(circle at 70% 30%, rgba(229, 57, 53, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(30, 41, 59, 0.6) 0%, transparent 50%),
              var(--bg-primary);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.95) 100%),
                    url('https://images.unsplash.com/photo-1617814076367-b759c7d7e738?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center 35%;
  opacity: 0.35;
  filter: contrast(1.15) brightness(0.85);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-intro {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-intro strong {
  color: #ffffff;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stat-wrapper {
  margin-top: 20px;
}

/* ============================================================
   SECTIONS GÉNÉRALES
   ============================================================ */
.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* ============================================================
   CONCIERGERIE & ÉTAPES ACQUISITION (ACCUEIL)
   ============================================================ */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 57, 53, 0.35);
  box-shadow: var(--shadow-card-hover);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-red-bright);
  line-height: 1;
  margin-bottom: 18px;
  opacity: 0.9;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .step-grid {
    grid-template-columns: 1fr;
  }
}

/* Conciergerie 3 Blocs */
.concierge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.concierge-item {
  background: linear-gradient(145deg, rgba(21, 28, 46, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.concierge-item-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.concierge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sky-bright);
}

.concierge-icon.icon-red {
  background: var(--accent-red-dark);
  border-color: rgba(229, 57, 53, 0.3);
  color: var(--accent-red-bright);
}

.concierge-icon.icon-emerald {
  background: var(--color-emerald-bg);
  border-color: rgba(52, 211, 153, 0.3);
  color: var(--color-emerald-bright);
}

.concierge-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .concierge-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PAGE CATALOGUE (NOS VÉHICULES)
   ============================================================ */
.catalog-header-bar {
  padding: 50px 0 30px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.catalog-badges-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Zone Filtres & Recherche */
.filters-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-top: -30px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 10;
}

.search-input-wrap {
  position: relative;
  margin-bottom: 20px;
}

.search-input-wrap svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-dim);
}

.search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 1.05rem;
  color: #ffffff;
  outline: none;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--accent-red-bright);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.25);
}

/* Pilules de marques avec compteurs */
.brand-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin-bottom: 20px;
  scrollbar-width: thin;
}

.brand-pill {
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.brand-pill:hover {
  color: #ffffff;
  border-color: var(--border-medium);
}

.brand-pill.is-active {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red-bright);
  box-shadow: 0 2px 12px rgba(229, 57, 53, 0.4);
}

.brand-pill-count {
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  color: #ffffff;
}

/* Ligne des sélecteurs déroulants et tri */
.filter-dropdowns-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.filter-select {
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.92rem;
  outline: none;
  cursor: pointer;
}

.filter-select:focus {
  border-color: var(--accent-red-bright);
}

.catalog-counter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.results-count-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.results-count-text span {
  color: var(--accent-red-bright);
}

@media (max-width: 900px) {
  .filter-dropdowns-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .filter-dropdowns-row {
    grid-template-columns: 1fr;
  }
}

/* État vide du catalogue */
.catalog-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 700px;
  margin: 40px auto;
}

.catalog-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--accent-red-dark);
  color: var(--accent-red-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* ============================================================
   FICHE VÉHICULE DÉTAILLÉE (/vehicules/:id)
   ============================================================ */
.vehicle-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 390px);
  gap: 36px;
  align-items: start;
  width: 100%;
}

.detail-main-content {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

/* Galerie Photos HD */
.detail-gallery {
  position: relative;
  background: #060913;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  min-width: 0;
  width: 100%;
}

.gallery-main-img-wrap {
  width: 100%;
  height: 520px;
  max-height: 64vh;
  min-height: 320px;
  position: relative;
  background: #050811;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  cursor: zoom-in;
}

.gallery-bg-blur {
  position: absolute;
  inset: -30px;
  width: calc(100% + 60px);
  height: calc(100% + 60px);
  object-fit: cover;
  filter: blur(35px) brightness(0.35) saturate(1.2);
  transform: scale(1.1);
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

.gallery-main-img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.25s ease;
  pointer-events: auto;
}

.gallery-main-img-wrap:hover .gallery-main-img {
  transform: scale(1.02);
}

/* Boutons flèches Précédent / Suivant */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  font-size: 26px;
  line-height: 1;
  padding: 0;
}

.gallery-nav-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red-bright);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.5);
}

.gallery-prev-btn {
  left: 14px;
}

.gallery-next-btn {
  right: 14px;
}

/* Barre supérieure de la galerie (compteur + bouton zoom) */
.gallery-top-bar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}

.gallery-badge-pill {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.gallery-zoom-trigger {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.gallery-zoom-trigger:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.03);
}

/* Rangée des miniatures */
.gallery-thumbs-bar {
  background: rgba(10, 15, 29, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.gallery-thumbs-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  max-width: 100%;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-red) rgba(255, 255, 255, 0.08);
  -webkit-overflow-scrolling: touch;
}

.gallery-thumbs-row::-webkit-scrollbar {
  height: 6px;
}

.gallery-thumbs-row::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
}

.gallery-thumbs-row::-webkit-scrollbar-thumb {
  background: var(--accent-red);
  border-radius: 3px;
}

.gallery-thumb-item {
  width: 96px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
  background: #000;
}

.gallery-thumb-item:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.gallery-thumb-item.is-active {
  border-color: var(--accent-red-bright);
  box-shadow: 0 0 12px rgba(229, 57, 53, 0.7);
  transform: translateY(-2px);
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Modal Lightbox Plein Écran */
.gallery-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(4, 7, 15, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-header {
  position: absolute;
  top: 18px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.gallery-lightbox-counter {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.75);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gallery-lightbox-close {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-lightbox-close:hover {
  background: var(--accent-red);
  transform: scale(1.1);
}

.gallery-lightbox-body {
  width: 92vw;
  height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.85);
  user-select: none;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.gallery-lightbox-nav:hover {
  background: var(--accent-red);
  transform: translateY(-50%) scale(1.1);
}

.gallery-lightbox-prev {
  left: 20px;
}

.gallery-lightbox-next {
  right: 20px;
}

/* Section Description Détaillée Véhicule */
.vehicle-detail-description-card {
  background: rgba(15, 23, 42, 0.82) !important;
  border: 1px solid var(--border-medium) !important;
  border-left: 4px solid var(--accent-red-bright) !important;
  border-radius: var(--radius-xl) !important;
  padding: 28px !important;
  margin-bottom: 32px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.vehicle-description-formatted p {
  margin: 0 0 14px 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #cbd5e1;
}

.vehicle-description-formatted p:last-child {
  margin-bottom: 0;
}

.vehicle-description-subhead {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  margin: 22px 0 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
}

.vehicle-description-subhead::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-red-bright);
}

.vehicle-description-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 18px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}

@media (max-width: 768px) {
  .vehicle-description-list {
    grid-template-columns: 1fr;
  }
}

.vehicle-description-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.vehicle-description-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-emerald-bright);
  font-weight: 800;
  font-size: 0.95rem;
}

.vehicle-description-highlight {
  background: rgba(229, 57, 53, 0.08);
  border: 1px solid rgba(229, 57, 53, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 16px 0;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

/* Specs techniques complètes */
.specs-table-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 32px;
}

.specs-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.spec-cell {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-cell-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.spec-cell-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

/* 90 Points Accordion */
.points-check-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 32px;
}

.points-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.points-badge-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-emerald-bright);
  font-weight: 700;
}

.points-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.point-item svg {
  color: var(--color-emerald);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Sidebar Fixe Véhicule */
.detail-sidebar {
  position: sticky;
  top: 90px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.sidebar-price-box {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-main-price {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
}

.sidebar-deposit-notice {
  background: rgba(229, 57, 53, 0.06);
  border: 1px solid rgba(229, 57, 53, 0.22);
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.sidebar-actions-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 1100px) {
  .vehicle-detail-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .vehicle-detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .detail-sidebar {
    position: static;
  }
  .gallery-main-img-wrap {
    height: 400px;
  }
}

@media (max-width: 640px) {
  .gallery-main-img-wrap {
    height: 300px;
    min-height: 240px;
  }
  .gallery-thumb-item {
    width: 78px;
    height: 52px;
  }
  .gallery-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .gallery-prev-btn {
    left: 8px;
  }
  .gallery-next-btn {
    right: 8px;
  }
  .gallery-lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
  .gallery-lightbox-prev {
    left: 8px;
  }
  .gallery-lightbox-next {
    right: 8px;
  }
  .specs-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 440px) {
  .specs-grid-full {
    grid-template-columns: 1fr;
  }
  .points-list-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PAGE LIVRAISON & SIMULATEUR (/livraison)
   ============================================================ */
.delivery-sim-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  max-width: 900px;
  margin: 0 auto 50px;
}

.quick-cities-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 24px;
}

.quick-city-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-city-btn:hover {
  background: rgba(229, 57, 53, 0.15);
  border-color: var(--accent-red-bright);
  color: #ffffff;
}

.delivery-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.delivery-res-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.delivery-res-box.box-highlight {
  border-color: var(--color-emerald);
  background: rgba(52, 211, 153, 0.08);
}

.delivery-res-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.delivery-res-val {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
}

.delivery-res-sub {
  font-size: 0.82rem;
  color: var(--color-emerald-bright);
  margin-top: 4px;
}

@media (max-width: 700px) {
  .delivery-results-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PAGE AVIS CLIENTS (/avis)
   ============================================================ */
.google-reviews-header-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
}

.google-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.google-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
}

.google-colored-text span:nth-child(1) { color: #4285F4; }
.google-colored-text span:nth-child(2) { color: #EA4335; }
.google-colored-text span:nth-child(3) { color: #FBBC05; }
.google-colored-text span:nth-child(4) { color: #4285F4; }
.google-colored-text span:nth-child(5) { color: #34A853; }
.google-colored-text span:nth-child(6) { color: #EA4335; }

.rating-overview-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
}

.big-rating-number {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.star-rating-row {
  display: flex;
  gap: 4px;
  color: var(--color-gold);
  margin: 8px 0;
}

.star-rating-row svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.rating-bars-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bar-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
}

.bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--color-gold);
  border-radius: var(--radius-pill);
}

/* Grille des avis clients */
.reviews-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--transition-normal);
}

.review-card:hover {
  border-color: rgba(229, 57, 53, 0.3);
  transform: translateY(-3px);
}

.review-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-red), #991b1b);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.review-author-name {
  font-weight: 700;
  color: #ffffff;
}

.review-author-meta {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.review-car-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-red-bright);
  background: var(--accent-red-dark);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
}

.review-body-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.review-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.btn-helpful {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-helpful:hover {
  color: #ffffff;
  border-color: var(--border-medium);
}

.btn-helpful.is-voted {
  color: var(--color-emerald-bright);
  border-color: var(--color-emerald);
}

@media (max-width: 860px) {
  .reviews-cards-grid {
    grid-template-columns: 1fr;
  }
  .rating-overview-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PAGE CONTACT & SHOWROOM (/contact)
   ============================================================ */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all var(--transition-fast);
}

.contact-card-box:hover {
  border-color: rgba(229, 57, 53, 0.35);
  transform: translateY(-2px);
}

.contact-card-box .icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--accent-red-dark);
  border: 1px solid rgba(229, 57, 53, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red-bright);
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 880px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ESPACE ADMINISTRATEUR (/admin)
   ============================================================ */
.admin-dashboard-container {
  padding: 40px 0 80px;
}

.admin-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.admin-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.admin-stat-card .val {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 6px;
}

.admin-table-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}

.admin-table th {
  background: rgba(15, 23, 42, 0.9);
  padding: 16px 20px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-medium);
}

.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
}

.status-badge-toggle {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}

.status-badge-toggle.stock-en-stock {
  background: var(--color-emerald-bg);
  color: var(--color-emerald-bright);
  border-color: rgba(52, 211, 153, 0.3);
}

.status-badge-toggle.stock-reserve {
  background: var(--color-gold-bg);
  color: var(--color-gold);
  border-color: rgba(251, 191, 36, 0.3);
}

.status-badge-toggle.stock-vendu {
  background: var(--accent-red-dark);
  color: var(--accent-red-text);
  border-color: rgba(239, 68, 68, 0.3);
}

@media (max-width: 900px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Barre de navigation dédiée Administrateur */
.admin-standalone-topbar {
  background: rgba(11, 17, 33, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-medium);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.admin-topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-topbar-brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(229, 57, 53, 0.4);
}

.admin-topbar-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.admin-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--color-emerald-bright);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-tab-nav {
  display: flex;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 6px;
  margin-bottom: 32px;
  overflow-x: auto;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.admin-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.admin-tab-btn.is-active {
  background: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(229, 57, 53, 0.4);
}

.admin-badge-count {
  background: #ffffff;
  color: var(--accent-red);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
}

.admin-tab-btn.is-active .admin-badge-count {
  background: #ffffff;
  color: var(--accent-red);
}

/* Analytics Grid & Timeline */
.analytics-grid-two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.analytics-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.analytics-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.activity-feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
}

.activity-feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.activity-feed-item:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(229, 57, 53, 0.25);
}

.activity-time-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-right: 10px;
}

.device-bar-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.device-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.device-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.device-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.device-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent-red), #ff7979);
}

/* Modal Dossier Client */
.lead-modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-2xl);
  padding: 36px;
  max-width: 680px;
  width: 95%;
  margin: 40px auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  position: relative;
}

@media (max-width: 900px) {
  .analytics-grid-two-col {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MODAL DE GESTION COMPLÈTE DU VÉHICULE & UPLOAD DE PHOTOS HD
   ============================================================ */
.admin-vehicle-modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-2xl);
  padding: 36px;
  max-width: 920px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  margin: 20px auto;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.veh-form-section {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 24px;
}

.veh-form-section-title {
  font-size: 1.12rem;
  color: #ffffff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.veh-form-section-title svg {
  color: var(--accent-red-bright);
}

/* Zone Drag & Drop et Upload Photos */
.photo-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  background: rgba(16, 21, 36, 0.6);
  transition: all var(--transition-fast);
  margin-bottom: 16px;
}

.photo-dropzone:hover,
.photo-dropzone.is-dragover {
  border-color: var(--accent-red);
  background: rgba(229, 57, 53, 0.08);
  transform: translateY(-2px);
}

.photo-dropzone-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--accent-red-bright);
}

.photo-url-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.photo-status-alert {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  margin-top: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--color-sky-bright);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Grille de prévisualisation des photos */
.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.photo-preview-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: #000;
  aspect-ratio: 16 / 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.photo-preview-card.is-cover {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 2px var(--accent-red);
}

.photo-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-cover-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--accent-red);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.photo-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 20px 6px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.btn-photo-action {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  font-size: 0.72rem;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.btn-photo-action:hover {
  background: #ffffff;
  color: #000000;
}

.btn-photo-delete {
  background: rgba(229, 57, 53, 0.85);
  color: #ffffff;
}

.btn-photo-delete:hover {
  background: var(--accent-red-hover);
  color: #ffffff;
}

/* Styles pour la barre de progression d'upload et gestion 30 photos */
.photo-dropzone-title {
  font-weight: 700;
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.photo-dropzone-sub {
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.photo-progress-box {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-top: 14px;
}

.photo-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.photo-progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.photo-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-red), var(--color-emerald));
  width: 0%;
  transition: width 0.25s ease;
  border-radius: 4px;
}

.photo-counter-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(229, 57, 53, 0.15);
  border: 1px solid var(--accent-red);
  color: var(--accent-red-bright);
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.82rem;
}

/* Grille Équipements */
.equip-category-box {
  margin-bottom: 18px;
}

.equip-category-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.equip-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
}

.equip-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(16, 21, 36, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.equip-checkbox-label:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
}

.equip-checkbox-label input[type="checkbox"] {
  accent-color: var(--accent-red);
  cursor: pointer;
}

.equip-checkbox-label input[type="checkbox"]:checked + span {
  color: #ffffff;
  font-weight: 600;
}

