/*
Theme Name: DriveRent - Location de Voitures
Theme URI: https://example.com/driverent
Author: AntiGravity Team
Author URI: https://example.com
Description: Un thème WordPress moderne, rapide et élégant spécialement conçu pour la location de véhicules (Citadines, SUV, Berlines, Sportives).
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: driverent
Tags: car-rental, vehicles, booking, responsive, modern, dark-mode-ready
*/

/* Google Fonts Import : Nunito */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,400;1,700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2.5rem !important;
  width: 100%;
  box-sizing: border-box;
}

.section-padding {
  padding: 2rem 0 3.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary-color);
  letter-spacing: -0.5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 62, 62, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 62, 62, 0.45);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--secondary-color);
}

.btn-outline:hover {
  border-color: var(--secondary-color);
  background: var(--secondary-color);
  color: #ffffff;
}

/* Top Bar Blue (Bande Supérieure) */
.top-bar-blue {
  background-color: #1d4ed8;     /* Bleu solide plat sans dégradé */
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  overflow: visible;             /* Ne pas clipper le dropdown langue */
  position: relative;
  z-index: 300;                  /* Au-dessus du site-header (z-index: 100) */
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
}

.top-bar-left {
  flex-shrink: 0;
}

.top-bar-right {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Logo Styling - Enlarge Header Logo */
.logo {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

.logo img,
.custom-logo,
.site-logo-img,
.custom-logo-link img {
  height: 65px !important;
  max-height: 75px !important;
  width: auto !important;
  object-fit: contain !important;
  transition: transform 0.2s ease !important;
}

.logo img:hover,
.custom-logo:hover,
.site-logo-img:hover {
  transform: scale(1.03) !important;
}

/* Top Bar Right Text (Desktop & Mobile) */
.top-bar-since {
  display: inline-block !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  white-space: nowrap !important;
  text-align: right !important;
}

.top-bar-links li {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.top-bar-links li a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  opacity: 0.95 !important;
  white-space: nowrap !important;
  transition: opacity 0.2s ease !important;
}

.top-bar-links li a:hover {
  opacity: 1 !important;
  text-decoration: underline !important;
}

/* Language Selector */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.35rem 0.6rem 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.lang-btn:hover {
  opacity: 0.9;
}

.lang-dropdown {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 190px;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s;
  pointer-events: none;
  padding-top: 4px;
}

/* Pont de survol invisible pour ne pas perdre la sélection de la souris */
.lang-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 14px;
  background: transparent;
}

.lang-dropdown-inner {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
}

.lang-selector.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lang-item {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a !important;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.lang-item:hover,
.lang-item.active {
  background: #eff6ff;
  color: #1d4ed8 !important;
}

/* Top Bar Links */
.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;                     /* Espacement légèrement réduit entre les liens */
}

.top-bar-links a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}

/* Soulignement progressif et fluide au survol des liens juridiques */
.top-bar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar-links a:hover {
  color: #ffffff;
}

.top-bar-links a:hover::after {
  width: 100%;
}

/* Header Main Bar (Bande du milieu avec Logo, Recherche & Panier) - SÉQUENCE DE DÉFILEMENT NATUREL (NON STICKY) */
.site-header {
  position: relative;
  top: auto;
  z-index: 100;
  box-shadow: none;
}

.header-main-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;                  /* Hauteur réduite pour un résultat plus compact */
}

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-left: 1.5rem;                 /* Décalage du logo vers la droite */
}

.site-logo-img {
  max-height: 85px;                   /* Logo agrandi pour une bien meilleure visibilité */
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
  margin: -6px 0;                     /* Maintient la hauteur de la barre sans décaler les autres éléments */
  transition: var(--transition);
}

.site-logo-img:hover {
  opacity: 0.95;
  transform: scale(1.02);
}

/* Barre de recherche (Non Arrondie / Bordures Droites) */
.header-search-pill {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  max-width: 720px;
  width: 100%;
  transition: var(--transition);
}

.header-search-pill:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.search-input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  min-width: 140px;
}

.search-divider {
  width: 1px;
  height: 22px;
  background-color: #cbd5e1;
  margin: 0 0.5rem;
}

.search-select-cat {
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  padding-right: 0.5rem;
}

.search-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.search-btn:hover {
  color: var(--primary-color);
  background: var(--primary-light);
}

/* Actions Droite : Panier encadré */
.header-right-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary-color);
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;                  /* Bordure très légèrement arrondie (très discrète) */
  padding: 0.7rem 1.25rem;             /* Plus de hauteur */
  background: #ffffff;
  text-decoration: none;
  transition: var(--transition);
}

.cart-link:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.cart-icon-wrap {
  display: flex;
  align-items: center;
}

.cart-text {
  font-weight: 700;
  font-size: 0.95rem;
}

/* Navigation Bar (3ème bande inférieure) - DÉFILEMENT NATUREL (NON STICKY) */
.header-nav-bar {
  background: transparent;
  border-bottom: none;
  padding: 0;
  position: relative;
  top: auto;
  z-index: 1000;
  box-shadow: none;
}

.header-nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.categories-nav-wrapper {
  position: relative;
  display: inline-block;
  z-index: 1000;
  flex-shrink: 0;
}

/* Bouton CATÉGORIES Bleu Accent (Design d'origine) */
/* Bouton CATÉGORIES Bleu Accent (Design d'origine) */
.btn-categories-nav {
  width: 250px;
  background: #2563eb;
  color: #ffffff !important;
  border: none;
  border-radius: 8px !important;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.7rem 1.1rem !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px !important;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-sizing: border-box;
  text-decoration: none !important;
}

.btn-categories-nav span {
  flex: 1;
  text-align: center;
  margin: 0 6px !important;
}

