/* Styles pour la page À propos */
/* Style pour le texte justifié dans la page À propos */
.about-section .section-content {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.8;
}

/* Style des listes avec icônes de coche */
.about-section ul {
  list-style: none;
  padding-left: 0;
}

.about-section ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: #ffffff;
  line-height: 1.5;
}

.about-section ul li:before {
  content: '✔';
  color: var(--primary-solid);
  font-weight: bold;
  position: absolute;
  left: 0;
  margin-right: 10px;
  font-size: 1.1em;
}

.about-hero {
  padding: 120px 0 80px;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  margin-bottom: 40px;
}

.about-title {
  font-size: 3rem;
  color: var(--primary-solid);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.about-section {
  padding: 60px 0;
  background: rgba(0, 0, 0, 0.6);
  margin-bottom: 40px;
  backdrop-filter: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--primary-solid);
  margin: 0 auto 30px;
  position: relative;
  display: block;
  text-align: center;
  padding-bottom: 15px;
  width: 100%;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-solid);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 auto;
}

/* Animation du soulignement au scroll */
.section-title.visible:after {
  transform: scaleX(1);
}

/* Animation du soulignement au survol */
.section-title:hover:after {
  transform: scaleX(1);
  transition-duration: 0.3s;
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--white);
  padding: 0 20px;
}

.section-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.section-subtitle {
  color: var(--primary-solid);
  font-size: 1.5rem;
  margin: 30px 0 15px;
  position: relative;
  padding-left: 15px;
  border-left: 3px solid var(--primary-solid);
}

.journey-list {
  margin: 20px 0 30px 30px;
}

.journey-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.journey-list li:before {
  content: '✓';
  color: var(--primary-solid);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Adaptation pour mobile */
@media (max-width: 768px) {
  .about-hero {
    padding: 100px 0 60px;
  }

  .about-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-content {
    padding: 0 15px;
  }
}

/* Reset et variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Couleurs principales - Charte YEL.FINANCES */
  --primary: linear-gradient(135deg, #c9a96e 0%, #d4af37 100%);
  --primary-solid: #d4af37;
  --secondary: linear-gradient(135deg, #b8860b 0%, #daa520 100%);
  --accent: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  --success: linear-gradient(135deg, #c9a96e 0%, #d4af37 100%);
  --warning: linear-gradient(135deg, #b8860b 0%, #daa520 100%);

  /* Couleurs neutres - Bleu marine foncé */
  --dark: #0f1419;
  --dark-light: #3a1a1a;
  --white: #ffffff;
  --gray-50: #fbf8f8;
  --gray-100: #f7f1f1;
  --gray-200: #f0e8e8;
  --gray-300: #e0d1d1;
  --gray-400: #af9c9c;
  --gray-500: #806b6b;
  --gray-600: #634b4b;
  --gray-700: #513737;
  --gray-800: #371f1f;
  --gray-900: #271111;

  /* Typographie */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', sans-serif;

  /* Espacements */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Bordures */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;


  /* Ombres */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --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-glow: 0 0 20px rgba(212, 175, 55, 0.4);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Base */
html {
  scroll-behavior: auto !important;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  /* ===== CORRIGE LE CHEVAUCHEMENT AVEC LA NAVBAR ===== */
  margin: 0;
  padding: 80px 0 0 0;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('../images/background.jpg') no-repeat top center;
  background-size: cover;
  background-attachment: fixed;
  z-index: -1;
}

body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  transition: var(--transition-normal);
  height: 80px;
  display: flex;
  align-items: center;
}

.header.scrolled {
  background: rgba(15, 20, 25, 0.98);
  backdrop-filter: blur(25px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(212, 175, 55, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand-link {
  display: flex;
  align-items: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-normal);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.nav-brand-link:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.5));
}

.nav-brand-link:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

.nav-brand-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

.nav-brand i {
  margin-right: var(--space-sm);
  font-size: 2rem;
  color: var(--primary-solid);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

/* Styles de base pour tous les liens de navigation */
.nav-link,
.header .nav-link,
.header.scrolled .nav-link {
  color: #ffffff !important; /* Blanc forcé en permanence */
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Fond au survol */
.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s ease;
  z-index: -1;
}

/* Effet de survol */
.nav-link:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
}

.nav-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* État actif - toujours visible */
.nav-link.active,
.header.scrolled .nav-link.active,
.header .nav-link.active {
  color: #ffffff !important;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.nav-link.active::before,
.header.scrolled .nav-link.active::before,
.header .nav-link.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(212, 175, 55, 0.9) !important; /* Or foncé pour l'état actif */
  border-radius: var(--radius-md);
  opacity: 1 !important;
  transform: scale(1) !important;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
  z-index: -1;
}

/* S'assurer que la couleur reste blanche même après le scroll */
.header.scrolled .nav-link {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Pour la navigation mobile */
.mobile-sidebar .nav-link {
  color: #ffffff !important;
}

.mobile-sidebar .nav-link.active {
  color: #ffffff !important;
  background: rgba(212, 175, 55, 0.9) !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  padding: var(--space-md) var(--space-3xl) var(--space-md) var(--space-lg);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  width: 280px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-solid);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.search-box i {
  position: absolute;
  right: var(--space-lg);
  color: var(--gray-400);
  font-size: 1.1rem;
}

.cart-btn {
  position: relative;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.cart-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-xl);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius-full);
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.mobile-cart-btn {
  display: none;
  margin-right: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/* Sidebar Mobile */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(26, 31, 58, 0.98);
  backdrop-filter: blur(20px);
  border-left: 2px solid rgba(212, 175, 55, 0.3);
  z-index: 2000;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.mobile-sidebar.active {
  right: 0;
  z-index: 2001;
}

.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(212, 175, 55, 0.1);
}

.mobile-sidebar-header h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.mobile-sidebar-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

.mobile-sidebar-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.mobile-sidebar-content {
  padding: var(--space-xl);
}

.mobile-sidebar .nav-menu {
  flex-direction: column;
  gap: 1.5rem; /* Augmentation de l'espacement entre les liens */
  margin-bottom: var(--space-xl);
  display: flex !important;
  padding: 0.5rem 0; /* Ajout d'un peu d'espace en haut et en bas */
}

.mobile-sidebar .nav-link {
  font-size: 1.1rem;
  padding: var(--space-lg) var(--space-md);
  width: 100%;
  text-align: left;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  display: flex !important;
  align-items: center;
  gap: var(--space-md);
  color: var(--white) !important;
  text-decoration: none;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.mobile-sidebar .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(212, 175, 55, 0.8);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 0;
}

.mobile-sidebar .nav-link.active::before {
  opacity: 1;
}

.mobile-sidebar .nav-link:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateX(5px);
  color: var(--white) !important;
}

.mobile-sidebar .nav-link.active {
  color: var(--white) !important;
  font-weight: 600;
  border-color: var(--primary-solid);
  background: rgba(212, 175, 55, 0.8);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
  transform: translateX(5px);
}

.mobile-sidebar .nav-link span {
  position: relative;
  z-index: 1;
}

.mobile-sidebar .nav-link i {
  width: 20px;
  text-align: center;
  color: var(--primary-solid);
  flex-shrink: 0;
}

.mobile-sidebar .nav-actions {
  flex-direction: column;
  gap: var(--space-lg);
  width: 100%;
  display: flex !important;
}

.mobile-sidebar .search-box {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.mobile-sidebar .search-box input {
  width: 100%;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--white);
  padding: var(--space-md) var(--space-3xl) var(--space-md) var(--space-lg);
  border-radius: var(--radius-full);
}

.mobile-sidebar .search-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.mobile-sidebar .search-box input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-solid);
  outline: none;
}

.mobile-sidebar .search-box i {
  position: absolute;
  right: var(--space-lg);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
}

.mobile-sidebar .cart-btn {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: var(--space-lg);
  background: var(--primary);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  transition: var(--transition-normal);
}

.mobile-sidebar .cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Overlay pour assombrir l'arrière-plan */
.mobile-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
  z-index: 2000;
}

