/* ====== STYLE GLOBAL ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'URIAL';
}


body {
  background: #f5f5f5;
  color: #222;
  scroll-behavior: smooth;
}

/* ====== FONTS ====== */
@font-face {
  font-family: 'cardust';
  src: url('police/Cardust-Regular.woff2') format('woff2'),
       url('police/Cardust-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'URIAL';
  src: url('police/URIAL\ FONT\ Light.ttf') format('truetype'),
       url('police/URIAL\ FONT\ Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'MaPolice', sans-serif;
  color: #222;
}

/* ====== GRILLES DERRIERE LES SECTIONS ===== */
section, .hero, .experience, .objectifs, .inscription, .partenaires, footer {
  position: relative; /* nécessaire pour le pseudo-élément */
}

section::before,
.hero::before,
.experience::before,
.objectifs::before,
.inscription::before,
.partenaires::before,
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/Grille-44-44.png') repeat;
  background-size: cover;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
  background-color: hsla(0, 52%, 53%, 0.3);
}

/* Tout le contenu au-dessus */
section > *, .hero > *, .experience > *, .objectifs > *, .inscription > *, .partenaires > *, footer > * {
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 5%;
  background: #011379f8; /* plus de couleur fixe */
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  font-family: 'URIAL', sans-serif;
}
.hero {
  padding-top: calc(150px + 20px); /* 150px existants + 20px du header */
}



/* Logo */
.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
 
  margin-top: 20px;
 
}
/* Mobile */
@media (max-width: 768px) {
  .header {
    padding: 10px 20px; /* padding horizontal ok, vertical limité */
    align-items: center; /* déjà là, mais on confirme */
  }

  .header img.logo {
    max-width: 100px;
    height: 60px;       /* force une hauteur constante */
    object-fit: contain; /* conserve le ratio */
  }
}
@media (max-width: 768px) {
  .header img.logo {
    max-width: 100px; /* réduit le logo sur mobile */
    height: auto;
  }
}

/* Menu normal desktop */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.navbar a.active {
  color: #F49717;
  font-weight: bold;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
}

/* ===== HERO ===== */
.hero {
  background: url('images/fondd.png') center/cover no-repeat;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 150px 5% 100px;
  min-height: 120vh;
  position: relative;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 29, 86, 0.6); /* voile bleu foncé semi-transparent */
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("images/Calque_1.png") center/contain no-repeat;
  z-index: 2;
  opacity: 0;
  transform: scale(1.1);
  animation: overlayAppear 2.5s ease-out forwards;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  margin-bottom: 15px;
  z-index: 3;
}

.hero h2 {
  font-size: clamp(18px, 3vw, 28px);
  margin-bottom: 30px;
  z-index: 3;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  z-index: 3;
}

/* ===== OBJECTIFS ===== */
.objectifs {
  padding: 80px 5%;
  text-align: center;
}

.objectifs h2 {
  font-size: clamp(28px, 5vw, 40px);
  margin-bottom: 50px;
  color: #0d47a1;
}

