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


/* Container principal */
.info_formation {
  padding-top: 140px; /* Ajuster cette valeur à la hauteur exacte de votre header */
  margin-top: 20px;
}

.info_formation .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 3rem 2rem;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 40, 80, 0.1);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1; /* Assure que le contenu est au-dessus d'autres éléments si nécessaire */
}

/* Titre et texte d'intro */
.info_formation .left {
  flex: 1 1 500px;
  padding-right: 2rem;
  margin-bottom: 2rem;
}

.info_formation .left h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.info_formation .left p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

/* Placeholder pour image ou illustration */
.info_formation .right {
  flex: 1 1 400px;
  background: url('https://images.wakelet.com/resize?id=bN5hD5YA-V5rLy17w4EEi&w=1600&h=actual&q=85') center/cover no-repeat;
  border-radius: 12px;
  min-height: 300px;
}

/* Onglets */
.tabs .onglets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 3rem;
  gap: 10px;
}

.onglet {
  background: none;
  border: 2px solid #003366;
  color: #003366;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-size: 1rem;
}

.onglet a{
  background: none;
  border: 2px  #003366;
  color: #003366;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-size: 1rem;
  text-decoration: none;
}

.onglet a:hover {
background-color: #003366;
color: white;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 51, 102, 0.2);
}


.onglet:hover,
.onglet.active {
  background-color: #003366;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 51, 102, 0.2);
}

/* Contenu de l'onglet actif */
.contenu-onglet {
  display: none;
  padding: 3rem 5%;
  background-color: #ffffff;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 5px 15px rgba(0, 40, 80, 0.05);
}