/* Hero Section - Section pleine page professionnelle */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
  margin-top: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.3); /* Légère ombre pour la lisibilité */
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  text-align: center;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 0 60px 0; /* Padding-top pour éviter le header */
}

.hero-text-center {
  text-align: center; /* Centre le texte */
  margin: 0 auto; /* Centre le bloc horizontalement */
  display: flex; /* Utilise Flexbox pour le centrage */
  flex-direction: column; /* Aligne les éléments en colonne */
  align-items: center; /* Centre les éléments horizontalement */
  margin-bottom: 30px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.6;
  font-weight: 300;
  text-shadow: 0 3px 6px rgba(0,0,0,0.7);
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.hero-actions .btn {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 200px;
  text-decoration: none;
  display: inline-block;
}

.hero-actions .btn-primary {
  background: var(--accent);
  color: var(--dark);
  border: none;
  font-weight: 600;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

.hero-actions .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.hero-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* Responsive Design pour Hero */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .hero-content {
    padding: 60px 0 40px 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions .btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .hero-content {
    padding: 50px 0 30px 0;
  }
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  padding: var(--space-lg) var(--space-2xl);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 44px; /* Accessibilité : taille minimale pour les boutons */
  min-width: 44px; /* Accessibilité : largeur minimale pour les boutons */
  line-height: 1.5; /* Hauteur de ligne optimale */
  outline: 2px solid transparent; /* Focus visible */
  outline-offset: 2px; /* Espacement du focus */
}

.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: var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-2xl);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-xl);
}

.btn-success {
  background: var(--success);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-success:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-xl);
}

.btn-full {
  width: 100%;
}

/* Filters Section - DESIGN MODERNE */
.filters {
  padding: var(--space-3xl) 0;
  background: rgba(26, 31, 58, 0.2);
  position: relative;
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}



.filters h2 {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #c9a96e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3xl);
  position: relative;
  text-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
  letter-spacing: -0.02em;
}

.filters h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.filter-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-md) var(--space-xl);
  background: rgba(26, 31, 58, 0.8);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-full);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.1);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--dark);
  border-color: #d4af37;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  font-weight: 700;
}





















/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 3000;
  backdrop-filter: blur(10px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideUp 0.4s ease;
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  border-bottom: 1px solid var(--gray-200);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.modal-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
}

.close-btn {
  background: var(--gray-100);
  border: none;
  font-size: 1.5rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: var(--space-md);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: var(--gray-200);
  color: var(--gray-700);
  transform: scale(1.1);
}

.modal-body {
  padding: var(--space-xl);
}



.modal-footer {
  padding: var(--space-xl);
  border-top: 1px solid var(--gray-200);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

/* Cart Styles */
.cart-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition-normal);
}

.cart-item:hover {
  background: var(--gray-50);
  margin: 0 calc(-1 * var(--space-xl));
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
  border-radius: var(--radius-md);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 100px;
  height: 75px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.cart-item-price {
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1.2rem;
}

.remove-item-btn {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: var(--white);
  border: none;
  padding: var(--space-md);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-normal);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.remove-item-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.cart-total {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: var(--space-lg);
  font-weight: 900;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
}

.cart-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
}

.empty-cart {
  text-align: center;
  padding: var(--space-3xl);
  color: var(--gray-500);
}