.grid-objectifs {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.objectif-card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===== PARTENAIRES ===== */
.partenaires {
  padding: 60px 5%;
  text-align: center;
}

.logos-slider {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.logos-slider img {
  max-width: 150px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 30px 5%;
  background: #0d47a1;
  color: #fff;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar ul {
    display: none;
    flex-direction: column;
    background: #0d47a1;
    position: absolute;
    top: 90px; /* ajuste selon header */
    right: 100%;
    padding: 50px;
    border-radius: 10px;
    margin-right: 50px;
  }

  .navbar ul.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

.hero-separator {
  display: block;
  width: 80px;
  height: auto;
  margin: 15px auto;
  opacity: 0;             /* départ invisible */
  transform: scaleX(0);   /* départ réduit horizontalement */
  animation: separatorAppear 2.5s ease-out forwards; /* durée 1.5s */
  animation-delay: 1s;  /* commence après .dates */
  transform-origin: center; /* animation centrée */
}

@keyframes separatorAppear {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Animation fluide */
@keyframes overlayAppear {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 0.6; /* Transparence finale */
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: appearHero 1.5s ease-in-out forwards;
  animation-delay: 0.2s;
}

@keyframes appearHero {
  from { opacity: 0; }
  to { opacity: 1; }
}



.hero-content {
  position: relative;
  z-index: 3;            /* au-dessus des overlays */
  max-width: 600px;      /* largeur max du contenu */
  margin: 0 auto;        /* centre horizontalement */
  text-align: center;    /* centre le texte */
  display: flex;
  flex-direction: column;
  align-items: center;   /* centre horizontalement les enfants */
  gap: 20px;             /* espace entre titre, sous-titre, boutons */
}

/* H1 centré et responsive */
.hero h1 {
  color: white;
  font-family: 'Cardust', sans-serif;
  font-weight: normal;
  font-size: clamp(60px, 6.5vw, 170px);  /* s’adapte à la largeur de l’écran */
  margin: 0;             /* supprime margin-left ou bottom inutiles */
  white-space: nowrap;   /* permet retour à la ligne si besoin */
  text-align: center;




  font-family: 'Cardust', sans-serif;
  font-weight: normal; /* évite que la graisse soit accentuée */
  -webkit-text-stroke: 0px; /* supprime tout éventuel contour ajouté par le navigateur */
  text-shadow: none; /* supprime les ombres qui épaississent la police */





}
@media (min-width: 1024px) {
  .hero h1 {
    margin-top: -180px; /* diminue l'espace sur PC */
  }
}


.social-icons{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 0px; /* <- ceci remonte les icônes */
  margin-right: 20px;
  
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}



.social-icons {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap; /* reste sur la ligne */
}

/* Responsive mobile */
@media (max-width: 768px) {
  .header {
    padding: 10px;

  }

  .header img.logo {
    max-width: 100px; /* logo un peu plus petit sur mobile */
  }

  .social-icons {
    width: 20px;
    height: auto;
    gap: 10px;
    margin-right: -50px;
    max-width: 20px;
    min-height: 10px;
  }
}



.social-icons a img {
  width: 30px;          /* taille des icônes */
  height: 30px;
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

.social-icons a:hover img {
  transform: scale(1.2);    /* effet zoom au survol */
  filter: brightness(1.2);  /* un léger éclaircissement au hover */
}
/* Date sous le titre, même largeur que H1 */
.hero .dates {
  font-weight: 900;
  color: #fbfbfb;
  font-size: clamp(18px, 5vw, 35px);
  width: 100%;            /* prend exactement la même largeur que le H1 */
  text-align: center;
  margin: 0;
  letter-spacing: 1.2px;
white-space: nowrap;
margin-left: -240px;

}
.hero h2 {
  font-size: clamp(18px, 3vw, 28px); /* taille responsive */
  color: #eba100;
  line-height: 1.4;
  text-align: center;
  max-width: 900px;   /* ajuste pour que le texte se coupe en deux lignes */
  margin: 20px auto;  /* espace vertical et centré */
}
/* Hero content doit être au-dessus des overlays */
.hero-content {
  position: relative;
  z-index: 3; /* supérieur à ::before (1) et ::after (2) */
}

/* Conteneur des boutons */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; 
  position: relative;
  z-index: 4;  /* au-dessus de tout */
}

/* Boutons interactifs */
.hero-buttons button {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  display: inline-flex;       /* permet le hover et clic sur toute la zone */
  align-items: center;
  justify-content: center;
  width: 200px;               /* largeur identique pour tous */
  height: 60px;               /* hauteur identique */
  transition: transform 0.2s ease-in-out; /* effet hover */
}

/* Images des boutons */
.hero-buttons img {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;       /* laisse le bouton capter le clic */
}

/* Hover sur le bouton entier */
.hero-buttons button:hover {
  transform: scale(1.05);
}

.hero-buttons .btn-figma:last-child img {
  width: 200px; /* augmente la largeur du deuxième bouton */
  height: auto; /* conserve les proportions */
}







.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 40px;
  text-decoration: none;
  background: #d13289;
  color: white;
  transition: all 0.3s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: #003366;
}
.hero-vector {
  position: absolute;
  z-index: 1;
  width: 150px;
  height: auto;
  opacity: 0;
  /* Position finale normale ici */
}

.vector-left {
  top: 50%;      /* position finale souhaitée */
  left: 0%;
  animation: dropVector 1.5s cubic-bezier(0.25, 1.5, 0.5, 1) forwards;
  animation-delay: 1.5s;
}

.vector-right {
  top: 80%;      /* position finale souhaitée */
  right: 0%;
  animation: dropVector 1.5s cubic-bezier(0.25, 1.5, 0.5, 1) forwards;
  animation-delay: 1.5s;
  width: 150px;
  height: auto;
}

@keyframes dropVector {
  0% {
    transform: translateY(-300px); /* départ bien au-dessus */
    opacity: 0;
  }
  60% {
    transform: translateY(20px);    /* dépassement pour le rebond */
    opacity: 1;
  }
  80% {
    transform: translateY(-10px);   /* rebond vers le haut */
  }
  100% {
    transform: translateY(0);       /* position finale exacte */
    opacity: 1;
  }
}

/* ====== EXPERIENCE ====== */
/* ====== EXPERIENCE ====== */
.experience {
  background: #fff;
  padding: 140px 8%;
}

.experience-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: nowrap;
}

/* Image à gauche */
.experience-image {
  flex: 1;
  text-align: center;
}

.experience-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s ease-out;
}

.experience.visible .experience-image img {
  opacity: 1;
  transform: translateY(0);
}

/* Texte à droite */
.experience-text {
  flex: 1;
  max-width: 550px;
}

.experience-title {
  width: 250px;  /* Ajuste selon la taille réelle de ton image titre */
  height: auto;
  display: block;
  margin-bottom: 25px;
}

.subtitle {
  font-family: 'Cardust', sans-serif;
  font-size: 28px;
  color: #111;
  line-height: 1.3;
  margin-bottom: 25px;
}

.description {
  font-family: 'URIAL', sans-serif;
  font-size: 18px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 35px;
}



.btn-secondary:hover {
  background: #444;
  transform: translateY(-2px);
}

