/* 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);
    --noir:#0e0e0e;
    
    
    /* 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;
    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) {
  body {
  padding-top: 80px; /* Ajuster l'espace pour le header mobile */
  }
  
  .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 FORMULAIRE D'INSCRIPTION --- */
.form-section {
  background: var(--blanc);
  margin-top: 80px;
  padding: 80px 20px;
  color: var(--blanc);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--jaune) 0%, var(--bleu-roi) 100%);
  transform: translateY(-100%);
  animation: slideDown 0.8s forwards 0.2s;
}

@keyframes slideDown {
  to { transform: translateY(0); }
}

/* --- TITRE DU FORMULAIRE --- */
.form-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--jaune);
  text-transform: uppercase;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  animation: fadeInDown 0.8s ease-out;
}

.form-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--jaune);
  transition: all 0.6s ease;
  animation: expandWidth 1s forwards 0.8s;
  transform: translateX(-50%);
}

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

@keyframes expandWidth {
  to { width: 80%; }
}

/* --- FORMULAIRE --- */
form {
  width: 50%;
  margin: auto;
  background: var(--blanc);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.8s forwards 0.5s;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

form:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(0);
}

@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* --- GROUPES DE FORMULAIRE --- */
.form-group {
  margin-bottom: 25px;
  text-align: left;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInFromLeft 0.5s forwards;
  animation-delay: calc(0.6s + var(--delay, 0s));
}

/* Application des délais pour chaque groupe de formulaire */
.form-group:nth-child(1) { --delay: 0s; }
.form-group:nth-child(2) { --delay: 0.1s; }
.form-group:nth-child(3) { --delay: 0.2s; }
.form-group:nth-child(4) { --delay: 0.3s; }
.form-group:nth-child(5) { --delay: 0.4s; }

@keyframes slideInFromLeft {
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

/* --- LABELS --- */
label {
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
  color: var(--bleu-roi);
  transition: color 0.3s ease;
  transform-origin: left;
  font-size: 16px;
}

.form-group:focus-within label {
  color: var(--jaune);
  transform: scale(1.03);
}

/* --- CHAMPS DE TEXTE, SELECT ET TEXTAREA --- */
input, select, textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--gris-moyen);
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.8);
}

/* --- EFFET HOVER & FOCUS SUR LES CHAMPS --- */
input:hover, select:hover, textarea:hover {
  border-color: var(--bleu-roi);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--jaune);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--jaune-rgb), 0.3);
  background-color: white;
  transform: translateY(-2px);
}

/* --- CHAMP MESSAGE --- */
textarea {
  resize: vertical;
  height: 120px;
  min-height: 80px;
  transition: height 0.3s ease;
}

/* --- INPUT FILE STYLISÉ --- */
.file-input-container {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 0.1px;
  height: 0.1px;
  z-index: -1;
}

.file-input-label {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--noir);
  color: var(--blanc);
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  font-weight: normal;
}

.file-input-label:hover {
  background: var(--bleu-roi);
  transform: translateY(-2px);
}

.file-input-label::after {
  content: '📁 Choisir un fichier';
}

.file-input-label.file-selected::after {
  content: '✓ Fichier sélectionné';
}

/* --- BOUTONS --- */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  opacity: 0;
  animation: fadeIn 0.8s forwards 1.2s;
}

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

form button, .precedent {
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

/* --- BOUTON DE SOUMISSION --- */
form button {
  background: var(--jaune);
  color: var(--bleu-fonce);
}

form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.6s;
}

/* --- BOUTON PRÉCÉDENT --- */
.precedent {
  background: var(--bleu-fonce);
  color: var(--jaune);
  margin-bottom: 0;
}

.precedent::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: all 0.6s;
}

/* --- HOVER & ANIMATION DES BOUTONS --- */
form button:hover, .precedent:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

form button:hover::before, .precedent:hover::before {
  left: 100%;
}

form button:hover {
  background: var(--jaune-fonce);
}

.precedent:hover {
  background: #2a3f5f;
}

form button:active, .precedent:active {
  transform: translateY(0);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* --- FEEDBACK VISUEL --- */
.form-group.success input,
.form-group.success select,
.form-group.success textarea {
  border-color: #4CAF50;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #f44336;
}

.error-message {
  color: #f44336;
  font-size: 14px;
  margin-top: 5px;
  display: none;
  animation: fadeIn 0.3s;
}

.form-group.error .error-message {
  display: block;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
  form {
      width: 70%;
  }
}

@media (max-width: 768px) {
  .form-section {
      margin-top: 40px;
      padding: 60px 15px;
  }
  
  form {
      width: 90%;
      padding: 25px;
  }
  
  .form-section h2 {
      font-size: 24px;
  }
  
  input, select, textarea {
      padding: 12px;
  }
}

@media (max-width: 480px) {
  .form-section {
      margin-top: 20px;
      padding: 40px 10px;
  }
  
  form {
      width: 100%;
      padding: 20px;
  }
  
  .form-section h2 {
      font-size: 22px;
  }
  
  .button-group {
      gap: 10px;
  }
  
  form button, .precedent {
      padding: 12px;
      font-size: 16px;
  }
}



/* --- 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;
    }
  }

