/* ==========================================================================
   Gesti-Car — Site vitrine v2 (design system porté + modernisé)
   Charte : navy #0A1E3F (ERP) + or #F5B71A (ERP) · typo Space Grotesk / Plus Jakarta Sans
   100% conforme CSP : aucune ressource externe hormis Google Fonts.
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #0a1e3f;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
::selection { background: #f5b71a; color: #0a1e3f; }

/* ---------- Variables (couleurs ERP conservées) ---------- */
:root {
  --navy: #0a1e3f;            /* navy officiel ERP */
  --navy-deep: #081832;
  --navy-light: #14294f;
  --blue-50: #f0f6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --or: #f5b71a;             /* or officiel ERP */
  --or-fonce: #d99e0a;
  --yellow-50: #fffbeb;
  --yellow-100: #fef3c7;
  --yellow-200: #fde68a;
  --yellow-300: #fcd34d;
  --yellow-400: #f5c542;
  --yellow-500: #f5b71a;
  --yellow-600: #d99e0a;
  --yellow-700: #b45309;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --red-50: #fef2f2;
  --red-200: #fecaca;
  --red-700: #b91c1c;
  --green-50: #ecfdf5;
  --green-200: #a7f3d0;
  --green-700: #047857;
  --radius-sm: 0.75rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --shadow-sm: 0 4px 20px -4px rgba(10,30,63,0.06);
  --shadow: 0 8px 30px -8px rgba(10,30,63,0.12);
  --shadow-lg: 0 20px 50px -12px rgba(10,30,63,0.2);
  --transition: 0.3s cubic-bezier(0.16,1,0.3,1);
}

/* ---------- Typographie ---------- */
.font-display { font-family: 'Space Grotesk', system-ui, sans-serif; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

/* ---------- Accessibilité : focus clavier visible ---------- */
:focus-visible {
  outline: 3px solid var(--or);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 3rem; padding-right: 3rem; } }
.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.bg-navy { background-color: var(--navy); }
.bg-blue-50 { background-color: var(--blue-50); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-muted { color: rgba(10,30,63,0.6); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: var(--radius); padding: 0.875rem 1.75rem; font-weight: 600; font-size: 0.9375rem;
  transition: all var(--transition); white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500));
  color: var(--navy);
  box-shadow: 0 8px 24px -6px rgba(245,183,26,0.5);
}
.btn-primary:hover { box-shadow: 0 12px 32px -6px rgba(245,183,26,0.6); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(255,255,255,0.6); border: 1px solid var(--blue-200); color: var(--blue-700);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: var(--blue-400); background: var(--white); transform: translateY(-2px); }
.btn-light {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: var(--white);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-light:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.8125rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.7); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(219,234,254,0.5);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem 0.75rem 4.5rem;
}
@media (min-width: 1024px) { .header-inner { padding: 0.875rem 3rem; } }
.logo { display: flex; align-items: center; gap: 0.625rem; }
.logo-icon {
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius); background: var(--navy);
  display: flex; align-items: center; justify-content: center; color: var(--white); overflow: hidden;
}
.logo-icon svg { width: 1.25rem; height: 1.25rem; }
.logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { text-align: left; }
.logo-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.logo-sub { font-size: 0.625rem; font-weight: 500; letter-spacing: 0.05em; color: var(--yellow-600); }
.header-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .header-nav { display: flex; } }
.header-nav a {
  position: relative; padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500;
  color: rgba(10,30,63,0.55); border-radius: var(--radius-sm); transition: all var(--transition);
}
.header-nav a:hover { color: var(--blue-700); background: rgba(240,246,255,0.7); }
.header-nav a.active { color: var(--blue-700); }
/* Soulignement animé (glisse depuis le centre au survol, plein si actif) */
.header-nav a::after {
  content: ''; position: absolute; bottom: -1px; left: 0.75rem; right: 0.75rem; height: 2px;
  background: linear-gradient(90deg, var(--yellow-400), var(--yellow-500)); border-radius: 1px;
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.16,1,0.3,1);
}
.header-nav a:hover::after, .header-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-phone { display: none; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--blue-700); }
@media (min-width: 640px) { .header-phone { display: flex; } }
.header-phone:hover { color: var(--navy); }
.header-phone svg { width: 1rem; height: 1rem; }

/* ---------- Sidebar (mobile / tablette) ---------- */
.sidebar-toggle {
  position: fixed; left: 1rem; top: 0.75rem; z-index: 50;
  width: 3rem; height: 3rem; border-radius: var(--radius); background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(10,30,63,0.5); transition: all var(--transition);
}
.sidebar-toggle:hover { transform: scale(1.05); background: var(--blue-800); }
.sidebar-toggle svg { width: 1.25rem; height: 1.25rem; }
@media (min-width: 1024px) { .sidebar-toggle { display: none; } }