.contenu-onglet.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Media Queries pour la responsivité */
@media screen and (max-width: 992px) {
  .info_formation {
    padding-top: 70px; /* Ajuster pour les tablettes */
  }

  .info_formation .container {
    padding: 2.5rem 1.5rem;
  }
  
  .info_formation .left {
    flex: 1 1 100%;
    padding-right: 0;
  }
  
  .info_formation .right {
    flex: 1 1 100%;
    min-height: 250px;
    margin-top: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .info_formation .container {
    padding: 2rem 1rem;
  }
  
  .info_formation .left h2 {
    font-size: 1.8rem;
  }
  
  .onglet {
    padding: 10px 18px;
    font-size: 0.9rem;
    flex: 1 1 auto;
    text-align: center;
    min-width: 120px;
  }
  
  .tabs .onglets {
    justify-content: space-around;
  }
}

@media screen and (max-width: 480px) {
  .info_formation {
    padding-top: 50px; /* Ajuster pour mobiles */
  }

  .info_formation .container {
    padding: 1.5rem 1rem;
  }
  
  .info_formation .left h2 {
    font-size: 1.6rem;
  }
  
  .info_formation .left p {
    font-size: 1rem;
  }
  
  .onglet {
    padding: 8px 16px;
    margin: 3px;
    font-size: 0.85rem;
    min-width: auto;
    flex: 1 1 45%;
  }
  
  .contenu-onglet {
    padding: 2rem 1rem;
  }
}

/* Section Aperçu */
.section-apercu-center h2 {
  font-size: 2rem;
  color: #003366;
}
.section-apercu-center p.intro {
  font-weight: bold;
  font-size: 1.2rem;
  color: #003366;
  margin: 1rem 0;
}

/* Grille des blocs Aperçu */
.apercu-grid-right {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.apercu-bloc, .apercu-bloc-center, .apercu-bloc-left {
  background-color: #f2f7fb;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.05);
}
.apercu-bloc h3 {
  color: #003366;
  margin-bottom: 0.8rem;
}
.apercu-bloc ul, .apercu-bloc ol {
  padding-left: 1.2rem;
  color: #333;
}

/* Bloc CTA */
.cta-bloc {
  margin-top: 3rem;
  background: #edf4fd;
  border: 1px solid #d0e0f3;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #124a83;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.03);
}

.cta-bloc strong {
  display: block;
  color: #0a2d52;
  margin-bottom: 0.5rem;
}
.cta-bloc p {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}
.cta-bloc .onglets {
  justify-content: center;
}
.cta-bloc .onglet {
  border: 2px solid white;
  color: #003366;
}
.cta-bloc .onglet:hover {
  background-color: rgb(44, 73, 148);
  color: #f8f9fa;
}

/* RESPONSIVE DESIGN */

/* Écrans jusqu’à 1200px */
@media (max-width: 1200px) {
  .container {
    padding: 120px 4%;
  }
}

/* Écrans jusqu’à 992px (tablettes et petits laptops) */
@media (max-width: 992px) {
  .container {
    flex-direction: column;
    padding: 100px 5%;
    gap: 2rem;
  }

  .info_formation .left,
  .info_formation .right {
    flex: 1 1 100%;
    padding-right: 0;
  }

  .info_formation .right {
    min-height: 250px;
    border-radius: 12px;
  }

  .apercu-grid-right {
    grid-template-columns: 1fr;
  }

  .cta-bloc {
    padding: 2rem 1rem;
  }

  .cta-bloc p {
    font-size: 1.1rem;
  }

  .onglet {
    font-size: 0.95rem;
    padding: 8px 16px;
  }
}

/* Écrans jusqu’à 768px (mobiles) */
@media (max-width: 768px) {
  .container {
    padding: 80px 6% 40px;
  }

  .info_formation .left h2 {
    font-size: 1.7rem;
  }

  .info_formation .left p,
  .section-apercu-center p,
  .cta-bloc p {
    font-size: 1rem;
  }

  .section-apercu-center h2 {
    font-size: 1.6rem;
  }

  .tabs .onglets {
    flex-direction: column;
    align-items: center;
  }

  .onglet {
    width: 100%;
    text-align: center;
    margin: 6px 0;
    padding: 10px 0;
  }
}

/* Écrans très petits (jusqu'à 480px) */
@media (max-width: 480px) {
  .container {
    padding: 60px 4% 30px;
  }

  .info_formation .left h2,
  .section-apercu-center h2 {
    font-size: 1.5rem;
  }

  .apercu-bloc h3 {
    font-size: 1.1rem;
  }

  .cta-bloc {
    border-radius: 12px;
    padding: 1.5rem 1rem;
  }

  .cta-bloc p {
    font-size: 1rem;
  }

  .onglet {
    font-size: 0.9rem;
    border-radius: 24px;
    padding: 8px 14px;
  }
}

/* === Executive Master – Programme Section === */

#Programme {
  font-family: "Segoe UI", sans-serif;
  color: #1f2e3c;
  padding: 3rem 1rem;
  background: linear-gradient(to bottom, #f8fbfd 0%, #ffffff 100%);
  max-width: 1200px;
  margin: 0 auto;
}

#Programme h2 {
  font-size: 2rem;
  color: #0a2d52;
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

#Programme .intro {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2466a2;
  text-align: center;
  margin-bottom: 2.5rem;
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.programme-bloc {
  background: #ffffff;
  padding: 2rem;
  border-left: 6px solid #2a6fc5;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.programme-bloc:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.programme-bloc h3 {
  font-size: 1.4rem;
  color: #0e3a6f;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e0e6ed;
  padding-bottom: 0.5rem;
}

.programme-bloc ul,
.programme-bloc ol {
  padding-left: 1.5rem;
  font-size: 1.05rem;
  color: #40566f;
  line-height: 1.8;
}

.programme-bloc ul li::marker,
.programme-bloc ol li::marker {
  color: #2a6fc5;
}

.cta-bloc {
  margin-top: 3rem;
  background: #edf4fd;
  border: 1px solid #d0e0f3;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #124a83;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.03);
}

.cta-bloc strong {
  display: block;
  color: #0a2d52;
  margin-bottom: 0.5rem;
}

/* === Responsive === */

@media (max-width: 768px) {
  #Programme {
    padding: 2rem 1rem;
  }

  #Programme h2 {
    font-size: 1.8rem;
  }

  #Programme .intro {
    font-size: 1.1rem;
  }

  .programme-bloc h3 {
    font-size: 1.3rem;
  }

  .programme-grid {
    grid-template-columns: 1fr;
  }
}