.empty-cart i {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  opacity: 0.3;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.empty-cart p {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Formation Detail */
.formation-detail {
  max-width: 900px;
}

.formation-detail-header {
  position: relative;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-2xl);
  overflow: hidden;
  background: var(--dark-light);
}

.formation-video-container {
  width: 100%;
  max-width: 800px;
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.formation-video-container iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: var(--radius-lg);
}

.video-placeholder {
  width: 100%;
  height: 300px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  position: relative;
  background: var(--dark);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(212, 175, 55, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
  background: var(--primary-solid);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.4);
}

.play-button i {
  color: var(--white);
  font-size: 2rem;
  margin-left: 4px;
}

.formation-detail-title {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  font-family: var(--font-display);
}

.formation-detail-body {
  padding: var(--space-2xl);
}

.formation-detail-meta {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.formation-detail-meta > div {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--gray-600);
  background: var(--gray-100);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.formation-detail-meta i {
  color: var(--primary-solid);
}

.formation-detail-description {
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  color: var(--gray-700);
  font-size: 1.1rem;
}

.formation-detail-features {
  margin-bottom: var(--space-xl);
}

.formation-detail-features h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
  font-family: var(--font-display);
}

.features-list {
  list-style: none;
  display: grid;
  gap: var(--space-md);
}

.features-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--gray-700);
  padding: var(--space-md);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  font-weight: 500;
}

.features-list li:hover {
  background: var(--gray-100);
  transform: translateX(5px);
}

.features-list i {
  color: var(--white);
  background: var(--success);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.formation-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) var(--space-2xl);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  border-top: 1px solid var(--gray-200);
}

.formation-detail-price {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
}

/* Checkout Form */
.checkout-form {
  display: grid;
  gap: var(--space-xl);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-weight: 700;
  color: var(--gray-700);
  font-size: 1rem;
}

.form-group input,
.form-group select {
  padding: var(--space-lg);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition-normal);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-solid);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  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;
}

.form-group select:hover {
  border-color: var(--primary-solid);
}

.form-group input[readonly] {
  background-color: var(--gray-50);
  color: var(--gray-600);
  cursor: not-allowed;
}

.form-group input[readonly]:focus {
  border-color: var(--gray-300);
  box-shadow: none;
}

.checkout-summary {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin: var(--space-lg) 0;
  border: 1px solid var(--gray-200);
}

.checkout-summary h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
  font-family: var(--font-display);
}

.checkout-item {
  margin-bottom: var(--space-md);
  color: var(--gray-700);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-200);
}

.checkout-item-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
}

.checkout-item-session {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--primary-solid);
  font-weight: 600;
}

.checkout-item-session i {
  margin-right: var(--space-xs);
  font-size: 0.8rem;
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-sessions {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(184, 134, 11, 0.05) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gray-700);
  font-weight: 600;
}

.checkout-sessions > span {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.checkout-sessions i {
  color: var(--primary-solid);
  margin-right: var(--space-sm);
}

.sessions-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.session-tag {
  background: var(--primary-solid);
  color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.checkout-session {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(184, 134, 11, 0.05) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gray-700);
  font-weight: 600;
}

.checkout-session i {
  color: var(--primary-solid);
  margin-right: var(--space-sm);
}

.checkout-total {
  border-top: 2px solid var(--primary-solid);
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  text-align: right;
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
}

/* About Section */
.about-section {
  padding: var(--space-3xl) 0;
  /* background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 10, 0.95) 50%, rgba(10, 10, 20, 0.95) 100%) !important; */
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.95) !important;
}

.about-section::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="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(212,175,55,0.03)" stroke-width="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

.about-section h2 {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #c9a96e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3xl);
  position: relative;
  text-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
  letter-spacing: -0.02em;
  z-index: 2;
}

.about-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-text {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.6s ease;
}

.stat-item:hover::before {
  left: 100%;
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.02);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(255, 215, 0, 0.1) 100%);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3), 0 0 60px rgba(212, 175, 55, 0.1);
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #c9a96e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
  text-shadow: 0 4px 8px rgba(212, 175, 55, 0.4);
  position: relative;
  z-index: 2;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  position: relative;
  z-index: 2;
}

/* ===== SECTION VALEURS MAGNIFIQUE ===== */
.values-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.95) 0%, rgba(15, 20, 25, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.values-section::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="dots" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(212,175,55,0.2)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
  animation: float 25s ease-in-out infinite reverse;
}

.values-section h2 {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #c9a96e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
  letter-spacing: -0.02em;
}

.values-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2xl);
  position: relative;
  z-index: 2;
}

.value-item {
  text-align: center;
  padding: var(--space-2xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%, rgba(255, 215, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.value-item:hover::before {
  opacity: 1;
}

.value-item:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 25px 50px rgba(212, 175, 55, 0.2), 0 0 80px rgba(212, 175, 55, 0.1);
}

.value-item i {
  font-size: 3.5rem;
  color: #d4af37;
  margin-bottom: var(--space-lg);
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.value-item:hover i {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.8));
}

.value-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
}

.value-item p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* ===== SECTION ÉQUIPE MAGNIFIQUE ===== */
.team-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(26, 31, 58, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
  margin-top: 4rem; /* <-- Ajout de la marge en haut */
}

.team-section::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="hexagons" width="40" height="40" patternUnits="userSpaceOnUse"><polygon points="20,0 30,10 30,30 20,40 10,30 10,10" fill="none" stroke="rgba(212,175,55,0.15)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
  opacity: 0.3;
  animation: float 30s ease-in-out infinite;
}

.team-section h2 {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #c9a96e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
  letter-spacing: -0.02em;
}

.team-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-2xl);
  position: relative;
  z-index: 2;
}

