/*
===============================================
  MADAUTO - MODERN CSS ARCHITECTURE
  Version: 2.0
  Author: Cascade AI
  Description: Professional CSS with clean design
  Palette: #E12615 (Rouge), #0F6AB3 (Bleu)
  Font: NouvelR
===============================================
*/

/* ===================================
   FONT FACE DECLARATIONS - NouvelR
   =================================== */

@font-face {
  font-family: 'NouvelR';
  src: url('../fonts/NouvelRLight.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NouvelR';
  src: url('../fonts/NouvelRBook.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NouvelR';
  src: url('../fonts/NouvelRRegular.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NouvelR';
  src: url('../fonts/NouvelRSemibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NouvelR';
  src: url('../fonts/NouvelRBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NouvelR';
  src: url('../fonts/NouvelRExtrabold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ===================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   =================================== */
:root {
  /* === Brand Colors === */
  --primary-red: #E12615;
  --primary-blue: #0F6AB3;
  --secondary-red: #C41E3A;
  --secondary-blue: #1E3A8A;
  
  /* === Neutral Colors === */
  --white: #FFFFFF;
  --black: #000000;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  /* === Semantic Colors === */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  
  /* === Typography === */
  --font-family-primary: 'NouvelR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-secondary: 'NouvelR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Font Sizes */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* === Spacing Scale === */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  
  /* === Border Radius === */
  --radius-none: 0;
  --radius-sm: 0;   
  --radius-base: 0;  
  --radius-md: 0;   
  --radius-lg: 0;      
  --radius-xl: 0;    
  --radius-full: 0;
  
  /* === Shadows === */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  /* === Transitions === */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  
  /* === Z-Index Scale === */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  
  /* === Container Widths === */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */

/* Modern CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Éliminer le flash blanc lors du chargement */
  
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--gray-900);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Transition douce du fond sombre vers le fond normal */
 
}

/* ===================================
   TYPOGRAPHY SYSTEM
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--gray-900);
  margin-bottom: var(--space-3); /* Réduit de var(--space-4) */
}

h1 { font-size: var(--font-size-5xl); font-weight: var(--font-weight-bold); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
  margin-bottom: var(--space-3); /* Réduit de var(--space-4) */
  color: var(--gray-700);
  line-height: var(--line-height-relaxed);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-red);
}

a:focus {
  outline: 2px solid var(--primary-red);
  outline-offset: 2px;
}

/* ===================================
   LAYOUT SYSTEM
   =================================== */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 640px) {
  .container { padding: 0 var(--space-6); }
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--space-8); }
}

.section {
  padding: var(--space-20) 0;
}

.section-sm {
  padding: var(--space-12) 0;
}

.section-lg {
  padding: var(--space-24) 0;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

/* Spacing Utilities */
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-red); }
.text-secondary { color: var(--primary-blue); }
.text-muted { color: var(--gray-500); }

/* ===================================
   GLOBAL BUTTON BORDER-RADIUS OVERRIDE
   =================================== */

/* Force tous les boutons à avoir des coins carrés */
button,
.btn,
input[type="button"],
input[type="submit"],
input[type="reset"],
.button,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-success,
.btn-warning,
.btn-danger,
.btn-info,
.btn-light,
.btn-dark,
.btn-link,
a.btn,
span.btn {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  -ms-border-radius: 0 !important;
  -o-border-radius: 0 !important;
}

/* ===================================
   COMPONENT SYSTEM - BUTTONS
   =================================== */

.btn {
  /* Layout */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  
  /* Spacing */
  padding: var(--space-3) var(--space-6);
  
  /* Typography */
  font-family: var(--font-family-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  
  /* Appearance */
  border: 2px solid transparent;
  border-radius: 0 !important;
  cursor: pointer;
  
  /* Animation */
  transition: var(--transition-fast);
  
  /* States */
  user-select: none;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 38, 21, 0.2);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Button Variants */
.btn-primary {
  background: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
}

.btn-primary:hover {
  background: var(--secondary-red);
  border-color: var(--secondary-red);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--secondary-blue);
  border-color: var(--secondary-blue);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary-red);
  border-color: var(--primary-red);
}

.btn-outline:hover {
  background: var(--primary-red);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

/* ===================================
   COMPONENT SYSTEM - CARDS
   =================================== */

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-base);
  padding: var(--space-5); /* Réduit de var(--space-6) */
  transition: var(--transition-base);
  border: 1px solid var(--gray-200);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-header {
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--gray-200);
}

.card-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}

.card-description {
  color: var(--gray-600);
  font-size: var(--font-size-sm);
}

/* ===================================
   LAYOUT COMPONENTS - HEADER
   =================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition-base);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0; /* Suppression du padding vertical pour centrage parfait */
  min-height: 80px;
  height: 80px;
  box-sizing: border-box;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-shrink: 0;
  margin-right: var(--space-8);
  margin-left: calc(-1 * var(--space-8)); /* Décaler encore plus vers la gauche */
  height: 100%;
}

.logo:hover {
  transform: scale(1.02);
}

.logo img,
.logo-img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

/* === RESPONSIVE DESIGN COMPLET === */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
  
  .logo img,
  .logo-img {
    height: 32px;
    max-width: 140px;
  }
}

/* Desktop (1200px - 1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Laptop (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .logo img,
  .logo-img {
    height: 30px;
    max-width: 130px;
  }
  
  .logo {
    margin-left: calc(-1 * var(--space-6));
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 var(--space-4);
  }
  
  .logo img,
  .logo-img {
    height: 26px;
    max-width: 110px;
  }
  
  .logo {
    margin-right: var(--space-4);
    margin-left: calc(-1 * var(--space-4));
  }
  
  .header-content {
    padding: var(--space-3) 0;
    min-height: 70px;
  }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  .container {
    max-width: 540px;
    padding: 0 var(--space-3);
  }
  
  .logo img,
  .logo-img {
    height: 24px;
    max-width: 100px;
  }
  
  .logo {
    margin-right: var(--space-2);
    margin-left: calc(-1 * var(--space-3));
  }
  
  .header-content {
    padding: var(--space-2) 0;
    min-height: 60px;
  }
}

/* Mobile Small (320px - 575px) */
@media (max-width: 575px) {
  .container {
    width: 100%;
    padding: 0 var(--space-2);
  }
  
  .logo img,
  .logo-img {
    height: 22px;
    max-width: 90px;
  }
  
  .logo {
    margin-right: var(--space-1);
    margin-left: calc(-1 * var(--space-2));
  }
  
  .header-content {
    padding: var(--space-2) 0;
    min-height: 55px;
  }
}

/* === RESPONSIVE TYPOGRAPHY === */
@media (max-width: 991px) {
  h1 { font-size: var(--font-size-4xl); }
  h2 { font-size: var(--font-size-3xl); }
  h3 { font-size: var(--font-size-2xl); }
  
  .hero-title {
    font-size: var(--font-size-4xl);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
}

@media (max-width: 767px) {
  h1 { font-size: var(--font-size-3xl); }
  h2 { font-size: var(--font-size-2xl); }
  h3 { font-size: var(--font-size-xl); }
  
  .hero-title {
    font-size: var(--font-size-3xl);
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-base);
  }
}

@media (max-width: 575px) {
  h1 { font-size: var(--font-size-2xl); }
  h2 { font-size: var(--font-size-xl); }
  h3 { font-size: var(--font-size-lg); }
  
  .hero-title {
    font-size: var(--font-size-2xl);
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-sm);
  }
}

/* === RESPONSIVE GRID SYSTEM === */
@media (max-width: 991px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .grid-6 {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* === RESPONSIVE BUTTONS === */
@media (max-width: 767px) {
  .btn {
    padding: 0.625rem 1.5rem;
    font-size: var(--font-size-sm);
  }
  
  .btn-lg {
    padding: 0.75rem 2rem;
    font-size: var(--font-size-base);
  }
}

@media (max-width: 575px) {
  .btn {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-xs);
    width: 100%;
    justify-content: center;
  }
  
  .btn-lg {
    padding: 0.625rem 1.5rem;
    font-size: var(--font-size-sm);
  }
}

/* === RESPONSIVE CARDS === */
@media (max-width: 767px) {
  .card {
    padding: var(--space-4);
    margin-bottom: var(--space-4);
  }
}

@media (max-width: 575px) {
  .card {
    padding: var(--space-3);
    margin-bottom: var(--space-3);
  }
}

/* === RESPONSIVE SECTIONS - COMPACTÉES === */
.section {
  padding: var(--space-16) 0; /* Réduit de var(--space-20) */
}

.section-sm {
  padding: var(--space-8) 0; /* Réduit de var(--space-12) */
}

.section-lg {
  padding: var(--space-20) 0; /* Réduit de var(--space-24) */
}

@media (max-width: 991px) {
  .section {
    padding: var(--space-10) 0; /* Réduit de var(--space-12) */
  }
  
  .section-sm {
    padding: var(--space-6) 0;
  }
  
  .section-lg {
    padding: var(--space-16) 0;
  }
}

@media (max-width: 767px) {
  .section {
    padding: var(--space-6) 0; /* Réduit de var(--space-8) */
  }
  
  .section-sm {
    padding: var(--space-4) 0;
  }
  
  .section-lg {
    padding: var(--space-10) 0;
  }
}

@media (max-width: 575px) {
  .section {
    padding: var(--space-4) 0; /* Réduit de var(--space-6) */
  }
  
  .section-sm {
    padding: var(--space-3) 0;
  }
  
  .section-lg {
    padding: var(--space-8) 0;
  }
}

/* === RESPONSIVE NAVIGATION === */
@media (max-width: 991px) {
  .nav-menu {
    gap: var(--space-1);
    height: 80px; /* Maintenir la hauteur du header */
  }
  
  .nav-link {
    padding: var(--space-3) var(--space-2); /* Padding vertical maintenu */
    font-size: var(--font-size-sm);
    height: 56px; /* Hauteur adaptée pour tablette */
    min-height: 56px;
  }
  
  /* Indicateurs responsive pour tablette */
  .nav-link.active::after {
    height: 2px; /* Plus fin sur tablette */
    width: 70%;
  }
  
  .nav-link:hover:not(.active)::after {
    height: 1px;
    width: 50%;
  }
  
  .dropdown-menu {
    min-width: 200px;
  }
}

@media (max-width: 767px) {
  .nav-menu {
    display: flex !important; /* Visible mais hors écran avec transform */
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 80px) !important;
    background: white !important;
    flex-direction: column !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
    z-index: 1000 !important;
  }
  
  .nav-menu.active {
    transform: translateX(0) !important;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}

/* === RESPONSIVE HERO SECTION === */
@media (max-width: 991px) {
  .hero {
    min-height: 60vh;
    padding: var(--space-8) 0;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 50vh;
    padding: var(--space-6) 0;
  }
  
  .hero-content {
    text-align: center;
  }
}

@media (max-width: 575px) {
  .hero {
    min-height: 40vh;
    padding: var(--space-4) 0;
  }
}

/* === RESPONSIVE SIDEBAR === */
@media (max-width: 1199px) {
  .hero-sidebar {
    right: 60px;
  }
}

@media (max-width: 991px) {
  .hero-sidebar {
    right: 40px;
  }
  
  .hero-sidebar-link {
    width: 45px;
    height: 45px;
  }
  
  .hero-sidebar-icon {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 767px) {
  .hero-sidebar {
    right: 20px;
    gap: 8px;
  }
  
  .hero-sidebar-link {
    width: 40px;
    height: 40px;
  }
  
  .hero-sidebar-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 575px) {
  .hero-sidebar {
    right: 15px;
    gap: 6px;
  }
  
  .hero-sidebar-link {
    width: 35px;
    height: 35px;
  }
  
  .hero-sidebar-icon {
    width: 35px;
    height: 35px;
  }
}

/* === RESPONSIVE FOOTER === */
@media (max-width: 991px) {
  .footer {
    padding: var(--space-8) 0 var(--space-6);
  }
}

@media (max-width: 767px) {
  .footer {
    padding: var(--space-6) 0 var(--space-4);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    text-align: center;
  }
}

@media (max-width: 575px) {
  .footer {
    padding: var(--space-4) 0 var(--space-3);
  }
  
  .footer-content {
    gap: var(--space-4);
  }
}

/* === RESPONSIVE IMAGES === */
@media (max-width: 767px) {
  img {
    max-width: 100%;
    height: auto;
  }
  
  .hero-image,
  .section-image {
    width: 100%;
    object-fit: contain; /* éviter la coupe sur mobile */
  }
}

/* === RESPONSIVE FORMS === */
@media (max-width: 767px) {
  .form-group {
    margin-bottom: var(--space-4);
  }
  
  .form-control {
    padding: var(--space-3);
    font-size: var(--font-size-base);
  }
}

@media (max-width: 575px) {
  .form-control {
    padding: var(--space-2);
    font-size: var(--font-size-sm);
  }
}

.logo-text {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  letter-spacing: -0.5px;
}

.logo-mad {
  color: var(--primary-red);
}

.logo-auto {
  color: var(--primary-blue);
}

/* ===================================
   NAVIGATION MENU STYLES
   =================================== */

.nav-menu {
  display: flex !important;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 15px;
  padding: 0;
  gap: var(--space-2);
  height: 80px; /* Hauteur fixe pour correspondre au header */
  min-height: 80px;
  position: static !important; /* S'assurer qu'il n'est pas fixed sur desktop */
  transform: none !important; /* Pas de transform sur desktop */
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-3); /* Augmentation du padding vertical */
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-base);
  transition: var(--transition-fast);
  white-space: nowrap;
  height: 20px; /* Hauteur augmentée pour meilleur centrage */
  min-height: 45px;
  line-height: 1; /* Ligne de base pour centrage parfait */
  position: relative; /* Nécessaire pour les indicateurs */
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-red);
  background: rgba(225, 38, 21, 0.1);
  transform: translateY(-1px);
}

/* === INDICATEURS DE NAVIGATION ACTIVE === */

/* Indicateur ligne en bas pour page active */
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), #ff4757);
  border-radius: 2px;
  animation: slideInIndicator 0.3s ease-out;
}

/* Indicateur au hover (plus subtil) */
.nav-link:hover:not(.active)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: rgba(225, 38, 21, 0.6);
  border-radius: 2px;
  animation: slideInHover 0.2s ease-out;
}

