/* ==========================================================================
   1. RESET & STYLES DE BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: #F3F3F3;
  font-family: 'Cabin Condensed', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #F6DA90 rgba(23, 31, 178, 0.14);
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: rgba(23, 31, 178, 0.14);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb {
  background: #F6DA90;
  border-radius: 999px;
  border: 2px solid rgba(243, 243, 243, 0.8);
}

body::-webkit-scrollbar-thumb:hover {
  background: #d8b259;
}

body::-webkit-scrollbar-corner {
  background: transparent;
}

/* ==========================================================================
   2. DÉCLARATIONS DES POLICES (@font-face)
   ========================================================================== */

/* --- Cabin Condensed --- */
@font-face {
  font-family: 'Cabin Condensed';
  src: url('./fonts/CabinCondensed-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap; 
}

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

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

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

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

/* ==========================================================================
   3. ÉCRAN D'ACCUEIL (Splash Screen) & ANIMATION DE CHARGEMENT
   ========================================================================== */
.splash-container {
  /* Modifié en fixed pour couvrir tout l'écran au-dessus du site pendant le load */
  position: fixed; 
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #041E56;
  
  /* Préparation pour l'effacement progressif en JavaScript */
  transition: opacity 0.6s ease, visibility 0.6s ease;
  opacity: 1;
  visibility: visible;
}

/* Classe déclenchée par JS pour faire disparaître l'écran */
.splash-container.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* --- Éléments en positionnement absolu --- */

.splash-circle-header {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 59vw, 1200px);
  min-width: 220px;
}

.splash-logo {
  position: absolute;
  top: 45%;
  left: 50%;
  width: clamp(140px, 30vw, 500px);
  max-width: 100%;
  height: auto;
  transform: translate(-50%, -50%);
}
.up {
  animation: up 0.6s ease forwards;
}
@keyframes up {
  from {transform: scale(1) translate(-50%, -50%);}  
  to {transform: scale(1.4) translate(-50%, -50%); top: 60%; left: 56%;}
}

.splash-title {
  position: absolute;
  /* VALEUR STRICTEMENT CONSERVÉE */
  top: clamp(60%, 72vh, 78%); 
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-family: 'Simonetta', serif;
  width: clamp(260px, 65vw, 600px);
  max-width: 100%;
  padding: 0 1rem;
}

/* --- Typographies intérieures --- */
.main-splash-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
}

.sub-splash-title {
  font-size: clamp(1rem, 3.5vw, 2rem);
  margin: 0.25rem 0;
  font-weight: 100;
}

.tagline-splash-title {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  margin: 0.50rem 0;
  font-weight: 100;
  letter-spacing: 0.05em;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0.2; }
}
.fade-out {
  animation: fadeOut 0.6s ease forwards;
}

/* ==========================================================================
   4. Bar de navigation 
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999; /* Juste en dessous du splash screen (9999) pour ne pas gêner au début */
  
  /* Une transition fluide sur le transform pour un effet premium */
  transition: transform 0.3s ease-in-out;
}