/* ====== Animation ====== */
.experience {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
   transform: translateY(40px);
  transition: all 1s ease-out;
}
.experience.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ====== Responsive ====== */
@media (max-width: 1024px) {
.experience-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;  /* réduit l'espace */
  flex-wrap: nowrap;
}

  .experience-image img {
    max-width: 400px;
    margin-bottom: 40px;
      transform: translateY(40px);  
  transition: all 1.2s ease-out;
  }
  

.experience-title {
  width: 3000px;   /* taille bien visible */
  height: auto;
  display: block;
  margin-bottom: 25px;
}



  .subtitle {
    font-size: 24px;
  }

  .description {
    font-size: 16px;
  }
}
.experience-title {
  width: 350px;      /* prend la moitié du container */

  height: auto;
  display: block;
  margin-bottom: 25px; /* centré horizontalement */
  margin-top: -30px;
}
@font-face {
  font-family: 'MaNouvellePolice';
  src: url('police/Outfit-Regular.ttf') format('truetype');
    src: url('police/URIAL\ FONT\ Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.subtitle {
  font-family: 'urial','bold';
  font-size: 50px;        /* augmente la taille */
  font-weight: 900;       /* rend le texte plus gras */
  color: #283A86;
  line-height: 1.2;       /* espace entre les lignes */
  margin-bottom: 25px;
  text-align: left;     /* centre le texte */
  max-width: 500px;       /* limite la largeur pour forcer les retours à la ligne */
  margin-left: 0px;
  margin-right: auto;
  word-wrap: break-word;
  margin-left: -100px;
}

.description {
  font-family: 'outfit', sans-serif;
  font-size: 25px;
 text-align: justify;
 font-weight: 600;
 letter-spacing: -0.5;
 margin-left: -100px;
 max-width: 600px;
}
@media (max-width: 768px) {
  .subtitle {
    font-size: 25px !important;
    line-height: 1.3 !important;
    margin-left: 0 !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  .description {
    font-size: 16px !important;
    margin-left: 0 !important;
    max-width: 100% !important;
  }
}


/*  ===== Boutons ======*/
.hero-buttons-bottom {
  display: flex;
  justify-content: center;   /* centre horizontalement */
  align-items: center;       /* centre verticalement si besoin */
  position: relative;
  z-index: 3;                /* au-dessus des autres éléments */
  gap: 20px;                 /* espace si tu ajoutes d’autres boutons */
  cursor: pointer;
  margin-left:350px;
  margin-top: -20px;
}

.hero-buttons-bottom .btn-figma img {
  width: 200px;              /* même largeur que les boutons du Hero */
  height: 60px;              /* même hauteur */
  display: block;
  pointer-events: none;      /* laisse le lien capter le clic */
  transition: transform 0.2s ease-in-out;
}

.hero-buttons-bottom .btn-figma:hover img {
  transform: scale(1.05);    /* même effet hover que le Hero */
}



/* ====== ANIMATIONS DU TEXTE HERO ====== */
.hero-content > * {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 1.2s ease-out forwards;
}

.hero h1 {
  animation-delay: 0.5s;
}

.hero .dates {
  animation-delay: 1s;
}

.hero h2 {
  animation-delay: 1.5s;
}

.hero-buttons {
  animation-delay: 2s;
}

/* Animation keyframes */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ====== OBJECTIFS ====== */
.objectifs {
  padding: 100px 5%;
  text-align: center;
  background: url('images/objectifs.png') center/cover no-repeat;
  min-height: 1000px; /* augmente la hauteur de la section */


}

.objectifs {
  padding-bottom: 0;  /* retire l’espace interne du bas */
  margin-bottom: 0;   /* retire l’espace externe du bas */
}




.objectifs-overlay {
  position: absolute;
  top: 0;       /* ajuste la position verticale */
  left: 50%;    /* centre horizontalement */
  transform: translateX(-50%);
  width: 1200px;  /* taille de l'image superposée */
  height: auto;
  z-index: 2;   /* au-dessus du fond */
  margin-top: 200px;
}

/* Bouton Figma positionné au-dessus de l'image */
.btn-objectifs {
  position: absolute;
  top: 80px;         /* ajuste la distance par rapport au haut de l'image */
  left: 300px;         
  transform: translateX(-50%);
  z-index: 3;         /* au-dessus de l'image */
}

.btn-objectifs img {
  width: 300px;       /* taille identique à celle sur Figma */
  height: auto;
  display: block;
  pointer-events: auto;
  transition: transform 0.2s ease-in-out;
}
.emoji-objectifs {
  position: absolute;
  top: 80px;               /* légèrement aligné verticalement avec le bouton */
right:110px ;
  z-index: 3;
}


/* Émojis */
.emoji-objectifs img {
  width: 800px;       /* augmente la taille de l'émoji */
  height: auto;
}
.emoji-objectifs-bottom {
  position: absolute;   /* superposé à l'image */
  bottom: 20px;         /* distance depuis le bas de l'image */
  left: 100px;            /* centre horizontalement */
  transform: translateX(-50%); /* ajuste le centrage exact */
  width: 80px;          /* taille de l'émoji */
  height: auto;         /* garde les proportions */
}

/* version responsive pour mobile */
@media (max-width: 768px) {
  .emoji-objectifs-bottom {
    width: 50px;       /* réduit la taille sur petit écran */
    bottom: 10px;      /* ajuste la distance du bas */
  }
}

.emoji-bottom:hover {
  transform: translateX(-50%) scale(1.1); /* léger zoom au hover */
}

/* Bouton superposé au même endroit que l’émoji */
.btn-objectifs-bottom {
  position: absolute;
  bottom: 20px;          /* même que l’émoji */
  left: 50%;
  transform: translateX(-50%);
  width: 120px;          /* adapte selon ton Figma */
  height: 50px;          /* adapte selon ton Figma */
  cursor: pointer;
  z-index: 10;           /* au-dessus de l’émoji */
  border: none;
  background: none;
  padding: 0;
}

.btn-objectifs-bottom img {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  transition: transform 0.2s ease-in-out;
}

.btn-objectifs-bottom:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .emoji-bottom {
    width: 40px;
    bottom: 10px;
  }

}
  /* Bouton superposé au même endroit que l’émoji */
.btn-objectifs-bottom {
  position: absolute;
  bottom: 110px;          
  left: 50%;
  transform: translateX(-50%);
  width: 300px;    /* taille augmentée */
  height: 70px;    /* hauteur augmentée */
  cursor: pointer;
  z-index: 10;
  border: none;
  background: none;
  padding: 0;
}
.btn-objectifs-bottom img {
  width: 100%;
  height: 100%;
  display: block;
}
.emoji-objectifs img {
  width: 60px;             /* taille de l'émoji */
  height: auto;
}

.btn-objectifs img:hover {
  transform: scale(1.05);  /* effet hover */
}


.objectifs h2 {
  color: #003366;
}
.grid-objectifs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 40px;
}
.objectif img {
  width: 60px;
  margin-bottom: 15px;
  transition: 0.4s;
}
.objectif:hover img {
  transform: scale(1.1);
}