/* Animation d'apparition des indicateurs */
@keyframes slideInIndicator {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 80%;
    opacity: 1;
  }
}

@keyframes slideInHover {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 60%;
    opacity: 1;
  }
}

/* Point indicateur pour les dropdowns avec sous-menu actif */
.nav-item.dropdown.has-active > .nav-link::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  background: var(--primary-red);
  border-radius: 50%;
  animation: pulseIndicator 2s infinite;
}

/* Animation pulsation pour dropdown actif */
@keyframes pulseIndicator {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

/* === INDICATEURS SUPPLÉMENTAIRES === */

/* Badge de notification pour nouveautés */
.nav-link .badge-new {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ff4757;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: bold;
  animation: bounceIn 0.5s ease-out;
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Indicateur de sous-menu actif dans dropdown */
.dropdown-item.active {
  background: rgba(225, 38, 21, 0.1);
  color: var(--primary-red);
  font-weight: 600;
  position: relative;
}

.dropdown-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-red);
  border-radius: 0 2px 2px 0;
}

/* Effet de progression pour navigation */
.nav-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-red), #ff4757);
  transition: width 0.3s ease;
  border-radius: 1px;
}

/* Indicateur de chargement */
.nav-link.loading::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
  animation: loadingSlide 1s infinite;
}

@keyframes loadingSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.nav-link i {
  font-size: var(--font-size-xs);
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  vertical-align: middle;
}

/* Dropdown Navigation */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: var(--z-dropdown);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-base);
  padding: var(--space-2);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-base);
  transition: var(--transition-fast);
  font-size: var(--font-size-sm);
}

.dropdown-item:hover {
  background: var(--gray-100);
  color: var(--primary-red);
  transform: translateX(4px);
}

.dropdown-item i {
  color: var(--primary-blue);
  transition: var(--transition-fast);
}

.dropdown-item:hover i {
  color: var(--primary-red);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  background: none;
  border: none;
  border-radius: var(--radius-base);
  font-size: var(--font-size-lg);
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background: rgba(225, 38, 21, 0.1);
  color: var(--primary-red);
  transform: scale(1.1);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

/* ===================================
   PAGE SECTIONS
   =================================== */

/* Hero Section */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Retire le dégradé pour laisser l'image de fond visible */
  background: var(--gray-100);
  color: var(--white);
  padding: var(--space-24) 0 var(--space-16);
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

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

.hero h1 {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--space-6);
  color: var(--white);
  line-height: var(--line-height-tight);
}

.hero p {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-8);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--line-height-relaxed);
}

.hero .btn {
  margin: 0 var(--space-2);
}

/* Section Title Component */
.section-title {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-title h2 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 0;
}

.section-title p {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  background: var(--gray-50);
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-base);
  transition: var(--transition-base);
  border: 1px solid var(--gray-200);
  height: 100%;
  min-height: 450px;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Zone de contenu principal (image + texte) */
.service-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Zone de texte avec espacement professionnel */
.service-content {
  padding: var(--space-8) var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Zone du bouton fixe en bas */
.service-card-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

/* Hiérarchie typographique des cartes service */
.service-card h3,
.service-content h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-6);
  line-height: var(--line-height-tight);
  text-align: center;
}

.service-card p,
.service-content p {
  color: var(--gray-600);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
  text-align: center;
  font-weight: var(--font-weight-normal);
}

/* Boutons fixes en bas des cartes */
.service-card .btn {
  margin-top: auto;
  align-self: center;
  width: auto;
  min-width: 140px;
}

/* Alternative : utiliser une grille CSS pour un alignement parfait */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  align-items: stretch;
}

.services-grid .service-card {
  display: grid;
  grid-template-rows: 220px 1fr auto;
  gap: 0;
  padding: 0;
  min-height: 520px;
}

.services-grid .service-card .image-overlay {
  grid-row: 1;
}

.services-grid .service-card .service-content {
  grid-row: 2;
  padding: var(--space-10) var(--space-8) var(--space-8) var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 200px;
}

/* Espacement spécifique pour la hiérarchie */
.services-grid .service-card h3 {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--gray-100);
}

.services-grid .service-card p {
  margin-top: var(--space-4);
  padding: 0 var(--space-2);
}

.services-grid .service-card .btn {
  grid-row: 3;
  margin: var(--space-8) var(--space-6) var(--space-10) var(--space-6);
  justify-self: center;
  align-self: center;
  min-width: 160px;
}

.service-image {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  margin-bottom: 0;
  transition: var(--transition-base);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: bicubic;
}

.image-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
}

.services-grid .image-overlay {
  border-radius: var(--radius-base) var(--radius-base) 0 0;
}

/* Effet de zoom au survol des images */
.service-card:hover .service-image {
  transform: scale(1.1);
}

.card.service-card:hover .service-image {
  transform: scale(1.1);
}

/* Effet d'overlay au survol */
.service-card:hover .image-overlay::after,
.card.service-card:hover .image-overlay::after {
  opacity: 0.3;
}

/* Overlay avec gradient MADAUTO */
.image-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: var(--transition-base);
  pointer-events: none;
}


/* ===================================
   PAGES STYLES (Contact, About, etc.)
   =================================== */

/* Contact Page Styles */
.schedule {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--gray-200);
}

.schedule-item:last-child {
  border-bottom: none;
}

.day {
  font-weight: var(--font-weight-medium);
  color: var(--gray-700);
}

.time {
  font-weight: var(--font-weight-semibold);
  color: var(--primary-red);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-weight: var(--font-weight-medium);
  color: var(--gray-700);
  font-size: var(--font-size-sm);
}

.map-container {
  margin-top: var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* About Page Styles */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.stat-item {
  text-align: center;
  padding: var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius-base);
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-red);
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  margin-top: var(--space-1);
}

.brand-card {
  text-align: center;
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
}

.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.brand-logo {
  width: 80px;
  height: 60px;
  object-fit: contain;
  margin-bottom: var(--space-3);
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: 0;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
}

.list-check li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-2);
  color: var(--gray-700);
}

.list-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-weight: var(--font-weight-bold);
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-red);
  color: var(--white);
  border-radius: 50% !important;
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

/* Utility Classes */
.lead {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--gray-700);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
}

.w-full {
  width: 100%;
}

.mr-2 {
  margin-right: var(--space-2);
}

.mr-3 {
  margin-right: var(--space-3);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

.items-center {
  align-items: center;
}

/* ===================================
   FOOTER SECTION
   =================================== */

.footer {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: var(--space-16) 0 0;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-8);
}

.footer-section h4 {
  color: var(--primary-red);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  position: relative;
  padding-bottom: var(--space-2);
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-red);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  color: var(--gray-600);
  font-size: var(--font-size-sm);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) 0;
  transition: var(--transition-fast);
  position: relative;
  font-weight: 400;
}

.footer-links a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition-fast);
  color: var(--primary-red);
}

.footer-links a:hover {
  color: var(--primary-red);
  padding-left: var(--space-4);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  position: relative;
  left: 0;
  right: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: var(--gray-700);
  border-top: 1px solid var(--gray-600);
  padding: var(--space-4) 0;
  font-size: var(--font-size-sm);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-bottom-links a {
  color: var(--gray-200);
  font-size: var(--font-size-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
  font-weight: 500;
}

.footer-bottom-links a:hover {
  color: var(--primary-red);
}

.footer-bottom-links span {
  color: var(--gray-400);
  font-weight: 300;
  margin: 0 var(--space-1);
}

.footer-bottom-content p {
  color: var(--gray-200);
  font-weight: 500;
  margin: 0;
  text-align: left;
  flex: 1;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: flex !important;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 80px) !important;
    background: var(--white) !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: var(--space-4) 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease !important;
    z-index: 1000 !important;
    display: flex !important;
    transform: translateX(-100%) !important;
  }
  
  .nav-menu.active {
    transform: translateX(0) !important;
  }
  
  .nav-item {
    width: 100% !important;
    margin: 0 !important;
  }
  
  .nav-link {
    padding: var(--space-3) var(--space-4) !important;
    border-bottom: 1px solid var(--gray-200) !important;
    justify-content: space-between !important;
  }
  
  .dropdown-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    background: var(--gray-50) !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }
  
  .dropdown-menu.show {
    display: block !important;
  }
  
  .dropdown-item {
    padding: var(--space-2) var(--space-6) !important;
    border-bottom: 1px solid var(--gray-200) !important;
  }
  
  /* Styles pour tablettes */
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    font-size: var(--font-size-base);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--gray-50);
    margin-top: var(--space-2);
  }
  
  /* Mobile Hero */
  .hero {
    margin-top: 80px;
    padding: var(--space-16) 0 var(--space-12);
    text-align: center;
  }
  
  .hero h1 {
    font-size: var(--font-size-3xl);
  }
  
  .hero p {
    font-size: var(--font-size-base);
  }
  
  .hero .btn {
    display: block;
    margin: var(--space-2) auto;
    width: fit-content;
  }
  
  /* Mobile Sections */
  .section {
    padding: var(--space-12) 0;
  }
  
  .section-title h2 {
    font-size: var(--font-size-3xl);
  }
  
  .section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Mobile Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
  
  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    padding: 0 var(--space-4);
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
  
  .footer-bottom {
    padding: var(--space-4) 0;
  }
}

/* ===================================
   ADDITIONAL COMPONENTS
   =================================== */

/* Form Styles */
.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-base);
  font-size: var(--font-size-sm);
  font-family: var(--font-family-primary);
  transition: var(--transition-fast);
  background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(225, 38, 21, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-red);
  color: var(--white);
  border-radius: 50% !important;
  transition: var(--transition-fast);
  font-size: var(--font-size-lg);
}

.social-link:hover {
  background: var(--secondary-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gray-600);
  font-size: var(--font-size-sm);
  font-weight: 400;
}

.contact-item i {
  color: var(--primary-blue);
  width: 20px;
  text-align: center;
  font-size: var(--font-size-base);
}

.contact-item a {
  color: var(--gray-700);
  transition: var(--transition-fast);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--primary-red);
}

/* Business Hours */
.business-hours {
  margin-top: var(--space-6);
}

.business-hours h5 {
  color: var(--primary-blue);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.business-hours p {
  color: var(--gray-600);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-2);
  font-weight: 400;
  line-height: var(--line-height-relaxed);
}

/* Footer Form */
.footer-form {
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-400);
  box-shadow: var(--shadow-md);
}

.footer-form .form-group {
  margin-bottom: var(--space-4);
}

.footer-form .form-input,
.footer-form .form-textarea {
  background: var(--gray-50) !important;
  border: 3px solid var(--gray-500) !important;
  color: var(--gray-900) !important;
  font-weight: 500;
  box-shadow: var(--shadow-md) !important;
  min-height: 45px;
}

/* Styles spécifiques pour s'assurer de la visibilité */
form.footer-form input[type="text"],
form.footer-form input[type="email"],
form.footer-form textarea {
  background: #F9FAFB !important;
  border: 3px solid #6B7280 !important;
  color: #111827 !important;
  padding: 12px 16px !important;
  border-radius: 0 !important;
  font-size: 14px !important;
}

.footer-form .form-input::placeholder,
.footer-form .form-textarea::placeholder {
  color: var(--gray-600) !important;
  font-weight: 400;
}

/* Placeholders spécifiques */
form.footer-form input::placeholder,
form.footer-form textarea::placeholder {
  color: #4B5563 !important;
  opacity: 1 !important;
}

.footer-form .form-input:focus,
.footer-form .form-textarea:focus {
  background: var(--white) !important;
  border-color: var(--primary-red) !important;
  box-shadow: 0 0 0 3px rgba(225, 38, 21, 0.3), var(--shadow-lg) !important;
  outline: none !important;
  transform: translateY(-1px);
}

/* Focus spécifiques */
form.footer-form input:focus,
form.footer-form textarea:focus {
  background: #FFFFFF !important;
  border-color: #E12615 !important;
  box-shadow: 0 0 0 4px rgba(225, 38, 21, 0.4) !important;
}

/*
===============================================
  END OF MADAUTO CSS ARCHITECTURE
  Total lines: ~1100
  Organized, maintainable, and scalable
===============================================
*/

/* ===================================
   FORCE SHARP CORNERS EVERYWHERE
   =================================== */

/* Force all elements to have sharp corners */
* {
  border-radius: 0 !important;
}

/* ===================================
   IMAGES, BANNERS & CAROUSELS - SHARP CORNERS
   =================================== */

/* All images - sharp corners */
img, 
.image, 
.banner, 
.hero-image,
.slide,
.carousel-item,
.swiper-slide,
.gallery-item,
.thumbnail,
.avatar,
.logo img,
.brand-logo img,
.partner-logo img,
.service-image,
.product-image,
.vehicle-image,
.feature-image {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}

/* Image containers and overlays */
.image-container,
.image-wrapper,
.image-overlay,
.banner-container,
.hero-banner,
.slide-container,
.carousel-container,
.swiper-container,
.gallery-container,
.thumbnail-container,
.media-container {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  overflow: hidden;
}

/* Carousel and slider elements */
.carousel,
.slider,
.swiper,
.owl-carousel,
.slick-slider,
.glide,
.splide,
.keen-slider {
  border-radius: 0 !important;
}

.carousel .carousel-inner,
.carousel .carousel-item,
.slider .slide,
.swiper .swiper-wrapper,
.swiper .swiper-slide,
.owl-carousel .owl-item,
.slick-slider .slick-slide {
  border-radius: 0 !important;
}

/* Banner and hero sections */
.banner,
.hero,
.hero-section,
.banner-section,
.jumbotron,
.masthead {
  border-radius: 0 !important;
}

.banner img,
.hero img,
.hero-section img,
.banner-section img,
.jumbotron img,
.masthead img {
  border-radius: 0 !important;
}

/* Bootstrap and framework overrides */
.card-img,
.card-img-top,
.card-img-bottom,
.img-thumbnail,
.figure-img,
.carousel-item img,
.carousel-inner img,
.modal-content img,
.popover img,
.tooltip img {
  border-radius: 0 !important;
}

/* Media queries and responsive images */
@media (max-width: 768px) {
  img, 
  .image, 
  .banner, 
  .hero-image,
  .slide,
  .carousel-item,
  .swiper-slide,
  .gallery-item,
  .thumbnail,
  .service-image,
  .product-image,
  .vehicle-image {
    border-radius: 0 !important;
  }
}