.btn-categories-nav:hover,
.btn-categories-nav.active {
  background: #1d4ed8;
  color: #ffffff !important;
}

.btn-categories-nav svg {
  flex-shrink: 0;
}

/* Dropdown Universel des Catégories (Fonctionne sur toutes les pages) */
.header-categories-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: none;
  border-radius: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.header-categories-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-categories-dropdown .dropdown-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-categories-dropdown .dropdown-categories-list li {
  border-bottom: 1px solid #f1f5f9;
}

.header-categories-dropdown .dropdown-categories-list li:last-child {
  border-bottom: none;
}

.header-categories-dropdown .dropdown-categories-list li a {
  display: block;
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.header-categories-dropdown .dropdown-categories-list li a:hover {
  background-color: #f8fafc;
  color: #2563eb;
  padding-left: 1.5rem;
}

/* Bouton Burger Menu pour mobile/tablette (Masqué sur Desktop) */
.mobile-menu-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn.active {
  background: #2563eb;
}

.main-nav {
  flex: 1;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  font-weight: 800;
  color: #334155;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

/* Soulignement progressif et fluide au survol des liens du menu */
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover,
.main-nav li.current-menu-item a {
  color: var(--primary-color);
}

.main-nav a:hover::after,
.main-nav li.current-menu-item a::after {
  width: 100%;
}

/* ==========================================================================
   HERO GRID SECTION (CATÉGORIES GAUCHE + BANNIÈRE SLIDER DROITE COLLÉES)
   ========================================================================== */
.hero-grid-section {
  padding: 0 0 2rem;                   /* Collé directement sous la bande de navigation */
  background-color: var(--bg-main);
}

.hero-grid-wrapper {
  display: flex;
  gap: 0;                              /* Collé directement aux bords sans espace entre les colonnes */
  align-items: stretch;
}

/* Bouton CATÉGORIES Bleu Accent avec animation de flèche */
.btn-categories-nav .arrow-icon {
  transition: transform 0.3s ease;
}

.btn-categories-nav.collapsed .arrow-icon {
  transform: rotate(-180deg);
}

/* Sidebar des Catégories (Gauche) : Rétractable en largeur au clic */
.categories-sidebar {
  width: 250px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: none;
  border-radius: 0;                    /* Sans bords arrondis */
  box-shadow: none;
  flex-shrink: 0;
  overflow: hidden;
  align-self: stretch;
  opacity: 1;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, border-color 0.3s ease;
}

.categories-sidebar.collapsed {
  width: 0;
  opacity: 0;
  border-color: transparent;
  pointer-events: none;
}

.categories-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 250px;                        /* Conserve la largeur fixe du contenu pendant l'animation */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.categories-menu-list li {
  border-bottom: 1px solid #f1f5f9;
  flex: 1;
  display: flex;
  align-items: center;
}

.categories-menu-list li:last-child {
  border-bottom: none;
}

.categories-menu-list a {
  display: block;
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  white-space: nowrap;                 /* Évite le chevauchement pendant la fermeture */
  transition: all 0.2s ease;
}

.categories-menu-list a:hover {
  background-color: #f8fafc;
  color: var(--primary-color);
  padding-left: 1.5rem;
}

/* Bannière Slider / Hero (Droite) : Bords droits et collée aux bords */
.hero-slider-banner {
  flex: 1;
  position: relative;
  min-height: 420px;
  margin-top: 0;
  border-radius: 0;                    /* Retrait total des bords arrondis */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 4rem;
  background: #1e293b;                /* Fond épuré prêt pour l'image du client */
}

/* Zone Placeholder d'Image pour le Client */
.banner-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  z-index: 1;
}

.banner-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.1) 100%);
  z-index: 2;
}

/* Slides Individuelles & Transitions */
.hero-slide-item {
  position: relative;
  z-index: 10;
  max-width: 680px;                    /* Utilisation maximale et équilibrée de l'espace */
  color: #ffffff;
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-slide-item.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.slider-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;                    /* Typographie affinée */
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 1rem;
}

.slider-title {
  font-size: 3rem;
  font-weight: 700;                    /* Gras adouci élégant et lisible */
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.slider-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;                        /* Espacement aéré des puces */
}

.slider-features-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;                    /* Texte fin, propre et très haut de gamme */
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.slider-features-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.3rem;
  line-height: 1;
}

.btn-phone-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff !important;
  border: none;
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  transition: all 0.25s ease;
}

.btn-phone-hero:hover {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
}

.btn-slider-cta {
  display: inline-block;
  background: transparent;             /* Fond transparent */
  color: #2563eb;                      /* Texte en couleur orange identique à la bordure */
  border: 1.5px solid #2563eb;         /* Bordure orange du Design System */
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;                  /* Taille affinée */
  font-weight: 700;                    /* Gras affiné */
  padding: 0.7rem 1.8rem;              /* Format compact et équilibré */
  border-radius: 50px;                 /* Forme pilule conservée */
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: none;
}

.btn-slider-cta:hover {
  background: transparent;             /* Pas d'arrière-plan au survol */
  color: #2563eb;                      /* Texte orange identique */
  border-color: #2563eb;
  transform: none;
  box-shadow: none;
}

/* Contrôles / Flèches du Slider */
.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 12;
  pointer-events: none;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  background: transparent;             /* Sans fond */
  border: none;                        /* Sans bordure */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  pointer-events: auto;
  opacity: 0.85;
}

.slider-arrow svg {
  width: 32px;                         /* Icônes agrandies et plus nettes */
  height: 32px;
}

.slider-arrow:hover {
  background: transparent;
  color: #ffffff;
  opacity: 1;
  transform: scale(1.18);
}

/* Indicateurs de Slide (Dots) */
.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 12;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active,
.slider-dot:hover {
  width: 24px;
  border-radius: 10px;
  background: #2563eb;                 /* Orange accent matching main header */
}