/* ====== PARTENAIRES ====== */
.partenaires {
  position: relative;
  text-align: left;
  padding: 140px 5%;
  background: #001171;
  overflow: hidden;
  z-index: 1;
  min-height: 1000px;
}

/* ✅ voile léger pour adoucir le fond */
.partenaires::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    z-index: 1;
}

.partenaires h2,
.partenaires p,
.logos-slider {
  position: relative;
  z-index: 2; /* les logos et textes passent au-dessus du voile */
}

.partenaires h2 {
  font-family: 'URIAL', sans-serif;
  font-size: 42px;
  color: #003366;
  margin-bottom: 25px;
}

.partenaires p {
  font-family: 'URIAL', sans-serif;
  color: #ffffff;
  font-size: 70px;
  line-height: 1.1;
  max-width: 1200px;
  margin: 0 auto 60px;
  font-weight: 900;
}

/* ----- SLIDER ----- */
.logos-slider {
  display: flex;
  width: 200%;
  animation: scrollLogos 20s linear infinite;
}

.logos-slide {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex: 1;
}

.logos-slide img {
  width: 150px;
  height: auto;
  margin: 0 50px;
  opacity: 1;
  filter: none;
  transition: transform 0.3s ease;
}

.logos-slide img:hover {
  transform: scale(1.1);
}
.logos-slide img {
  width: 150px;
  height: auto;
  margin: 0 40px;
  opacity: 1;
  filter: none;
  transition: transform 0.4s ease; /* animation plus douce */
  transform: translateY(20px);     /* ✅ descend légèrement les logos */
  margin-top: 100px;
}

.logos-slide img:hover {
  transform: translateY(20px) scale(1.08); /* ✅ combine déplacement + zoom */
}



/* ----- Animation ----- */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .partenaires {
    padding: 100px 8%;
  }

  .partenaires h2 {
    font-size: 32px;
  }

  .partenaires p {
    font-size: 16px;
  }

  .logos-slide img {
    width: 100px;
    margin: 0 25px;
  }

  .logos-slider {
    animation: scrollLogos 25s linear infinite;
  }
}

/* ====== FOOTER ====== */
.footer {
  text-align: center;
  background: url("images/fondd.png") center/cover no-repeat;
  color: #fff;
  padding: 40px 10px;
}
.btn-figma-form {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  left: 45%;
  top: 20px;
}

.btn-figma-form img {
  width: 150px; /* ajuste la taille des boutons */
  height: auto;
  transition: transform 0.3s ease;
  
}

.btn-figma:hover img {
  transform: scale(1.05);
}

/* ====== ANIMATIONS ====== */
.fade-in, .scroll-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}
.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    order: 2;
  }
  .hero-image img {
    width: 90%;
    margin-top: 30px;
  }
}
.experience-decor {
  width: 100%;           /* prend toute la largeur du site */
  position: relative;
  z-index: 1;
  margin-top: 0px;      /* espace avec la section expérience */
  overflow: hidden;      /* empêche tout débordement */
}

.experience-decor img {
  width: 100%;           /* occupe 100% de la largeur du conteneur */
  height: auto;          /* garde les proportions */
  display: block;
  opacity: 1;            /* visible directement */
  transform: translateY(0); /* pas de déplacement initial */
  object-fit: cover;     /* recouvre tout le conteneur sans déformer */
}
/* ===== Image décorative avant la section partenaires ===== */
.decor-partenaires {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  
}
.decor-partenaires {
  margin-top: 0;
  
}