.sidebar-overlay {
  position: fixed; inset: 0; z-index: 45; background: rgba(10,30,63,0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity 0.5s;
}
.sidebar-overlay.open { opacity: 1; pointer-events: auto; }
.sidebar {
  position: fixed; left: 0; top: 0; z-index: 50; width: 320px; max-width: 85vw; height: 100%;
  background: var(--navy); color: var(--white); box-shadow: 4px 0 30px rgba(0,0,0,0.3);
  transform: translateX(-100%); transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column; overflow: hidden;
}
.sidebar.open { transform: translateX(0); }
.sidebar-glow-1 { position: absolute; right: -5rem; top: 5rem; width: 15rem; height: 15rem; border-radius: 50%; background: rgba(245,183,26,0.12); filter: blur(60px); pointer-events: none; }
.sidebar-glow-2 { position: absolute; left: -2.5rem; bottom: 5rem; width: 10rem; height: 10rem; border-radius: 50%; background: rgba(59,130,246,0.12); filter: blur(60px); pointer-events: none; }
.sidebar-header { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-logo { display: flex; align-items: center; gap: 0.75rem; }
.sidebar-logo-icon { width: 2.75rem; height: 2.75rem; border-radius: var(--radius); background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500)); color: var(--navy); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sidebar-logo-icon svg { width: 1.5rem; height: 1.5rem; }
.sidebar-logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-logo .logo-title { color: #fff; }
.sidebar-close { width: 2.25rem; height: 2.25rem; border-radius: var(--radius-sm); background: rgba(255,255,255,0.1); color: var(--white); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.sidebar-close:hover { background: rgba(255,255,255,0.2); }
.sidebar-close svg { width: 1.25rem; height: 1.25rem; }
.sidebar-nav { position: relative; flex: 1; overflow-y: auto; padding: 1.5rem 1rem; }
.sidebar-nav-label { padding: 0 1rem; margin-bottom: 0.75rem; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); }
.sidebar-nav ul { display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar-nav a { display: flex; align-items: center; justify-content: space-between; padding: 0.875rem 1rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.7); transition: all var(--transition); }
.sidebar-nav a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.sidebar-nav a.active { background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500)); color: var(--navy); }
.sidebar-nav a .dot { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: rgba(245,183,26,0.5); margin-right: 0.75rem; flex-shrink: 0; }
.sidebar-nav a.active .dot { background: var(--navy); transform: scale(1.5); }
.sidebar-nav a .arrow { width: 1rem; height: 1rem; }
.sidebar-contact { position: relative; border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 1.5rem; }
.sidebar-contact-label { margin-bottom: 0.75rem; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--yellow-300); }
.sidebar-contact ul { display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.sidebar-contact li { display: flex; align-items: center; gap: 0.625rem; }
.sidebar-contact li svg { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--yellow-400); }
.sidebar-contact a:hover { color: var(--white); }
.sidebar-social { display: flex; gap: 0.625rem; margin-top: 1rem; }
.sidebar-social a { width: 2.25rem; height: 2.25rem; border-radius: var(--radius-sm); background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.sidebar-social a:hover { background: var(--yellow-400); color: var(--navy); transform: translateY(-2px); }
.sidebar-social a svg { width: 1rem; height: 1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; width: 100%; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-home { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,24,50,0.92) 0%, rgba(10,30,63,0.82) 45%, rgba(10,30,63,0.7) 100%); }
/* Couche canvas three.js (au-dessus de l'image, sous le contenu) */
.hero-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hero-canvas.ready { opacity: 1; }
.hero-glow { position: absolute; width: 18rem; height: 18rem; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 1; }
.hero-glow-1 { right: -5rem; top: 2.5rem; background: rgba(245,183,26,0.14); }
.hero-glow-2 { left: -5rem; bottom: 2.5rem; background: rgba(59,130,246,0.12); }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; padding: 6rem 1rem 7rem; }
@media (min-width: 640px) { .hero-content { padding: 6rem 1.5rem 7rem; } }
@media (min-width: 1024px) { .hero-content { padding: 5rem 3rem 7rem; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 1rem;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 999px; font-size: 0.875rem; font-weight: 500;
}
.hero-badge .ping { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--yellow-500); position: relative; }
.hero-badge .ping::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--yellow-400); animation: ping 1.5s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 1; } 75%,100% { transform: scale(2); opacity: 0; } }
.hero h1 { margin-top: 1.5rem; max-width: 42rem; font-family: 'Space Grotesk', sans-serif; font-size: 2.25rem; font-weight: 800; line-height: 1.1; }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero h1 .accent { color: var(--yellow-400); }
.hero p { margin-top: 1.25rem; max-width: 32rem; font-size: 1.125rem; line-height: 1.6; color: rgba(255,255,255,0.72); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat { border-left: 2px solid rgba(245,183,26,0.6); padding-left: 0.75rem; }
.hero-stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; }
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* Bandeau de page (sous-pages) */
.page-banner { position: relative; width: 100%; overflow: hidden; background: var(--navy); color: var(--white); }
.page-banner-bg { position: absolute; inset: 0; }
.page-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,24,50,0.9), rgba(10,30,63,0.72)); }
.page-banner-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 5rem 1rem; }
@media (min-width: 640px) { .page-banner-content { padding: 5rem 1.5rem; } }
@media (min-width: 1024px) { .page-banner-content { padding: 6rem 3rem; } }
.page-banner .crumb { font-size: 0.8125rem; color: rgba(255,255,255,0.55); margin-bottom: 0.75rem; }
.page-banner .crumb a:hover { color: var(--yellow-300); }
.page-banner h1 { max-width: 42rem; font-family: 'Space Grotesk', sans-serif; font-size: 2.25rem; font-weight: 800; line-height: 1.1; }
@media (min-width: 640px) { .page-banner h1 { font-size: 3rem; } }
.page-banner p { margin-top: 1rem; max-width: 32rem; line-height: 1.6; color: rgba(255,255,255,0.7); }