.team-member {
  text-align: center;
  padding: var(--space-2xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%, rgba(255, 215, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-member:hover::before {
  opacity: 1;
}

.team-member:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 25px 50px rgba(212, 175, 55, 0.2), 0 0 80px rgba(212, 175, 55, 0.1);
}

.member-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
  border: 3px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.team-member:hover .member-avatar {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}

.member-avatar i {
  font-size: 3rem;
  color: #d4af37;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
  transition: all 0.4s ease;
}

.team-member:hover .member-avatar i {
  transform: scale(1.1);
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.8));
}

.team-member h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 2;
}

.member-role {
  font-size: 1rem;
  color: #d4af37;
  font-weight: 600;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.member-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Contact Section */
.contact-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.95) 0%, rgba(15, 20, 25, 0.95) 50%, rgba(45, 55, 72, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-section::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="waves" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 0 25 Q 12.5 0 25 25 Q 37.5 50 50 25" fill="none" stroke="rgba(212,175,55,0.15)" stroke-width="0.8"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
  opacity: 0.4;
  animation: float 25s ease-in-out infinite;
}

.contact-section h2 {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #c9a96e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
  letter-spacing: -0.02em;
}

.contact-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  position: relative;
  z-index: 2;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.6s ease;
}

.contact-item:hover::before {
  left: 100%;
}

.contact-item:hover {
  transform: translateX(8px) scale(1.02);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(255, 215, 0, 0.1) 100%);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3), 0 0 50px rgba(212, 175, 55, 0.1);
}

.contact-item i {
  font-size: 2.5rem;
  color: #d4af37;
  width: 60px;
  text-align: center;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.contact-item:hover i {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.8));
}

.contact-item h4 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.contact-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.contact-form {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.contact-form:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(212, 175, 55, 0.1);
}

.contact-form .form-group {
  margin-bottom: var(--space-lg);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(5px);
  position: relative;
  z-index: 2;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.8);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(212, 175, 55, 0.1) 100%);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), inset 0 0 10px rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

/* ===== BOUTON D'ENVOI MAGNIFIQUE ===== */
.contact-form .btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
  color: var(--dark);
  border: none;
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.contact-form .btn-primary::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;
}

.contact-form .btn-primary:hover::before {
  left: 100%;
}

.contact-form .btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5), 0 0 60px rgba(212, 175, 55, 0.2);
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
}

.contact-form .btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

/* ===== SECTION FAQ MAGNIFIQUE ===== */
.faq-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(26, 31, 58, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.faq-section::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="circles" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(212,175,55,0.2)"/></pattern></defs><rect width="100" height="100" fill="url(%23circles)"/></svg>');
  opacity: 0.3;
  animation: float 30s ease-in-out infinite reverse;
}

.faq-section h2 {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #c9a96e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
  letter-spacing: -0.02em;
}

.faq-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%, rgba(255, 215, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2), 0 0 60px rgba(212, 175, 55, 0.1);
  transform: translateY(-3px);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.faq-question:hover {
  background: rgba(212, 175, 55, 0.1);
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
  color: #d4af37;
}

.faq-question i {
  font-size: 1.2rem;
  color: #d4af37;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.faq-item:hover .faq-question i {
  transform: rotate(180deg);
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
}

.faq-answer {
  padding: 0 var(--space-xl) var(--space-xl);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  margin-top: var(--space-sm);
}

.faq-answer p {
  margin: 0;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.contact-form select {
  color: rgba(255, 255, 255, 0.8);
}

.contact-form select option {
  background: var(--dark);
  color: var(--white);
  padding: var(--space-sm);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-solid);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.footer::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="footerGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrid)"/></svg>');
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 2;
}

.footer-section h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-lg);
  color: var(--primary-solid);
  font-family: var(--font-display);
  text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

.footer-brand-link {
  color: var(--primary-solid);
  text-decoration: none;
  transition: var(--transition-normal);
  cursor: pointer;
}

.footer-brand-link:hover {
  color: var(--accent);
  transform: scale(1.05);
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.5));
}

.footer-brand-link:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.footer-section a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: var(--space-md);
  transition: var(--transition-normal);
  padding: var(--space-sm) 0;
  border-radius: var(--radius-sm);
}

.footer-section a:hover {
  color: var(--white);
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.05);
  padding-left: var(--space-md);
}



.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 2;
}

