/* Définition des couleurs */
:root {
    --rouge: #e53935;
    --bleu-roi: #141a99;
    --bleu-fonce: #1E1F57;
    --bleu-ciel: #25274d;
    --jaune: #FFC107;
    --jaune-fonce: #E0A800;
    --blanc: #ffffff;
    --bleu-principal: #0a1931;
    --accent: #185adb;
    --gris-clair: #f4f4f4;
    --gris-moyen: #cccccc;
    --gris-fonce: #333333;
    --vert: #2fa002;
    --ombre: rgba(0, 0, 0, 0.2);
    
    /* Variables pour les animations */
    --transition-rapide: 0.2s;
    --transition-moyenne: 0.3s;
    --transition-lente: 0.4s;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gris-fonce);
    overflow-x: hidden;
    background-color: var(--gris-clair);
  }
  
  /* Header avec animation au scroll */
  header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bleu-fonce);
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px var(--ombre);
  z-index: 1000;
  transition: all var(--transition-moyenne) ease;
  }
  
  /* Header réduit au scroll */
  header.scrolled {
  padding: 5px 20px;
  background: rgba(30, 31, 87, 0.95);
  backdrop-filter: blur(5px);
  }
  
  /* Logo + Bouton Menu */
  .logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  }
  
  .logo-container h1 {
  color: var(--gris-clair);
  font-size: 20px;
  font-weight: bold;
  transition: font-size var(--transition-rapide) ease;
  }
  
  header.scrolled .logo-container h1 {
  font-size: 22px;
  }
  
  .menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  color: var(--gris-clair);
  cursor: pointer;
  transition: transform var(--transition-rapide) ease, color var(--transition-rapide) ease;
  }
  
  .menu-toggle:hover {
  color: var(--jaune);
  transform: scale(1.1);
  }
  
  /* Menu */
  nav {
  width: 100%;
  background: var(--bleu-roi);
  border-radius: 6px;
  transition: all var(--transition-rapide) ease;
  }
  
  header.scrolled nav {
  border-radius: 4px;
  }
  
  .menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 10px 0;
  }
  
  .menu li {
  position: relative;
  }
  
  .menu a {
  text-decoration: none;
  color: var(--gris-clair);
  font-size: 16px;
  font-weight: bold;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  transition: all var(--transition-moyenne) cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  
  .menu a i:not(.submenu-indicator) {
  margin-right: 8px;
  transition: transform var(--transition-rapide) ease;
  }
  
  .submenu-indicator {
  margin-left: 6px;
  font-size: 12px;
  transition: transform var(--transition-rapide) ease;
  }
  
  .dropdown.active .submenu-indicator,
  .dropdown:hover .submenu-indicator {
  transform: rotate(-180deg);
  }
  
  .menu a:hover i:not(.submenu-indicator), 
  .menu a.active i:not(.submenu-indicator) {
  transform: scale(1.2);
  }
  
  .menu a:hover{
  background-color: var(--jaune);
  color: var(--bleu-fonce);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px var(--ombre);
  }
  
  /* Effet de clic */
  .menu a:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px var(--ombre);
  }
  
  /* Style spécial pour les liens avec sous-menus */
  .has-submenu {
  position: relative;
  }
  
  /* Sous-menu */
  .submenu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background-color: var(--bleu-roi);
  min-width: 260px;
  border-radius: 8px;
  box-shadow: 0px 8px 16px var(--ombre);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  z-index: 100;
  overflow: hidden;
  transition: all var(--transition-moyenne) cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  }
  
  .dropdown:hover .submenu,
  .dropdown.active .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
  }
  
  .submenu a {
  padding: 12px 15px;
  font-size: 14px;
  color: var(--blanc);
  display: flex;
  align-items: center;
  transition: all var(--transition-rapide) ease;
  border-left: 3px solid transparent;
  border-radius: 0;
  }
  
  .submenu a:hover {
  background-color: rgba(255, 193, 7, 0.2);
  border-left: 3px solid var(--jaune);
  transform: translateX(5px);
  box-shadow: none;
  }
  
  /* Style pour le lien actif dans le sous-menu */
  .submenu a.active {
  background-color: rgba(255, 193, 7, 0.3);
  border-left: 3px solid var(--jaune);
  color: var(--jaune);
  }
  
  /* Responsive pour mobile */
  @media (max-width: 768px) {
    
  .menu-toggle {
  display: block;
  }
  
  .menu-toggle.active {
  color: var(--jaune);
  }
  
  .menu {
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  left: -100%;
  top: 80px;
  width: 85%;
  height: calc(100vh - 80px);
  background: var(--bleu-ciel);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-lente) cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 999;
  overflow-y: auto;
  box-shadow: 5px 0 15px var(--ombre);
  }
  
  .menu.active {
  left: 0;
  opacity: 1;
  visibility: visible;
  }
  
  .menu li {
  width: 100%;
  margin-bottom: 5px;
  }
  
  .menu a {
  padding: 15px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  justify-content: left;
  }
  
  .menu a i:not(.submenu-indicator) {
  margin-right: 10px;
  }
  
  /* Correction pour les sous-menus sur mobile */
  .submenu {
  position: static;
  width: 100%;
  box-shadow: none;
  margin-top: 5px;
  margin-left: 15px;
  margin-bottom: 10px;
  background-color: rgba(20, 26, 153, 0.3);
  border-radius: 8px;
  max-height: 0;
  opacity: 1;
  visibility: hidden;
  transform: none;
  transition: max-height var(--transition-lente) ease, visibility var(--transition-lente) ease, padding var(--transition-lente) ease;
  padding: 0;
  pointer-events: none; /* Ajout pour cohérence avec l'état desktop */
  }
  
  .dropdown.active .submenu {
  max-height: 500px;
  visibility: visible;
  padding: 5px;
  pointer-events: all; /* Ajout pour cohérence avec l'état desktop */
  }
  
  .submenu a {
  padding: 12px 15px;
  border-left: none;
  border-radius: 6px;
  margin-bottom: 3px;
  }
  
  .submenu a:hover {
  transform: none;
  background-color: rgba(255, 193, 7, 0.1);
  border-left: 3px solid var(--jaune);
  }
  
  /* Animation du bouton hamburger */
  .menu-toggle.active i.fa-bars:before {
  content: "\f00d"; /* Icône 'x' de Font Awesome */
  }
  
  /* Animation pour le menu mobile */
  @keyframes slideInMenu {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
  }
  
  .menu.active li {
  animation: slideInMenu 0.4s ease forwards;
  animation-delay: calc(0.05s * var(--item-index, 0));
  opacity: 0;
  }
  
  .menu li:nth-child(1) { --item-index: 1; }
  .menu li:nth-child(2) { --item-index: 2; }
  .menu li:nth-child(3) { --item-index: 3; }
  .menu li:nth-child(4) { --item-index: 4; }
  .menu li:nth-child(5) { --item-index: 5; }
  
  /* Suppression du conflit avec les styles desktop pour les dropdowns */
  .dropdown::after {
  display: none; /* Supprime la zone tampon qui est utilisée uniquement en desktop */
  }
  }
  
  /* Animation pour le header au défilement */
  @keyframes headerShadowPulse {
  0% {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  50% {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
  100% {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  }
  
  /* Appliquer l'animation au scroll */
  header.scrolled {
  animation: headerShadowPulse 2s infinite;
  }
  
  /* Ajouter un indicateur visuel pour les sous-menus mobiles */
  @media (max-width: 768px) {
  .submenu::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 5px;
  }
  }
  
  /* Effet de zoom pour le menu actif */
  .menu a.active {
  position: relative;
  z-index: 2;
  }
  
  /* Ajouter un badge "NEW" à un élément si nécessaire */
  .new-badge::after {
  content: 'NEW';
  font-size: 10px;
  background-color: var(--rouge);
  color: white;
  padding: 2px 4px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: bold;
  }
  
  /* Réparation des menus déroulants - Version Desktop */
  @media (min-width: 769px) {
  /* Créer une zone de survol sécurisée */
  .dropdown {
  position: relative;
  }
  
  /* Ajouter une zone invisible pour maintenir le hover */
  .dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px; /* Zone tampon entre le menu principal et le sous-menu */
  background: transparent; /* Invisible mais détecte le survol */
  }
  
  /* Repositionner le sous-menu pour éliminer l'espace mort */
  .dropdown .submenu {
  top: calc(100% + 20px); /* Correspond à la hauteur de la zone tampon */
  }
  }
  
  /* S'assurer que le menu reste visible pendant le survol */
  .dropdown:hover .submenu,
  .dropdown:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
  }
  
  /* Ajouter une transition au hover pour une meilleure expérience */
  .dropdown {
  transition: all 0.2s ease;
  }
  
  /* Améliorer la zone de clic sur mobile */
  @media (max-width: 768px) {
  .dropdown > a {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  }
  }

  /* Section Formations */
  .formations-section {
    position: relative;
    background: linear-gradient(135deg, #f6f9fc 0%, #e9f2f9 100%);
    padding: 80px 20px;
    overflow: hidden;
    
}

.formations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23185adb' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
}