/* ---------- Marquee ---------- */
.marquee { position: absolute; bottom: 0; left: 0; right: 0; border-top: 1px solid rgba(255,255,255,0.1); background: var(--navy-deep); padding: 0.75rem 0; overflow: hidden; z-index: 3; }
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: marquee 35s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 0.5rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; font-weight: 600; color: rgba(255,255,255,0.3); }
.marquee-item svg { width: 1.25rem; height: 1.25rem; color: rgba(245,183,26,0.6); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- Titre de section ---------- */
.section-tag { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--yellow-600); }
.section-title { margin-top: 0.5rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.875rem; font-weight: 700; color: var(--navy); }
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
.section-subtitle { margin-top: 0.75rem; color: rgba(10,30,63,0.6); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Carte avantage ---------- */
.adv-card { background: var(--white); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: all 0.5s cubic-bezier(0.16,1,0.3,1); }
.adv-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px -8px rgba(10,30,63,0.15); }
.adv-icon { width: 3.5rem; height: 3.5rem; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); color: var(--blue-600); transition: all 0.3s; }
.adv-card:hover .adv-icon { background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500)); color: var(--navy); }
.adv-icon svg { width: 1.75rem; height: 1.75rem; }
.adv-card h3 { margin-top: 1.25rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; color: var(--navy); }
.adv-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: rgba(10,30,63,0.6); }

/* ---------- Carte véhicule ---------- */
.car-card { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: all 0.5s cubic-bezier(0.16,1,0.3,1); display: flex; flex-direction: column; height: 100%; }
.car-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px -12px rgba(10,30,63,0.2); }
.car-img { position: relative; height: 14rem; overflow: hidden; background: var(--blue-50); }
.car-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.car-card:hover .car-img img { transform: scale(1.1); }
.car-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,30,63,0.5), transparent); }
.car-badge { position: absolute; left: 0.75rem; top: 0.75rem; display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.car-badge.available { background: rgba(245,183,26,0.92); color: var(--navy); }
.car-badge.unavailable { background: rgba(10,30,63,0.7); color: rgba(255,255,255,0.8); }
.car-badge .dot { width: 0.375rem; height: 0.375rem; border-radius: 50%; }
.car-badge.available .dot { background: var(--navy); }
.car-badge.unavailable .dot { background: rgba(255,255,255,0.5); }
.car-cat { position: absolute; right: 0.75rem; top: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; color: var(--blue-700); background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.car-price { position: absolute; bottom: 0.75rem; left: 0.75rem; display: flex; align-items: baseline; gap: 0.25rem; }
.car-price .val { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.car-price .unit { font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.8); }
.car-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.car-brand { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue-400); }
.car-name { margin-top: 0.125rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.car-specs { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; text-align: center; }
.car-spec { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 0.625rem 0; border-radius: var(--radius-sm); background: var(--blue-50); }
.car-spec svg { width: 1rem; height: 1rem; color: var(--blue-600); }
.car-spec span { font-size: 0.75rem; font-weight: 500; color: rgba(10,30,63,0.7); }
.car-features { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.375rem; }
.car-feature { padding: 0.25rem 0.625rem; border-radius: 999px; font-size: 0.6875rem; font-weight: 500; background: var(--yellow-50); color: var(--yellow-700); }
.car-btn { margin-top: auto; padding-top: 1.25rem; }
.car-btn a, .car-btn span { width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 600; transition: all var(--transition); }
.car-btn a { background: var(--navy); color: var(--white); }
.car-btn a:hover { background: var(--navy-light); gap: 0.75rem; }
.car-btn span.disabled { background: var(--gray-100); color: var(--gray-400); cursor: not-allowed; }
.car-btn svg { width: 1rem; height: 1rem; }

/* ---------- Carte service ---------- */
.svc-card { display: flex; gap: 1rem; background: var(--white); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: all 0.5s cubic-bezier(0.16,1,0.3,1); height: 100%; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px -8px rgba(10,30,63,0.15); }
.svc-icon { width: 3rem; height: 3rem; flex-shrink: 0; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; background: var(--yellow-50); color: var(--yellow-600); transition: all 0.3s; }
.svc-card:hover .svc-icon { transform: scale(1.1); background: var(--navy); color: var(--white); }
.svc-icon svg { width: 1.5rem; height: 1.5rem; }
.svc-card h3 { font-family: 'Space Grotesk', sans-serif; color: var(--navy); font-size: 1.0625rem; }
.svc-card p { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.6; color: rgba(10,30,63,0.6); }

/* ---------- Bandeau stats ---------- */
.stats-banner { position: relative; overflow: hidden; background: var(--navy); color: var(--white); border-radius: var(--radius-xl); padding: 3.5rem 1.5rem; box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .stats-banner { padding: 3.5rem 3rem; } }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-icon { width: 3.5rem; height: 3.5rem; margin: 0 auto; border-radius: var(--radius); background: rgba(255,255,255,0.1); color: var(--yellow-400); display: flex; align-items: center; justify-content: center; }
.stat-icon svg { width: 1.75rem; height: 1.75rem; }
.stat-value { margin-top: 1rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.875rem; font-weight: 700; }
.stat-label { margin-top: 0.25rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); }

/* ---------- CTA ---------- */
.cta-card { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--blue-100); border-radius: var(--radius-xl); padding: 2rem 1.5rem; text-align: center; box-shadow: var(--shadow); }
@media (min-width: 768px) { .cta-card { padding: 4rem 2rem; } }
.cta-card h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.875rem; font-weight: 700; color: var(--navy); position: relative; }
@media (min-width: 640px) { .cta-card h2 { font-size: 2.25rem; } }
.cta-card p { margin: 0.75rem auto 0; max-width: 32rem; color: rgba(10,30,63,0.6); position: relative; }
.cta-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; position: relative; }