/* Success Message */
.success-message {
  position: fixed;
  top: 120px;
  right: var(--space-xl);
  background: var(--success);
  color: var(--white);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  z-index: 4000;
  animation: slideInRight 0.5s ease;

  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.success-message i {
  font-size: 1.2rem;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    /* Ajout d'espacement entre les liens dans le menu mobile */
    padding: 20px 0;
  }

  .nav-menu .nav-item {
    margin-bottom: 20px;
    display: block;
  }

  /* Test de couleur pour le premier lien */
  .nav-menu .nav-item:first-child a {
    color: #ff0000 !important;
  }

  .nav-actions {
    display: flex; /* garde le conteneur visible */
    align-items: center;
    gap: 1rem;   /* petit espace entre panier et hamburger */
    margin-left: auto; /* pousse tout à droite */
  }

  .nav-search {
      display: none; /* cache la recherche */
    }

  .cart-btn {
    display: flex !important; /* garde le panier */
    align-items: center;
    font-size: 1.3rem;   /* réduit la taille de l’icône panier */
    padding: 0.6rem;     /* réduit l’espace autour */
  }


  .mobile-cart-btn {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 6rem var(--space-lg) var(--space-2xl);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-image img {
    transform: none;
  }

  .hero-image img:hover {
    transform: scale(1.05);
  }

  .filters h2 {
    font-size: 2.5rem;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 600px;
  }

  .filter-controls {
    justify-content: center;
  }

  .modal-content {
    margin: var(--space-lg);
    width: calc(100% - 2rem);
  }

  .cart-actions {
    flex-direction: column;
  }

  .formation-detail-footer {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .formation-detail-meta {
    justify-content: center;
  }

  .formation-video-container iframe {
    height: 200px;
  }



  .video-placeholder {
    height: 200px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 100%;
    padding: 0 var(--space-md);
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-button i {
    font-size: 1.5rem;
  }

  .formation-detail-title {
    font-size: 1.8rem;
    text-align: center;
  }

  /* About Section Responsive */
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Contact Section Responsive */
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 480px) {
  .nav {
    padding: var(--space-sm) var(--space-md);
  }

  .nav-brand {
    font-size: 0.9rem;
  }

  .nav-brand i {
    font-size: 0.9rem;
  }

  .mobile-sidebar {
    width: 280px;
  }

  .mobile-sidebar .nav-link {
    font-size: 1rem;
    padding: var(--space-md);
  }

  .mobile-sidebar .cart-btn {
    width: auto;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    justify-content: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .filters h2 {
    font-size: 2rem;
  }

  .formation-card {
    margin: 0 var(--space-sm);
  }

  .formation-detail-title {
    font-size: 1.8rem;
  }

  .success-message {
    right: var(--space-lg);
    left: var(--space-lg);
    font-size: 0.9rem;
  }

  .modal-content {
    margin: var(--space-md);
    width: calc(100% - 1rem);
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}



/* Effets Parallax */
.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax-element {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.parallax-slow {
  transform: translateY(0);
}

.parallax-medium {
  transform: translateY(0);
}

.parallax-fast {
  transform: translateY(0);
}

/* Sections avec effet parallax */
.hero {
  position: relative;
  z-index: 2;
}

.formations-section {
  position: relative;
  z-index: 3;
}

.about-section {
  position: relative;
  z-index: 4;
  background: rgba(15, 20, 25, 0.9);
  backdrop-filter: blur(10px);
}

/* Animation de fade-in pour les éléments parallax */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}



/* Amélioration de l'effet parallax sur l'arrière-plan */
.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: url("../../images/background1.jpg")
  center center;
  background-size: cover;
  background-attachment: fixed;
  z-index: -1;
  will-change: transform;
}

/* Sections avec effet parallax - AMÉLIORÉES */


.about-section {
  position: relative;
  z-index: 4;
  background: rgba(0, 0, 0, 0.7);
  padding: var(--space-3xl) 0;
  backdrop-filter: none;
}

/* Amélioration des boutons pour plus de modernité */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary);
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
  border-color: rgba(212, 175, 55, 0.6);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--primary-solid);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

/* Optimisation des performances */
.parallax-element,
.parallax-slow,
.parallax-medium,
.parallax-fast {
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

/* S'assurer que l'image de fond est visible sur toutes les pages */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../../images/background1.jpg") center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  z-index: -1;
  z-index: -2;
  opacity: 1;
}

/* ========================================
   ANIMATIONS ULTRA-DYNAMIQUES - APPARITION RAPIDE
   ======================================== */

/* Animation pour les boutons - TOUJOURS VISIBLES AVEC ANIMATION */

.filter-btn {
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.filter-btn.btn-animate {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: bounceInUp 0.3s ease-out;
}

/* Animation d'entrée permanente pour les boutons principaux */
@keyframes buttonEntrance {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Animation continue pour les boutons principaux */




@keyframes bounceInUp {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Animation typewriter pour les textes */
.hero-title, .hero-subtitle, .section-title {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease-out;
}

.hero-title.text-animate, .hero-subtitle.text-animate, .section-title.text-animate {
  opacity: 1;
  transform: translateX(0);
  animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation spéciale pour les cartes de formation */
.formation-card {
  opacity: 0;
  transform: translateY(40px) rotateX(10deg);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.formation-card.visible {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  animation: cardSlideIn 0.6s ease-out;
}

@keyframes cardSlideIn {
  0% {
    opacity: 0;
    transform: translateY(60px) rotateX(15deg) scale(0.9);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-5px) rotateX(-2deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
  }
}

/* Animation pour les éléments de navigation */
.nav-brand {
  animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% {
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
  }
  100% {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6), 0 0 30px rgba(212, 175, 55, 0.4);
  }
}

/* Animation pour les badges des formations */
.formation-badge {
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
  }
}

/* Animation de survol améliorée pour les meta-données */
.formation-meta > span {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.formation-meta > span:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Animation pour les filtres */
.filter-btn {
  position: relative;
  overflow: hidden;
}

.filter-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.5s;
}

.filter-btn:hover::before {
  left: 100%;
}

/* Animation d'apparition en cascade pour les éléments */
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }
.fade-in:nth-child(6) { animation-delay: 0.6s; }

/* Animation pour les titres de section */
.section-title {
  position: relative;
  overflow: hidden;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #ffd700);
  transition: width 0.8s ease-out;
}

.section-title.text-animate::after {
  width: 100%;
}

/* Footer Styles - Utilise l'image de fond générale du site */
.footer {
  background: rgba(26, 31, 58, 0.3); /* Overlay bleu léger pour s'harmoniser */
  padding: var(--space-3xl) 0 var(--space-xl) 0;
  margin-top: var(--space-3xl);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
  backdrop-filter: blur(5px);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-section h4 {
  color: #ffff33;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.footer-section a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: var(--space-sm);
  transition: var(--transition-normal);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.footer-section a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-sm);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.footer-section i {
  color: #ffff66;
  margin-right: var(--space-sm);
  width: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}



/* Footer Responsive */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer {
    padding: var(--space-2xl) 0 var(--space-lg) 0;
  }
}

/* Style spécial pour la session de début */
.formation-meta > span:has(i.fa-calendar-alt) {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(255, 215, 0, 0.15) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--primary-solid);
  font-weight: 700;
  animation: sessionPulse 2s ease-in-out infinite;
  padding: 8px;
  border-radius: 6px;
}

.formation-meta > span:has(i.fa-calendar-alt):hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.35) 0%, rgba(255, 215, 0, 0.25) 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

@keyframes sessionPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
  }
}