/* ===== Section Partenaires ===== */
.partenaires {
  background: url('images/fondd.png') center/cover no-repeat;
  text-align: center;
  padding: 140px 5%;
  position: relative;
  z-index: 4;
 
}

.decor-partenaires img {
  opacity: 0;
  transform: translateY(40px);
  animation: decorAppear 1.2s ease-out forwards;
  background: none;
  margin-bottom: -5px;
  margin-top: -30px;
  z-index: 4;
}

@keyframes decorAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==== sama responsive design kénn douko fowé ===*/
/* ====== RESPONSIVE ====== */
@media (max-width: 1200px) {
  /* EXPERIENCE */
  .experience-container {
    flex-wrap: wrap;
    gap: 40px;
  }

  .experience-image img {
    max-width: 450px;
    margin: 0 auto 30px auto;
  }

  .experience-text {
    max-width: 100%;
    text-align: center;
  }

  .subtitle {
    font-size: 42px;
    line-height: 1.3;
    margin-left: 0;
  }

  .description {
    font-size: 20px;
    margin-left: 0;
    max-width: 100%;
  }

  .hero-buttons-bottom {
    margin-left: 0;
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .experience-container {
    flex-direction: column;
    gap: 30px;
  }

  .experience-image img {
    max-width: 400px;
  }

  .subtitle {
    font-size: 36px;
  }

  .description {
    font-size: 18px;
  }

  .hero-buttons-bottom .btn-figma img {
    width: 180px;
    height: 55px;
  }
}

@media (max-width: 768px) {
  /* HERO */
  .hero {
    flex-direction: column;
    padding: 100px 5% 80px;
  }

  .hero-content {
    max-width: 90%;
    text-align: center;
    gap: 15px;
  }

  .hero h1 {
    font-size: clamp(40px, 10vw, 100px);
    white-space: normal;
  }

  .hero .dates {
    font-size: clamp(16px, 5vw, 28px);
    margin-left: 0;
    white-space: normal;
  }

  .hero h2 {
    font-size: clamp(16px, 4vw, 24px);
    max-width: 100%;
  }

  /* EXPERIENCE */
  .experience-container {
    gap: 20px;
  }

  .experience-image img {
    max-width: 100%;
  }

  .subtitle {
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
  }

  .description {
    font-size: 16px;
    text-align: justify;
    max-width: 100%;
    margin-left: 0;
  }

  .hero-buttons-bottom {
    margin-left: 0;
    margin-top: 20px;
  }

  .hero-buttons-bottom .btn-figma img {
    width: 160px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  /* HERO */
  .header .logo{
    width: 40px;
    height: auto;
    
   min-width: 40px;
  }
  .hero {
    padding: 70px 5% 60px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 60px);
  }

  .hero .dates {
    font-size: clamp(14px, 4vw, 22px);
  }

  .hero h2 {
    font-size: clamp(14px, 4vw, 20px);
  }

  /* EXPERIENCE */
  .subtitle {
    font-size: 24px;
  }

  .description {
    font-size: 14px;
  }

  .experience-image img {
    width: 100%;
  }

  .hero-buttons-bottom .btn-figma img {
    width: 140px;
    height: 45px;
  }
}
.social-icons-buttons {
  display: flex;
  justify-content: center; /* centre horizontalement */
  gap: 20px;               /* espace entre icônes */
  margin-top: -20px;        /* espace entre boutons et icônes */
}

.social-icons-buttons a img {
  width: 40px;
  height: auto;
  transition: transform 0.3s ease;
}

.social-icons-buttons a:hover img {
  transform: scale(1.2);
}

/* Changer la police des liens de la navbar */
.navbar a {
  font-family: 'Urial', sans-serif; /* Remplace 'Outfit' par la police que tu veux */
  font-weight: 600;                  /* Optionnel : mettre en gras */
  font-size: 18px;                   /* Ajuste la taille si nécessaire */
  color: #fff;                        /* Couleur du texte */
  text-decoration: none;              /* Supprime le soulignement */
  transition: all 0.3s ease;
}


/* Optionnel : police différente au hover */
.navbar a:hover {
  font-family: 'Cardust', sans-serif; /* Si tu veux une autre police au survol */
  color: #F49717;                      /* Change la couleur au survol */
}
.hero-content p{
  font-family: 'URIAL', sans-serif;
}
.hero-content h2{
  font-family: 'URIAL', sans-serif;
}
.objectifs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px; /* espace entre les deux lignes */
 
}

