/* ======== POLICES ======== */
@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;
}

/* ======== STRUCTURE ======== */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ======== HERO ======== */
.hero-programme {
  position: relative;
  z-index: 1;
  height: 100vh;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ======== DÉCORS ======== */



/* ======== HEADER ======== */
header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: #001171;
  z-index: 1000 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  box-sizing: border-box;
  animation: fadeDown 1s ease-out forwards;
  opacity: 0;
}
header .logo img {
  max-height: 60px;
  height: auto;
  width: auto;
}

/* ======== NAVBAR ======== */
.navbar ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.5s ease;
}
.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-family: "urial";
  font-size: 20px;
}
.navbar ul li a.active,
.navbar ul li a:hover {
  color: #F49717;
  font-family: "cardust";
}

/* ======== SOCIAL ICONS ======== */
.social-icons {
  display: flex;
  gap: 15px;
}
.social-icons img {
  width: 26px;
  height: 26px;
  max-width: 100%;
}

/* ======== HAMBURGER ======== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: all 0.4s ease;
}
.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); }

/* ======== MOBILE MENU ======== */
.mobile-menu {
  position: fixed;
  top: 100px;
  bottom: 60px;
  right: -300px;
  width: 250px;
  background: #001485;
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: right 0.4s ease;
  z-index: 1000;
  box-shadow: -2px 0 10px rgba(232, 194, 4, 0.2); 
}
.mobile-menu.show { right: 15px; }
.mobile-menu a {
  color: #fff;
  font-weight: bold;
  font-family: "Cardust", sans-serif;
  text-decoration: none;
  font-size: 18px;
}
.mobile-menu a:hover { color: #F49717; }
.mobile-menu .mobile-socials {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.mobile-menu .mobile-socials img { width: 26px; }

/* ======== TEXTE CENTRAL ======== */
.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 58%;
  transform: translateY(-50%);
  animation: fadeUp 1.2s ease-out forwards;
  opacity: 0;
  animation-delay: 0.6s;
}
.subtitle {
  font-family: "Cardust", sans-serif;
  font-size: 2.8rem;
  letter-spacing: 2px;
  margin: 0 0 15px;
  color: #fff;
  font-weight: normal;
  margin-top: -50px;
}
.title {
  font-family: "Urial", sans-serif;
  color: #F49717;
  font-size: 5.5rem;
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 900;
 
}
.title span { display: block; }

/* ======== GRID INTERVENANTS ======== */
.intervenants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.intervenant-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* ======== ANIMATIONS ======== */
/* fade down/up */
@keyframes fadeDown { from { transform: translateY(-40px); opacity:0; } to { transform: translateY(0); opacity:1; } }
@keyframes fadeUp { from { transform: translateY(40px); opacity:0; } to { transform: translateY(0); opacity:1; } }
/* décor */
@keyframes slideInLeft { 0% { transform: translateX(-80px) scale(0.9); opacity:0; } 100% { transform: translateX(0) scale(1); opacity:1; } }
@keyframes slideInRight { 0% { transform: translateX(80px) scale(0.9); opacity:0; } 100% { transform: translateX(0) scale(1); opacity:1; } }
@keyframes float { 0% { transform: translateY(0); } 100% { transform: translateY(-10px); } }
/* intervenants */
.intervenants-grid .intervenant-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.intervenants-grid .intervenant-card.visible {
  opacity: 1;
  transform: translateY(0);
}
/* loader */
#page-loader {
  position: fixed;
  top: 0; left:0; width:100%; height:100%;
  background:#fff;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
  transition: opacity 0.5s ease;
}
.spinner { 
  border: 5px solid #f3f3f3;
  border-top: 5px solid #F49717;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}
@keyframes spin { 0%{transform:rotate(0deg);} 100%{transform:rotate(360deg);} }

/* ======== RESPONSIVE ======== */
@media(max-width:1024px){.hero-text .title{font-size:2rem;}.subtitle{font-size:1.8rem; margin-top:-50px;}}
@media(max-width:768px){.navbar ul{display:none;}.hamburger{display:flex;}.decor-left{width:45%;}.decor-right{width:50%;}}
@media(max-width:600px){.intervenants-grid{grid-template-columns:1fr;}}

/* ======== GRID OVERLAY ======== */
.grid-overlaye{
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.2), transparent 50%),
    url("images/Grille-44-44.png");
  background-repeat: repeat;
  background-size: cover;
  opacity:0.07;
  z-index:5;
  pointer-events:none;
}

.grid-overlaye {
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.2), transparent 50%),
    url("images/Grille-44-44.png");
}





html, body, * {
  overflow-x: clip !important;
}
.decor {
  position: absolute;
  z-index: 50;
  will-change: transform, opacity;
  pointer-events: none;
  max-width: 35vw;
  height: auto;
  opacity: 0;
}

.decor-left {
  left: 0;
  bottom: 0;
  transform: translate(-20%, 20%);
  animation: slideInLeft 1.2s ease-out forwards, float 4s ease-in-out 1.5s infinite alternate;
  width: 10%;
}

.decor-right {
  right: 0;
  bottom: 0;
  transform: translate(20%, 30%);
  animation: slideInRight 1.2s ease-out forwards, float 4s ease-in-out 1.5s infinite alternate;
   width: 15%;
}
.footer {
  padding: 30px 5%;
  background: #011169;
  color: #fff;
  text-align: center;
}
.footer img {
  margin-left: 600px;
}




.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: center;
    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: flex-start;
    gap: 40px;
  }
  .inscription-form {
    width: 100%;
    min-width: unset;
  }
}
/* Responsive ========================================================================*/
@media (max-width: 900px) {
  .inscription-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .inscription-form {
    width: 100%;
    min-width: unset;
  }
}