/* Lightbox and modal images */
.lightbox img,
.modal img,
.popup img,
.overlay img,
.fancybox img,
.photoswipe img {
  border-radius: 0 !important;
}

/* Video elements */
video,
.video,
.video-container,
iframe,
embed,
object {
  border-radius: 0 !important;
}

/* Site-specific image classes */
.zoom,
.service-image,
.product-image,
.vehicle-image,
.brand-image,
.logo-image,
.cta-image,
.feature-image,
.gallery-image,
.portfolio-image {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}

/* Hover and transform effects - keep sharp corners */
.zoom:hover,
.service-image:hover,
.product-image:hover,
.vehicle-image:hover {
  border-radius: 0 !important;
  transform: scale(1.05);
}

/* Image overlays and containers used in the site */
.image-overlay,
.service-card .image-overlay,
.product-card .image-overlay,
.vehicle-card .image-overlay {
  border-radius: 0 !important;
  overflow: hidden;
}

/* Ensure all img tags have sharp corners regardless of parent */
img[src*=".jpg"],
img[src*=".jpeg"], 
img[src*=".png"],
img[src*=".gif"],
img[src*=".webp"],
img[src*=".svg"] {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}

/* Navigation and header images */
.header img,
.nav img,
.navbar img,
.logo img,
.brand img {
  border-radius: 0 !important;
}

/* Footer images */
.footer img,
.footer-section img {
  border-radius: 0 !important;
}

/* Card and section images */
.card img,
.section img,
.container img,
.row img,
.col img {
  border-radius: 0 !important;
}

/* Responsive image classes */
.img-responsive,
.img-fluid,
.responsive-image {
  border-radius: 0 !important;
}

/* Background images - ensure containers are sharp */
.bg-image,
.background-image,
.hero-bg,
.banner-bg,
.section-bg {
  border-radius: 0 !important;
  background-size: cover;
  background-position: center;
}

/* ===================================
   HERO SECTIONS WITH BACKGROUND IMAGES
   =================================== */

/* Default hero background for pages without specific images */
.hero {
  position: relative;
  background-size: contain !important;
  background-position: center center !important;
  background-attachment: scroll !important;
  background-repeat: no-repeat !important;
  background-color: #f8f9fa !important; /* Fond pour les espaces vides avec contain */
  /* Dimensions fixes pour toutes les sections hero */
  min-height: 65vh !important;
  max-height: 65vh !important;
  height: 65vh !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important; /* Éviter le débordement */
}

/* Ensure hero content is readable over background images */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

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

/* ===================================
   IMPROVED HERO IMAGE VISIBILITY
   =================================== */

/* Better image proportions and visibility */
.hero {
  background-blend-mode: multiply;
}

/* Responsive hero heights for better image display */
@media (min-width: 1200px) {
  .hero {
    min-height: 70vh !important;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 50vh !important;
    background-attachment: scroll !important;
  }
}

/* Specific adjustments for images that need better positioning */
.hero.hero-renault,
.hero.hero-nissan,
.hero.hero-ktm {
  background-position: center 30% !important;
}

.hero.hero-tohatsu,
.hero.hero-sav {
  background-position: center 40% !important;
}

.hero.hero-vehicles,
.hero.hero-home {
  background-position: center 35% !important;
}

/* Lighter overlay for better image visibility */
.hero.hero-renault::before,
.hero.hero-nissan::before,
.hero.hero-ktm::before,
.hero.hero-tohatsu::before {
  background: rgba(0, 0, 0, 0.3) !important;
}

/* Enhanced text contrast */
.hero .hero-content h1 {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9) !important;
  font-weight: 700 !important;
  color: white !important;
}

.hero .hero-content p {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9) !important;
  font-weight: 500 !important;
  color: white !important;
}

.hero .btn {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
  font-weight: 600 !important;
}

/* ===================================
   HERO CAROUSEL STYLES
   =================================== */

/* Section hero avec position relative pour les contrôles */
.hero {
    position: relative;
    overflow: hidden;
}

/* Boutons de navigation du carrousel - Design professionnel */
.hero-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: #E12615;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0.8;
}

/* Positionnement spécifique des boutons */
.hero-carousel-btn.prev {
    left: 30px; /* Repositionné plus à gauche */
}

.hero-carousel-btn.next {
    right: 80px; /* Décalage pour éviter la sidebar */
}

.hero-carousel-btn:hover {
    background: #E12615;
    border-color: #E12615;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(225, 38, 21, 0.4), 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
    box-shadow: 0 4px 15px rgba(225, 38, 21, 0.3);
}

.hero-carousel-btn:focus {
    outline: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(225, 38, 21, 0.3);
}

/* Positionnement des boutons - SUPPRIMÉ (conflit résolu) */

.hero-carousel-next {
    right: 20px;
}