/* ==========================================================================
   PANNEAU COULISSANT DU PANIER (OFF-CANVAS CART DRAWER)
   ========================================================================== */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.cart-drawer-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary-color);
}

.cart-drawer-close {
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.cart-drawer-close:hover {
  color: var(--primary-color);
}

.cart-drawer-body {
  padding: 2.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cart-empty-state {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cart-empty-icon {
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.cart-empty-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.cart-return-btn,
#cart-return-shop {
  margin-top: 0.5rem;
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #0f172a !important;
  border-radius: 4px !important;
  padding: 0.75rem 2rem !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
  display: inline-block !important;
}

.cart-return-btn:hover,
#cart-return-shop:hover,
.cart-return-btn:focus,
#cart-return-shop:focus {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Image Placeholder Box (Emplacement Image) */
.car-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  position: relative;
  overflow: hidden;
  border: 1px dashed rgba(56, 189, 248, 0.3);
  transition: var(--transition);
}

.car-image-placeholder svg {
  width: 56px;
  height: 56px;
  margin-bottom: 0.5rem;
  stroke: var(--primary-color);
  opacity: 0.9;
}

.car-image-placeholder span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Car Cards Grid */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.car-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.car-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.35);
}

.car-card-header {
  position: relative;
  padding: 1rem;
}

.car-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.car-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.car-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.car-category {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.car-price {
  text-align: right;
}

.car-price .amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
}

.car-price .period {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

/* Specs Badges list */
.car-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0.75rem;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
}

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

.spec-item strong {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.85rem;
}

.car-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.75rem;
}

.car-card-footer .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 5rem 0 7rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 700px;
  text-align: center;
  margin: 0 auto 3rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--primary-color);
}

.hero-desc {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 2rem;
}

/* Booking Bar Search Form */
.booking-search-bar {
  background: var(--bg-surface);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
  border: 1px solid var(--border-color);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) 160px;
  gap: 1.25rem;
  align-items: end;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-control {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background-color: var(--bg-main);
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 62, 62, 0.15);
}

/* ==========================================================================
   FOOTER PREMIUM STYLE (GARAGE GOURRIER - 4 COLONNES)
   ========================================================================== */
.site-footer {
  background-color: #070a12;           /* Fond noir/nuit très sombre et haut de gamme */
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 3px solid #2563eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.footer-col {
  padding-right: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08); /* Ligne de séparation verticale fine comme le modèle */
  display: flex;
  flex-direction: column;
}

.footer-col:last-child {
  border-right: none;
  padding-right: 0;
}

/* Col 1: Marque & Car Cutout */
.footer-logo-img {
  max-height: 55px;
  width: auto;
  margin-bottom: 1.25rem;
  background: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  display: inline-block;
}

.footer-about-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.highlight-city {
  color: #2563eb;                      /* Rouge/Orange d'accentuation */
  font-weight: 700;
}

.footer-car-img-wrap {
  margin-top: auto;
  text-align: center;
}

.footer-car-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s ease;
}

.footer-car-img:hover {
  transform: translateY(-4px) scale(1.03);
}

/* Titres de colonnes */
.footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: #2563eb;
}

/* Col 2: Détails Contact */
.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-val {
  font-size: 0.84rem;
  color: #94a3b8;
  text-decoration: none;
  line-height: 1.4;
  word-break: break-word;
  transition: color 0.2s ease;
}

a.contact-val:hover {
  color: #2563eb;
}

/* Col 3, 4, 5: Liens avec flèches */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.arrow-bullet {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links-list a:hover .arrow-bullet {
  color: #2563eb;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================================================
   NOUVEAU STYLE DE PRÉSENTATION DES VOITURES & DUO BANNER
   ========================================================================== */

/* 1. Duo Banner Cards (Cockpit & Front Car) - BORDS DROITS SANS ARRONDIS */
.duo-banners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.duo-banner-card {
  position: relative;
  border-radius: 0;                     /* BORDS STRICTEMENT DROITS */
  padding: 4.5rem 3rem;                /* Rembourrage généreux pour plus de hauteur */
  background-size: cover;
  background-position: center;
  background-color: #0f172a;
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;                   /* Hauteur augmentée significativement */
}

.duo-banner-card.banner-cockpit {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.82) 100%), url('../images/cars/duo_cockpit.jpg') center/cover no-repeat;
}

.duo-banner-card.banner-frontcar {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.82) 100%), url('../images/cars/duo_frontcar.jpg') center/cover no-repeat;
}

.duo-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.duo-banner-content {
  position: relative;
  z-index: 2;
}