/* Réduction de la taille des éléments */
h1 {
  font-size: 2rem !important;
  line-height: 1.2 !important;
}

h2 {
  font-size: 1.5rem !important;
  line-height: 1.3 !important;
}

h3 {
  font-size: 1.2rem !important;
  line-height: 1.4 !important;
}

h4 {
  font-size: 1rem !important;
  line-height: 1.4 !important;
}

/* Réduction de la taille des boutons */
.btn {
  padding: 8px 16px !important;
  font-size: 0.9rem !important;
}

.btn-primary, .btn-secondary {
  padding: 8px 16px !important;
  font-size: 0.9rem !important;
}

/* Réduction de la taille des filtres */
.filter-btn {
  padding: 6px 12px !important;
  font-size: 0.85rem !important;
  margin: 4px !important;
}

/* Réduction de la taille des cartes de formation */
.formation-card {
  padding: 12px !important;
}

.formation-card h3 {
  font-size: 1rem !important;
  margin-bottom: 8px !important;
}

.formation-card p {
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
}

.formation-card .price {
  font-size: 1.1rem !important;
}

/* Réduction de la taille du texte général */
p {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
}

/* Réduction de la taille des éléments de navigation */
.nav-brand span {
  font-size: 1.2rem !important;
}

.nav-link {
  font-size: 0.9rem !important;
  padding: 8px 12px !important;
}

/* Réduction de la taille des modals */
.modal-content {
  max-width: 500px !important;
}

.modal-header h3 {
  font-size: 1.3rem !important;
}

/* Réduction de la taille des formulaires */
.form-group input,
.form-group textarea,
.form-group select {
  padding: 8px 12px !important;
  font-size: 0.9rem !important;
}

/* Réduction de la taille des statistiques */
.stat-item h3 {
  font-size: 1.8rem !important;
}

.stat-item p {
  font-size: 0.85rem !important;
}

/* Réduction de la taille des éléments de contact */
.contact-item h4 {
  font-size: 0.95rem !important;
}

.contact-item p {
  font-size: 0.85rem !important;
}

/* Réduction de la taille du footer */
.footer-section h4 {
  font-size: 1rem !important;
}

.footer-section a,
.footer-section p {
  font-size: 0.85rem !important;
}

/* Réduction de la taille des icônes */
.fas, .fab {
  font-size: 0.9em !important;
}

/* Réduction de la taille des éléments de la grille de fonctionnalités */
.feature-item h3 {
  font-size: 1rem !important;
}

.feature-item p {
  font-size: 0.85rem !important;
}

/* Réduction de la taille des éléments de l'équipe */
.team-member h3 {
  font-size: 1.1rem !important;
}

.member-role {
  font-size: 0.9rem !important;
}

.member-description {
  font-size: 0.85rem !important;
}

/* Réduction de la taille des valeurs */
.value-item h3 {
  font-size: 1rem !important;
}

.value-item p {
  font-size: 0.85rem !important;
}

/* Réduction de la taille des FAQ */
.faq-question h3 {
  font-size: 1rem !important;
}

.faq-answer p {
  font-size: 0.85rem !important;
}

/* Réduction de la taille des éléments de recherche */
.search-box input {
  padding: 6px 12px !important;
  font-size: 0.85rem !important;
}

/* Réduction de la taille du panier */
.cart-count {
  font-size: 0.75rem !important;
  font-size: 0.75rem;  /* réduit le petit compteur */
}

/* Réduction de la taille des éléments de présentation */
.presentation-text p {
  font-size: 0.9rem !important;
}

/* Ajustement des marges et paddings pour un look plus compact */
.container {
  padding: 0 15px !important;
}

section {
  padding: 40px 0 !important;
}

.about-content,
.contact-content,
.values-grid,
.team-grid {
  gap: 20px !important;
}

/* Réduction de la taille des éléments de la grille de formations */
.grid {
  gap: 15px !important;
}

/* Réduction de la taille des éléments de la sidebar mobile */
.mobile-sidebar-content .nav-link {
  font-size: 0.9rem !important;
  padding: 10px 15px !important;
}

/* Réduction de la taille des éléments du modal de formation */
.formation-detail h2 {
  font-size: 1.3rem !important;
}

.formation-detail p {
  font-size: 0.9rem !important;
}

/* Réduction de la taille des éléments du checkout */
.checkout-form label {
  font-size: 0.9rem !important;
}

.checkout-summary h4 {
  font-size: 1rem !important;
}

/* Ajustement général pour un look plus professionnel et compact */
* {
  box-sizing: border-box;
}

/* Réduction de la taille des éléments de la page d'accueil */
.hero-title {
  font-size: 2.2rem !important;
  line-height: 1.2 !important;
}

.hero-actions .btn {
  padding: 10px 20px !important;
  font-size: 0.95rem !important;
}

/* Réduction de la taille des éléments de la page produits */
.filters h2 {
  font-size: 1.4rem !important;
  margin-bottom: 15px !important;
}

/* Réduction de la taille des éléments de la page à propos */
.about-section h2,
.values-section h2,
.team-section h2 {
  font-size: 1.4rem !important;
  margin-bottom: 20px !important;
}

/* Réduction de la taille des éléments de la page contact */
.contact-section h2,
.faq-section h2 {
  font-size: 1.4rem !important;
  margin-bottom: 20px !important;
}

.contact-form h3 {
  font-size: 1.1rem !important;
  margin-bottom: 15px !important;
}

/* Styles pour les nouvelles sections de la page d'accueil */