/* Styles de base */
.ligne1, .ligne2 {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.ligne2 {
  justify-content: center; /* pour centrer les 2 images */
}

.ligne1 img, .ligne2 img {
  width: 200px;    /* largeur standard */
  height: 150px;   /* hauteur standard */
  object-fit: cover; /* éviter que l'image soit coupée */
}
/* Redimensionne uniquement l'image "faire.png" */
/* Change uniquement la taille de l'image "faire.png" */
.ligne1 .img2 {
  width: 300px !important;  /* force la largeur */
  height: auto !important;  /* garde les proportions */
}

@media (max-width: 768px) {
  .img2 {
    width: 100px;
  }
}


/* Responsive pour tablettes */
@media (max-width: 768px) {
  .ligne1 img, .ligne2 img {
    width: 45%;  /* deux images par ligne */
    height: auto;
    padding-bottom: 50px;
  }
  .ligne1, .ligne2 {
    flex-wrap: wrap;
  }
}

/* Responsive pour mobiles */
@media (max-width: 480px) {
  .ligne1 img, .ligne2 img {
    width: 90%; /* une image par ligne */
    height: auto;
  }
}
/* Pour les écrans larges (PC) uniquement */
@media (min-width: 1025px) {
  .ligne1 img,
  .ligne2 img {
    width: 400px;       /* augmente la taille sur PC */
    height: auto;       /* garde la proportion originale */
    object-fit: contain; /* évite que l'image soit coupée */
  }
}


.logo-links a {
   font-family: 'URIAL', sans-serif;
}
/* CSS pour mobile uniquement */
@media only screen and (max-width: 768px) {

  /* Conteneur des deux images */
  .btn-objectifs,
  .emoji-objectifs {
    display: inline-block; /* permet de les aligner côte à côte */
    vertical-align: top;   /* aligne en haut */
  }

  /* Conteneur parent pour gérer l'espacement horizontal */
  .objectifs-container {
    display: flex;
    justify-content: space-between; /* espace entre les images */
    align-items: flex-start;        /* aligne en haut */
    padding: 10px;                  /* petit padding autour */
  }

  .btn-objectifs img {
    width: 150px; /* taille mobile */
    height: auto;
    margin-right: 140px;
  }

  .emoji-objectifs img {
    width: 100px; /* taille mobile */
    height: auto;
  }
}
/* Version mobile */
@media screen and (max-width: 768px) {
  .partenaires {
    height: calc(100% - 300px); /* Réduit la hauteur de 100px */
    background-size: cover; /* garde le recadrage correct */
  }
}
@media screen and (max-width: 768px) {
  .partenaires p {
    font-size: 25px; /* légèrement plus petit sur mobile si nécessaire */
    padding-bottom: 10px;
  }
}
/* Hamburger bouton */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.4s ease;
}

/* Animation croix */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu desktop */
.navbar ul {
  display: flex;
  gap: 20px;
  list-style: none;
  transition: transform 0.5s ease;
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar ul {
    position: fixed;
    top: 0;
    right: -300px;        /* hors écran au départ */
    height: 100vh;
    width: 250px;
    flex-direction: column;
    background: #ffffff;
    padding-top: 80px;
    gap: 30px;
    transform: translateX(0);
    transition: right 0.5s ease; /* animation du menu */
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  }

  .navbar ul.show {
    right: 0;              /* glisse de la droite vers la gauche */
  }
}
/* Desktop - menus toujours visibles */
.navbar ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

/* Mobile - menus cachés par défaut */
@media (max-width: 768px) {
  .navbar ul {
    position: fixed;
    top: 0;
    right: -300px;       /* Hors écran au départ */
    height: 100vh;
    width: 250px;
    flex-direction: column;
    background: #fff;
    padding-top: 80px;
    gap: 30px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    transition: right 0.5s ease;
  }

  /* Menu visible quand on clique sur hamburger */
  .navbar ul.show {
    right: 0;
  }
}

@media (max-width: 768px) {
  .navbar ul {
    position: fixed;
    top: 0;
    right: -300px;      /* hors écran au départ */
    height: 100vh;
    width: 250px;
    flex-direction: column;
    background: #0077b6; /* <-- fond bleu du menu mobile */
    padding-top: 80px;
    gap: 30px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    transition: right 0.5s ease;
  }

  .navbar ul li a {
    color: #fff;          /* texte blanc sur fond bleu */
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    
  }

  .navbar ul.show {
    right: 0;             /* menu visible */
  }
}
@media (max-width: 768px) {
  .navbar ul {
    position: fixed;
    top: 10px;           /* <-- distance depuis le haut (augmente pour descendre le menu) */
    bottom: 100px;
    right: -300px;        /* hors écran au départ */
    height: calc(100vh - 80px); /* ajuste la hauteur pour ne pas dépasser l'écran */
    width: 250px;
    flex-direction: column;
    background: #051875;  /* fond bleu */
    padding-top: 120px;    /* espace supplémentaire au début du menu */
    gap: 30px;
    box-shadow: -2px 0 10px rgba(232, 194, 4, 0.2);
    transition: right 0.5s ease;
  }

  .navbar ul.show {
    right: 0;             /* menu visible */
  }

  .navbar ul li a {
    color: #fff;          /* texte blanc */
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
  }
}
html, body {
  overflow-x: hidden;
}