/* La classe que le JavaScript ajoutera pour masquer la barre */
header.nav-hidden {
  transform: translateY(-100%);
}
.navigation-bar
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #001032;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}
.navigation-bar .logo
{
  height: 60px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.navigation-bar a{text-decoration: none; color:white}

.navigation-bar .nav-desktop-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.navigation-bar .nav-desktop-group > ul
{
  display: flex;
  list-style: none;
  gap: 60px;
  position: relative;
  flex-wrap: wrap;
  margin: 0;
}
.navigation-bar .nav-desktop-group > ul li
{
  color: #fff;
  font-size: 1.1rem;
  font-weight: 400;
  position: relative;
  padding-bottom: 5px;
}
.navigation-bar .nav-desktop-group > ul li::before
{
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(to right, white, rgb(146, 211, 251), #F6DA90);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.navigation-bar .nav-desktop-group > ul li:hover::before
{
  transform-origin: left;
  transform: scaleX(1);
}

.navigation-bar .contact-button
{
  background: #F6DA90;
  padding: 0.7rem 1.6rem;
  border-radius: 30px;
  display:flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #001032;
  justify-content: center;
  &:hover
  {
    background: #eec658;
    transform: scale(1.05);
    color: #001032;
    transition: all 0.3s ease;
  }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  border: none;
  background: transparent;
  padding: 0.35rem;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #F6DA90;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 1rem;
  left: 1rem;
  background: #001032;
  border: 1px solid rgba(246, 218, 144, 0.24);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  flex-direction: column;
  gap: 0.9rem;
  z-index: 20;
}

.mobile-nav-panel.active {
  display: flex;
}

.mobile-nav-panel ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  width: 100%;
}

.mobile-nav-panel ul li a {
  display: block;
  padding: 0.5rem 0;
  color: #fff;
  font-size: 1rem;
}

.mobile-contact-button {
  width: 100%;
  display: inline-flex;
}
/* ==========================================================================
   5. Section Accueil
   ========================================================================== */
.home
{
  min-height: 100vh;
  height: auto;
  background: url(./assets/bg_home.png);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;  
  justify-content: start;
  padding: clamp(5rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem) 3rem;
  margin-top: 4rem;
}
.home .hero-container
{
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 1.5rem;
  width: min(100%, 700px);
}
.home .hero-welcome
{
  font-size: clamp(1.2rem, 3.5vw, 2rem);
  color: #eee7d4;
  font-weight: 400;
}
.home .hero-main-title
{
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #FFC93A;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex-direction: column;
  font-weight: 700;
  font-family: 'Simonetta', serif;
  margin-left: 0;
  letter-spacing: 0.05em;
}
.home .hero-location
{
  margin-top: -1.5rem;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: #f9d369;
  font-weight: 400;
  font-family: 'Simonetta', serif;
    margin-left: clamp(0, 50vw, 4rem);
    letter-spacing: 0.05em;
}
.home .hero-tagline
{
  font-size: clamp(.9rem, 1.2vw, 1.7rem);
  color: #ffffff;
  font-weight: 300;
  max-width: min(100%, 650px);
  line-height: 1.7;
}
.home .hero-cta-button
{
  margin-top: 0.25rem;
  background: #171FB2;
  padding: 0.7rem 1.6rem;
  border-radius: 9px;
  display:flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #d2d8e6;
  justify-content: center;
  text-decoration: none;
  width: fit-content;
  &:hover
  {    background: #0f15a0;
    transform: scale(1.05);
    color: #d2d8e6;
    transition: all 0.3s ease;
  }
}
/* ==========================================================================
   5. Section About
   ========================================================================== */
.about{height:100vh; position:relative;overflow: hidden;}
.biography-container
{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 4rem;
  position: relative;
}
.biography-container > *
{
  flex: 1 1 50%;
  min-width: 0;
  min-height: 0;
}

.biography-content
{
  display: flex;
  min-height: 80vh;
  flex-direction: column;
  justify-content:center;
  padding-left: 1.5rem;
  position: relative;
  gap:1.5rem;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.biography-title
{
  color:#041E56;
  font-size: clamp(0.8rem, 10vw, 2.5rem);
}
.biography-subtitle
{
  color:#D9AB33;
  font-size: clamp(1rem, 10vw, 4rem);
  font-family: 'Simonetta', serif;
  font-weight: 500;
  letter-spacing:0.05rem;
}
.biography-text
{
  font-size: clamp(0.5rem, 10vw, 1.3rem);
  font-weight: 400;
}
.splash-logo-about
{
  position:absolute;
  bottom:-40px;
  right: -100px;
  height: 273px;
  z-index:-1;
}
.splash-circle-about
{
  position:absolute;
  height: 800px;
  bottom:-45%;
  right: -60%;
  z-index: -1;
}
.founder
{
  height: 100%;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  overflow: hidden;
}
.founder .founder-image{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.in-view {
  opacity: 1;
  transform: translateX(0);
}
/* ==========================================================================
   6. Section Equipe
   ========================================================================== */
.equipe
{
  min-height: 100vh;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding:1rem 2rem 2rem 3rem;
  overflow: hidden;
  position: relative;
}  
.equipe-title
{
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.5rem 10rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.equipe-title .logo-formation
{
  height: 120px;
}
.equipe-title h2
{
  font-size: clamp(1.5rem, 10vw, 3rem);
  color: #041E56;
}
.equipe-title p
{
  font-size: clamp(1.5rem, 10vw, 3rem);
  color: #D9AB33;
  font-weight: 500;
  letter-spacing:0.05rem;
}
.equipe .equipe-image
{
  display: block;
  object-fit: cover;
  position: absolute;
  width: 50%;
  left: 50%;
  top: 70%;
  margin-top: 4rem;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  transition:  1s ease-out;
}
.equipe .equipe-image.reveal {
  animation: equip_imageReveal 1s ease-out forwards;
}
@keyframes equip_imageReveal {
  from {
    left: 50%;
    top: 70%;
    opacity: 0;
    width: 50%;
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    left: 50%;
    top: 50%;
    opacity: 1;
    width: 75%;
    transform: translate(-50%, -50%) scale(1);
  }
}


.formations
{
  min-height: 100vh;
  margin-top: 3rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.formations .banderole
{
  position: relative;
  overflow: hidden;
  width: 100%;
  background: white;
  font-family: 'Simonetta', serif;
  font-weight: 100;
}

.banderole .banderole-scroll
{
  display: flex;
  flex-wrap: nowrap;
  width: auto;
  white-space: nowrap;
  animation: banderoleScroll 7s linear infinite;
} 
.banderole .banderole-content
{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  padding: 0 1rem;
  width: 100%;
}
.banderole-content .logo_elf
{
  height: 120px;
}
.banderole-content h2,
.banderole-content p
{
  font-size: clamp(1.1rem, 2vw, 2.2rem);
}
@keyframes banderoleScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.formations-type
{
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 3rem clamp(1rem, 4vw, 5rem);
  position: relative;
  background: linear-gradient(180deg, #001032 0%, #0b1f56 100%);
  align-items: stretch;
  justify-content: center;
  text-align: justify;
}
.formations-type p,
.special-formations p {
  font-size: clamp(.92rem, 1.1vw, 1rem);
  font-weight: 500;
  line-height: 1.7;
  color: #4f5a73;
}
.french-formation,
.uk-formation,
.china-formation,
.malagasy-formation
{
  padding: 1rem;
  border-radius: 18px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 320px;
  max-width: 520px;
  min-height: 470px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.french-formation:hover,
.uk-formation:hover,
.china-formation:hover,
.malagasy-formation:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
}
.french-formation h3, .entretien-formation h3{
  font-family: 'Simonetta', serif;
  color: #0f15a0;
  font-weight: normal;

  font-size: clamp(.7rem, 5vw, 2.5rem);
}
.french-formation img,
.uk-formation img,
.china-formation img,
.malagasy-formation img {
  width: 100%;
  height: 260px;
  min-height: 260px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  flex-shrink: 0;
}

/* Slightly larger containers for Malagasy and Entretien */
.special-formations .china-formation,
.special-formations .malagasy-formation {
  flex: 0 0 48%;
  max-width: 560px;
}

.special-formations .china-formation img,
.special-formations .malagasy-formation img {
  max-height: 360px;
}
.french-formation-content,
.uk-formation-content,
.china-formation-content,
.malagasy-formation-content {
  padding: 0.25rem 0.35rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  justify-content: flex-start;
  flex: 1;
  position: relative;
}
.other-formations
{
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 320px;
  max-width: 520px;
  min-height: 470px;
  height: 100%;
  align-items: stretch;
}
.other-formations > div
{
  background: #ffffff;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  width: 100%;
  height: 100%;
  min-height: 470px;
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.other-formations > div h3
{
  font-family: 'Simonetta', serif;
  font-weight: normal;
  font-size: clamp(.7rem, 5vw, 2.5rem);
}
.china-formation h3{color: #BF0606;}
.uk-formation h3{color: #C09A00;}
.other-formations > div > img{
  width: 100%;
  height: 260px;
  min-height: 260px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  flex-shrink: 0;
}
.french-formation-content, .uk-formation-content,
.china-formation-content,
.malagasy-formation-content
{
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0.25rem 0.4rem 0.2rem;
  gap: 10px;
  position: relative;
  height: 100%;
}
.formations-type a,
.special-formations a,
.other-formations > div a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 140px;
  padding: 0.8rem 1.2rem;
  margin-left: auto;
  margin-top: auto;
  text-decoration: none;
  color: #001032;
  background: #F6DA90;
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 18px rgba(246, 218, 144, 0.3);
}

.formations-type a:hover,
.special-formations a:hover,
.other-formations > div a:hover {
  transform: translateY(-2px);
  background: #f0d27d;
  box-shadow: 0 10px 22px rgba(246, 218, 144, 0.45);
}

.special-formations
{
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 3rem clamp(1rem, 4vw, 5rem);
  position: relative;
  align-items: stretch;
  background: linear-gradient(180deg, #cfd3da 0%, #eef1f6 100%);
  justify-content: center;
  text-align: justify;
}
.china-formation h3
{
  font-family: 'Simonetta', serif;
  color: #BF0606;
  font-weight: normal;
  font-size: clamp(.7rem, 5vw, 2.5rem);
  position: relative;
}
.malagasy-formation h3
{
  font-family: 'Simonetta', serif;
  color: #026517;
  font-weight: normal; 
  font-size: clamp(.7rem, 5vw, 2.5rem);
  position: relative;
}
.avantages
{
  background-color: #001032;
  display: flex;
  justify-content: center;
}
.avantages img
{
  height: 100px;
  object-fit: cover;
}

@media (max-width: 980px) {
  .formations-type,
  .special-formations {
    padding: 2.5rem 1rem;
  }

  .french-formation,
  .other-formations,
  .special-formations .china-formation,
  .special-formations .malagasy-formation {
    flex: 1 1 100%;
    max-width: 620px;
  }
}

@media (max-width: 768px) {
  .other-formations > div {
    grid-template-columns: 1fr;
  }

  .french-formation,
  .special-formations .china-formation,
  .special-formations .malagasy-formation {
    min-height: auto;
    grid-template-rows: 230px auto;
  }

  .french-formation-content,
  .uk-formation-content,
  .china-formation-content,
  .malagasy-formation-content {
    padding: 0.2rem 0.1rem 0;
  }

  .formations-type a,
  .special-formations a,
  .other-formations > div a {
    width: 100%;
  }
}

/* ==========================================================================
   4. section contact
   ========================================================================== */
.contact 
{
  min-height: 100vh;
  height: auto;
  margin: 1rem;
}
.contact .contact-title
{
  display: flex;
  min-height: 200px;
  background: #000220;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.contact-title h2{font-size: clamp(1rem, 10vw, 3.5rem); color: #F4DFA9;}
.contact-title img{height: 200px;}

.contact article {
  display: flex;
  gap: 2rem;
  padding: 3rem;
  min-height: auto;
  background: #000220;
}
.contact-information,
.contact-formulaire {
  flex: 1;
  min-width: 320px;
}

.contact-information {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 0 4rem 0;
}
.contact-information .contact-text{
  font-size: clamp(1.2rem, 4vw, 2.2rem);
  font-family: 'Simonetta', serif;
  color: rgb(188, 185, 185);
}
.contact-information .contact-reseaux
{
  display: flex;
  flex-direction: column;
}
.contact-reseaux > div{
  display: flex; gap: 20px; align-items: center;
}


.contact-reseaux {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  color: white;
}

.contact-reseaux a {text-decoration: none; color: white;
&:hover
{
  color: #909ab0;
}
}
.reseau-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: white;
  border-radius: 14px;
  border: 1px solid #d9d9d9;
  color: #041E56;
  text-decoration: none;
  font-weight: 600;
}
.reseau-icon {
  width: 1.9rem;
  height: 1.9rem;
  min-width: 1.9rem;
  font-size: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F6DA90;
  
}
.reseau-icon.img-icon {
  width: 1.9rem;
  height: 1.9rem;
}
.contact-formulaire{ display: flex; align-items: center;justify-content: center;}
.contact-formulaire form
{
  width: min(100%, 650px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 1.5rem 4rem;
  background: white;
  height: 100%;
  border-radius: 50px 0 50px 0;
}
form input
{
  padding: 1rem;
  border: none;
  border-bottom:2px solid #001032;
  &::placeholder
  {
    color: #455579;
  }
}
form textarea
{
  height: 100px;
  overflow: auto;
  resize: none;
  padding: 1rem;
}
form button
{
  margin-top: 10px;
  width: 150px;
  padding: .9rem 1.8rem;
  margin-left: 50%;
  transform: translateX(-50%);
  border-radius: 50px;
  color: #001032;
  background: #F6DA90;
  font-weight: bold;
  border: none;
  &:hover
  {
    background: #aa9458;
    cursor: pointer;
  }
}

@media (max-width: 1024px) {
  .navigation-bar {
    padding: 1rem 1.25rem;
  }
  .navigation-bar .nav-desktop-group {
    width: 100%;
    justify-content: flex-end;
  }
  .navigation-bar .nav-desktop-group > ul {
    gap: 1.25rem;
  }
  .contact-langue {
    width: 100%;
    justify-content: flex-end;
  }
  .home {
    padding: 6rem 1.25rem 2.5rem;
  }
  .about {
    padding: 3.5rem 1rem 3rem;
  }
  .biography-container {
    gap: 2rem;
  }
  .splash-logo-about,
  .splash-circle-about {
    display: none;
  }
  .contact {
    margin: 0.75rem;
  }
  .contact .contact-title,
  .contact article {
    padding: 1.5rem;
  }
  .contact-formulaire form {
    width: 100%;
    padding: 1.25rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .navigation-bar {
    justify-content: space-between;
    text-align: center;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .navigation-bar .nav-desktop-group {
    display: none;
  }
  .mobile-nav-panel {
    display: none;
  }
  .mobile-nav-panel.active {
    display: flex;
  }
  .home {
    justify-content: center;
    align-items: flex-start;
    padding-top: 7rem;
  }
  .home .hero-container {
    align-items: flex-start;
    width: 100%;
  }
  .home .hero-main-title {
    align-items: flex-start;
  }
  .home .hero-tagline {
    max-width: 100%;
  }
  .about {
    min-height: auto;
  }
  .biography-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .founder {
    order: -1;
  }
  .equipe {
    display: none;
  }
  .equipe-title {
    justify-content: center;
    text-align: center;
    padding: 0;
  }
  .equipe-title .logo-formation {
    height: 80px;
  }
  .equipe .equipe-image {
    position: relative;
    width: min(100%, 480px);
    left: auto;
    top: auto;
    transform: none;
    margin: 0 auto;
  }
  .formations-type,
  .special-formations {
    padding: 2rem 0.75rem;
  }
  .french-formation,
  .uk-formation,
  .china-formation,
  .malagasy-formation,
  .other-formations > div {
    min-height: auto;
  }
  .contact article {
    flex-direction: column;
    padding: 1.25rem;
  }
  .contact-information,
  .contact-formulaire {
    min-width: unset;
  }
  .contact-information {
    padding: 1rem 0 1.5rem;
  }
  .contact-reseaux > div {
    flex-wrap: wrap;
  }
  .contact-formulaire form {
    border-radius: 24px;
  }
  form button {
    width: 100%;
    margin-left: 0;
    transform: none;
  }
  .location-section {
    padding: 2rem 1rem;
  }
  .emplacement-title {
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.25rem;
    border-radius: 20px 20px 0 0;
  }
  .emplacement-title img {
    height: 80px;
  }
  .site-footer {
    padding: 2.5rem 1rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .navigation-bar {
    padding: 0.9rem 1rem;
  }
  .navigation-bar .logo {
    height: 54px;
  }
  .navigation-bar .nav-desktop-group > ul {
    gap: 0.8rem 1rem;
  }
  .navigation-bar .nav-desktop-group > ul li {
    font-size: 0.95rem;
  }
  .navigation-bar .contact-button {
    width: 100%;
    padding: 0.65rem 1rem;
  }
  .home .hero-welcome {
    font-size: 1.05rem;
  }
  .home .hero-main-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
  .home .hero-tagline {
    font-size: 0.95rem;
  }
  .home .hero-cta-button {
    width: 100%;
  }
  .biography-title {
    font-size: clamp(1rem, 5vw, 1.4rem);
  }
  .biography-subtitle {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }
  .biography-text {
    font-size: 0.98rem;
  }
  .banderole-content {
    gap: 1rem;
    padding: 0.75rem 0.5rem;
  }
  .banderole-content .logo_elf,
  .banderole-content .logo-formation {
    height: 70px;
  }
  .french-formation img,
  .uk-formation img,
  .china-formation img,
  .malagasy-formation img,
  .other-formations > div > img {
    height: 220px;
    min-height: 220px;
  }
  .contact-title h2,
  .emplacement-title h2 {
    font-size: clamp(1.1rem, 7vw, 2rem);
  }
  .contact-title img {
    height: 100px;
  }
  .footer-links,
  .footer-contact {
    min-width: 100%;
  }
}

@media (max-width: 640px) {
  .splash-container {
    align-items: flex-start;
    padding-top: 2rem;
  }
  .splash-circle-header {
    width: min(92vw, 360px);
    min-width: 0;
    top: 52%;
  }
  .splash-logo {
    width: min(54vw, 220px);
    top: 42%;
  }
  .splash-title {
    top: 80%;
    width: min(92vw, 340px);
  }
  .main-splash-title {
    font-size: clamp(1.55rem, 8vw, 2.3rem);
  }
  .sub-splash-title {
    font-size: clamp(1rem, 5vw, 1.35rem);
  }
  .tagline-splash-title {
    font-size: clamp(0.8rem, 3.2vw, 1rem);
  }
}
.location-section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #ffffff;
}
.emplacement-title
{
  display: flex;
  height: 150px;
  background: #000220;
  justify-content: space-between;
  align-items: center;
  position: relative;
  color:#d8b259;
  padding: 0 3rem;
  border-radius: 30px 30PX 0 0;
}
.emplacement-title img{
  height: 100%;
}
.emplacement-title h2
{font-size: clamp(1rem, 10vw, 3.5rem); color: #F4DFA9;}
.route-actions {
  display: flex;
  justify-content: flex-start;
  padding: 1.5rem 2rem;
  background: #f0f2f6;
}
.route-actions .route-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  background: #F4DFA9;
  color: #041E56;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}
.route-actions .route-btn:hover {
  transform: translateY(-2px);
  background: #e0c67c;
}
@media (max-width: 768px) {
  .route-actions {
    justify-content: center;
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .contact article {
    flex-direction: column;
  }
  .contact-information,
  .contact-formulaire {
    width: 100%;
    min-width: unset;
  }
}

.site-footer {
  background: #001032;
  color: #ffffff;
  padding: 4rem 2rem 2rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  flex: 1 1 320px;
  min-width: 260px;
}
.footer-brand img {
  height: 70px;
  margin-bottom: 1rem;
}
.footer-brand p {
  max-width: 420px;
  line-height: 1.8;
  color: #d8d0a6;
}
.footer-links,
.footer-contact {
  flex: 1 1 220px;
  min-width: 220px;
}
.footer-links h3,
.footer-contact h3 {
  margin-bottom: 1rem;
  color: #F6DA90;
  font-size: 1.1rem;
}
.footer-links a,
.footer-contact a {
  display: block;
  margin-bottom: 0.85rem;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: #F6DA90;
}
.footer-copy {
  margin-top: 2rem;
  text-align: center;
  color: #b8b4a7;
  font-size: 0.95rem;
}

/* ==========================================================================
   4. MEDIA QUERIES (Responsive Smartphones)
   ========================================================================== */
@media (max-width: 640px) {
  .splash-title {
    width: min(90%, 420px);
    padding: 0 1.5rem;
    /* VALEUR STRICTEMENT CONSERVÉE */
    top: clamp(62%, 40vh, 80%);
  }

  .main-splash-title {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }
  .sub-splash-title{
    font-size: clamp(0.9rem, 5vw, 1.5rem);
  }
  .tagline-splash-title {
    font-size: clamp(0.5rem, 3.5vw, 1rem);
  }

  .about{min-height:180vh;}
  .biography-container {
    flex-direction: column;
    gap: 2rem;
    position:relative;
  }
  .biography-content {
    margin-top: 5rem;
  }
  .splash-logo-about
  {
    bottom: -50px;;
    right: -10px;
    height: 150px;
  }
  .splash-circle-about
  {
    height: 400px;
    bottom:-45%;
    right: -60%;

  }
  .founder
  {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #041E56;
    overflow: hidden;
  }.founder .founder-image
  {
    display: block;
  }
}