.duo-badge {
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.duo-title {
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.duo-desc {
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.btn-duo-cta {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 0;                     /* BORDS STRICTEMENT DROITS */
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.btn-duo-cta.blue-cta {
  background: #2563eb;
  color: #ffffff;
}

.btn-duo-cta.blue-cta:hover {
  background: #2563eb;
}

.btn-duo-cta.white-cta {
  background: #ffffff;
  color: #0f172a;
}

.btn-duo-cta.white-cta:hover {
  background: #f1f5f9;
}

/* 2. Fleet Tabs Header ("UN LARGE CHOIX DE VÉHICULES D'OCCASION") */
.fleet-tabs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
  padding-bottom: 0.75rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.fleet-main-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: -0.75rem;
}

.fleet-main-title.active-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #2563eb;
}

.fleet-tabs-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.fleet-tab {
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.fleet-tab.active,
.fleet-tab:hover {
  color: #2563eb;
}

.fleet-arrows-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-arrow-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  width: 32px;
  height: 32px;
  border-radius: 0;                     /* BORDS STRICTEMENT DROITS */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-arrow-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}

/* 3. Centered Car Cards Grid (4 par ligne sur Desktop) */
.cars-grid-centered {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.car-card-centered {
  background: #ffffff;
  border-radius: 0;                     /* BORDS STRICTEMENT DROITS */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.car-card-centered:hover {
  transform: translateY(-4px);
}

.car-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #f1f5f9;
  overflow: hidden;
  position: relative;
}

.car-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.car-card-centered:hover .car-photo-img {
  transform: scale(1.06);
}

.car-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 0;                     /* BORDS STRICTEMENT DROITS */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.placeholder-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.car-info-centered {
  padding: 1rem 0.5rem 0.5rem;
  text-align: center;
}

.car-name-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.2rem;
}

.car-brand-sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.car-price-blue {
  font-size: 1.05rem;
  font-weight: 800;
  color: #2563eb;
}

/* 4. Section Meilleures Offres (3 colonnes) */
.section-header-centered {
  text-align: center;
  margin-bottom: 2.5rem;
}

.centered-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.title-accent-line {
  width: 60px;
  height: 3px;
  background: #2563eb;
  margin: 0.5rem auto 0;
}

.cars-grid-3cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* 5. Banner Budget Promo Pleine Largeur */
.budget-banner-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.budget-banner-container {
  position: relative;
  z-index: 2;
}

.budget-banner-content {
  max-width: 600px;
}

.budget-sub {
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.budget-title {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.budget-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.btn-budget-cta {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  font-weight: 800;
  border-radius: 0;                     /* BORDS STRICTEMENT DROITS */
  text-decoration: none;
  margin-right: 1.5rem;
  transition: background 0.2s ease;
}

.btn-budget-cta:hover {
  background: #2563eb;
}

.budget-price-tag {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* 5. Layout Archive Catalogue */
.archive-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
}

.archive-filters-sidebar {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  height: fit-content;
}

/* ==========================================================================
   SYSTEME RESPONSIVE COMPLET (TABLETTES ET MOBILES)
   ========================================================================== */

/* ==========================================================================
   REGLE ABSOLUE : TOUTES LES BANDES DE L'EN-TÊTE SONT STRICTEMENT SUR 1 SEULE LIGNE
   ========================================================================== */

/* 1. TABLETTES & ÉCRANS MOYENS (Max 992px) */
@media (max-width: 992px) {
  .container {
    padding: 0 1rem;
  }

  /* Bande 1: Top Bar (1 seule ligne horizontale) */
  .top-bar-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .top-bar-links {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
  }

  .top-bar-links a {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  /* Bande 2: Header Main Bar (Logo + Recherche + Panier sur 1 seule ligne) */
  .header-main-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  }

  .logo {
    margin-left: 0;
  }

  .site-logo-img {
    max-height: 60px;
    height: 55px;
  }

  .header-search-pill {
    flex: 1;
    max-width: 100%;
    margin-top: 0;
    order: unset;                      /* Reste au milieu entre le logo et le panier */
  }

  .search-select-cat {
    font-size: 0.78rem;
  }

  /* Bande 3: Navigation Bar avec Bouton Burger (Icône seule) et Dropdown Vertical */
  .header-nav-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: relative;
  }

  .btn-categories-nav {
    flex: 1;
    max-width: 220px;
  }

  .mobile-menu-btn {
    display: flex;
    padding: 0.6rem 0.85rem;
  }

  /* Menu déroulant vertical au clic sur le bouton burger */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid #2563eb;
    z-index: 100;
    padding: 0.5rem 0;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    display: flex;
    flex-direction: column;            /* Affichage vertical demandé */
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  .main-nav li {
    border-bottom: 1px solid #f1f5f9;
  }

  .main-nav li:last-child {
    border-bottom: none;
  }

  .main-nav a {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    color: #1e293b;
    text-align: left;
  }

  .main-nav a:hover,
  .main-nav li.current-menu-item a {
    background-color: #f8fafc;
    color: #2563eb;
  }

  /* Hero Section Grid */
  .hero-grid-wrapper {
    flex-direction: column;
  }

  /* Sidebar des Catégories FERMÉE PAR DÉFAUT sur Tablette & Mobile */
  .categories-sidebar {
    width: 100%;
    max-height: 0;                     /* Fermé par défaut */
    opacity: 0;
    border: none;
    pointer-events: none;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, border-color 0.3s ease;
  }

  /* Déroulement de la sidebar au clic sur le bouton Catégories sur Tablette & Mobile */
  .categories-sidebar.open {
    max-height: 450px;
    opacity: 1;
    border: 1px solid #cbd5e1;
    border-top: none;
    pointer-events: auto;
  }

  .categories-menu-list {
    width: 100%;
  }

  /* Slider Hero & Typos sur TABLETTE (Taille 2/3) */
  .hero-slider-banner {
    min-height: 360px;
    padding: 3rem 3.5rem;              /* Marge interne pour que les flèches ne chevauchent pas le texte */
  }

  .slider-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }

  .slider-title {
    font-size: 1.85rem;                /* Taille de police intermédiaire pour Tablette */
    line-height: 1.25;
    margin-bottom: 1.25rem;
  }

  .slider-features-list li {
    font-size: 0.95rem;                /* Taille des puces pour Tablette */
  }

  .slider-controls {
    padding: 0 0.5rem;                 /* Flèches calées au bord extérieur */
  }

  /* 1. DUO BANNERS - TABLETTE (Côte à côte avec adaptation responsive) */
  .duo-banners-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .duo-banner-card {
    padding: 3rem 1.75rem;
    min-height: 350px;
  }

  .duo-badge {
    font-size: 0.78rem;
  }

  .duo-title {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 0.6rem;
  }

  .duo-desc {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 1.25rem;
  }

  .btn-duo-cta {
    padding: 0.6rem 1.15rem;
    font-size: 0.8rem;
  }

  /* 2. EN-TÊTE FLOTTE & ONGLETS - TABLETTE */
  .fleet-tabs-header {
    margin-bottom: 2rem;
    gap: 1.25rem;
  }

  .fleet-main-title {
    font-size: 1.15rem;
  }

  .fleet-tabs-nav {
    gap: 1.1rem;
  }

  .fleet-tab {
    font-size: 0.82rem;
  }

  /* 3. GRILLE DES CARTES DE VOITURES - TABLETTE (3 et 2 colonnes) */
  .cars-grid-centered {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .cars-grid-3cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .car-name-title {
    font-size: 0.98rem;
  }

  .car-brand-sub {
    font-size: 0.78rem;
  }

  .car-price-blue {
    font-size: 0.98rem;
  }

  /* 4. BANNIÈRE BUDGET - TABLETTE */
  .budget-title {
    font-size: 1.65rem;
  }

  .budget-desc {
    font-size: 0.92rem;
  }

  .btn-budget-cta {
    padding: 0.65rem 1.3rem;
    font-size: 0.82rem;
  }

  .budget-price-tag {
    font-size: 0.98rem;
  }

  /* Grille des Voitures Catalogue & Layout Archive */
  .cars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-layout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.top-bar-since,
.top-bar-company-mobile {
  display: none;
}

.top-bar-links {
  display: flex !important;
  align-items: center !important;
  gap: 1.25rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.top-bar-links li {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.top-bar-links li a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  transition: opacity 0.2s ease !important;
}

.top-bar-links li a:hover {
  opacity: 0.85 !important;
  text-decoration: underline !important;
}

/* 2. SMARTPHONES & MOBILES (Max 768px) */
@media (max-width: 768px) {
  .top-bar-blue {
    padding: 0.35rem 0 !important;
  }

  .top-bar-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
    gap: 0.25rem !important;
  }

  .top-bar-left {
    display: flex !important;
    justify-content: flex-start !important;
    width: auto !important;
    flex-shrink: 0 !important;
  }

  .top-bar-right {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: auto !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }

  .top-bar-since,
  .top-bar-company-mobile {
    display: inline-block !important;
    font-size: 0.68rem !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-align: right !important;
  }

  .top-bar-links {
    display: none !important;
  }

  .lang-btn {
    font-size: 0.75rem !important;
    padding: 0 !important;
    justify-content: flex-start !important;
  }

  .lang-btn {
    font-size: 0.75rem !important;
    padding: 0 !important;
    justify-content: flex-start !important;
  }

  /* Bande 2: Header Main Bar (Logo + Recherche + Panier sur 1 seule ligne) */
  .header-main-bar {
    padding: 0.4rem 0 !important;
  }

  .header-main-bar .container {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .header-main-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.4rem !important;
    width: 100% !important;
  }

  .logo {
    flex-shrink: 0 !important;
    margin: 0 !important;
  }

  .site-logo-img {
    max-height: 36px !important;
    height: 36px !important;
    width: auto !important;
  }

  .header-search-pill {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 0.5rem !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 6px !important;
  }

  .search-input {
    font-size: 0.76rem !important;
    padding: 0 0.25rem !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .search-select-cat,
  .search-divider {
    display: none !important;           /* Masque le filtre de catégorie pour garder la recherche sur 1 ligne */
  }

  .search-btn {
    padding: 0 0.3rem !important;
    flex-shrink: 0 !important;
  }

  .header-right-actions {
    flex-shrink: 0 !important;
    margin: 0 !important;
  }

  .cart-text {
    display: none !important;
  }

  .cart-link {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
  }

  /* Bande 3: Navigation & Menu (Catégories + Toggle Menu sur 1 seule ligne) */
  .header-nav-bar {
    padding: 0.25rem 0 !important;
  }

  .header-nav-bar .container {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .header-nav-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .btn-categories-nav {
    font-size: 0.82rem !important;
    padding: 0.4rem 0.85rem !important;
    white-space: nowrap !important;
    margin: 0 !important;
    border-radius: 4px !important;
  }

  .mobile-menu-btn {
    padding: 0.4rem 0.6rem !important;
    margin: 0 !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
  }

  /* Slider Hero & Typos sur TÉLÉPHONE (Taille 3/3) */
  .hero-slider-banner {
    min-height: 320px;
    padding: 2.2rem 2.2rem;
  }

  .slider-badge {
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
  }

  .slider-title {
    font-size: 1.35rem;                /* Taille de police optimale pour Téléphone */
    margin-bottom: 0.85rem;
    line-height: 1.25;
  }

  .slider-features-list {
    margin-bottom: 1.25rem;
  }

  .slider-features-list li {
    font-size: 0.82rem;                /* Taille des puces pour Téléphone */
    padding-left: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .btn-slider-cta {
    padding: 0.55rem 1.25rem;
    font-size: 0.75rem;
  }

  .btn-phone-hero {
    padding: 0.55rem 1.15rem !important;
    font-size: 0.75rem !important;
    gap: 0.35rem !important;
    border-radius: 50px !important;
  }

  .btn-phone-hero svg {
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0 !important;
  }

  .slider-cta-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
    align-items: center !important;
  }

  .slider-arrow {
    width: 32px;
    height: 32px;
  }

  .slider-arrow svg {
    width: 20px;
    height: 20px;
  }

  /* 1. DUO BANNERS - MOBILE (La 2nde section passe SOUS la 1ère section) */
  .duo-banners-grid {
    grid-template-columns: 1fr;        /* Empilement vertical sur 1 seule colonne */
    gap: 1.25rem;
  }

  .duo-banner-card {
    padding: 2.5rem 1.5rem;
    min-height: 290px;
  }

  .duo-badge {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
  }

  .duo-title {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 0.6rem;
  }

  .duo-desc {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 1.25rem;
    max-width: 100%;
  }

  .btn-duo-cta {
    padding: 0.65rem 1.25rem;
    font-size: 0.78rem;
  }

  /* 2. EN-TÊTE FLOTTE & ONGLETS - MOBILE */
  .fleet-tabs-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
  }

  .fleet-main-title {
    font-size: 1.05rem;
    width: 100%;
    margin-bottom: 0.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2563eb;
  }

  .fleet-main-title.active-tab::after {
    display: none;
  }

  .fleet-tabs-nav {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 1rem;
    padding-bottom: 0.4rem;
  }

  .fleet-tab {
    font-size: 0.78rem;
    flex-shrink: 0;
  }

  .fleet-arrows-nav {
    display: none;                      /* Masqué sur mobile pour garder un rendu ultra propre */
  }

  /* 3. GRILLE DES CARTES DE VOITURES - MOBILE */
  .cars-grid-centered {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .cars-grid-3cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .car-info-centered {
    padding: 0.85rem 0.3rem 0.3rem;
  }

  .car-name-title {
    font-size: 0.92rem;
  }

  .car-brand-sub {
    font-size: 0.75rem;
  }

  .car-price-blue {
    font-size: 0.92rem;
  }

  /* 4. BANNIÈRE BUDGET - MOBILE */
  .budget-banner-section {
    padding: 3rem 0;
  }

  .budget-title {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }

  .budget-desc {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .btn-budget-cta {
    display: inline-block;
    padding: 0.6rem 1.15rem;
    font-size: 0.78rem;
    margin-right: 0;
    margin-bottom: 0.75rem;
  }

  .budget-price-tag {
    display: block;
    font-size: 0.9rem;
  }

  /* Cart Drawer Off-Canvas sur mobile */
  .cart-drawer {
    width: 100%;
    max-width: 100%;
  }

  /* Flotte des Voitures Catalogue */
  .cars-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-col ul {
    align-items: center;
  }
}

/* 3. PETITS MOBILES (Max 480px) */
@media (max-width: 480px) {
  /* Bande 1: Top Bar (1 seule ligne) */
  .top-bar-inner {
    gap: 0.2rem;
  }

  .lang-btn {
    font-size: 0.68rem;
  }

  .top-bar-links {
    gap: 0.35rem;
  }

  .top-bar-links a {
    font-size: 0.62rem;
  }

  /* Bande 2: Header Main Bar (1 seule ligne) */
  .site-logo-img {
    max-height: 40px;
    height: 36px;
  }

  .header-search-pill {
    padding: 0.2rem 0.4rem;
  }

  .search-input::placeholder {
    font-size: 0.72rem;
  }

  /* Bande 3: Navigation Bar (1 seule ligne fluide sans tronquage) */
  .btn-categories-nav {
    width: auto !important;
    max-width: 100% !important;
    font-size: 0.72rem !important;
    padding: 0.4rem 0.6rem !important;
    gap: 4px !important;
  }
  .btn-categories-nav span {
    font-size: 0.7rem !important;
    margin: 0 4px !important;
    letter-spacing: 0.2px !important;
  }

  .main-nav ul {
    gap: 0.75rem;
  }

  .main-nav a {
    font-size: 0.75rem;
  }

  .slider-title {
    font-size: 1.25rem;
  }

  .slider-controls {
    padding: 0 0.5rem;
  }

  /* Duo Banners - Petits Mobiles */
  .duo-banner-card {
    padding: 2.25rem 1.25rem;
    min-height: 260px;
  }

  .duo-title {
    font-size: 1.2rem;
  }

  .duo-desc {
    font-size: 0.82rem;
  }

  .btn-duo-cta {
    padding: 0.55rem 1.1rem;
    font-size: 0.75rem;
  }

  /* Cartes des Voitures - Petits Mobiles (1 seule colonne pour un rendu très lisible et spacieux) */
  .cars-grid-centered,
  .cars-grid-3cols {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .car-name-title {
    font-size: 1rem;
  }

  .car-price-blue {
    font-size: 1rem;
  }

  .fleet-main-title {
    font-size: 0.98rem;
  }
}

/* ==========================================================================
   STYLES DES PAGES DU SITE (A PROPOS, CONTACT, MENTIONS LEGALES, SHOWROOM, ETC.)
   ========================================================================== */

/* Page Hero Banner */
.page-hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 2rem 0 1.75rem;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 3px solid #2563eb;
}

.page-hero-badge {
  display: inline-block;
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.page-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.page-hero-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Page A Propos */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.section-badge-blue {
  color: #2563eb;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.about-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.about-text-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-text-body {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-stats-row {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: #2563eb;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
}

.about-intro-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 3rem 2.25rem;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-card-badge {
  background: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.about-card-desc {
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.btn-about-cta {
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

.btn-about-cta:hover {
  background: #1d4ed8;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

/* Page Contact */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}

.contact-info-card {
  background: #0f172a;
  color: #ffffff;
  padding: 3rem 2.25rem;
}

.contact-card-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-card-intro {
  color: #94a3b8;
  font-size: 0.92rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.contact-items-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-label {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-info-val,
.contact-info-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  word-break: break-word;
}

.contact-info-link:hover {
  color: #2563eb;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 3rem 2.5rem;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: #2563eb;
}

.btn-submit-contact {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 0.85rem 2rem;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-submit-contact:hover {
  background: #1d4ed8;
}

/* Legal Content Card */
.legal-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 3rem 2.5rem;
}

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

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 0.4rem;
  display: inline-block;
}

.legal-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.75rem;
}

.legal-list li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #334155;
}

/* ==========================================================================
   BREAKPOINT ADAPTATION ET RESPONSIVITÉ GLOBALE (TOUTES LES PAGES DU SITE)
   ========================================================================== */

/* 1. Showroom & Catalogue (page-annonces.php) */
.archive-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.cars-grid-centered {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.archive-filters-sidebar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.filter-sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #2563eb;
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 0.35rem;
  cursor: pointer;
}

/* Media Queries Tablettes et Écrans Moyens (max-width: 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem !important;
  }

  .archive-layout-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .single-car-main-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .car-gallery-wrapper {
    grid-template-columns: 1fr !important;
  }

  .gallery-thumbs-stack {
    flex-direction: row !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-thumbs-stack .thumb-item {
    width: 80px !important;
    min-width: 80px !important;
    flex-shrink: 0;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Media Queries Mobiles Large & Tablettes Portrait (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem !important;
  }

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

  .page-hero-banner {
    padding: 1.5rem 1rem !important;
  }

  .page-hero-title {
    font-size: 1.65rem !important;
  }

  .page-hero-desc {
    font-size: 0.9rem !important;
  }

  .cars-grid-centered {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
  }

  .car-details-panel {
    padding: 1.25rem !important;
    border-radius: 8px !important;
  }

  .car-price-main {
    font-size: 1.8rem !important;
  }

  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-features-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-card,
  .contact-form-card,
  .legal-content-card {
    padding: 1.75rem 1.25rem;
  }

  .btn-submit-contact,
  .btn-about-cta {
    width: 100% !important;
    text-align: center;
    justify-content: center;
  }
}

/* Media Queries Mobiles Compacts (max-width: 480px) */
@media (max-width: 480px) {
  .cars-grid-centered {
    grid-template-columns: 1fr;
  }

  .about-stats-row {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .stat-num {
    font-size: 1.4rem !important;
  }

  .page-hero-title {
    font-size: 1.4rem !important;
  }

  .legal-section-title {
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   OPTIMISATION ET RESPONSIVITÉ UNIVERSELLE POUR TOUS ÉCRANS (320PX À 4K)
   ========================================================================== */

/* ==========================================================================
   PRODUCT PAGE (SINGLE-VOITURE.PHP) ULTIMATE RESPONSIVE DESIGN
   ========================================================================== */

.product-section-container {
  padding-top: 1rem;
}

.single-car-breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.single-car-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.single-car-breadcrumb .bc-current {
  color: #0f172a;
}

/* Grille principale produit */
.single-car-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

/* Galerie */
.car-gallery-wrapper {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  align-items: start;
}

.gallery-thumbs-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 480px;
  overflow-y: auto;
}

.gallery-thumbs-stack .thumb-item {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  border-radius: 4px;
}

.gallery-main-display {
  position: relative;
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.gallery-main-display .main-photo-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-main-display .zoom-btn {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 5;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  z-index: 10;
}

.gallery-nav-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-50%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.gallery-nav-btn.prev-btn {
  left: 12px;
}

.gallery-nav-btn.next-btn {
  right: 12px;
}

/* Details Panel */
.car-details-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.reassurance-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.badge-stock {
  background: #dbeafe;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
}

.badge-warranty {
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
}

.badge-ref {
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
}

.product-main-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.product-sub-desc {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 1.5rem 0;
  font-weight: 600;
}

.car-price-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.price-box-label {
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
}

.car-price-main {
  font-size: 2.3rem;
  font-weight: 900;
  color: #2563eb;
  line-height: 1;
}

.badge-tva {
  background: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.delivery-hint {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.35rem;
}

/* Calculatrice */
.financing-calculator-box {
  background: #ffffff;
  border: 2px solid #2563eb;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 15px rgba(37,99,235,0.08);
}

.calc-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.5rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.calc-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
}

.calc-result-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: #2563eb;
}

.calc-type-selector {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.calc-type-label {
  flex: 1;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 0.4rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.calc-field-group {
  margin-bottom: 0.85rem;
}

.calc-field-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.calc-select {
  width: 100%;
  padding: 0.45rem;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  font-weight: 800;
  font-size: 0.85rem;
  color: #0f172a;
}

.calc-slider {
  width: 100%;
  accent-color: #2563eb;
  cursor: pointer;
}

.calc-delivery-title {
  font-size: 0.8rem;
  color: #475569;
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}

.calc-delivery-options {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #334155;
}

.delivery-radio-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.btn-devis-main {
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.btn-phone-call {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s ease;
  width: 100%;
}

.car-meta-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  font-size: 0.88rem;
}

.meta-spec-box {
  background: #f8fafc;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
}

.meta-spec-label {
  color: #64748b;
  font-size: 0.78rem;
  display: block;
}

.meta-spec-val {
  color: #0f172a;
  font-size: 0.92rem;
}

/* Onglets */
.single-car-tabs-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 2.5rem;
  margin-bottom: 4rem;
}

.tabs-nav-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
}

.tab-toggle-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 800;
  color: #64748b;
  cursor: pointer;
  padding-bottom: 0.75rem;
  margin-bottom: -0.85rem;
  transition: color 0.2s ease;
}

.tab-toggle-btn.active {
  color: #2563eb;
  border-bottom: 3px solid #2563eb;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-card-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #2563eb;
  border-radius: 8px;
  padding: 1.5rem;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.info-card-icon {
  width: 38px;
  height: 38px;
  background: #dbeafe;
  color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
}

.info-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.info-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.check-icon {
  color: #2563eb;
  font-weight: 800;
  margin-right: 0.4rem;
}

.expert-note-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 1.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.expert-note-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.expert-note-text {
  color: #475569;
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

.delivery-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.delivery-box-standard {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  border-radius: 4px;
}

.delivery-box-express {
  background: #f8fafc;
  border: 1px solid #2563eb;
  padding: 1.5rem;
  border-radius: 4px;
}

/* Modal Popup */
.quote-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15,23,42,0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.quote-modal-card {
  background: #ffffff;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.close-modal-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.modal-field {
  margin-bottom: 1rem;
}

.modal-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.3rem;
}

.modal-textarea {
  width: 100%;
  height: 110px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.6rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  color: #0f172a;
  resize: none;
}

.modal-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.modal-input {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.88rem;
}

.modal-submit-btn {
  width: 100%;
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 0.85rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
}

/* MEDIA QUERIES PRODUIT RESPONSIVE (MOBILES ET TABLETTES) */
@media (max-width: 992px) {
  .single-car-main-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .car-gallery-wrapper {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .gallery-thumbs-stack {
    flex-direction: row !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 0.5rem;
    order: 2;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-thumbs-stack .thumb-item {
    width: 85px !important;
    min-width: 85px !important;
    aspect-ratio: 4/3;
  }

  .gallery-main-display {
    order: 1;
  }
}

@media (max-width: 640px) {
  .product-main-title {
    font-size: 1.5rem !important;
  }

  .car-price-main {
    font-size: 1.8rem !important;
  }

  .car-price-box {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }

  .price-box-right {
    text-align: left !important;
  }

  .single-car-tabs-wrapper {
    padding: 1.25rem !important;
  }

  .modal-grid-2col {
    grid-template-columns: 1fr !important;
  }
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}


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

/* Adaptation Header & Navigation pour Tablettes et Mobiles (LOGO, RECHERCHE ET PANIER SUR 1 SEULE LIGNE) */
@media (max-width: 992px) {
  .header-main-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .logo {
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }
  .site-logo-img {
    max-height: 48px !important;
    height: 45px !important;
    width: auto !important;
  }
  .header-search-pill {
    order: unset !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    margin: 0 !important;
  }
  .header-right-actions {
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }
  .categories-sidebar {
    width: 100% !important;
    position: static !important;
  }
}


@media (max-width: 576px) {
  .top-bar-inner {
    flex-direction: row !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: left !important;
    gap: 0.2rem !important;
    width: 100% !important;
  }
  .top-bar-left {
    justify-content: flex-start !important;
    flex-shrink: 0 !important;
  }
  .top-bar-right {
    justify-content: flex-end !important;
    flex-shrink: 1 !important;
  }
  .search-divider, .search-select-cat {
    display: none;
  }
  .page-hero-banner {
    padding: 1.25rem 0.75rem !important;
  }
  .page-hero-title {
    font-size: 1.35rem !important;
  }
  .car-meta-info {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }
  .single-car-tabs-wrapper {
    padding: 1.25rem !important;
  }
  .tabs-nav-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
  .tab-toggle-btn {
    font-size: 0.95rem !important;
  }
}

/* ==========================================================================
   POPUP MODAL UNIVERSELLE DE DEMANDE DE DEVIS
   ========================================================================== */
.quote-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeInModal 0.25s ease;
}

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

.quote-modal-card {
  background: #ffffff;
  border-radius: 14px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.2rem 2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: slideUpModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

@keyframes slideUpModal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-modal-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f1f5f9;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-modal-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal-badge-blue {
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1.4rem;
  line-height: 1.5;
}

.modal-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 580px) {
  .modal-grid-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.modal-field {
  margin-bottom: 1.1rem;
}

.modal-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.35rem;
}

.modal-input,
.modal-textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: #0f172a;
  background: #f8fafc;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.modal-input:focus,
.modal-textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.modal-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  padding: 0.88rem 1.5rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 0.4rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.modal-submit-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.modal-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* RETRAIT DES EFFETS HOVER/TRANSFORM SUR LES BOUTONS DU SITE */
button:hover,
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover,
.btn-add-to-cart-main:hover,
.btn-devis-main:hover,
.modal-submit-btn:hover,
.btn-submit-contact:hover,
.btn-duo-cta:hover,
.btn-phone-hero:hover,
.btn-slider-cta:hover,
.open-quote-modal:hover,
.open-rdv-modal:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* ================================================
   BOUTON KBIS — FOOTER
   ================================================ */
.footer-kbis-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  width: fit-content;
  max-width: 100%;
}

.footer-kbis-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(22, 163, 74, 0.4) !important;
  transform: none !important;
  box-shadow: none !important;
}

.kbis-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: rgba(22, 163, 74, 0.15);
  border-radius: 8px;
}

.kbis-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}

.kbis-label-top {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.kbis-label-main {
  font-size: 0.95rem;
  color: #f1f5f9;
  font-weight: 800;
  line-height: 1.3;
  font-family: 'Nunito', sans-serif;
}

.kbis-arrow {
  font-size: 1.3rem;
  color: #64748b;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

/* Section Stats (Chiffres clés) - 4 colonnes sur 1 seule ligne en mobile */
.stats-bar-section {
  background: #0f172a;
  color: #ffffff;
  padding: 1.5rem 0;
  border-bottom: 3px solid #2563eb;
}

.stats-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.stat-item-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
}

.stat-item-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-top: 0.25rem;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .stats-bar-section {
    padding: 0.85rem 0.15rem !important;
  }
  
  .stats-grid-wrapper {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.15rem !important;
  }

  .stat-item {
    padding: 0 2px !important;
  }

  .stat-item-number {
    font-size: 0.8rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
  }

  .stat-item-label {
    font-size: 0.6rem !important;
    font-weight: 600 !important;
    margin-top: 0.15rem !important;
    line-height: 1.15 !important;
    word-break: break-word !important;
  }
}

@media (max-width: 480px) {
  .stats-bar-section {
    padding: 0.75rem 0.1rem !important;
  }
  .stats-grid-wrapper {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.1rem !important;
  }
  .stat-item-number {
    font-size: 0.72rem !important;
  }
  .stat-item-label {
    font-size: 0.55rem !important;
  }
}