/* ---------- Formulaires ---------- */
.form-card { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: 2.5rem; } }
.form-card::before { content: ''; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: linear-gradient(135deg, rgba(20,41,79,0.3), rgba(245,183,26,0.3)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form-row { display: grid; gap: 1.25rem; }
.form-row-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--navy); }
.form-label svg { width: 1rem; height: 1rem; color: var(--blue-500); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--blue-100); border-radius: var(--radius-sm);
  background: rgba(240,246,255,0.35); font-size: 0.875rem; color: var(--navy); outline: none; transition: all var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 3px rgba(59,130,246,0.12); }
.form-textarea { resize: vertical; min-height: 6rem; }
.form-check { display: flex; align-items: center; gap: 0.625rem; font-weight: 500; margin: 0.5rem 0; color: var(--navy); font-size: 0.9375rem; }
.form-check input { width: 1.05rem; height: 1.05rem; accent-color: var(--blue-600); flex-shrink: 0; }
.form-hint { font-size: 0.8125rem; color: rgba(10,30,63,0.55); margin-top: 0.75rem; text-align: center; }

/* Alertes */
.alert { margin-bottom: 1.25rem; padding: 0.875rem 1.125rem; border-radius: var(--radius); font-size: 0.875rem; display: flex; gap: 0.625rem; align-items: flex-start; }
.alert svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; margin-top: 0.1rem; }
.alert-error { border: 1px solid var(--red-200); background: var(--red-50); color: var(--red-700); }
.alert-ok { border: 1px solid var(--green-200); background: var(--green-50); color: var(--green-700); }

/* État de succès */
.success-state { text-align: center; padding: 2.5rem 0; }
.success-icon { width: 5rem; height: 5rem; margin: 0 auto; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500)); color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px -6px rgba(245,183,26,0.4); }
.success-icon svg { width: 2.5rem; height: 2.5rem; }
.success-state h2 { margin-top: 1.5rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.875rem; font-weight: 700; color: var(--navy); }
.success-state p { margin-top: 0.75rem; color: rgba(10,30,63,0.6); }

/* Carte info contact */
.contact-card { background: var(--white); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; box-shadow: var(--shadow-sm); transition: all 0.5s; }
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px -8px rgba(10,30,63,0.15); }
.contact-icon { width: 3.5rem; height: 3.5rem; margin: 0 auto; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); color: var(--blue-600); transition: all 0.3s; }
.contact-card:hover .contact-icon { background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500)); color: var(--navy); }
.contact-icon svg { width: 1.75rem; height: 1.75rem; }
.contact-label { margin-top: 1rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue-400); }
.contact-value { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 500; color: var(--navy); word-break: break-word; }
.contact-value a:hover { color: var(--blue-700); }