.inner-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header avec effet parallax */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--bleu-fonce);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--jaune) 0%, var(--rouge) 100%);
    border-radius: 5px;
}

.section-subtitle {
    color: var(--accent);
    font-size: 1.4rem;
    font-weight: 400;
    max-width: 800px;
    margin: 25px auto 0;
    position: relative;
}

/* Filtres */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-tab {
    background-color: var(--blanc);
    color: var(--bleu-principal);
    border: 2px solid var(--accent);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(24, 90, 219, 0.1);
}

.filter-tab:hover {
    background-color: var(--accent);
    color: var(--blanc);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 90, 219, 0.2);
}

.filter-tab.active {
    background-color: var(--accent);
    color: var(--blanc);
}

/* Grille de formations */
.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
    perspective: 1000px;
    justify-content: center;
}

.formation-card {
    background: var(--blanc);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 25, 49, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    transform-origin: center;
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
}

.formations-grid.filtered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.formations-grid.filtered .formation-card {
    width: 400px;
    margin: 0 20px 40px;
}

.formation-card.animated {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.formation-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(10, 25, 49, 0.15);
}

.card-ribbon {
    position: absolute;
    top: 25px;
    right: -30px;
    background: var(--jaune);
    color: var(--bleu-principal);
    font-weight: bold;
    padding: 5px 30px;
    transform: rotate(45deg);
    z-index: 10;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card-top {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 1s ease;
}

.formation-card:hover .card-bg {
    transform: scale(1.1);
}

.bg-executive {
    background: linear-gradient(135deg, #141a99 0%, #0a1931 100%);
}

.bg-master {
    background: linear-gradient(135deg, #1E1F57 0%, #0a1931 100%);
}

.bg-licence {
    background: linear-gradient(135deg, #185adb 0%, #0a1931 100%);
}

.bg-bts {
    background: linear-gradient(135deg, #25274d 0%, #0a1931 100%);
}

.card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--blanc);
    opacity: 0.5;
    transition: all 0.5s ease;
}

.formation-card:hover .card-icon {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
}

.card-content {
    padding: 30px;
    position: relative;
}

.card-title {
    color: var(--bleu-fonce);
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.formation-card:hover .card-title::after {
    width: 100px;
}

.card-description {
    color: var(--gris-fonce);
    margin-bottom: 25px;
    line-height: 1.7;
}

.certification-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 193, 7, 0.15);
    color: var(--jaune-fonce);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.certification-badge i {
    margin-right: 5px;
}

.locations {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 25px;
}

.location-tag {
    display: flex;
    align-items: center;
    background: rgba(229, 57, 53, 0.1);
    color: var(--rouge);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

.location-tag i {
    margin-right: 5px;
}

.specialisations-title {
    font-size: 1.1rem;
    color: var(--bleu-fonce);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.specialisations-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    opacity: 0.3;
}

.specialisations-list {
    margin-bottom: 25px;
}

.specialisation-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 15px;
    background: rgba(24, 90, 219, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.specialisation-item:hover {
    background: rgba(24, 90, 219, 0.1);
    transform: translateX(5px);
}

.specialisation-item i {
    color: var(--vert);
    margin-right: 10px;
    font-size: 1rem;
}

.specialisation-text {
    font-size: 0.95rem;
    color: var(--gris-fonce);
}

.card-action {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--bleu-roi) 100%);
    color: var(--blanc);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(24, 90, 219, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bleu-roi) 0%, var(--accent) 100%);
    transition: all 0.5s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(24, 90, 219, 0.4);
}

.cta-button:hover::before {
    left: 0;
}



@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Animation des cartes */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.formation-card:nth-child(1) { animation-delay: 0.2s; }
.formation-card:nth-child(2) { animation-delay: 0.4s; }
.formation-card:nth-child(3) { animation-delay: 0.6s; }
.formation-card:nth-child(4) { animation-delay: 0.8s; }

/* Pulse animation sur le bouton découvrir */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(24, 90, 219, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(24, 90, 219, 0); }
    100% { box-shadow: 0 0 0 0 rgba(24, 90, 219, 0); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Sparkle effect for certification badge */
@keyframes sparkle {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.sparkle {
    position: absolute;
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'%3E%3Cpath fill='%23FFC107' d='M7.5,0 L9.5,5 L15,5 L10.5,8.5 L12.5,15 L7.5,11 L2.5,15 L4.5,8.5 L0,5 L5.5,5 L7.5,0 Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    pointer-events: none;
    animation: sparkle 1.5s linear infinite;
}

/* Spin effect for icons */
@keyframes spinIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin-icon {
    animation: spinIcon 1s linear;
}

/* Media Queries */
@media (max-width: 1200px) {
    .formations-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .formations-section {
        padding: 60px 15px;
    }

    .formations-grid.filtered .formation-card {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 40px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }

    .floating-shape {
        display: none;
    }
    
    .formations-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}



  /* --- FOOTER FUTURISTE ANIMÉ --- */
.footer {
    background: linear-gradient(180deg, var(--bleu-fonce), #080b29);
    color: var(--blanc);
    padding: 60px 20px 0;
    font-size: 15px;
    position: relative;
    overflow: hidden;
  }
  
  /* --- PARTICULES FLOTTANTES --- */
  .particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
  }
  
  .particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--jaune);
    opacity: 0.2;
    pointer-events: none;
  }
  
  .particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation: float 15s infinite linear alternate;
  }
  
  .particle:nth-child(2) {
    top: 20%;
    left: 80%;
    width: 12px;
    height: 12px;
    animation: float 20s infinite linear alternate-reverse;
  }
  
  .particle:nth-child(3) {
    top: 60%;
    left: 50%;
    width: 5px;
    height: 5px;
    animation: float 18s infinite linear alternate;
  }
  
  .particle:nth-child(4) {
    top: 80%;
    left: 20%;
    animation: float 25s infinite linear alternate-reverse;
  }
  
  .particle:nth-child(5) {
    top: 40%;
    left: 85%;
    width: 10px;
    height: 10px;
    animation: float 22s infinite linear alternate;
  }
  
  .particle:nth-child(6) {
    top: 75%;
    left: 70%;
    width: 6px;
    height: 6px;
    animation: float 17s infinite linear alternate-reverse;
  }
  
  @keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, 20px) rotate(180deg);
        opacity: 0.5;
    }
    100% {
        transform: translate(-20px, 40px) rotate(360deg);
        opacity: 0.3;
    }
  }
  
  /* --- LIGNE LUMINEUSE FUTURISTE --- */
  .footer-glow {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--jaune), transparent);
    position: absolute;
    top: 0;
    left: -100%;
    animation: glow-animation 5s infinite linear;
  }
  
  @keyframes glow-animation {
    0% { left: -100%; }
    100% { left: 100%; }
  }
  
  /* --- GRID DU FOOTER --- */
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 2;
  }
  
  .footer-col {
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    animation: fade-in 0.8s forwards;
    animation-delay: var(--delay, 0s);
  }
  
  @keyframes fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
  }
  
  /* --- LOGO & DESCRIPTION --- */
  .footer-logo {
    width: 180px;
    margin-bottom: 15px;
    filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.3));
    transform-origin: center;
    animation: pulse-subtle 4s infinite alternate ease-in-out;
  }
  
  @keyframes pulse-subtle {
    0% {
        filter: drop-shadow(0px 0px 8px rgba(255, 193, 7, 0.3));
    }
    100% {
        filter: drop-shadow(0px 0px 15px rgba(255, 193, 7, 0.7));
    }
  }
  
  .slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slide-up 0.6s forwards 0.3s;
  }
  
  @keyframes slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
  }
  
  /* --- ICÔNES SOCIALES --- */
  .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    opacity: 0;
    animation: fade-in 0.8s forwards 0.8s;
  }
  
  .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--blanc);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .social-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--jaune);
    border-radius: 50%;
    top: 100%;
    left: 0;
    transition: all 0.3s ease;
    z-index: -1;
  }
  
  .social-icon:hover {
    color: var(--bleu-fonce);
    transform: translateY(-5px);
  }
  
  .social-icon:hover::before {
    top: 0;
  }
  
  /* --- TITRES DU FOOTER --- */
  .footer h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--jaune);
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    display: inline-block;
  }
  
  .slide-in {
    opacity: 0;
    transform: translateX(-20px);
    animation: slide-in 0.5s forwards;
  }
  
  @keyframes slide-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
  }
  
  .footer h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--jaune);
    animation: line-grow 0.8s forwards 0.5s;
  }
  
  @keyframes line-grow {
    to {
        width: 100%;
    }
  }
  
  .footer h3 i {
    margin-right: 8px;
    animation: bounce 2s infinite;
  }
  
  @keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
  }
  
  /* --- LIENS RAPIDES --- */
  .footer ul {
    list-style: none;
    padding: 0;
  }
  
  .staggered-list li {
    margin-bottom: 12px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slide-in 0.5s forwards;
    animation-delay: calc(0.2s * var(--item) + 0.5s);
  }
  
  .footer ul li a {
    color: var(--blanc);
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 5px;
  }
  
  .footer ul li a.hover-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    width: 3px;
    height: 0;
    background: var(--jaune);
    transition: height 0.3s ease;
  }
  
  .footer ul li a.hover-effect:hover::before {
    height: 100%;
  }
  
  .footer ul li a i {
    margin-right: 8px;
    color: var(--jaune);
    transition: transform 0.3s ease;
  }
  
  .footer ul li a:hover {
    color: var(--jaune);
    transform: translateX(8px);
  }
  
  .footer ul li a:hover i {
    transform: rotate(20deg);
  }
  
  /* --- CONTACT --- */
  .contact-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .contact-item {
    line-height: 1.6;
    font-size: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: slide-up 0.5s forwards;
    animation-delay: calc(0.15s * var(--i, 1) + 0.7s);
  }
  
  .contact-item:nth-child(1) { --i: 1; }
  .contact-item:nth-child(2) { --i: 2; }
  .contact-item:nth-child(3) { --i: 3; }
  .contact-item:nth-child(4) { --i: 4; }
  .contact-item:nth-child(5) { --i: 5; }
  
  .contact-item i {
    color: var(--jaune);
    margin-right: 5px;
  }
  
  .footer-col p a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .hover-underline {
    position: relative;
  }
  
  .hover-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--jaune);
    transition: width 0.3s ease;
  }
  
  .hover-underline:hover::after {
    width: 100%;
  }
  
  .footer-col a:hover {
    color: var(--jaune);
  }
  
  /* --- COPYRIGHT --- */
  .footer-bottom {
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
  }
  
  .copyright-text {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fade-in 1s forwards 1.2s;
  }
  
  /* --- VAGUE ANIMÉE --- */
  .footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
  }
  
  .footer-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
    transform: translateY(-100%);
  }
  
  .footer-wave svg path {
    fill: rgba(255, 193, 7, 0.1);
    animation: wave-animation 8s ease-in-out infinite alternate;
  }
  
  @keyframes wave-animation {
    0% {
        d: path("M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z");
    }
    50% {
        d: path("M321.39,56.44c58-10.79,114.16-40.13,172-41.86,82.39-2.72,168.19-17.73,250.45-.39C823.78,31,906.67,52,985.66,72.83c70.05,18.48,146.53,36.09,214.34,13V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z");
    }
    100% {
        d: path("M321.39,56.44c58-20.79,114.16-30.13,172-31.86,82.39-16.72,168.19-27.73,250.45-10.39C823.78,21,906.67,62,985.66,82.83c70.05,8.48,146.53,16.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z");  
    }
  }
  
  /* --- RESPONSIVE DESIGN --- */
  @media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
  
    .footer-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
  
    .footer ul li a {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .slide-in {
        animation: fade-in 0.5s forwards;
    }
    
    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-wave svg {
        height: 30px;
    }
    
    .contact-item {
        text-align: center;
    }
  }
  
  /* Pour les petits mobiles */
  @media (max-width: 480px) {
    .footer {
        padding: 40px 15px 0;
    }
    
    .footer h3 {
        font-size: 16px;
    }
    
    .particle {
        display: none;
    }
  }
    