.inscription {
  background-image: url('images/fondins.png'); /* ton image de fond */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inscription-wrapper {
  display: flex;
  align-items: flex-start; /* aligne les éléments en haut pour laisser de la place */
  justify-content: space-between;
  max-width: 1300px; /* plus large pour allonger horizontalement */
  width: 100%;
  gap: 10px;
  background-color: #001171;
  padding: 40px 30px 60px 30px; /* padding plus grand en bas */
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}


.inscription-logo {
  display: flex;
  flex-direction: column;  /* logo au-dessus des liens */
  align-items: flex-start;  /* aligne le contenu à gauche */
  padding-top: 40px;
}

.inscription-logo img {
  display: block;       /* empêche le centrage automatique */
  margin: 0;            /* supprime tout margin */
  align-self: flex-start; /* force l'image à rester à gauche */
  max-width: 150px;     /* ajuste selon ton besoin */
  height: auto;
}
.inscription-logo img {
  display: block !important;
  margin: 0 !important;
  align-self: flex-start !important;
}



.logo-links {
  display: flex;           /* affiche les liens sur la même ligne */
  gap: 15px;               /* espace entre les liens */
  margin-top: 10px;        /* petit espace sous le logo */
}

.logo-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 30px;
  transition: all 0.3s ease;
  font-weight: 900;
  line-height: 1.4;
  
  
}



.btn-figma-form {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}


.btn-figma-form img {
  width: 150px;       /* conserve la taille de ton bouton Figma */
  height: auto;
  max-width: 100%;   /* s’adapte sur mobile */
  transition: transform 0.3s ease;
}

.btn-figma-form:hover img {
  transform: scale(1.05); /* léger effet au survol */
}



/* Titre au centre */
.inscription-title h2 {
  font-family: 'cardust', sans-serif;
  color: #ffffff;
  font-size: 4.5rem;
  text-align: center;
 font-weight: normal; /* évite que la graisse soit accentuée */
  -webkit-text-stroke: 0px; /* supprime tout éventuel contour ajouté par le navigateur */
  text-shadow: none; 
}

.inscription-form form {
  display: flex;           /* active flexbox */
  flex-direction: column;  /* empile verticalement les champs */
  gap: 30px;               /* espace entre chaque champ */
  width: 100%;
  margin-right: 50px;
}

.inscription-form input {
  width: 100%;             /* prend toute la largeur disponible */
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 16px;
  outline: none;
  margin-right: 40px;
}

.inscription-form input::placeholder {
  color: #e0e0e0;
}