/* Hero Section */
.hero-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
  color: var(--white);
  margin-bottom: 60px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 30px;
}

.hero-actions .btn {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: var(--dark);
}

/* Formations Preview Section */
.formations-preview-section {
  padding: 80px 0;
  background: #f0f4f8; /* Fond légèrement bleuté pour la section des formations */
}

.formations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.formation-card {
  background: #1a1f3a; /* Couleur bleu foncé pour les cartes de formation */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.formation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.formation-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.formation-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(212, 175, 55, 0.9);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.formation-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark);
}

.formation-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
}

.formation-content {
  padding: 20px;
}

.formation-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}

.formation-description {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 15px;
}

.formation-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.8rem;
}

.formation-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
}

.formation-meta i {
  color: #d4af37;
  width: 16px;
}

.formation-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 20px;
}

.formation-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-solid);
}

.view-more-btn {
  background: var(--accent);
  color: var(--dark);
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.view-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
  background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

/* ====================================
   STYLES POUR LA PAGE À PROPOS
   ==================================== */
.about-block {
  padding: 4rem 0;
  color: var(--primary-solid) !important; /* Texte en or */
}

.about-block * {
  color: var(--primary-solid) !important; /* Force la couleur or sur tous les éléments */
}

.about-grid {
  max-width: 900px;
  margin: 0 auto;
  color: var(--primary-solid) !important;
}

.about-text {
  background: rgba(15, 20, 45, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.about-text p,
.about-text li,
.about-text h1,
.about-text h2,
.about-text h3,
.about-text h4,
.about-text h5,
.about-text h6,
.about-summary,
.about-summary p,
.about-summary li,
.about-summary h1,
.about-summary h2,
.about-summary h3,
.about-summary h4,
.about-summary h5,
.about-summary h6 {
  color: var(--primary-solid) !important;
}

.quote-box {
  background: rgba(212, 175, 55, 0.1);
  border-left: 4px solid var(--primary-solid);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0 8px 8px 0;
}

.quote-box p {
  color: var(--primary-solid) !important;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.about-summary {
  line-height: 1.8;
}

.about-summary p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.about-summary ul {
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

.about-summary li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 2rem;
  list-style-type: none;
}

.about-summary li::before {
  content: '→';
  color: var(--primary-solid);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.mission-section,
.journey-section {
  margin-bottom: 2.5rem;
}

.section-subtitle {
  color: var(--primary-solid) !important;
  font-size: 1.5rem;
  margin: 2rem 0 1.2rem;
  padding-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-solid);
  border-radius: 3px;
}

h4.section-subtitle {
  font-size: 1.3rem;
  margin: 1.8rem 0 1rem;
}

/* Styles pour la section des statistiques */
.about-stats-section {
  padding: 3rem 0;
  background: rgba(15, 20, 45, 0.8);
  margin: 3rem 0;
  color: var(--primary-solid) !important;
}

.about-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  flex: 1;
  min-width: 200px;
  color: var(--primary-solid) !important;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-solid) !important;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--primary-solid) !important;
  font-size: 1.1rem;
  margin: 0;
}

/* Why Choose Section */
.why-choose-section {
  padding: 80px 0;
  background: var(--white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.advantage-item {
  text-align: center;
  padding: 20px;
}

.advantage-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.advantage-icon i {
  font-size: 32px;
  color: var(--dark);
}

.advantage-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark);
}

.advantage-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.author-avatar i {
  font-size: 20px;
  color: var(--dark);
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* Call to Action Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: var(--white);
  text-align: center;
  /* ===== BLOQUE TOUS LES EFFETS DE PARALLAXE ===== */
  position: static !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  will-change: auto !important;
  filter: none !important;
  backdrop-filter: none !important;
  perspective: none !important;
  backface-visibility: visible !important;
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
  scroll-snap-align: none !important;
  transform-style: none !important;
  transform-origin: none !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  float: none !important;
  clear: both !important;
  overflow: visible !important;
  z-index: auto !important;
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* ===== STYLES DU PIED DE PAGE ===== */
.footer {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(30, 30, 30, 0.95) 100%);
  padding: 4rem 0 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-solid), transparent);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.footer-section h4 {
  color: var(--primary-solid);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-solid);
}

.footer-section p {
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-section a {
  color: var(--gray-300);
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--primary-solid);
  transform: translateX(5px);
  text-decoration: none;
}

.footer-section i {
  margin-right: 10px;
  color: var(--primary-solid);
  width: 20px;
  text-align: center;
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-400);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-bottom a {
  color: var(--primary-solid);
  font-weight: 600;
  transition: color 0.3s ease;
  margin-bottom: 0;
}

.footer-bottom a:hover {
  color: #fff;
  text-decoration: none;
  transform: none;
}

/* Styles responsifs pour le pied de page */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-section {
    margin-bottom: 2rem;
  }

  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }

  .footer-section a:hover {
    transform: none;
  }
}

/* ===== BLOQUE LES CLASSES DYNAMIQUES AJOUTÉES PAR JAVASCRIPT ===== */
.cta-section .fade-in,
.cta-section .parallax-slow,
.cta-section .visible {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  will-change: auto !important;
  filter: none !important;
  backdrop-filter: none !important;
  perspective: none !important;
  backface-visibility: visible !important;
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
  scroll-snap-align: none !important;
  transform-style: none !important;
  transform-origin: none !important;
}

/* ===== BLOQUE TOUS LES STYLES INLINE ===== */
.cta-section [style*="transform"],
.cta-section [style*="animation"],
.cta-section [style*="transition"] {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  will-change: auto !important;
  filter: none !important;
  backdrop-filter: none !important;
  perspective: none !important;
  backface-visibility: visible !important;
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
  scroll-snap-align: none !important;
  transform-style: none !important;
  transform-origin: none !important;
}