/* === Executive Certificat – Carrières Section === */

#Carrieres {
  font-family: "Segoe UI", sans-serif;
  color: #1f2e3c;
  padding: 3rem 1rem;
  background: linear-gradient(to bottom, #f4f8fb 0%, #ffffff 100%);
  max-width: 1200px;
  margin: 0 auto;
}

#Carrieres h2 {
  font-size: 2rem;
  color: #0a2d52;
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

#Carrieres .intro {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2466a2;
  text-align: center;
  margin-bottom: 2.5rem;
}

.carrieres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.carriere-bloc {
  background: #ffffff;
  padding: 2rem;
  border-left: 6px solid #2a6fc5;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.carriere-bloc:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.carriere-bloc h3 {
  font-size: 1.4rem;
  color: #0e3a6f;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e0e6ed;
  padding-bottom: 0.5rem;
}

.carriere-bloc ul {
  padding-left: 1.5rem;
  font-size: 1.05rem;
  color: #40566f;
  line-height: 1.8;
}

.carriere-bloc ul li::marker {
  color: #2a6fc5;
}

.cta-bloc {
  margin-top: 3rem;
  background: #edf4fd;
  border: 1px solid #d0e0f3;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #124a83;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.03);
}

.cta-bloc strong {
  display: block;
  color: #0a2d52;
  margin-bottom: 0.5rem;
}

/* === Responsive === */

@media (max-width: 768px) {
  #Carrieres {
    padding: 2rem 1rem;
  }

  #Carrieres h2 {
    font-size: 1.8rem;
  }

  #Carrieres .intro {
    font-size: 1.1rem;
  }

  .carriere-bloc h3 {
    font-size: 1.3rem;
  }

  .carrieres-grid {
    grid-template-columns: 1fr;
  }
}

/* === Admissions Section === */

#Admissions {
  font-family: "Segoe UI", sans-serif;
  color: #1f2e3c;
  padding: 3rem 1.5rem;
  background: linear-gradient(to bottom, #f2f7fc 0%, #ffffff 100%);
  max-width: 1200px;
  margin: auto;
}

#Admissions h2 {
  font-size: 2rem;
  color: #0a2d52;
  text-align: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

#Admissions .intro {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2466a2;
  text-align: center;
  margin-bottom: 2.5rem;
}

.admission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.admission-bloc {
  background: #ffffff;
  padding: 1.8rem;
  border-left: 6px solid #2a6fc5;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.admission-bloc:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.admission-bloc h3 {
  font-size: 1.4rem;
  color: #0e3a6f;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e0e6ed;
  padding-bottom: 0.5rem;
}

.admission-bloc p, 
.admission-bloc ul, 
.admission-bloc ol {
  font-size: 1.05rem;
  color: #3a4c5f;
  line-height: 1.7;
}

.admission-bloc ul {
  list-style-type: disc;
  margin-left: 1.5rem;
}

.admission-bloc ol {
  list-style-type: decimal;
  margin-left: 2rem;
  margin-top: 0.5rem;
}

.cta-bloc {
  margin-top: 3rem;
  background: #edf4fd;
  border: 1px solid #d0e0f3;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #124a83;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.03);
}

.cta-bloc strong {
  display: block;
  color: #0a2d52;
  margin-bottom: 0.5rem;
}

/* === Responsive Adjustments === */