.inscription-form .btn {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, #ff6f61, #ff8a5c);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}
.inscription-center {
  display: flex;
  flex-direction: column; /* empile titre + boutons */
  align-items: center;
  gap: 30px; /* espace entre le titre et les boutons */
}

.inscription-buttons {
  display: flex;
  flex-direction: column; /* boutons empilés verticalement */
  gap: 15px; /* espace entre les deux boutons */
}
.inscription-buttons .btn-figma:first-child img {
  width: 200px; /* bouton 1 */
}

.inscription-form input {
  width: 100%;
  padding: 18px 20px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 18px;
  outline: none;
  margin-bottom: 10px; /* espace entre les champs */
}

.inscription-form input::placeholder {
  color: #e0e0e0b6;
}

.inscription-buttons .btn-figma:last-child img {
  width: 200px; /* bouton 2 plus large */
}

.btn-figma {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.btn-figma img {
  width: 150px; /* ajuste la taille des boutons */
  height: auto;
  transition: transform 0.3s ease;
}

.btn-figma:hover img {
  transform: scale(1.05);
}

/* Responsive============================================================================ */
@media (max-width: 900px) {
  .inscription-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .inscription-form {
    width: 100%;
    min-width: unset;
  }
}

.inscription {
  background-image: url('images/fondins.png'); /* ton image de fond */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inscription-wrapper {
  display: flex;
  align-items: flex-start; /* aligne les éléments en haut pour laisser de la place */
  justify-content: space-between;
  max-width: 1300px; /* plus large pour allonger horizontalement */
  width: 100%;
  gap: 10px;
  background: rgba(0,0,0,0.4); /* semi-transparent pour lisibilité */
  padding: 40px 30px 60px 30px; /* padding plus grand en bas */
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Logo et liens */
.inscription-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.inscription-logo img {
  max-height: 100px;
  width: auto;
  margin-left: 100px;
  margin-top: 50px;
}

.logo-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.logo-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 30px;
  transition: all 0.3s ease;
  font-weight: 900;
  line-height: 1.4;
text-align: left;
  font-family: "urial";
  margin-top: 10px;
  
}

.logo-links a:hover {
  color: #F49717;
  font-family: "cardust";
}
.btn-figma-form {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-figma-form img {
  width: 150px;       /* conserve la taille de ton bouton Figma */
  height: auto;
  max-width: 100%;   /* s’adapte sur mobile */
  transition: transform 0.3s ease;
}

.btn-figma-form:hover img {
  transform: scale(1.05); /* léger effet au survol */
}



/* Titre au centre============================================================================== */
.inscription-title h2 {
  font-family: 'cardust', sans-serif;
  color: #ffffff;
  font-size: 4.5rem;
  text-align: center;
 font-weight: normal; /* évite que la graisse soit accentuée */
  -webkit-text-stroke: 0px; /* supprime tout éventuel contour ajouté par le navigateur */
  text-shadow: none;
  margin-top: 45px;
}

.inscription-form form {
  display: flex;           /* active flexbox */
  flex-direction: column;  /* empile verticalement les champs */
  gap: 30px;               /* espace entre chaque champ */
  width: 100%;
  margin-right: 100px;
  margin-top: 100px;
}

.inscription-form input {
  width: 100%;             /* prend toute la largeur disponible */
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 16px;
  outline: none;
  margin-right: 50px;
}

.inscription-form input::placeholder {
  color: #e0e0e0;
}

.inscription-form .btn {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, #ff6f61, #ff8a5c);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}
.inscription-center {
  display: flex;
  flex-direction: column; /* empile titre + boutons */
  align-items: center;
  gap: 30px; /* espace entre le titre et les boutons */
}

.inscription-buttons {
  display: flex;
  flex-direction: column; /* boutons empilés verticalement */
  gap: 15px; /* espace entre les deux boutons */
}
.inscription-buttons .btn-figma:first-child img {
  width: 200px; /* bouton 1 */
}

.inscription-form input {
  width: 100%;
  padding: 15px 10px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 18px;
  outline: none;
  margin-bottom: 10px; /* espace entre les champs */
}

.inscription-form input::placeholder {
  color: #e0e0e0;
}

.inscription-buttons .btn-figma:last-child img {
  width: 200px; /* bouton 2 plus large */
}

.btn-figma {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.btn-figma img {
  width: 150px; /* ajuste la taille des boutons */
  height: auto;
  transition: transform 0.3s ease;
}

.btn-figma:hover img {
  transform: scale(1.05);
}

/* Responsive ========================================================================*/
@media (max-width: 900px) {
  .inscription-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .inscription-form {
    width: 100%;
    min-width: unset;
  }
}
/* Bouton Yeupp centré */
.yeupp-container {
  margin-top: 30px;
  text-align: center;
}

.yeupp-container img {
  width: 250px;   /* taille par défaut pour PC/tablette */
  height: auto;
  transition: transform 0.3s;
}

.yeupp-container img:hover {
  transform: scale(1.05); /* petit effet hover */
}

/* Responsive mobile */
@media screen and (max-width: 768px) {
  .yeupp-container img {
    width: 180px;   /* réduit la taille sur mobile */
  }
}


 
 
 
 
 
 
 
 
 
 
 
 

.section-bg {
   background: url('images/fondd.png') center/cover no-repeat;
  padding: 60px 20px;
  position: relative;
}

/* Image décorative en haut à gauche */
.decorative-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 210px; 
}

/* Grid des intervenants */
.intervenants-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: fit-content;   /* La grille prend juste la place nécessaire */
  margin: 0 auto;       /* Centrage horizontal du bloc */
}
/* Images des intervenants */
.intervenant-photo {
  width: 400px;  /* augmente taille sur PC/tablette */
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s;
}

.intervenant-photo:hover {
  transform: scale(1.05); /* petit effet hover sympa */
}





/* Responsive mobile */
@media screen and (max-width: 768px) {
  .intervenants-row {
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;       /* prend toute la largeur */
    margin: 0 auto;
  }

  .intervenant-photo {
    width: 90%;        /* limite la largeur sur mobile */
    max-width: 360px;  /* s’assure que ça ne dépasse pas */
    margin: 0 auto;    /* centre l’image dans la grille */
  }


 
}
















@media (max-width: 1024px) {
  .experience-container {
    gap: 30px;
    flex-wrap: nowrap; /* garde sur la même ligne */
  }

  .experience-image img {
    max-width: 400px;
  }

  .subtitle {
    font-size: 36px;
    max-width: 100%;
  }

  .description {
    font-size: 18px;
    max-width: 100%;
  }
}

/* Mobile (<768px) */
@media (max-width: 768px) {
  .experience-container {
    flex-direction: column; /* image au-dessus, texte en dessous */
    gap: 30px;
    padding: 50px 15px;
  }

  .experience-image,
  .experience-text {
    flex: 1 1 100%; /* prennent toute la largeur */
    min-width: auto;
  }

  .subtitle {
    font-size: 28px;
  }

  .description {
    font-size: 16px;
  }

  .hero-buttons-bottom {
    margin-top: 20px;
  }
}
.experience {
  background: #fff;
  padding: 140px 8%;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.experience.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Container flex ===== */
.experience-container {
  display: flex;
  align-items: flex-start;        /* aligne le haut de l'image et du texte */
  justify-content: space-between; /* espace fixe entre image et texte */
  gap: 60px;                      /* distance fixe */
  flex-wrap: nowrap;              /* empêche passage en colonne sur PC */
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Image à gauche ===== */
.experience-image {
  flex: 0 0 45%;    /* largeur fixe 45% sur PC */
  min-width: 280px;
  text-align: center;
}

.experience-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s ease-out;
}

.experience.visible .experience-image img {
  opacity: 1;
  transform: translateY(0);
}
.experience-text {
  flex: 0 0 50%;   /* largeur fixe 50% sur PC */
  min-width: 280px;
}

.experience-title {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: block;
  margin-bottom: 25px;
}

.subtitle {
  font-family: 'URIAL', sans-serif;
  font-size: 50px;
  font-weight: 900;
  color: #283A86;
  line-height: 1.2;
  max-width: 500px;
  word-wrap: break-word;
  margin: 0 0 25px 0; /* supprime marges négatives */
  text-align: left;
}

.description {
  font-family: 'Outfit', sans-serif;
  font-size: 25px;
  text-align: justify;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}