/* ---------- Filtres (flotte / offres) ---------- */
.filters-bar { display: flex; flex-direction: column; gap: 1rem; background: var(--white); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow); }
@media (min-width: 640px) { .filters-bar { flex-direction: row; align-items: flex-end; flex-wrap: wrap; } }
.filters-bar .form-group { margin-bottom: 0; }
.search-wrap { position: relative; flex: 1; min-width: 200px; }
.search-wrap svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.25rem; height: 1.25rem; color: var(--blue-400); }
.search-input { width: 100%; padding: 0.75rem 1rem 0.75rem 3rem; border: 1px solid var(--blue-100); border-radius: var(--radius-sm); background: rgba(240,246,255,0.35); font-size: 0.875rem; outline: none; transition: all var(--transition); }
.search-input:focus { border-color: var(--blue-500); background: var(--white); }
.cat-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.cat-label { display: flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 500; color: rgba(10,30,63,0.5); }
.cat-label svg { width: 1rem; height: 1rem; }
.cat-pill { padding: 0.5rem 1rem; border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 500; background: var(--blue-50); color: var(--blue-700); transition: all var(--transition); }
.cat-pill:hover { background: var(--blue-100); }
.cat-pill.active { background: var(--navy); color: var(--white); box-shadow: 0 4px 12px -2px rgba(10,30,63,0.2); }

/* État vide */
.empty-state { border: 1px solid var(--blue-100); border-radius: var(--radius-lg); background: var(--white); padding: 3rem; text-align: center; box-shadow: var(--shadow); grid-column: 1 / -1; }
.empty-state svg { width: 3rem; height: 3rem; margin: 0 auto; color: var(--blue-200); }
.empty-state p { margin-top: 1rem; font-size: 1.125rem; font-weight: 500; color: rgba(10,30,63,0.6); }

/* ---------- Fiche véhicule (détail) ---------- */
.veh-detail { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .veh-detail { grid-template-columns: 1.1fr 0.9fr; } }
.veh-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--blue-50); }
.veh-media > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.veh-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.veh-thumbs a { width: 5rem; height: 3.5rem; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; transition: border-color var(--transition); }
.veh-thumbs a:hover, .veh-thumbs a:focus-visible { border-color: var(--or); }
.veh-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.veh-specs { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2,1fr); gap: 0.75rem; }
.veh-spec { background: var(--white); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 0.875rem 1rem; }
.veh-spec span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--blue-400); }
.veh-spec strong { display: block; margin-top: 0.2rem; color: var(--navy); font-weight: 600; }
.veh-price { display: flex; align-items: baseline; gap: 0.4rem; margin: 0.25rem 0 1rem; }
.veh-price strong { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; color: var(--navy); }
.veh-price span { color: rgba(10,30,63,0.55); }

/* ---------- Timeline (à-propos) ---------- */
.timeline { position: relative; padding: 1rem 0; }
.timeline-line { position: absolute; left: 0.25rem; top: 0; height: 100%; width: 2px; background: rgba(245,183,26,0.5); }
@media (min-width: 768px) { .timeline-line { left: 50%; transform: translateX(-50%); } }
.timeline-item { position: relative; padding-left: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .timeline-item { width: 50%; padding-left: 0; } .timeline-item:nth-child(even) { margin-left: auto; padding-left: 3rem; } .timeline-item:nth-child(odd) { padding-right: 3rem; text-align: right; } }
.timeline-dot { position: absolute; top: 0.35rem; left: -0.15rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--yellow-400); box-shadow: 0 0 0 4px var(--navy); }
@media (min-width: 768px) { .timeline-item:nth-child(odd) .timeline-dot { right: -0.5rem; left: auto; } .timeline-item:nth-child(even) .timeline-dot { left: -0.5rem; } }
.timeline-card { border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: var(--radius); padding: 1.25rem; display: inline-block; text-align: left; }
.timeline-year { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--yellow-400); }
.timeline-text { margin-top: 0.25rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); }