/* ===== BLOQUE LES STYLES INLINE SPÉCIFIQUES ===== */
.cta-section [style*="translateY"],
.cta-section [style*="translateX"],
.cta-section [style*="translate"],
.cta-section [style*="px"] {
  transform: none !important;
  transform-style: none !important;
  transform-origin: none !important;
  animation: none !important;
  transition: none !important;
  will-change: auto !important;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .btn {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-actions .btn-primary {
  background: var(--accent);
  color: var(--dark);
  font-weight: 600;
}

.cta-actions .btn-primary:hover {
  background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.cta-actions .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* ===== BLOQUE TOUS LES EFFETS DE PARALLAXE GLOBAUX ===== */
*[class*="parallax"],
*[class*="fade"],
*[class*="scroll"] {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  will-change: auto !important;
}

/* ===== BLOQUE TOUS LES STYLES INLINE GLOBAUX ===== */
*[style*="transform"],
*[style*="animation"],
*[style*="transition"] {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  will-change: auto !important;
}

/* ===== FORCE LA STABILITÉ GLOBALE ===== */
html, body {
  scroll-behavior: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

/* ===== EFFET DE SCROLL AUTOMATIQUE POUR LE HEADER ===== */
@media (prefers-reduced-motion: no-preference) {
  .header {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .header.scrolled {
    transform: translateY(0);
  }
}

/* ===== SCRIPT JAVASCRIPT POUR LE SCROLL DU HEADER ===== */
/*
// Ajoutez ce code dans main.js ou créez un nouveau fichier header.js
document.addEventListener('DOMContentLoaded', function() {
  const header = document.querySelector('.header');

  function handleScroll() {
    if (window.scrollY > 50) {
      header.classList.add('scrolled');
    } else {
      header.classList.remove('scrolled');
    }
  }

  window.addEventListener('scroll', handleScroll);
  handleScroll(); // Vérifier l'état initial
});
*/

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .formations-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .formation-card,
  .testimonial-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .formation-card,
  .testimonial-card {
    padding: 15px;
  }
}

/* ===== NOUVELLES SECTIONS "QUI SOMMES-NOUS" ===== */

/* Section Qui sommes-nous sur la page d'accueil */
.about-us-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  margin-bottom: 60px;
}

.about-us-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-us-text {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.quote-highlight {
  margin: 30px 0;
  padding: 20px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-solid) 100%);
  border-radius: 10px;
  position: relative;
}

.quote-highlight::before {
  content: '"';
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.3);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: serif;
}

.quote-text {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  margin: 0;
  line-height: 1.4;
}

.about-story {
  text-align: left;
  margin-top: 30px;
}

.about-story h3 {
  color: var(--dark);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 25px 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.about-story p {
  color: var(--gray-600);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.story-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.story-section:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.story-section h3 {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  display: inline-block;
}

.story-section p {
  margin-bottom: 0;
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.6;
}

.about-mission {
  margin-top: 40px;
  padding: 30px;
  border-top: 2px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  text-align: center;
}

.about-mission h3 {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.about-mission p {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive pour les nouvelles sections */
@media (max-width: 768px) {
  .about-us-section {
    padding: 60px 0;
  }

  .about-us-text {
    padding: 30px 20px;
  }

  .quote-text {
    font-size: 1.2rem;
  }

  .about-story h3 {
    font-size: 1.3rem;
  }

  .about-story p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .about-us-section {
    padding: 40px 0;
  }

  .about-us-text {
    padding: 25px 15px;
  }

  .quote-text {
    font-size: 1.1rem;
  }

  .about-story h3 {
    font-size: 1.2rem;
  }

  .about-story p {
    font-size: 0.95rem;
  }
}

.commande-confirmation-section {
    font-family: Arial, sans-serif;
}
.commande-confirmation-card {
    background: white;
    max-width: 800px;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 40px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}
.commande-confirmation-icon {
    font-size: 70px;
    color: #28a745;
    margin-bottom: 20px;
}
.commande-confirmation-title {
    font-size: 28px;
    color: #28a745;
    font-weight: bold;
    margin-bottom: 15px;
}
.commande-confirmation-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}
.commande-confirmation-details {
    text-align: left;
    background-color: #ffd700;
    color: black;
    font-weight: bold;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.commande-confirmation-details p {
    margin: 8px 0;
    font-size: 16px;
}
.commande-confirmation-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background-color: #ffd700;
    color: black;
    font-weight: bold;
}
.commande-confirmation-table thead {
    background: #ffd700;
    color: black;
    font-weight: bold;
}
.commande-confirmation-table th,
.commande-confirmation-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid black;
    font-size: 15px;
}
.commande-confirmation-total-price {
    font-weight: bold;
    font-size: 18px;
    margin-top: 20px;
    color: #333;
}
.commande-confirmation-btn-home {
    display: inline-block;
    background: #ffd700;
    color: black;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    margin-top: 20px;
    transition: background 0.3s ease;
}
.commande-confirmation-btn-home:hover {
    background: black;
    color: white;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.commande-cancel-section {
    font-family: Arial, sans-serif;
}
.commande-cancel-card {
    background: white;
    max-width: 700px;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 40px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}
.commande-cancel-icon {
    font-size: 70px;
    color: #dc3545; /* rouge annulation */
    margin-bottom: 20px;
}
.commande-cancel-title {
    font-size: 28px;
    color: #dc3545;
    font-weight: bold;
    margin-bottom: 15px;
}
.commande-cancel-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
}
.commande-cancel-btn {
    display: inline-block;
    background: #ffd700;
    color: black;
    border-radius: 12px;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    margin: 8px;
    transition: background 0.3s ease;
}
.commande-cancel-btn:hover {
    background: black;
    color: white;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