@media (max-width: 768px) {
  #Admissions h2 {
    font-size: 1.8rem;
  }

  #Admissions .intro {
    font-size: 1.1rem;
  }

  .admission-bloc h3 {
    font-size: 1.3rem;
  }

  .cta-bloc {
    font-size: 1.1rem;
  }
}

/* === Frais Section === */

#Frais {
  font-family: "Segoe UI", sans-serif;
  padding: 3rem 1.5rem;
  background: #f9fbfd;
  color: #1c2d40;
  max-width: 1200px;
  margin: auto;
}

#Frais h2 {
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
  color: #0d3d6b;
  margin-bottom: 1rem;
}

#Frais .intro {
  text-align: center;
  font-size: 1.1rem;
  color: #3e5e7e;
  margin-bottom: 2rem;
}

.frais-details {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.frais-details .highlight {
  color: #0a58ca;
  font-size: 1.3rem;
  font-weight: 600;
}

.table-responsive {
  overflow-x: auto;
}

.frais-table {
  width: 100%;
  border-collapse: collapse;
  margin: auto;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-radius: 10px;
  overflow: hidden;
}

.frais-table th,
.frais-table td {
  padding: 1rem;
  border: 1px solid #dfe7f0;
  text-align: center;
  font-size: 1rem;
}

.frais-table th {
  background-color: #e9f1fb;
  color: #123d63;
  font-weight: 600;
}

.frais-table td {
  color: #2f3d4c;
}

.note-info {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #eaf4ff;
  border-left: 5px solid #2980c7;
  font-size: 1rem;
  border-radius: 8px;
  color: #0f355e;
}

/* === Responsive adjustments === */

@media (max-width: 768px) {
  #Frais h2 {
    font-size: 1.8rem;
  }

  .frais-table th,
  .frais-table td {
    font-size: 0.95rem;
    padding: 0.8rem;
  }

  #Frais .intro,
  .frais-details {
    font-size: 1rem;
  }

  .note-info {
    font-size: 0.95rem;
  }
}

/* === Section Spécialisations === */

#Specialisations {
  font-family: "Segoe UI", sans-serif;
  padding: 3rem 1.5rem;
  background-color: #f3f7fb;
  color: #1b2e45;
  max-width: 1200px;
  margin: auto;
}

#Specialisations h2 {
  font-size: 2rem;
  text-align: center;
  color: #0d3d6b;
  font-weight: bold;
  margin-bottom: 1rem;
}

#Specialisations .intro {
  text-align: center;
  font-size: 1.1rem;
  color: #3b5471;
  margin-bottom: 2rem;
}

.liste-specialisations {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.liste-specialisations li {
  background: #ffffff;
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
  color: #2d3d53;
}

.cta-specialisation {
  text-align: center;
}

.btn-voir-plus {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #0a58ca;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn-voir-plus:hover {
  background-color: #084298;
}

/* === Responsive Design === */

@media (max-width: 768px) {
  #Specialisations h2 {
    font-size: 1.7rem;
  }

  #Specialisations .intro {
    font-size: 1rem;
  }

  .liste-specialisations li {
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
  }

  .btn-voir-plus {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
}

/* === Section Contact === */
#contact {
  background-color: #f8fbff;
  padding: 3rem 1.5rem;
  font-family: "Segoe UI", sans-serif;
  color: #1c2e4a;
  max-width: 1200px;
  margin: auto;
}

#contact h2 {
  font-size: 2rem;
  text-align: center;
  color: #0d3d6b;
  margin-bottom: 2rem;
}

.section-contact .contact-item {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.section-contact a {
  color: #0a58ca;
  text-decoration: none;
}

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

.whatsapp-link {
  display: inline-block;
  margin-left: 10px;
  font-weight: bold;
  color: #25d366;
}

.whatsapp-link:hover {
  color: #1ebe5d;
}

/* === Responsive === */
@media (max-width: 768px) {
  #contact h2 {
    font-size: 1.6rem;
  }

  .section-contact .contact-item {
    font-size: 1rem;
  }
}



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