/* Style des boutons de navigation - Design professionnel moderne */
.hero .hero-carousel-btn,
.hero-carousel-btn,
button.hero-carousel-btn {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #E12615 !important;
    border: 2px solid rgba(225, 38, 21, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 4px 15px rgba(225, 38, 21, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

.hero .hero-carousel-btn:hover,
.hero-carousel-btn:hover,
button.hero-carousel-btn:hover {
    background: #E12615 !important;
    color: white !important;
    border-color: #E12615 !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 12px 40px rgba(225, 38, 21, 0.4), 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Animations CSS modernes pour le carrousel hero */
.hero {
    position: relative;
    overflow: hidden;
    transition: none;
}

/* Animation de transition pour les images du carrousel */
.hero-image-transition {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Effet de parallaxe subtil pour les images hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
    pointer-events: none;
}

.hero.transitioning::before {
    opacity: 1;
}

/* Animations fluides pour les changements d'images */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        transform: scale(1.1);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-20%);
        opacity: 0.3;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(20%);
        opacity: 0.3;
    }
}

/* Classes d'animation pour les transitions */
.hero.slide-next-in {
    animation: slideInRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero.slide-prev-in {
    animation: slideInLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero.fade-in {
    animation: fadeInScale 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animation subtile et élégante */
.hero.changing {
    opacity: 0.7;
    transform: scale(1.01);
}

/* Animations hero supprimées pour les pages spécifiées */



/* Styles professionnels pour les images hero */
.hero[style*="background-image"] {
    /* Couvrir toute la section sans espaces blancs */
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    min-height: 60vh !important;
    position: relative;
}

.hero[style*="background-image"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    pointer-events: none;
    z-index: 1;
}

/* Assurer que le contenu reste au-dessus de l'overlay */
.hero .container,
.hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Amélioration de la typographie sur les images */
.hero[style*="background-image"] h1,
.hero[style*="background-image"] h2,
.hero[style*="background-image"] .hero-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-weight: 700;
}

.hero[style*="background-image"] p,
.hero[style*="background-image"] .hero-subtitle {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    color: #f8f9fa;
    font-weight: 500;
}

/* Boutons sur images hero */
.hero[style*="background-image"] .btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
}

/* Optimisations responsives pour les images hero */
@media (max-width: 768px) {
    .hero[style*="background-image"] {
        min-height: 45vh !important;
        background-position: center center !important;
        background-size: cover !important;
    }
    
    /* Images paysage sur mobile - utiliser cover pour remplissage complet */
    .hero[style*="Desktop"],
    .hero[style*="homepage"],
    .hero[style*="banner"],
    .hero[style*="visual"] {
        background-size: cover !important;
        background-position: center center !important;
    }
    
}

/* Styles pour différents types d'images et formats */

/* Images paysage (ratio large) - utiliser cover */
.hero[style*="Desktop"],
.hero[style*="homepage"],
.hero[style*="banner"],
.hero[style*="visual"] {
    background-size: cover !important;
    background-position: center center !important;
    min-height: 60vh !important;
}

/* Images portrait ou carrées - utiliser contain */
.hero[style*="action-image"],
.hero[style*="DUKE"],
.hero[style*="ADVENTURE"] {
    background-size: contain !important;
    background-position: center center !important;
    min-height: 75vh !important;
}

/* Images spécifiques par marque */
.hero[style*="KTM"] {
    background-size: cover !important;
    background-position: center 30% !important;
}

.hero[style*="GASGAS"] {
    background-size: cover !important;
    background-position: center 40% !important;
}

.hero[style*="Renault"] {
    background-size: cover !important;
    background-position: center 25% !important;
}

.hero[style*="Hyundai"],
.hero[style*="Xcient"] {
    background-size: cover !important;
    background-position: center 35% !important;
}

/* Amélioration de la netteté pour les images haute résolution */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero[style*="background-image"] {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
        filter: contrast(1.03) saturate(1.05) brightness(0.99);
    }
}

/* Styles pour le formulaire de contact */
.contact-form {
    position: relative;
}

.form-notification {
    margin-top: 20px;
}

.form-notification .alert {
    border-radius: 8px;
    padding: 15px 20px;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert i {
    margin-right: 8px;
    font-size: 16px;
}

/* Animation spinner pour le bouton seulement */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Bouton de soumission amélioré */
.form-submit {
    margin-top: 25px;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn .fa-spinner {
    animation: spin 1s linear infinite;
}

/* Validation des champs */
.form-control:invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control:valid {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Animation pour les notifications */
.alert {
    animation: slideInDown 0.5s ease-out;
}

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

/* Supprimer seulement les pseudo-éléments avec gradients (sauf pour les images) */
.hero:not([style*="background-image"])::before,
.hero:not([style*="background-image"])::after {
    background: none !important;
    background-image: none !important;
}

/* Classe pour forcer la suppression des gradients */
.hero.no-gradient {
    background: none !important;
}

.hero.no-gradient::before,
.hero.no-gradient::after {
    display: none !important;
}

/* Style pour le logo cliquable */
.logo a {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Préserver les animations de la sidebar et autres éléments */
.hero-sidebar, .hero-sidebar *, 
.sidebar, .sidebar *,
[class*="sidebar"] {
    transition: all 0.3s ease !important;
    animation: unset !important;
}

/* Indicateurs du carrousel - Design épuré */
.hero-carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 1001;
}

.hero-carousel-indicator {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.4) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.hero-carousel-indicator.active {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    transform: scale(1.2) !important;
}

.hero-carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.7) !important;
    transform: scale(1.1) !important;
}

.hero-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.hero-carousel-indicator:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
}

.hero-carousel-indicator.active {
    background: rgba(225, 38, 21, 0.9);
    border-color: rgba(225, 38, 21, 1);
    box-shadow: 0 0 15px rgba(225, 38, 21, 0.5);
}

/* Animations pour l'overlay d'ouverture */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive pour l'overlay d'ouverture */
@media (max-width: 768px) {
    .hero-opening-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-opening-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-opening-btn {
        min-width: 250px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-opening-close {
        top: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-opening-content {
        padding: 1.5rem;
    }
    
    .hero-opening-content h2 {
        font-size: 2rem;
    }
    
    .hero-opening-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-opening-btn {
        min-width: 220px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-opening-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .hero-opening-close i {
        font-size: 1rem;
    }
}

/* Réafficher les sidebars sur tablette et desktop */
@media (min-width: 769px) {
    .hero-sidebar {
        display: flex !important;
    }
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .hero-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        z-index: 10 !important; /* Très bas pour éviter superposition avec texte */
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(5px) !important;
    }
    
    .hero-carousel-prev {
        left: 10px;
        top: 60% !important; /* Plus bas pour éviter le texte */
    }
    
    .hero-carousel-next {
        right: 10px !important;
        top: 60% !important; /* Plus bas pour éviter le texte */
    }
    
    .hero-carousel-indicators {
        bottom: 80px !important; /* Plus haut pour éviter les boutons CTA */
        gap: 8px;
        z-index: 15 !important;
    }
    
    .hero-carousel-indicator {
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, 0.8) !important;
        border: 2px solid rgba(0, 0, 0, 0.3) !important;
    }
    
    /* Masquer la sidebar seulement sur très petits écrans pour éviter les conflits */
    .hero-sidebar {
        display: none !important;
    }
    
    /* Ajuster les textes hero pour éviter la superposition */
    .hero-content {
        z-index: 20 !important;
        position: relative !important;
        padding: 2rem 1rem !important;
        text-align: center !important;
    }
    
    .hero-title {
        margin-bottom: 1rem !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
    }
    
    .hero-subtitle {
        margin-bottom: 2rem !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
    }
    
    /* Boutons CTA du hero */
    .hero .btn {
        z-index: 25 !important;
        position: relative !important;
        margin: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .hero-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .hero-carousel-prev {
        left: 10px;
    }
    
    .hero-carousel-next {
        right: 50px; /* Éviter la sidebar sur très petits écrans */
    }
    
    .hero-carousel-indicators {
        bottom: 15px;
        gap: 6px;
    }
    
    .hero-carousel-indicator {
        width: 8px;
        height: 8px;
    }
}

/* ===================================
   ANIMATIONS DE SLIDE HORIZONTAL
   =================================== */

/* Container pour l'effet de slide */
.hero {
    overflow: hidden;
    position: relative;
}

/* Images du carousel avec effet slide */
.hero-image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

/* Animation slide vers la droite (suivant) */
.hero-image-slide.slide-out-left {
    transform: translateX(-100%);
}

.hero-image-slide.slide-in-right {
    transform: translateX(100%);
}

.hero-image-slide.slide-in-right.active {
    transform: translateX(0);
}

/* Animation slide vers la gauche (précédent) */
.hero-image-slide.slide-out-right {
    transform: translateX(100%);
}

.hero-image-slide.slide-in-left {
    transform: translateX(-100%);
}

.hero-image-slide.slide-in-left.active {
    transform: translateX(0);
}

/* Image active centrée */
.hero-image-slide.active {
    transform: translateX(0);
    z-index: 2;
}

/* Animation d'entrée douce */
.hero-image-slide.fade-in {
    opacity: 0;
    transform: translateX(0) scale(1.05);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-image-slide.fade-in.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Container des images pour le slide */
.hero-images-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Effet de parallax léger pendant la transition */
.hero.transitioning .hero-content {
    transform: translateY(-10px);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero .hero-content {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 10;
}

/* S'assurer que le container et tous les éléments de contenu soient visibles */
.hero .container {
    position: relative;
    z-index: 10;
}

.hero .hero-title,
.hero .hero-subtitle,
.hero .hero-buttons {
    position: relative;
    z-index: 11;
}

/* Optimisation des performances */
.hero-image-slide {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

/* Responsive pour les animations */
@media (max-width: 768px) {
    .hero-image-slide {
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .hero.transitioning .hero-content {
        transform: translateY(-5px);
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-image-slide {
        transition: opacity 0.3s ease;
        transform: translateX(0) !important;
    }
    
    .hero.transitioning .hero-content {
        transform: none;
        transition: none;
    }
}

/* Amélioration de l'accessibilité */
.hero-carousel-btn:focus,
.hero-carousel-indicator:focus {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Styles pour les pages spécifiques */
.hero.hero-renault .hero-carousel-indicator.active {
    background: rgba(255, 215, 0, 0.9);
    border-color: rgba(255, 215, 0, 1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.hero.hero-nissan .hero-carousel-indicator.active {
    background: rgba(195, 0, 47, 0.9);
    border-color: rgba(195, 0, 47, 1);
    box-shadow: 0 0 15px rgba(195, 0, 47, 0.5);
}

.hero.hero-ktm .hero-carousel-indicator.active,
.hero.hero-gasgas .hero-carousel-indicator.active {
    background: rgba(255, 105, 0, 0.9);
    border-color: rgba(255, 105, 0, 1);
    box-shadow: 0 0 15px rgba(255, 105, 0, 0.5);
}

.hero.hero-honda .hero-carousel-indicator.active {
    background: rgba(204, 0, 0, 0.9);
    border-color: rgba(204, 0, 0, 1);
    box-shadow: 0 0 15px rgba(204, 0, 0, 0.5);
}

.hero.hero-hyundai .hero-carousel-indicator.active {
    background: rgba(0, 44, 95, 0.9);
    border-color: rgba(0, 44, 95, 1);
    box-shadow: 0 0 15px rgba(0, 44, 95, 0.5);
}

.hero.hero-cummins .hero-carousel-indicator.active {
    background: rgba(255, 215, 0, 0.9);
    border-color: rgba(255, 215, 0, 1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.hero.hero-fogo .hero-carousel-indicator.active {
    background: rgba(255, 107, 53, 0.9);
    border-color: rgba(255, 107, 53, 1);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.hero.hero-tohatsu .hero-carousel-indicator.active {
    background: rgba(0, 102, 204, 0.9);
    border-color: rgba(0, 102, 204, 1);
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.5);
}

/* ===================================
   HERO OPENING OVERLAY & SIDEBAR NAVIGATION
   =================================== */

/* Overlay d'ouverture avec animation */
.hero-opening-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-opening-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Contenu de l'overlay d'ouverture */
.hero-opening-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 2rem;
}

.hero-opening-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

.hero-opening-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Boutons d'action rapide dans l'overlay */
.hero-opening-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-opening-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 280px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-opening-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-opening-btn i {
    font-size: 1.3rem;
}

.hero-opening-btn.contact-btn:hover {
    background: rgba(225, 38, 21, 0.8);
    border-color: rgba(225, 38, 21, 1);
}

.hero-opening-btn.quote-btn:hover {
    background: rgba(15, 106, 179, 0.8);
    border-color: rgba(15, 106, 179, 1);
}

.hero-opening-btn.test-btn:hover {
    background: rgba(34, 139, 34, 0.8);
    border-color: rgba(34, 139, 34, 1);
}

/* Bouton de fermeture de l'overlay */
.hero-opening-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-opening-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.hero-opening-close i {
    font-size: 1.2rem;
}

/* Conteneur principal de la sidebar */
.hero-sidebar {
    position: absolute;
    top: 50%;
    right: 80px;
    transform: translateY(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-sidebar.visible {
    opacity: 1;
    visibility: visible;
}

/* Items de navigation avec animation d'entrée depuis la droite */
.hero-sidebar-item {
    position: relative;
    transform: translateX(100px) scale(0.8);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--animation-delay, 0s);
}

/* Animations de délai supprimées */

/* Animations de sidebar supprimées */
.hero-sidebar.loaded .hero-sidebar-item {
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Animation de pulsation supprimée */

/* Lien principal avec effet d'ouverture horizontale */
.hero-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.hero-sidebar-item:hover .hero-sidebar-link {
    background: rgba(0, 0, 0, 0.9);
    border-color: var(--item-color, #E12615);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-width: 3px;
    width: 140px;
    padding: 0 10px 0 0;
    justify-content: flex-start;
}

.hero-sidebar-item.pressed .hero-sidebar-link {
    transform: scale(0.95);
}

/* Icône */
.hero-sidebar-icon {
    min-width: 60px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.hero-sidebar-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.hero-sidebar-item:hover .hero-sidebar-icon {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Contenu textuel pour l'expansion - Style uniforme SIMPLIFIÉ */
.hero-sidebar-content {
    opacity: 0;
    transition: all 0.3s ease 0.15s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) translateX(-20px);
    background: rgba(0, 0, 0, 0.95) !important;
    color: white !important;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    min-width: 140px;
}

.hero-sidebar-item:hover .hero-sidebar-content {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%);
}

/* Forcer la couleur blanche sur tous les textes de sidebar */
.hero-sidebar-content,
.hero-sidebar-content *,
.hero-sidebar-title,
.hero-sidebar-subtitle {
    color: white !important;
}

/* .hero-sidebar-text supprimé - tous les textes sont maintenant directement dans .hero-sidebar-content */

.hero-sidebar-title {
    display: block;
    font-family: var(--font-family-primary); /* Utiliser NouvelR */
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: white !important;
}

.hero-sidebar-subtitle {
    display: none;
    font-family: var(--font-family-primary); /* Utiliser NouvelR */
    font-weight: 400;
    font-size: 12px;
}

.hero-sidebar-arrow {
    display: none;
}

/* États des autres items lors du survol */
.hero-sidebar.has-expanded .hero-sidebar-item:not(.expanded) {
    opacity: 0.6;
    transform: translateY(-5px) scale(0.95);
}

.hero-sidebar-item.collapsed {
    opacity: 0.4;
    transform: translateY(-10px) scale(0.9);
}

.hero-sidebar-item.expanded {
    transform: translateY(0) scale(1.02);
    z-index: 10;
}

/* Responsive général */
@media (max-width: 1200px) {
    .hero-sidebar-item:hover .hero-sidebar-link {
        width: 130px;
    }
}

@media (max-width: 992px) {
    .hero-sidebar-link {
        width: 50px;
        height: 50px;
        padding: 10px;
    }
    
    .hero-sidebar-icon {
        min-width: 50px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .hero-sidebar-content {
        font-size: 12px;
        padding: 6px 12px;
        border-radius: 16px;
    }
    
    .hero-sidebar-title {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .hero-sidebar {
        gap: 10px;
    }
    
    .hero-sidebar-link {
        width: 45px;
        height: 45px;
        padding: 8px;
    }
    
    .hero-sidebar-icon {
        min-width: 45px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .hero-sidebar-content {
        font-size: 11px;
        padding: 5px 10px;
        border-radius: 14px;
    }
    
    .hero-sidebar-title {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero-sidebar {
        gap: 8px;
    }
    
    .hero-sidebar-link {
        width: 40px;
        height: 40px;
        padding: 6px;
    }
    
    .hero-sidebar-icon {
        min-width: 40px;
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .hero-sidebar-content {
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 12px;
    }
    
    .hero-sidebar-title {
        font-size: 10px;
    }
    
}

/* Animation de pulsation supprimée pour éviter les distractions visuelles */

/* Amélioration de l'accessibilité */
.hero-sidebar-link:focus {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Effet de brillance supprimé pour éviter les problèmes visuels */

/* Ajustements selon la présence du carrousel */
.hero-sidebar.has-carousel {
    right: 120px;
}

.hero-sidebar.no-carousel {
    right: 80px;
}

/* Responsive pour les ajustements carrousel */
@media (max-width: 1200px) {
    .hero-sidebar.has-carousel {
        right: 100px;
    }
    
    .hero-sidebar.no-carousel {
        right: 60px;
    }
}

@media (max-width: 992px) {
    .hero-sidebar.has-carousel {
        right: 80px;
    }
    
    .hero-sidebar.no-carousel {
        right: 40px;
    }
}

@media (max-width: 768px) {
    .hero-sidebar.has-carousel {
        right: 70px;
    }
    
    .hero-sidebar.no-carousel {
        right: 30px;
    }
}

@media (max-width: 480px) {
    .hero-sidebar.has-carousel {
        right: 60px;
    }
    
    .hero-sidebar.no-carousel {
        right: 20px;
    }
}

/* ULTRA SPECIFIC FORM STYLES - HIGHEST PRIORITY */
body form input[type="text"],
body form input[type="email"], 
body form input[type="tel"],
body form input[type="password"],
body form textarea,
body form select,
body .form-input,
body .form-textarea,
body .contact-form input,
body .contact-form textarea,
body .contact-form select,
html form input,
html form textarea,
html form select {
  background: #F9FAFB !important;
  border: 3px solid #6B7280 !important;
  color: #111827 !important;
  padding: 12px 16px !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  min-height: 45px !important;
  width: 100% !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* Specific overrides for common elements */
input, textarea, select, button, .btn, .form-input, .form-textarea, .card, .nav-link, .dropdown-menu, .dropdown-item, .image-overlay, .service-card, .stat-card, .partner-logo, .brand-item, .footer-form input, .footer-form textarea, .footer-form button, iframe, .map-container iframe, .header, .footer, .hero, .section, .container, .logo, .mobile-menu-toggle, .nav-menu, .nav-item, a, div, span, p, h1, h2, h3, h4, h5, h6 {
border-radius: 0 !important;
}

/* Exception pour la sidebar - garder les coins arrondis */
.hero-sidebar-link {
border-radius: 50px !important;
}

/* === CORRECTION GLOBALE LISIBILITÉ TEXTE === */
/* Forcer le texte noir sur les fonds clairs pour une meilleure lisibilité */

/* Sections avec fond clair - forcer texte noir */
.section:not([style*="background: linear-gradient"]):not([style*="background:#"]):not([style*="background: #"]),
.container:not([style*="background"]),
.intro-text,
.feature-item p,
.more-info-content p,
.about-info p,
.service-description,
.cta-section:not([style*="background: linear-gradient"]) p {
    color: #333 !important;
}

/* Titres sur fond clair */
.section h2:not([style*="color:"]),
.section h3:not([style*="color:"]),
.container h2:not([style*="color:"]),
.container h3:not([style*="color:"]),
.intro-text h2,
.intro-text h3 {
    color: #1a1a1a !important;
}

/* Paragraphes spécifiques problématiques */
.intro-text p,
.feature-item p,
.about-info .more-info-content p,
.section .container p:not([style*="color:"]) {
    color: #444 !important;
}

/* CTA sections avec fond clair */
.cta-section:not([style*="background: linear-gradient"]):not([style*="background:#"]) {
    color: #333 !important;
}

.cta-section:not([style*="background: linear-gradient"]):not([style*="background:#"]) h2,
.cta-section:not([style*="background: linear-gradient"]):not([style*="background:#"]) h3 {
    color: #1a1a1a !important;
}

/* Corrections spécifiques pour les pages Changan */
.page-heading-cs15 h1,
.page-heading-estar h1,
.page-heading-hunter h1,
.more-info.about-info h2,
.more-info.about-info h3,
.more-info.about-info p {
    color: #333 !important;
}

/* Corrections pour Honda Power et autres pages énergie */
.honda-features p,
.honda-features h3:not([style*="color:"]),
.energy-section p,
.energy-section h3:not([style*="color:"]) {
    color: #333 !important;
}

/* Assurer que les textes sur fond blanc/gris clair sont noirs */
[style*="background: #f"]:not([style*="color:"]),
[style*="background: white"]:not([style*="color:"]),
[style*="background: #e"]:not([style*="color:"]),
[style*="background: rgba(248"]:not([style*="color:"]) {
    color: #333 !important;
}

[style*="background: #f"] p:not([style*="color:"]),
[style*="background: white"] p:not([style*="color:"]),
[style*="background: #e"] p:not([style*="color:"]),
[style*="background: rgba(248"] p:not([style*="color:"]) {
    color: #444 !important;
}

/* === CORRECTIONS SPÉCIFIQUES SECTIONS CTA CHANGAN === */
/* Sections avec fond rouge (var(--primary)) - forcer texte blanc visible */
section[style*="background: var(--primary)"],
.section[style*="background: var(--primary)"] {
    background: #E12615 !important;
    color: white !important;
}

section[style*="background: var(--primary)"] h2,
.section[style*="background: var(--primary)"] h2,
section[style*="background: var(--primary)"] h3,
.section[style*="background: var(--primary)"] h3 {
    color: white !important;
}

section[style*="background: var(--primary)"] p,
.section[style*="background: var(--primary)"] p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Corrections spécifiques pour les textes CTA problématiques */
section[style*="background: var(--primary)"] .text-center h2,
.section[style*="background: var(--primary)"] .text-center h2 {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
}

section[style*="background: var(--primary)"] .text-center p,
.section[style*="background: var(--primary)"] .text-center p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Correction des boutons CTA */
.hero-buttons {
display: flex !important;
gap: 1rem !important;
justify-content: center !important;
flex-wrap: wrap !important;
align-items: center !important;
}

.hero-buttons .btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

/* Couleurs par défaut pour les boutons blancs */
.hero-buttons .btn[style*="background: white"],
.hero-buttons .btn[style*="background:white"] {
    color: var(--primary) !important;
}

.hero-buttons .btn[style*="background: white"] i,
.hero-buttons .btn[style*="background:white"] i {
    color: var(--primary) !important;
}

/* Couleurs par défaut pour les boutons transparents */
.hero-buttons .btn[style*="background: transparent"],
.hero-buttons .btn[style*="background:transparent"] {
    color: white !important;
}

.hero-buttons .btn[style*="background: transparent"] i,
.hero-buttons .btn[style*="background:transparent"] i {
    color: white !important;
}

/* Force absolue des couleurs pour tous les boutons CTA */
.hero-buttons .btn {
    color: inherit !important;
}

.hero-buttons .btn i {
    color: inherit !important;
}

/* Styles spécifiques avec !important pour forcer l'affichage */
.hero-buttons a[style*="color: #E12615"] {
    color: #E12615 !important;
}

.hero-buttons a[style*="color: #E12615"] i {
    color: #E12615 !important;
}

.hero-buttons a[style*="color: white"] {
    color: white !important;
}

.hero-buttons a[style*="color: white"] i {
    color: white !important;
}

/* RÈGLES HOVER BOUTONS HERO - UNIFIÉES ET SIMPLIFIÉES */
.hero-buttons .btn:hover,
.hero .btn:hover {
    background: rgba(255, 255, 255, 1) !important;
    color: #E12615 !important;
    border-color: #E12615 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(225, 38, 21, 0.4) !important;
    font-weight: 600 !important;
}

/* Force la couleur des icônes et textes - VISIBLE */
.hero-buttons .btn:hover i,
.hero .btn:hover i {
    color: #E12615 !important;
}

.hero-buttons .btn:hover span,
.hero .btn:hover span {
    color: #E12615 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Styles spécifiques pour chaque type de bouton */
.hero-buttons .btn {
    position: relative !important;
    overflow: hidden !important;
}

/* Bouton blanc - reste lisible au hover */
.hero-buttons .btn[style*="white"]:hover {
    background: #e9ecef !important;
    color: var(--primary) !important;
}

.hero-buttons .btn[style*="white"]:hover i {
    color: var(--primary) !important;
}

/* Bouton transparent - reste lisible au hover */
.hero-buttons .btn[style*="transparent"]:hover {
    background: rgba(255,255,255,0.15) !important;
    color: white !important;
    border-color: rgba(255,255,255,0.8) !important;
}

.hero-buttons .btn[style*="transparent"]:hover i {
    color: white !important;
}

/* Correction générale pour tous les boutons CTA */
.hero-buttons .btn,
.hero-buttons .btn * {
    transition: all 0.3s ease !important;
}

/* Assure la visibilité du texte */
.hero-buttons .btn:hover span,
.hero-buttons .btn:hover {
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 768px) {
.hero-buttons {
flex-direction: column !important;
gap: 0.75rem !important;
}

.hero-buttons .btn {
width: 100% !important;
max-width: 280px !important;
justify-content: center !important;
}
}

/* Additional specific overrides */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="url"], input[type="number"], textarea, select, button[type="submit"], button[type="button"], .contact-form input, .contact-form textarea, .contact-form button {
border-radius: 0 !important;
}

/* ===================================
   CONTACT FORM VISIBILITY FIX
   =================================== */

/* REMOVED - Using footer styles instead */

/* REMOVED - Using unified select styles below */

/* Form button styling */
.contact-form .btn {
  background: #E12615 !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  border-radius: 0 !important;
}

.contact-form .btn:hover {
  background: #C41E3A !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(225, 38, 21, 0.3) !important;
}

/* Apply FOOTER STYLE to all forms across the site */
form input[type="text"],
form input[type="email"], 
form input[type="tel"],
form input[type="password"],
form textarea,
form select,
.form-input,
.form-textarea,
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: #F9FAFB !important;
  border: 3px solid #6B7280 !important;
  color: #111827 !important;
  padding: 12px 16px !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  min-height: 45px !important;
  width: 100% !important;
}

form input:focus,
form textarea:focus,
form select:focus,
.form-input:focus,
.form-textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  background: #FFFFFF !important;
  border-color: #E12615 !important;
  box-shadow: 0 0 0 4px rgba(225, 38, 21, 0.4) !important;
  outline: none !important;
}

form input::placeholder,
form textarea::placeholder,
.form-input::placeholder,
.form-textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #4B5563 !important;
  opacity: 1 !important;
}

form label,
.form-label,
.contact-form label {
  color: #374151 !important;
  font-weight: 500 !important;
  margin-bottom: 8px !important;
  display: block !important;
}

/* Fix ALL select dropdowns */
form select,
.contact-form select,
select.form-input {
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 12px center !important;
  background-repeat: no-repeat !important;
  background-size: 16px 16px !important;
  padding-right: 40px !important;
}


/* === Navigation Link Icons === */
.nav-link i {
  /* Layout */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  /* Size */
  width: 16px;
  height: 16px;
  font-size: 0.8rem;
}

/* === Navigation Link States === */
.nav-link:hover,
.nav-link.active {
  color: var(--primary-red);
  background: rgba(225, 38, 21, 0.1);
  transform: translateY(-1px);
}

/* === Centrage vertical parfait des liens de navigation === */
.nav-menu {
  align-items: center !important;
}

.nav-link {
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

/* === GRILLE 5 COLONNES POUR KTM === */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  align-items: stretch;
}

@media (max-width: 1200px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
}

@media (max-width: 480px) {
  .grid-5 {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

/* === OPTIMISATION IMAGES CARTES SERVICES === */
.service-card .image-overlay {
  height: 220px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8f9fa !important;
  border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}

.service-card .service-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transition: transform 0.3s ease !important;
  padding: var(--space-2) !important;
}

.service-card:hover .service-image {
  transform: scale(1.02) !important;
}

/* Ajustements spécifiques pour affichage complet des images */
.service-card .service-image[alt*="Vente"] {
  object-fit: contain !important;
  object-position: center center !important;
  padding: var(--space-3) !important;
}

.service-card .service-image[alt*="Service"] {
  object-fit: contain !important;
  object-position: center center !important;
  padding: var(--space-2) !important;
}

.service-card .service-image[alt*="Pièces"] {
  object-fit: contain !important;
  object-position: center center !important;
  padding: var(--space-2) !important;
}

.service-card .service-image[alt*="Poids"] {
  object-fit: contain !important;
  object-position: center center !important;
  padding: var(--space-2) !important;
}

.service-card .service-image[alt*="Énergie"] {
  object-fit: contain !important;
  object-position: center center !important;
  padding: var(--space-2) !important;
}

/* ===================================
   STANDARDISATION UNIVERSELLE DES SECTIONS HERO
   =================================== */

/* Forcer les dimensions et structure pour TOUTES les pages */
.hero {
  min-height: 65vh !important;
  max-height: 65vh !important;
  height: 65vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Container hero standardisé */
.hero .container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 var(--space-4) !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Contenu hero centré et standardisé */
.hero .hero-content {
  text-align: center !important;
  color: white !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: var(--space-6) 0 !important;
}

/* Titres hero standardisés */
.hero .hero-content h1,
.hero .hero-content .hero-title {
  font-size: 3rem !important;
  font-weight: 700 !important;
  margin-bottom: var(--space-4) !important;
  line-height: 1.2 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
  color: white !important;
}

/* Sous-titres hero standardisés */
.hero .hero-content p,
.hero .hero-content .hero-subtitle {
  font-size: 1.25rem !important;
  margin-bottom: var(--space-6) !important;
  opacity: 0.95 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
  line-height: 1.5 !important;
  color: white !important;
}

/* Boutons hero - Position fixe standardisée */
.hero .hero-buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: var(--space-4) !important;
  margin-top: var(--space-6) !important;
  flex-wrap: wrap !important;
}

/* Responsive standardisé pour toutes les pages */
@media (max-width: 1200px) {
  .hero {
    min-height: 60vh !important;
    max-height: 60vh !important;
    height: 60vh !important;
  }
  
  .hero .hero-content h1,
  .hero .hero-content .hero-title {
    font-size: 2.5rem !important;
  }
  
  .hero .hero-content p,
  .hero .hero-content .hero-subtitle {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 50vh !important;
    max-height: 50vh !important;
    height: 50vh !important;
  }
  
  .hero .hero-content h1,
  .hero .hero-content .hero-title {
    font-size: 2rem !important;
  }
  
  .hero .hero-content p,
  .hero .hero-content .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .hero .hero-buttons {
    flex-direction: column !important;
    gap: var(--space-3) !important;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 45vh !important;
    max-height: 45vh !important;
    height: 45vh !important;
  }
  
  .hero .hero-content h1,
  .hero .hero-content .hero-title {
    font-size: 1.75rem !important;
  }
  
  .hero .hero-content p,
  .hero .hero-content .hero-subtitle {
    font-size: 0.9rem !important;
  }
  
  .hero .container {
    padding: 0 var(--space-3) !important;
  }
}

/* === CORRECTION BOUTONS HERO - BORDURES CARRÉES ET CONTOURS VISIBLES === */

/* Tous les boutons dans les sections hero */
.hero .btn,
.hero .hero-buttons .btn,
section.hero .btn,
.hero-buttons .btn,
.hero-opening-btn,
.vehicles-hero .btn {
  /* Bordures carrées forcées */
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  
  /* Contour visible et fixe */
  border: 2px solid !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  
  /* Positionnement et taille fixes */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  
  /* Dimensions standardisées */
  min-width: 200px !important;
  height: 48px !important;
  padding: 12px 24px !important;
  
  /* Typographie cohérente */
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
  
  /* Positionnement fixe */
  position: relative !important;
  margin: 0 8px !important;
  
  /* Transitions fluides */
  transition: all 0.3s ease !important;
  
  /* Ombre pour visibilité */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  
  /* Fond par défaut */
  background: rgba(255, 255, 255, 0.95) !important;
  color: #333 !important;
}

/* Boutons spécifiques - Contact (rouge) */
.hero .btn.contact-btn,
.hero .btn[href*="contact"],
.hero .btn:first-child {
  background: rgba(225, 38, 21, 0.95) !important;
  color: white !important;
  border-color: rgba(225, 38, 21, 1) !important;
}

/* Boutons spécifiques - Découvrir (blanc) */
.hero .btn.discover-btn,
.hero .btn[href*="vehicules"],
.hero .btn:last-child {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #333 !important;
  border-color: rgba(255, 255, 255, 1) !important;
}

/* États hover pour tous les boutons hero */
.hero .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  border-width: 2px !important;
}

/* Hover spécifique - Contact */
.hero .btn.contact-btn:hover,
.hero .btn[href*="contact"]:hover,
.hero .btn:first-child:hover {
  background: rgba(225, 38, 21, 1) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  color: white !important;
}

/* Hover spécifique - Découvrir */
.hero .btn.discover-btn:hover,
.hero .btn[href*="vehicules"]:hover,
.hero .btn:last-child:hover {
  background: rgba(255, 255, 255, 1) !important;
  border-color: rgba(225, 38, 21, 1) !important;
  color: #333 !important;
}

/* Icônes dans les boutons hero */
.hero .btn i {
  font-size: 16px !important;
  width: 16px !important;
  height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: inherit !important;
}

/* Container des boutons hero - positionnement fixe */
.hero-buttons,
.hero .hero-buttons {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 2rem !important;
  flex-wrap: wrap !important;
}

/* Responsive - Tablette */
@media (max-width: 768px) {
  .hero .btn {
    min-width: 180px !important;
    height: 44px !important;
    font-size: 13px !important;
    padding: 10px 20px !important;
  }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
  .hero .btn {
    min-width: 160px !important;
    height: 40px !important;
    font-size: 12px !important;
    padding: 8px 16px !important;
    margin: 4px !important;
  }
  
  .hero-buttons {
    flex-direction: column !important;
    gap: 12px !important;
  }
}

/* ===================================
   DROPDOWN SECTION
   =================================== */

/* === Dropdown Container === */
.dropdown {
  /* Position for menu */
  position: relative;
}

/* === Dropdown Menu === */
.dropdown-menu {
  /* Position */
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  
  /* Size */
  min-width: 220px;
  
  /* Appearance */
  background: var(--white);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-hover);
  
  /* Animation States */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
}

/* === Dropdown Menu Active State === */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* === Dropdown Items === */
.dropdown-item {
  /* Layout */
  display: flex;
  align-items: center;
  gap: 0.75rem;
  
  /* Spacing */
  padding: 1rem 1.25rem;
  
  /* Typography */
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 400;
  
  /* Animation */
  transition: var(--transition);
}

/* === Dropdown Item States === */
.dropdown-item {
  position: relative;
  overflow: hidden;
}

.dropdown-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem; /* Position fixe après l'icône */
  width: 0; /* Largeur initiale pour l'animation */
  height: 2px;
  background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
  transition: width 0.3s ease, left 0.3s ease;
}

.dropdown-item:hover {
  background: var(--light-gray);
  color: var(--primary-red);
  padding-left: 1.5rem;
}

.dropdown-item:hover::after {
  left: 1.75rem; /* Position ajustée pour le hover */
  width: calc(100% - 3rem); /* Largeur finale pour l'animation */
}

.dropdown-item i {
  color: var(--primary-blue);
  transition: var(--transition);
}

.dropdown-item:hover i {
  color: var(--primary-red);
}

/* === BOUTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0 !important;
  font-family: inherit;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
}

.btn-primary:hover {
  background: #c41e0f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--primary-blue);
  color: var(--white);
}

.btn-secondary:hover {
  background: #0d5a9a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

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

.btn-outline:hover {
  background: var(--primary-red);
  color: var(--white);
}

/* === HERO SECTION === */
.hero {
  color: var(--white);
  padding: 6rem 0 4rem;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

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

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* === SECTIONS === */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* === CARTES === */
.card {
  background: var(--white);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

.card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* === SERVICES === */
.services {
  background: var(--light-gray);
}

.service-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: contain; /* éviter la coupe dans les cartes */
  background: #ffffff; /* fond propre autour des PNG */
  border-radius: var(--radius-base);
  margin-bottom: 1.5rem;
  position: relative;
  padding: .5rem; /* respiration interne */
}

.service-card .service-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(225, 38, 21, 0.1) 0%, rgba(15, 106, 179, 0.1) 100%);
  border-radius: var(--radius-base);
  transition: var(--transition);
}

.service-card:hover .service-image::after {
  background: linear-gradient(135deg, rgba(225, 38, 21, 0.2) 0%, rgba(15, 106, 179, 0.2) 100%);
}

/* === IMAGE AVEC OVERLAY === */
.image-overlay {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-base);
}

.image-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(225, 38, 21, 0.15) 0%, rgba(15, 106, 179, 0.15) 100%);
  transition: var(--transition);
  pointer-events: none;
}

.image-overlay:hover::after {
  background: linear-gradient(135deg, rgba(225, 38, 21, 0.25) 0%, rgba(15, 106, 179, 0.25) 100%);
}

/* === PARTENAIRES === */
.partners {
  background: var(--white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: var(--radius-base);
  transition: var(--transition);
  opacity: 0.7;
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.partner-logo img {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
}

/* === STATISTIQUES === */
.stats {
  background: var(--primary-blue);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===================================
   FOOTER SECTION
   =================================== */

/* === Footer Container === */
.footer {
  /* Appearance */
  background: var(--dark-gray);
  color: var(--white);
  
  /* Spacing */
  padding: 4rem 0 0;
  
  /* Position */
  position: relative;
}

/* === Footer Content Grid === */
.footer-content {
  /* Layout */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: start;
  
  /* Spacing */
  margin-bottom: 3rem;
  padding-bottom: 2rem;
}

/* === Footer Section Layout === */
.footer-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
  padding-left: 0;
  margin-left: 0;
}

/* === Footer Links Alignment === */
.footer-section .footer-links {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* === Footer Links Perfect Alignment === */
.footer-section .footer-links li {
  margin-bottom: 0.75rem;
  text-align: left;
}

.footer-section .footer-links a {
  display: inline-block;
  color: #0F6AB3;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.footer-section .footer-links a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--primary-red);
  position: absolute;
  left: -20px;
}

.footer-section .footer-links a:hover {
  color: var(--primary-red);
  padding-left: 20px !important;
}

.footer-section .footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* === Perfect Left Alignment Override === */
.footer-section h4 i {
  margin-right: 0.75rem;
  margin-left: 0;
  padding-left: 0;
}

/* Force perfect alignment for all footer content */
.footer-section * {
  box-sizing: border-box;
}

.footer-section p {
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}

/* === Footer Section Headings === */
.footer-section h4 {
  /* Typography */
  color: var(--primary-red);
  font-size: 1.2rem;
  font-weight: 600;
  
  /* Layout */
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  
  /* Spacing */
  margin-bottom: 1.5rem;
  margin-left: 0;
  padding-left: 0;
  
  /* Visual enhancement */
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-red);
}

.footer-section h5 {
  /* Typography */
  color: var(--primary-blue);
  font-size: 1rem;
  font-weight: 500;
  
  /* Layout */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  
  /* Spacing */
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

/* === Footer Links === */
.footer-links {
  /* Reset */
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  /* Spacing */
  margin-bottom: 0.75rem;
  
  /* Animation */
  transition: var(--transition);
}

.footer-links a {
  /* Typography */
  color: #0F6AB3;
  font-size: 0.95rem;
  text-decoration: none;
  
  /* Layout */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  
  /* Spacing */
  padding: 0.25rem 0;
  
  /* Animation */
  transition: var(--transition);
  position: relative;
}

.footer-links a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
  color: var(--primary-red);
}

.footer-links a:hover {
  color: var(--primary-red);
  padding-left: 1rem;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--primary-red);
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--primary-blue);
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-hover);
}

.business-hours {
  margin-top: 1.5rem;
}

.business-hours p {
  margin-bottom: 0.5rem;
  color: #ccc;
  font-size: 0.9rem;
}

.footer-form {
  margin-top: 1.5rem;
}

.footer-form .form-group {
  margin-bottom: 1rem;
}

.footer-form .form-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 0.9rem;
}

.footer-form .form-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.footer-form .form-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-red);
}

/* === Footer Bottom Section === */
.footer-bottom {
  /* Position - Full width */
  position: relative;
  left: 0;
  right: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  
  /* Appearance */
  background: rgba(0, 0, 0, 0.7);
  border-top: 1px solid #444;
  
  /* Spacing */
  padding: 1.5rem 0;
  
  /* Typography */
  font-size: 0.9rem;
}

/* === Footer Bottom Content === */
.footer-bottom-content {
  /* Layout */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  
  /* Spacing */
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom-links a {
  color: #ccc;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.footer-bottom-links a:hover {
  color: var(--primary-red);
}

.footer-bottom-links span {
  color: #666;
}

/* === FORMULAIRES === */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-gray);
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-gray);
  border-radius: var(--radius-base);
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(15, 106, 179, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* === UTILITAIRES === */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* === CONTACT PAGE STYLES === */
.contact-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.contact-details p {
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  text-decoration: underline;
}

.schedule-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
}

.schedule-header i {
  color: var(--primary-red);
  font-size: 1.5rem;
}

.schedule-header h3 {
  margin: 0;
  color: var(--gray-800);
}

.schedule {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-item.closed {
  opacity: 0.6;
}

.schedule-item .day {
  font-weight: 500;
  color: var(--gray-700);
}

.schedule-item .time {
  color: var(--primary-red);
  font-weight: 600;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--gray-700);
}

.services-list li i {
  color: var(--primary-red);
  width: 20px;
  text-align: center;
}

.social-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.social-section h4 {
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
}

.social-link.facebook {
  background: #1877f2;
}

.social-link.twitter {
  background: #1da1f2;
}

.social-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.linkedin {
  background: #0077b5;
}

.contact-form-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
}

.contact-form-header h3 {
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}

.contact-form-header p {
  color: var(--gray-600);
  margin: 0;
}

.form-row {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--gray-700);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-300);
  background: white;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(225, 38, 21, 0.1);
}

.form-control::placeholder {
  color: var(--gray-500);
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.loader {
  display: none;
}

.spinner-border {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--gray-300);
  border-top: 2px solid var(--primary-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.form-notification {
  margin-top: 1rem;
}

.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.map-container {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.map-info {
  margin-top: 1.5rem;
}

.map-info p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.bg-light {
  background-color: var(--gray-50);
}

/* === LLD PAGE STYLES === */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-red);
  box-shadow: 0 2px 8px rgba(225, 38, 21, 0.1);
}

.faq-item.active {
  border-color: var(--primary-red);
  box-shadow: 0 4px 12px rgba(225, 38, 21, 0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: white;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question h4 {
  margin: 0;
  color: var(--gray-800);
  font-weight: 600;
  flex: 1;
}

.faq-icon {
  color: var(--primary-red);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  margin-left: 1rem;
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.faq-answer p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.6;
}

.service-card {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: contain; /* éviter la coupe sur variantes */
  background:#fff;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.image-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* Gabarit carte véhicules (Nissan, etc.) */
.service-card .image-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  min-height: 240px; /* cadre légèrement plus haut pour motos KTM */
}

/* Bordures globales pour les cartes (contours) */
.card,
.service-card,
.category-card {
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #fff;
}

.card:hover,
.service-card:hover,
.category-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.text-success {
  color: #28a745 !important;
}

.text-warning {
  color: #ffc107 !important;
}

.text-info {
  color: #17a2b8 !important;
}

/* === SAV PAGE STYLES === */
.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.timeline-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.8rem;
}

.atout-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
}

.atout-header i {
  color: var(--primary-red);
  font-size: 1.8rem;
  width: 40px;
  text-align: center;
}

.atout-header h3 {
  margin: 0;
  color: var(--primary-red);
  font-weight: 600;
}

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

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

.contact-item i {
  color: var(--primary-red);
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
  margin-top: 0.2rem;
}

.contact-item div {
  flex: 1;
}

.contact-item strong {
  color: var(--gray-800);
}

.contact-item a {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* === EFFETS HOVER POUR LES CARTES === */
.card {
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
  cursor: default; /* Pas de curseur pointer sur la carte */
  border-radius: 0 !important; /* Garder les bordures pointues en mode normal */
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(225, 38, 21, 0.15);
  border-color: var(--primary-red);
  border-radius: 0 !important; /* Garder les bordures pointues même au hover */
}

.service-card {
  border: 2px solid #e9ecef;
  border-radius: 0 !important; /* Garder les bordures pointues en mode normal */
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(225, 38, 21, 0.15);
  border-color: var(--primary-red);
  border-radius: 0 !important; /* Garder les bordures pointues même au hover */
}

.card:hover h3,
.card:hover h4 {
  color: var(--primary-red);
  transition: color 0.3s ease;
}

.card:hover .btn {
  background: var(--primary-red);
  color: white;
  border: 2px solid var(--primary-red);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(225, 38, 21, 0.3);
}

/* Forcer les icônes à être visibles quand la carte est en hover */
.card:hover .btn i {
  color: white !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* === NOUVEAUX EFFETS HOVER POUR LES BOUTONS === */
.card .btn {
  cursor: pointer !important;
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0);
  backface-visibility: hidden;
  border: 2px solid #e9ecef; /* Contour visible en mode normal */
}

/* Améliorer la visibilité des boutons outline */
.btn-outline {
  border: 2px solid var(--primary-red) !important;
  color: var(--primary-red) !important;
}

/* Effet de brillance qui traverse le bouton */
.card .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

/* S'assurer que les icônes et le texte restent visibles */
.card .btn i,
.card .btn span,
.card .btn * {
  position: relative;
  z-index: 10;
  color: inherit;
}

/* Spécifiquement pour les icônes */
.card .btn i {
  z-index: 10 !important;
  display: inline-block !important;
}

.card .btn:hover::before {
  left: 100%;
}

/* Effets hover principaux */
.card .btn:hover {
  cursor: pointer !important;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 25px rgba(225, 38, 21, 0.4);
  background: linear-gradient(135deg, var(--primary-red), #c41e3a);
  border-color: var(--primary-red);
  color: white;
}

/* Forcer les icônes en blanc au hover */
.card .btn:hover i {
  color: white !important;
}

/* Animation de pulsation subtile */
.card .btn:hover {
  animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
  0% {
    box-shadow: 0 8px 25px rgba(225, 38, 21, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(225, 38, 21, 0.6);
  }
  100% {
    box-shadow: 0 8px 25px rgba(225, 38, 21, 0.4);
  }
}

/* Effet de clic/press */
.card .btn:active {
  transform: translateY(-1px) scale(1.05);
  transition: transform 0.1s ease;
}

/* Effet spécial pour les boutons primaires */
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-red), #c41e3a) !important;
  border-color: var(--primary-red) !important;
  color: white !important;
}

.btn-primary:hover i {
  color: white !important;
}

/* Effet spécial pour les boutons outline */
.btn-outline:hover {
  background: linear-gradient(135deg, var(--primary-red), #c41e3a) !important;
  border-color: var(--primary-red) !important;
  color: white !important;
}

.btn-outline:hover i {
  color: white !important;
}

/* Règle générale pour tous les boutons */
.btn:hover i {
  color: white !important;
}

/* Règles spécifiques pour la page contact et toutes les cartes */
.card:hover .btn,
.card:hover .btn *,
.card:hover .btn i,
.card:hover .btn span {
  color: white !important;
}

/* Forcer le texte et icônes blancs sur tous les boutons en hover */
.btn:hover,
.btn:hover *,
.btn:hover i,
.btn:hover span {
  color: white !important;
}

/* Spécifique pour les boutons avec fond rouge */
.btn-primary:hover,
.btn-primary:hover *,
.btn-primary:hover i,
.btn-primary:hover span,
.btn-outline:hover,
.btn-outline:hover *,
.btn-outline:hover i,
.btn-outline:hover span {
  color: white !important;
}

.card:hover .service-icon,
.card:hover .timeline-icon,
.card:hover .contact-icon,
.card:hover .info-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.card:hover .fas:not(.btn .fas):not(.btn i) {
  color: var(--primary-red);
  transition: color 0.3s ease;
}

/* Exception pour les icônes dans les boutons - doivent rester blanches */
.card:hover .btn .fas,
.card:hover .btn i {
  color: white !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: inherit !important;
}

/* Forcer l'affichage des icônes dans tous les boutons */
.btn i,
.btn .fas {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* En mode hover - forcer l'affichage et la couleur */
.btn:hover i,
.btn:hover .fas,
.card:hover .btn i,
.card:hover .btn .fas,
.category-card:hover .btn i,
.category-card:hover .btn .fas {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: white !important;
  z-index: 999 !important;
}

/* Forcer l'affichage du texte dans les boutons en hover */
.btn:hover,
.card:hover .btn,
.category-card:hover .btn {
  color: white !important;
}

/* Forcer l'affichage de tous les éléments dans les boutons */
.btn:hover *,
.card:hover .btn *,
.category-card:hover .btn * {
  color: white !important;
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* === FORCER TOUS LES FONDS D'ICÔNES EN CERCLE === */
.contact-icon,
.info-icon,
.service-icon,
.timeline-icon,
.atout-header i {
  border-radius: 50% !important;
}

/* Styles pour les icônes de contact dans les cartes */
.contact-card .contact-icon,
.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

/* S'assurer que les icônes dans contact-icon sont visibles */
.contact-icon i,
.contact-icon .fas,
.service-icon i,
.service-icon .fas,
.timeline-icon i,
.timeline-icon .fas,
.info-icon i,
.info-icon .fas {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: white !important;
  font-size: inherit !important;
}

/* Styles pour les icônes d'information */
.info-card .info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-red);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-right: 1rem;
}

/* === RESPONSIVE === */
/* === Tablette === */
@media (max-width: 1024px) and (min-width: 769px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-menu {
    display: none;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ===================================
   MOBILE MENU SECTION
   =================================== */

/* === Mobile Menu Toggle Button === */
.mobile-menu-toggle {
  /* Display */
  display: none;
  
  /* Layout */
  align-items: center;
  justify-content: center;
  
  /* Spacing */
  padding: 0.75rem;
  
  /* Appearance */
  background: none;
  border: none;
  border-radius: var(--radius-base);
  
  /* Typography */
  font-size: 1.5rem;
  color: var(--dark-gray);
  
  /* Interaction */
  cursor: pointer;
  transition: var(--transition);
}

/* === Mobile Menu Toggle States === */
.mobile-menu-toggle:hover {
  background: rgba(225, 38, 21, 0.1);
  color: var(--primary-red);
  transform: scale(1.1);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .header {
    top: 0;
  }
  
  .hero {
    margin-top: 80px;
    padding: 4rem 0 3rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
    overflow-y: auto;
    transform: translateX(-100%);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .nav-item {
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    display: block;
    width: 100%;
    padding: 1rem;
    border-bottom: 1px solid var(--border-gray);
    justify-content: center;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--light-gray);
    margin-top: 0.5rem;
  }
  
  /* === Footer Responsive === */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding: 0 1rem;
  }
  
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .footer-bottom {
    padding: 1rem 0;
  }
}

/* ===================================
   DÉSACTIVATION DES ANIMATIONS HERO
   Pour les pages spécifiées
   =================================== */

/* Désactiver toutes les animations hero sur les pages sans carousel */
.hero.no-animations,
.hero.no-gradient {
    /* Supprimer toutes les animations */
    animation: none !important;
    transition: none !important;
    
    /* Supprimer les transformations */
    transform: none !important;
    
    /* Supprimer les effets de survol */
    transform: none !important;
    
    /* Style statique simple */
    background-color: #f8f9fa !important;
    background-image: none !important;
    background-size: initial !important;
    background-position: initial !important;
    background-attachment: initial !important;
    background-repeat: initial !important;
    
    /* Supprimer les classes d'animation */
}

.hero.no-animations .hero-sidebar-item,
.hero.no-gradient .hero-sidebar-item {
    /* Supprimer les animations de la sidebar */
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
}

/* Supprimer les contrôles de carousel sur les pages sans carousel */
.hero.no-animations .hero-carousel-btn,
.hero.no-animations .hero-carousel-indicators,
.hero.no-gradient .hero-carousel-btn,
.hero.no-gradient .hero-carousel-indicators {
    display: none !important;
}

/* Style statique pour les sections hero sans animations */
.hero.static-hero {
    background-color: #f8f9fa;
    background-image: none;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero.static-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 106, 179, 0.1) 0%, rgba(225, 38, 21, 0.1) 100%);
    z-index: 1;
}

.hero.static-hero .container {
    position: relative;
    z-index: 2;
}

/* ===================================
   HERO CAROUSEL ANIMATIONS
   =================================== */

/* Animation pour le changement d'image */
.hero.changing {
    opacity: 0.4;
    transition: opacity 0.3s ease-out;
}

.hero.smooth-in-animation {
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

/* Styles pour les contrôles du carrousel */
.hero-carousel-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.hero-carousel-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Supprimé - conflit résolu avec définition !important */

.hero-carousel-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-carousel-next:hover,
.hero-carousel-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Styles pour les indicateurs */
.hero-carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 1000;
}

.hero-carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.hero-carousel-indicator.active {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.2);
}

/* Animation d'entrée pour les éléments du carrousel */
@keyframes fadeInNice {
    0% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.hero.smooth-in-animation {
    animation: fadeInNice 0.8s ease-in-out;
}

/* Responsive pour les contrôles du carrousel */
@media (max-width: 768px) {
    .hero-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .hero-carousel-prev {
        left: 15px;
    }
    
    .hero-carousel-next {
        right: 60px; /* Éviter la sidebar même sur tablet */
    }
    
    .hero-carousel-indicators {
        bottom: 30px;
    }
    
    .hero-carousel-indicator {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .hero-carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .hero-carousel-prev {
        left: 10px;
    }
    
    .hero-carousel-next {
        right: 50px; /* Éviter la sidebar sur très petits écrans */
    }
    
    .hero-carousel-indicators {
        bottom: 20px;
        gap: 6px;
    }
}

/* Dimensions hero responsive - maintenir les proportions */
@media (max-width: 1200px) {
    .hero {
        min-height: 60vh !important;
        max-height: 60vh !important;
        height: 60vh !important;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 50vh !important;
        max-height: 50vh !important;
        height: 50vh !important;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 45vh !important;
        max-height: 45vh !important;
        height: 45vh !important;
    }
}

/* ===================================
   STANDARDISATION COMPLÈTE DES SECTIONS HERO
   =================================== */

.hero {
  min-height: 65vh !important;
  max-height: 65vh !important;
  height: 65vh !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Container hero standardisé */
.hero .container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 var(--space-4) !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Contenu hero centré */
.hero .hero-content {
  text-align: center !important;
  color: white !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: var(--space-6) 0 !important;
}

/* Titres hero standardisés */
.hero .hero-content h1,
.hero .hero-content .hero-title {
  font-size: 3rem !important;
  font-weight: 700 !important;
  margin-bottom: var(--space-4) !important;
  line-height: 1.2 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Sous-titres hero standardisés */
.hero .hero-content p,
.hero .hero-content .hero-subtitle {
  font-size: 1.25rem !important;
  margin-bottom: var(--space-6) !important;
  opacity: 0.95 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
  line-height: 1.5 !important;
}

/* Boutons hero - Position fixe standardisée */
.hero .hero-buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: var(--space-4) !important;
  margin-top: var(--space-6) !important;
  flex-wrap: wrap !important;
}

/* Responsive pour les dimensions hero */
@media (max-width: 1200px) {
  .hero {
    min-height: 60vh !important;
    max-height: 60vh !important;
    height: 60vh !important;
  }
  
  .hero .hero-content h1,
  .hero .hero-content .hero-title {
    font-size: 2.5rem !important;
  }
  
  .hero .hero-content p,
  .hero .hero-content .hero-subtitle {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 50vh !important;
    max-height: 50vh !important;
    height: 50vh !important;
  }
  
  .hero .hero-content h1,
  .hero .hero-content .hero-title {
    font-size: 2rem !important;
  }
  
  .hero .hero-content p,
  .hero .hero-content .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .hero .hero-buttons {
    flex-direction: column !important;
    gap: var(--space-3) !important;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 45vh !important;
    max-height: 45vh !important;
    height: 45vh !important;
  }
  
  .hero .hero-content h1,
  .hero .hero-content .hero-title {
    font-size: 1.75rem !important;
  }
  
  .hero .hero-content p,
  .hero .hero-content .hero-subtitle {
    font-size: 0.9rem !important;
  }
  
  .hero .container {
    padding: 0 var(--space-3) !important;
  }
}

/* ===================================
   OPTIMISATION GLOBALE DES ESPACES
   =================================== */

/* Compactage global des contenus */
.compact-layout {
    padding: var(--space-3) 0 !important;
}

.compact-layout .section {
    padding: var(--space-8) 0 !important;
}

.compact-layout .card {
    padding: var(--space-4) !important;
    margin-bottom: var(--space-3) !important;
}

/* Réduction des gaps dans les grilles */
.grid {
    gap: var(--space-4) !important; /* Réduit l'espacement par défaut */
}

.grid.gap-2 {
    gap: var(--space-2) !important;
}

.grid.gap-3 {
    gap: var(--space-3) !important;
}

.grid.gap-4 {
    gap: var(--space-4) !important;
}

.grid.gap-6 {
    gap: var(--space-5) !important; /* Réduit de var(--space-6) */
}

.grid.gap-8 {
    gap: var(--space-6) !important; /* Réduit de var(--space-8) */
}

/* Optimisation des section-title */
.section-title {
    margin-bottom: var(--space-8) !important; /* Réduit l'espacement */
    text-align: center;
}

.section-title h2 {
    margin-bottom: var(--space-2) !important;
}

.section-title p {
    margin-bottom: 0 !important;
}

/* Compactage des listes */
ul, ol {
    margin-bottom: var(--space-3) !important;
    padding-left: var(--space-4) !important;
}

li {
    margin-bottom: var(--space-1) !important;
}

/* Optimisation des formulaires */
.form-group {
    margin-bottom: var(--space-4) !important; /* Réduit de var(--space-6) */
}

.form-row {
    gap: var(--space-3) !important; /* Réduit l'espacement entre colonnes */
}

/* Formulaire de contact - optimisation largeur */
.contact-form {
    width: 100%;
}

.contact-form .form-group {
    width: 100%;
    margin-bottom: var(--space-4);
}

.contact-form .form-control {
    width: 100% !important;
    box-sizing: border-box;
    padding: var(--space-3);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-base);
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(225, 38, 21, 0.1);
}

.contact-form label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.contact-form-header {
    margin-bottom: var(--space-6);
    text-align: center;
}

.contact-form-header h3 {
    margin-bottom: var(--space-2);
    color: var(--gray-900);
}

.contact-form-header p {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    margin-bottom: 0;
}

.form-submit {
    margin-top: var(--space-6);
    text-align: center;
}

.form-notification {
    margin-top: var(--space-4);
}

/* Compactage des boutons */
.hero-buttons {
    gap: var(--space-3) !important;
    margin-top: var(--space-6) !important;
}

/* ===================================
   CORRECTION BOUTONS HERO - LISIBILITÉ
   =================================== */

/* Boutons dans les sections hero - style standardisé blanc/rouge */
section.hero .btn,
.hero .btn,
.hero .hero-buttons .btn,
.hero-buttons .btn,
section.hero .btn-primary,
.hero .btn-primary,
section.hero .btn-secondary,
.hero .btn-secondary,
section.hero .btn-outline,
.hero .btn-outline,
.hero a.btn,
.hero a.btn-primary,
.hero a.btn-secondary,
.hero a.btn-outline {
    background: rgba(255, 255, 255, 0.98) !important;
    color: #E12615 !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    text-decoration: none !important;
}

/* Tous les boutons hero ont maintenant le même style blanc/rouge */

/* États hover pour tous les boutons hero - style uniforme */
section.hero .btn:hover,
.hero .btn:hover,
.hero .hero-buttons .btn:hover,
section.hero .btn-primary:hover,
.hero .btn-primary:hover,
section.hero .btn-secondary:hover,
.hero .btn-secondary:hover,
section.hero .btn-outline:hover,
.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 1) !important;
    color: #E12615 !important;
    border-color: #E12615 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(225, 38, 21, 0.4) !important;
    font-weight: 600 !important;
}

/* Forcer la visibilité du texte et icônes dans les boutons hero */
section.hero .btn:hover i,
.hero .btn:hover i,
.hero .hero-buttons .btn:hover i {
    color: #E12615 !important;
}

section.hero .btn:hover span,
.hero .btn:hover span,
.hero .hero-buttons .btn:hover span {
    color: #E12615 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* États active/focus pour boutons hero */
.hero .btn:active,
.hero .btn:focus {
    transform: translateY(0) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    outline: 3px solid rgba(255, 255, 255, 0.5) !important;
    outline-offset: 2px !important;
}

/* Icônes dans les boutons hero */
.hero .btn i,
.hero .hero-buttons .btn i {
    color: inherit !important;
    text-shadow: none !important;
}

/* ===================================
   CONTRÔLES CARROUSEL TOUJOURS VISIBLES
   =================================== */

/* FORCER L'AFFICHAGE DES CONTRÔLES CARROUSEL - PRIORITÉ ABSOLUE */
.hero-carousel-btn,
button.hero-carousel-btn,
.hero .hero-carousel-btn,
section.hero .hero-carousel-btn,
body .hero-carousel-btn,
html .hero-carousel-btn {
    display: flex !important;
    opacity: 0.9 !important;
    visibility: visible !important;
    z-index: 9999 !important;
    position: absolute !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    color: #333 !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.3s ease !important;
    pointer-events: auto !important;
}

.hero-carousel-btn:hover,
button.hero-carousel-btn:hover {
    opacity: 1 !important;
    background: rgba(255, 255, 255, 1) !important;
    transform: scale(1.1) !important;
}

.hero-carousel-indicators,
.hero .hero-carousel-indicators,
section.hero .hero-carousel-indicators,
body .hero-carousel-indicators,
html .hero-carousel-indicators {
    display: flex !important;
    visibility: visible !important;
    z-index: 9999 !important;
    position: absolute !important;
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    gap: 12px !important;
    pointer-events: auto !important;
}

.hero-carousel-indicator {
    opacity: 0.6 !important;
    visibility: visible !important;
}

.hero-carousel-indicator.active {
    opacity: 1 !important;
}

/* Forcer l'affichage des contrôles sur la page index spécifiquement */
body[data-page="index"] .hero-carousel-btn,
body[data-page=""] .hero-carousel-btn,
.hero .hero-carousel-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 0.8 !important;
    position: absolute !important;
    z-index: 1000 !important;
}

body[data-page="index"] .hero-carousel-indicators,
body[data-page=""] .hero-carousel-indicators,
.hero .hero-carousel-indicators {
    display: flex !important;
    visibility: visible !important;
    position: absolute !important;
    z-index: 1000 !important;
}

/* POSITIONS FORCÉES POUR LES BOUTONS CARROUSEL - PRIORITÉ ABSOLUE */
.hero-carousel-prev,
.hero .hero-carousel-prev,
button.hero-carousel-prev,
body .hero-carousel-prev,
html .hero-carousel-prev,
.hero-carousel-btn.hero-carousel-prev,
section.hero .hero-carousel-prev {
    left: 30px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    position: absolute !important;
    z-index: 9999 !important;
}

.hero-carousel-next,
.hero .hero-carousel-next,
button.hero-carousel-next,
body .hero-carousel-next,
html .hero-carousel-next,
.hero-carousel-btn.hero-carousel-next,
section.hero .hero-carousel-next {
    right: 80px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    position: absolute !important;
    z-index: 9999 !important;
}

/* FORCER LE POSITIONNEMENT DU BOUTON SUIVANT - PRIORITÉ MAXIMALE */
body .hero .hero-carousel-next,
html body .hero .hero-carousel-next,
body section.hero .hero-carousel-next,
.hero-carousel-next[style] {
    right: 80px !important;
}

/* RÈGLE ULTIME POUR ÉVITER LA SIDEBAR - SPÉCIFICITÉ MAXIMALE */
html body section.hero .hero-carousel-next,
html body div.hero .hero-carousel-next,
html body .hero .hero-carousel-btn.hero-carousel-next {
    right: 20px !important;
    position: absolute !important;
    z-index: 10000 !important;
}

html body section.hero .hero-carousel-prev,
html body div.hero .hero-carousel-prev,
html body .hero .hero-carousel-btn.hero-carousel-prev {
    left: 30px !important;
    position: absolute !important;
    z-index: 10000 !important;
}

.hero-carousel-indicators,
.hero .hero-carousel-indicators {
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Styles pour les indicateurs individuels - Design professionnel */
.hero-carousel-indicator,
button.hero-carousel-indicator {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.hero-carousel-indicator:hover,
button.hero-carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.hero-carousel-indicator.active,
button.hero-carousel-indicator.active {
    background: #E12615 !important;
    border-color: #E12615 !important;
    transform: scale(1.3) !important;
    box-shadow: 0 4px 15px rgba(225, 38, 21, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* ===================================
   OPTIMISATION COMPLÈTE IMAGES HERO
   =================================== */

/* Styles de base pour toutes les sections hero */
.hero,
.hero-image,
section.hero,
div.hero {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    width: 100% !important;
    min-height: 65vh !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Force les images à couvrir toute la section - toutes variantes */
.hero,
.hero[style*="background-image"],
.hero[style*="background:"],
section.hero,
section[style*="background-image"],
div[style*="background-image"],
*[class*="hero"][style*="background"] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

/* Styles spécifiques pour les images dans les hero */
.hero img,
.hero-image img,
.hero .hero-bg,
.hero-background {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: -1 !important;
}

/* Conteneur hero avec image de fond inline */
[style*="background-image"] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Correction pour les hero avec classes spécifiques */
.hero-section,
.banner,
.banner-section,
.header-banner {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 60vh !important;
    width: 100% !important;
}

/* Optimisation responsive pour mobile */
@media (max-width: 768px) {
    .section {
        padding: var(--space-4) 0 !important;
    }
    
    .section-title {
        margin-bottom: var(--space-6) !important;
    }
    
    .grid {
        gap: var(--space-3) !important;
    }
    
    .card {
        padding: var(--space-3) !important;
        margin-bottom: var(--space-2) !important;
    }
    
    /* Hero responsive avec couverture complète */
    .hero,
    .hero-image,
    section.hero,
    div.hero,
    .hero-section,
    .banner {
        background-size: cover !important;
        background-position: center center !important;
        min-height: 50vh !important;
    }
    
    /* Images dans hero responsive */
    .hero img,
    .hero-image img {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Boutons hero responsive */
    .hero .btn,
    .hero .hero-buttons .btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
        min-width: 140px !important;
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--space-3) 0 !important;
    }
    
    .section-title {
        margin-bottom: var(--space-4) !important;
    }
    
    .grid {
        gap: var(--space-2) !important;
    }
    
    .card {
        padding: var(--space-2) !important;
        margin-bottom: var(--space-2) !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--space-2) !important;
        margin-top: var(--space-4) !important;
    }
    
    /* Hero très petit écran */
    .hero,
    .hero-image,
    section.hero,
    div.hero,
    .hero-section,
    .banner {
        background-size: cover !important;
        background-position: center center !important;
        min-height: 45vh !important;
    }
    
    /* Boutons hero très petit écran */
    .hero .btn,
    .hero .hero-buttons .btn {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.85rem !important;
        min-width: 120px !important;
        margin: 0.25rem !important;
    }
}

/* ===================================
   STYLES SPÉCIFIQUES PAGE LLD
   =================================== */

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* S'assurer que les icônes sont toujours visibles */
.feature-card .feature-icon {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.feature-card .feature-icon i {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #e12615, #ff4757) !important;
    border-radius: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 2rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.feature-icon i {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: white !important;
}

/* Service Cards */
.service-card {
    padding: 2rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background: #e12615 !important;
    border-radius: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.5rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.service-icon i {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-features i {
    color: var(--success);
    font-size: 0.875rem;
}

/* Card Features */
.card-features {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.feature {
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-text h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* FAQ Styles */
.faq-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: var(--gray-50);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question h4 {
    margin: 0;
    color: var(--gray-900);
    font-weight: 600;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-answer p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.6;
}

/* Contact Form Styles */
.contact-info h3 {
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.advantages-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.advantages-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

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

.advantages-list i {
    color: var(--success);
    font-size: 1.125rem;
}

.contact-details {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* Modern Form Styles */
.modern-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.modern-form h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.modern-form h3 em {
    color: var(--primary);
    font-style: normal;
}

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

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

.form-group .label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group .label i {
    color: var(--primary);
    width: 16px;
    text-align: center;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input--style-4 {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.input--style-4:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(225, 38, 21, 0.1);
}

.select-box select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn--radius-2 {
    border-radius: 0 !important;
}

.btn--pink {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 35px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn--pink:hover {
    background: var(--primary-dark);
}

.loader {
    display: none;
}

.modele {
    margin-top: 20px;
}

.btn-full {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* LLD Vehicle Grid - 4 sections fixes - utilise les styles standards */
.lld-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.lld-vehicle-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.lld-vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.lld-vehicle-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 1rem;
}

.lld-vehicle-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.lld-vehicle-content h3 {
    margin: 0 0 0.75rem 0;
    color: var(--gray-900);
    font-size: 1.25rem;
    font-weight: 600;
}

.lld-vehicle-content p {
    margin: 0 0 1rem 0;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

.lld-vehicle-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.lld-feature-tag {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lld-feature-tag i {
    font-size: 0.7rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .lld-vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .lld-vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .lld-vehicle-image {
        height: 150px;
    }
    
    .lld-vehicle-content {
        padding: 1rem;
    }
    
    .grid.grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid.grid-3 {
        grid-template-columns: 1fr;
    }
    
    .grid.grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .lld-vehicles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .lld-vehicle-card {
        min-height: 300px;
    }
    
    .lld-vehicle-image {
        height: 120px;
    }
    
    .grid.grid-4 {
        grid-template-columns: 1fr;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .modern-form {
        padding: 1.5rem;
    }
}

/* CORRECTION FINALE BOUTONS CARROUSEL - FORCE ABSOLUE */
body .hero .hero-carousel-prev,
html body .hero .hero-carousel-prev,
* .hero-carousel-prev {
    left: 80px !important;
}

body .hero .hero-carousel-next,
html body .hero .hero-carousel-next,
* .hero-carousel-next {
    right: 30px !important;
}

/* ===================================
   STYLES SPÉCIFIQUES PAGES CHANGAN
   =================================== */

/* Features List */
.features-list {
  margin-top: var(--space-6);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding: var(--space-3);
  background: var(--gray-50);
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-item i {
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.feature-item h4 {
  margin: 0 0 0.5rem 0;
  color: var(--dark);
  font-weight: 600;
}

.feature-item p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* Advantage Cards pour E-STAR */
.advantage-card {
  text-align: center;
  padding: var(--space-4);
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  background: rgba(5, 150, 105, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3) auto;
}

.advantage-icon i {
  font-size: 1.5rem;
}

.advantage-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
  color: var(--dark);
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

/* Capacity Cards pour HUNTER */
.capacity-card {
  text-align: center;
  padding: var(--space-4);
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--primary);
  transition: transform 0.3s ease;
}

.capacity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.capacity-icon {
  width: 60px;
  height: 60px;
  background: rgba(225, 38, 21, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3) auto;
}

.capacity-icon i {
  font-size: 1.5rem;
}

.capacity-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: var(--space-2) 0;
}

.capacity-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
  color: var(--dark);
}

.capacity-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

/* Use Cases pour HUNTER */
.use-case {
  text-align: center;
  padding: var(--space-4);
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.use-case:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.use-case-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3) auto;
}

.use-case-icon i {
  font-size: 1.5rem;
}

.use-case h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
  color: var(--dark);
}

.use-case p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

/* Specs List */
.specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specs-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 0.9rem;
}

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

.specs-list li:before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Gallery Items */
.gallery-item {
  text-align: center;
}

.gallery-item img {
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.gallery-item h4 {
  margin-top: var(--space-3);
  color: var(--dark);
  font-weight: 600;
}

/* Card Icons */
.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(225, 38, 21, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3) auto;
  border: 2px solid rgba(225, 38, 21, 0.3);
}

.card-icon i {
  font-size: 1.8rem !important;
  color: #E12615 !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Force l'affichage des icônes Font Awesome */
.card-icon i:before {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  display: inline-block !important;
}

/* Icônes spécifiques avec contenu Unicode en fallback */
.card-icon i.fa-cog:before {
  content: "\f013" !important;
}

.card-icon i.fa-shield-alt:before {
  content: "\f3ed" !important;
}

.card-icon i.fa-wrench:before {
  content: "\f0ad" !important;
}

/* Boutons spéciaux */
.btn-white {
  background: white !important;
  color: var(--primary) !important;
  border: 2px solid white !important;
}

.btn-white:hover {
  background: var(--gray-100) !important;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent !important;
  color: white !important;
  border: 2px solid white !important;
}

.btn-outline-white:hover {
  background: white !important;
  color: var(--primary) !important;
  transform: translateY(-2px);
}

/* Image Container */
.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Spécifications détaillées pour HUNTER */
.spec-detail {
  text-align: center;
  padding: var(--space-4);
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary);
  transition: transform 0.3s ease;
}

.spec-detail:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.spec-icon {
  width: 50px;
  height: 50px;
  background: rgba(225, 38, 21, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-2) auto;
  border: 2px solid rgba(225, 38, 21, 0.3);
}

.spec-icon i {
  font-size: 1.4rem !important;
  color: #E12615 !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Force l'affichage des icônes spécialisées */
.spec-icon i:before {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  display: inline-block !important;
}

/* Icônes spécifiques pour les spécifications */
.spec-icon i.fa-ruler-combined:before {
  content: "\f546" !important;
}

.spec-icon i.fa-weight-hanging:before {
  content: "\f5cd" !important;
}

.spec-icon i.fa-trailer:before {
  content: "\f941" !important;
}

.spec-icon i.fa-gas-pump:before {
  content: "\f52f" !important;
}

.spec-detail h4 {
  font-size: 1rem;
  margin-bottom: var(--space-3);
  color: var(--dark);
  font-weight: 600;
}

.spec-values {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.spec-values li {
  padding: 0.25rem 0;
  color: var(--gray-700);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--gray-100);
}

.spec-values li:last-child {
  border-bottom: none;
}

.spec-values li:before {
  content: "▪";
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ===================================
   STYLES PAGES CHANGAN MODERNES
   =================================== */

/* Specs Grid pour motorisation */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--gray-50);
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

.spec-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.spec-icon {
  width: 50px;
  height: 50px;
  background: rgba(225, 38, 21, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spec-icon i {
  font-size: 1.25rem;
  color: var(--primary);
}

.spec-content h4 {
  margin: 0 0 0.5rem 0;
  color: var(--dark);
  font-weight: 600;
  font-size: 1.1rem;
}

.spec-content p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Carousel Container */
.carousel-container {
  text-align: center;
  margin: var(--space-6) 0;
}

.carousel-container iframe {
  border-radius: var(--border-radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  max-width: 100%;
}

/* Text Success pour E-STAR */
.text-success {
  color: #059669 !important;
}

/* Responsive Specs Grid */
@media (min-width: 768px) {
  .specs-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .spec-item {
    flex-direction: column;
    text-align: center;
  }
  
  .spec-icon {
    margin: 0 auto var(--space-2) auto;
  }
  
  .carousel-container iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .specs-grid {
    gap: var(--space-3);
  }
  
  .spec-item {
    padding: var(--space-2);
  }
  
  .carousel-container iframe {
    height: 250px;
  }
}

/* Styles pour boutons de téléchargement */
.btn[download] {
  position: relative;
  overflow: hidden;
}

.btn[download]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ===================================
   NAVBAR DESKTOP - STYLES FORCÉS
   =================================== */

/* S'assurer que le navbar est visible sur desktop */
@media (min-width: 769px) {
  .nav-menu {
    display: flex !important;
    position: static !important;
    transform: none !important;
    width: auto !important;
    height: 80px !important;
    background: transparent !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    box-shadow: none !important;
    z-index: auto !important;
  }
  
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===================================
   DEBUG MENU MOBILE - STYLES FORCÉS
   =================================== */

/* Force l'affichage du bouton hamburger sur mobile */
@media (max-width: 768px) {
  /* Prévenir le débordement horizontal */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  
  .container, .container-fluid {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  .header, .hero, .section, .footer {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  
  /* MENU MOBILE - STYLES ULTRA FORCÉS */
  .nav-menu {
    display: flex !important;
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 80px) !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    background: white !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 2rem 0 !important;
    margin: 0 !important;
    z-index: 1000 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  /* État actif du menu */
  .nav-menu.active {
    transform: translateX(0) !important;
  }
  
  /* Items du menu forcés */
  .nav-menu .nav-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #eee !important;
  }
  
  /* Liens du menu forcés */
  .nav-menu .nav-link {
    display: flex !important;
    width: 100% !important;
    padding: 1rem 1.5rem !important;
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    justify-content: space-between !important;
    align-items: center !important;
    border: none !important;
    background: transparent !important;
  }
  
  .nav-menu .nav-link:hover {
    background: #f8f9fa !important;
    color: #E12615 !important;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
    position: relative !important;
    z-index: 1001 !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.5rem !important;
    color: var(--dark) !important;
    cursor: pointer !important;
    padding: 0.5rem !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    min-width: 44px !important;
    min-height: 44px !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .mobile-menu-toggle:hover {
    background: rgba(225, 38, 21, 0.1) !important;
    color: var(--primary-red) !important;
    transform: scale(1.05) !important;
  }
  
  .mobile-menu-toggle:active {
    transform: scale(0.95) !important;
    background: rgba(225, 38, 21, 0.2) !important;
  }
  
  .mobile-menu-toggle i {
    transition: transform 0.3s ease !important;
  }
  
  /* Force le menu mobile */
  .nav-menu {
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 80px) !important;
    background: white !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 2rem 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1000 !important;
    display: flex !important;
    overflow-y: auto !important;
    transform: translateX(-100%) !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
  }
  
  /* Menu actif - animation plus fluide */
  .nav-menu.active {
    transform: translateX(0) !important;
  }
  
  /* Overlay pour fermer le menu */
  .nav-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: -1;
  }
  
  .nav-menu.active::before {
    opacity: 1;
    visibility: visible;
  }
  
  /* Items du menu mobile */
  .nav-item {
    width: 100% !important;
    margin: 0 !important;
    border-bottom: 1px solid #eee !important;
  }
  
  /* Liens du menu mobile */
  .nav-link {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 1.5rem !important;
    color: var(--dark) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
  }
  
  /* Dropdowns mobiles */
  .nav-item.dropdown .dropdown-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    background: #f8f9fa !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    max-height: none !important;
    overflow: visible !important;
  }
  
  .nav-item.dropdown .dropdown-menu.show {
    display: block !important;
    animation: slideDown 0.3s ease !important;
  }
  
  .nav-item.dropdown .dropdown-item {
    display: block !important;
    padding: 0.75rem 2rem !important;
    color: var(--gray-700) !important;
    text-decoration: none !important;
    border-bottom: 1px solid #e9ecef !important;
    width: 100% !important;
  }
  
  .nav-item.dropdown .dropdown-item:hover {
    background: #e9ecef !important;
    color: var(--primary) !important;
  }
  
  /* Animation pour les dropdowns mobiles */
  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 300px;
    }
  }
  
  /* Chevron rotation pour indiquer l'état */
  .nav-item.dropdown .nav-link .fa-chevron-down {
    transition: transform 0.3s ease !important;
  }
  
  .nav-item.dropdown.active .nav-link .fa-chevron-down {
    transform: rotate(180deg) !important;
  }
}

.btn[download] i.fa-download {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-3px);
  }
  60% {
    transform: translateY(-1px);
  }
}

/* Effet spécial pour les boutons de téléchargement */
.btn[download]:after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn[download]:hover:after {
  left: 100%;
}