/* ---------- Story / Mission-Vision (à-propos) ---------- */
.story-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 1fr 1fr; } }
.story-img { position: relative; }
.story-img img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.story-badge { position: absolute; bottom: -1.5rem; right: -1rem; background: var(--white); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow); display: none; }
@media (min-width: 640px) { .story-badge { display: flex; align-items: center; gap: 0.75rem; } }
.story-badge-icon { width: 3rem; height: 3rem; border-radius: var(--radius); background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500)); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.story-badge-icon svg { width: 1.5rem; height: 1.5rem; }
.story-badge-val { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.story-badge-label { font-size: 0.75rem; color: rgba(10,30,63,0.5); }
.story-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.story-list li { display: flex; align-items: center; gap: 0.75rem; color: rgba(10,30,63,0.8); }
.story-list svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: var(--yellow-500); }
.mv-card { height: 100%; background: var(--white); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.mv-icon { width: 3.5rem; height: 3.5rem; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--white); }
.mv-icon.navy { background: var(--navy); }
.mv-icon.yellow { background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500)); color: var(--navy); }
.mv-icon svg { width: 1.75rem; height: 1.75rem; }
.mv-card h3 { margin-top: 1.25rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.mv-card p { margin-top: 0.75rem; line-height: 1.6; color: rgba(10,30,63,0.6); }

/* ---------- Étapes process (services) ---------- */
.step-card { position: relative; background: var(--white); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); height: 100%; }
.step-num { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 800; color: var(--blue-100); line-height: 1; }
.step-card h3 { margin-top: 0.5rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.step-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: rgba(10,30,63,0.6); }
.guarantees { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; background: var(--white); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.guarantee { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: rgba(10,30,63,0.7); }
.guarantee svg { width: 1.25rem; height: 1.25rem; color: var(--yellow-500); }

/* ---------- Blog ---------- */
.blog-card { overflow: hidden; background: var(--white); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: all 0.5s; display: block; height: 100%; }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px -12px rgba(10,30,63,0.2); }
.blog-img { position: relative; height: 14rem; overflow: hidden; background: var(--blue-50); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.blog-card:hover .blog-img img { transform: scale(1.1); }
.blog-cat { position: absolute; left: 1rem; top: 1rem; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: rgba(245,183,26,0.92); color: var(--navy); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.blog-body { padding: 1.5rem; }
.blog-meta { display: flex; gap: 0.75rem; font-size: 0.75rem; color: rgba(10,30,63,0.5); flex-wrap: wrap; }
.blog-meta span { display: flex; align-items: center; gap: 0.375rem; }
.blog-meta svg { width: 0.875rem; height: 0.875rem; }
.blog-card h3 { margin-top: 0.75rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); transition: color var(--transition); }
.blog-card:hover h3 { color: var(--blue-700); }
.blog-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: rgba(10,30,63,0.6); }
.blog-read { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--blue-600); transition: all var(--transition); }
.blog-card:hover .blog-read { gap: 0.625rem; }
.blog-read svg { width: 1rem; height: 1rem; }
.article-back { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; font-size: 0.875rem; font-weight: 500; color: var(--blue-600); transition: all var(--transition); }
.article-back:hover { gap: 0.75rem; color: var(--blue-800); }
.article-back svg { width: 1rem; height: 1rem; }
.article-cat { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: var(--yellow-50); color: var(--yellow-700); }
.article-cat svg { width: 0.875rem; height: 0.875rem; }
.article h1 { margin-top: 1rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.875rem; font-weight: 800; color: var(--navy); }
@media (min-width: 640px) { .article h1 { font-size: 2.25rem; } }
.article-meta { margin-top: 1rem; display: flex; gap: 1rem; font-size: 0.875rem; color: rgba(10,30,63,0.5); flex-wrap: wrap; }
.article-meta span { display: flex; align-items: center; gap: 0.375rem; }
.article-meta svg { width: 1rem; height: 1rem; }
.article-img { margin-top: 2rem; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.article-content { margin-top: 2rem; }
.article-content p { font-size: 1.125rem; line-height: 1.7; color: rgba(10,30,63,0.72); margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.footer-top { height: 4px; background: var(--yellow-500); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 3.5rem 1rem; }
@media (min-width: 640px) { .footer-inner { padding: 3.5rem 1.5rem; } }
@media (min-width: 1024px) { .footer-inner { padding: 3.5rem 3rem; } }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand-logo { display: flex; align-items: center; gap: 0.625rem; }
.footer-brand-icon { width: 2.75rem; height: 2.75rem; border-radius: var(--radius); background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500)); color: var(--navy); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.footer-brand-icon svg { width: 1.5rem; height: 1.5rem; }
.footer-brand-icon img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; }
.footer-brand-sub { font-size: 0.6875rem; letter-spacing: 0.05em; color: var(--yellow-300); }
.footer-desc { margin-top: 1rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.5); max-width: 340px; }
.footer-social { margin-top: 1.25rem; display: flex; gap: 0.625rem; }
.footer-social a { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm); background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.footer-social a:hover { background: var(--yellow-500); color: var(--navy); transform: translateY(-2px); }
.footer-social a svg { width: 1rem; height: 1rem; }
.footer-heading { margin-bottom: 1rem; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--yellow-300); }
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: all var(--transition); width: fit-content; }
.footer-links a:hover { color: var(--yellow-300); padding-left: 0.25rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.footer-contact-list li { display: flex; gap: 0.75rem; }
.footer-contact-list svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: var(--yellow-400); }
.footer-contact-list a:hover { color: var(--white); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.4); text-align: center; }
.footer-copy a { color: rgba(255,255,255,0.6); }
.footer-copy a:hover { color: var(--yellow-300); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-legal a { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: var(--white); }
.footer-top-btn { width: 2.25rem; height: 2.25rem; border-radius: var(--radius-sm); background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; transition: all var(--transition); flex-shrink: 0; }
.footer-top-btn:hover { background: var(--yellow-500); color: var(--navy); }
.footer-top-btn svg { width: 1rem; height: 1rem; }

/* ---------- WhatsApp flottant ---------- */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 44; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px -6px rgba(37,211,102,0.6); transition: transform var(--transition); }
.wa-float:hover { transform: translateY(-3px) scale(1.05); }
.wa-float svg { width: 1.75rem; height: 1.75rem; }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.glow-pulse { animation: glowPulse 4s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 0.7; } }
.page-enter { animation: pageIn 0.6s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.spinner { width: 1.25rem; height: 1.25rem; animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ---------- Utilitaires ---------- */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.w-full { width: 100%; }
.hidden { display: none; }

/* ==========================================================================
   MENU ANIMÉ + MICRO-INTERACTIONS (ajouts v2.1)
   ========================================================================== */

/* ---------- Hamburger animé (3 traits → croix) ---------- */
.sidebar-toggle .burger { position: relative; display: block; width: 22px; height: 16px; }
.sidebar-toggle .burger span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.2s ease, top 0.4s cubic-bezier(0.16,1,0.3,1), width 0.3s ease;
}
.sidebar-toggle .burger span:nth-child(1) { top: 0; }
.sidebar-toggle .burger span:nth-child(2) { top: 7px; width: 80%; }
.sidebar-toggle .burger span:nth-child(3) { top: 14px; }
.sidebar-toggle:hover .burger span { width: 100%; }
.sidebar-toggle.is-open .burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.sidebar-toggle.is-open .burger span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.sidebar-toggle.is-open .burger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
.sidebar-toggle.is-open { background: var(--blue-800); }

/* ---------- Entrée en cascade des items de la sidebar ---------- */
.sidebar-nav li {
  opacity: 0; transform: translateX(-18px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.sidebar.open .sidebar-nav li {
  opacity: 1; transform: none;
  transition-delay: calc(0.12s + var(--i, 0) * 0.06s);
}
.sidebar-contact { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s; }
.sidebar.open .sidebar-contact { opacity: 1; transform: none; }

/* ---------- Header : masquage au défilement vers le bas ---------- */
.site-header { transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, background 0.3s ease; will-change: transform; }
.site-header.header-hidden { transform: translateY(-100%); }

/* ---------- Barre de progression de lecture ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60;
  background: linear-gradient(90deg, var(--yellow-400), var(--yellow-500));
  box-shadow: 0 0 8px rgba(245,183,26,0.6); transition: width 0.1s linear; pointer-events: none;
}

/* ---------- Variantes de reveal + cascade ---------- */
.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-right { opacity: 0; transform: translateX(32px);  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-scale { opacity: 0; transform: scale(0.94);       transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.visible, .reveal-right.visible, .reveal-scale.visible { opacity: 1; transform: none; }

/* ---------- Cartes : léger tilt magnétique (piloté en JS) ---------- */
.car-card, .adv-card, .svc-card, .contact-card, .step-card, .mv-card { will-change: transform; }
.tilt { transition: transform 0.18s ease-out; transform-style: preserve-3d; }

/* ---------- Marquee : pause au survol ---------- */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Boutons : effet de brillance au survol ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 140%; }

/* ==========================================================================
   RESPONSIVE MULTI-APPAREILS (iOS Safari, Android, tablette, iPad)
   ========================================================================== */

/* Encoche / safe-area (iPhone X+, iPad) */
@supports (padding: max(0px)) {
  .wa-float { right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); }
  .sidebar-toggle { left: max(1rem, env(safe-area-inset-left)); top: max(0.75rem, env(safe-area-inset-top)); }
  .sidebar-header { padding-top: max(1.25rem, env(safe-area-inset-top)); }
  .header-inner { padding-left: max(4.5rem, calc(env(safe-area-inset-left) + 4rem)); }
  @media (min-width: 1024px) { .header-inner { padding-left: max(3rem, env(safe-area-inset-left)); padding-right: max(3rem, env(safe-area-inset-right)); } }
}

/* Défilement tactile fluide dans la sidebar */
.sidebar-nav { -webkit-overflow-scrolling: touch; }

/* Cibles tactiles confortables (>= 44px) sur mobile */
@media (max-width: 1023px) {
  .header-nav a, .footer-links a, .sidebar-nav a { min-height: 44px; }
  .footer-top-btn, .sidebar-close, .sidebar-social a, .footer-social a { min-width: 40px; min-height: 40px; }
}

/* iOS : empêcher le zoom auto au focus (inputs < 16px déclenchent le zoom) */
@media (max-width: 767px) {
  .form-input, .form-select, .form-textarea, .search-input { font-size: 16px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .section-title { font-size: 1.6rem; }
  .hero-stats { gap: 0.75rem; }
}

/* Très petits écrans (< 380px) */
@media (max-width: 379px) {
  .hero h1 { font-size: 1.7rem; }
  .logo-sub, .footer-brand-sub { display: none; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}

/* Tablette / iPad portrait : grilles à 2 colonnes lisibles */
@media (min-width: 640px) and (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Écrans tactiles : neutralise les effets hover “collants” */
@media (hover: none) {
  .car-card:hover, .adv-card:hover, .svc-card:hover, .blog-card:hover, .contact-card:hover { transform: none; }
  .tilt { transform: none !important; }
}

/* ==========================================================================
   FIX + GALERIE VÉHICULE + SHOWCASE 3D (ajouts v2.2)
   ========================================================================== */

/* Filet de sécurité : une icône inline sans contexte de taille ne doit JAMAIS
   s'afficher en grand (corrige l'icône « tag » géante de la fiche véhicule). */
p svg, li svg, strong svg, em svg, label svg, .section-subtitle svg {
  width: 1em; height: 1em; vertical-align: -0.15em; flex-shrink: 0;
}

/* ---------- Slider / galerie photos véhicule ---------- */
.veh-gallery { position: relative; }
.veh-stage {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); background: var(--blue-50); aspect-ratio: 16 / 10;
  touch-action: pan-y;
}
.veh-stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.veh-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgba(255,255,255,0.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--navy); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: all var(--transition); z-index: 2;
}
.veh-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.veh-nav.prev { left: 0.75rem; }
.veh-nav.next { right: 0.75rem; }
.veh-nav svg { width: 1.25rem; height: 1.25rem; }
.veh-count {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
  background: rgba(10,30,63,0.7); color: #fff; font-size: 0.75rem; font-weight: 600;
  padding: 0.25rem 0.6rem; border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.veh-dots { position: absolute; bottom: 0.75rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.4rem; z-index: 2; }
.veh-dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: rgba(255,255,255,0.55); transition: all var(--transition); cursor: pointer; border: 0; }
.veh-dot.active { width: 1.4rem; background: var(--or); }
.veh-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.veh-thumbs a { width: 5rem; height: 3.5rem; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; transition: border-color var(--transition); }
.veh-thumbs a.active, .veh-thumbs a:hover, .veh-thumbs a:focus-visible { border-color: var(--or); }
.veh-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Showcase 3D (carte réservation) ---------- */
.veh-showcase {
  position: relative; height: 160px; border-radius: var(--radius); overflow: hidden;
  margin: 1rem 0 1.25rem; border: 1px solid var(--blue-100);
  background: radial-gradient(circle at 50% 35%, #14294f 0%, #0a1e3f 70%);
}
.veh-showcase #vehShowcase { position: absolute; inset: 0; z-index: 1; }
.veh-showcase canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.veh-showcase .sc-label {
  position: absolute; bottom: 0.5rem; left: 0; right: 0; text-align: center; z-index: 2;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(245,183,26,0.85); pointer-events: none;
}
.veh-showcase .sc-glow { position: absolute; width: 10rem; height: 10rem; border-radius: 50%; background: rgba(245,183,26,0.12); filter: blur(45px); left: 50%; top: 40%; transform: translate(-50%,-50%); }

/* Tarif semaine : pastille propre (remplace l'ancienne ligne à icône) */
.tarif-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--yellow-50); color: var(--yellow-700);
  border: 1px solid var(--yellow-200); border-radius: 999px;
  padding: 0.4rem 0.9rem; font-size: 0.85rem; font-weight: 600;
}
.tarif-pill svg { width: 1rem; height: 1rem; }

/* ==========================================================================
   HEADER RESPONSIVE — correction du débordement mobile/tablette (v2.3)
   ========================================================================== */
/* Le bouton « Espace client » est déjà dans le menu latéral : on le retire de
   la barre en dessous du desktop pour libérer la place et éviter le débordement. */
@media (max-width: 1023px) {
  .header-espace { display: none; }
}
@media (max-width: 639px) {
  .logo-sub { display: none; }                 /* sous-titre masqué (trop long) */
  .logo-title { font-size: 1rem; }
  .header-inner { padding-right: 0.75rem; }
  .header-actions { gap: 0.5rem; }
  .header-actions .btn-sm { padding: 0.55rem 0.9rem; }
}
/* Très petits écrans : « Réserver » devient une pastille icône seule */
@media (max-width: 360px) {
  .header-reserver .btn-label { display: none; }
  .header-reserver { padding: 0.55rem 0.7rem; }
  .header-inner { padding-left: 4.25rem; }
}

/* ---------- Préférence : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .sidebar-nav li, .sidebar-contact { opacity: 1 !important; transform: none !important; }
  .hero-canvas { display: none !important; }
  .marquee-track { animation: none !important; }
  .site-header.header-hidden { transform: none !important; }
  .scroll-progress { display: none !important; }
}
