:root {
  /* Couleurs principales */
  --black: #000000;
  --yellow: #FFCC00;
  --mint:       #E8FDF9;
  --pink:       #F8D2D4;
  /* Couleur d’accent */
  --green: #61BFAC;

  /* Couleurs neutres */
  --white: #FFFFFF;
  --black:      #000000;
  --gray-dark: #333333;
  --gray-light: #F5F5F5;
  --gray-to-black-p: rgb(161, 161, 166);
  --gray-to-title: rgb(245, 245, 247);
  /* Police */
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
}

/* checkbox yellow accent */
input[type="checkbox"],
input[type="radio"] {
  /* Chrome, Firefox, Edge modernes */
  accent-color: #FFCC00;
}



* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  font-size: 17px;
  text-align: left;
  line-height: 1.47;
  letter-spacing: -0.022em;
}
.p {
  color: #a1a1a6;
  font-size: 17px;
  font-weight: 300;
  
}


/* header superposé */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--black);
  transition: background 0.3s ease, opacity 0.3s ease;
  z-index: 1000;
}

/* header fixé après scroll */
.header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  background: var(--black);
  opacity: 0.90;
}

.header-content {
 display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
 
 max-width: 1214px;
 margin: 0 auto;
 padding: 0 2rem;
 width: 100%;
}

/* Logo */
.header-left .logo img {
  height: 24px;
}
@media (max-width: 430px){
  .logo img {
    height: 16px;
  }
}
/* Liens de navigation (desktop) */
.nav-center .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 300;
}

.nav-links a.active {
  color: var(--yellow);
}

/* Conteneur bouton + burger */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  order: 2; /* en desktop, order naturel ne change rien */
}

/* Burger icon (caché sur desktop) */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.bar {
  width: 25px;
  height: 3px;
  background-color: var(--white);
}

/* Animation du burger */
.burger.open .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 5px);
}
.burger.open .bar:nth-child(2) {
  opacity: 0;
}
.burger.open .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -5px);
}
/* Bloque le scroll global quand le menu est ouvert */
body.no-scroll {
  overflow: hidden;
  /* Pour certains navigateurs mobiles, on peut aussi : */
  position: fixed;
  width: 100%;
}





@media (max-width: 980px) {

  
  /* 1) On masque la nav hors-écran via translateX */
  .nav-center {
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;        /* plein écran */
   
    background: var(--black);
    transform: translateY(-100%);
    transition: transform 0.5s ease-in-out;
    
    z-index: 999;       /* en dessous du burger */
    padding: 2rem 1.5rem;
    overflow-y: auto;   /* scroll si beaucoup d’items */
     /* Masqué et transparent par défaut */
    opacity: 0;
    pointer-events: none;
    
    /* Transition sur l’opacité */
    transition: opacity 0.7s ease-in-out;
    z-index: 999;
  
  }

  /* 2) Quand on ajoute .open, on replace la nav à l’écran */
  .nav-center.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* 3) On aligne tous les liens verticalement */
  .nav-links {
    display: flex; 
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .nav-links a {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    margin-left: 2rem;
  }

  /* 4) On force l’affichage du burger et on le place au-dessus */
  .burger {
    display: flex;      /* override display:none sur desktop */
    position: relative;
    z-index: 1000;      /* au-dessus de la nav */
  }
}

  

.section-container {
  max-width: 1214px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  z-index: 200;
}

/* --- HERO --- */
.hero {
  position: relative;       /* nécessaire pour que ::before s’applique */
  min-height: 70vh;
  background-image: url('demo-day.jpg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: self-start;
  text-align: left;
  margin-top: 4rem;

}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;  /* couvre tout */
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
@media (max-width: 768px) {
  .hero {
    /* 70% de la largeur depuis la gauche, et centré verticalement */
    background-position: 70% center;
  }
}


/* Texte et bouton du hero */
.hero h1 {
  /* Texte plus grand */
  font-size: clamp(3rem, 6vw, 5rem);
    max-width: 60px;
    line-height: 1.0834933333;
    font-weight: 600;
    letter-spacing: -.003em;
    color: #FFCC00;
    z-index: 202;
    flex-direction: column;
   
    
}

.hero p {
  /* Paragraphe un peu plus gros */
  font-size: 31px;
    line-height: 1.381002381;
    font-weight: 400;
    letter-spacing: .011em;
 margin-top: 2rem;
 margin-bottom: 2rem;
 
 
 color: rgb(245, 245, 247);
 max-width: 30rem;

 z-index: 2;
}

/* --- RESPONSIVE (mobile) --- */
@media (max-width: 768px) {
  .header-left { order: 1; }
  .header-right { order: 2; }
  .nav-center { order: 3; width: 100%; }

  .nav-center .nav-links {
    display: none;
    flex-direction: column;
    background: var(--black);
    width: 100%;
    padding: 1rem 0;
    list-style: none;
    margin-top: 0.5rem;
  }
  .burger { display: flex; }
  .nav-center.open .nav-links { display: flex; }
}



/* --- INFO SECTION À LA APPLE --- */
.info-section {
  background: var(--black);       /* fond sombre */
  padding: 2rem 1rem;
}

.info-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.info-item {
  display: flex;
  flex-direction: column;         /* icône au-dessus, texte en dessous */
  align-items: center;
  text-align: center;
}

.info-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
 
}

.info-label {
  color: var(--gray-to-title);
  font-size: 18px;
    line-height: 1.1904761905;
    font-weight: 500;
    letter-spacing: .011em;
  margin: 0.25rem 0;
}

.info-value {
  color: var(--gray-to-black-p);
  font-size: 15px;
  text-align: center;
  line-height: 1.47;
  letter-spacing: -0.0022em;
  font-weight: 300;
  margin: 0;
}

/* Responsive : réduire la taille des icônes et du texte sur mobile */
@media (max-width: 480px) {
  .info-wrapper {
    gap: 1rem;
  }
  .info-icon {
    width: 32px;
    height: 32px;
  }
  .info-label {
    font-size: 0.9rem;
  }
  .info-value {
    font-size: 0.8rem;
  }
}

.titre {
   font-size: 2rem;
  color: var(--black);
  margin-bottom: 2.5rem;
  text-align: left;
  max-width: 600px;
  max-width: 1214px;
  margin: auto;
  margin-bottom: 2rem;

   
}

.titre-yello {
     font-size: 45px;
    line-height: 1.0834933333;
    font-weight: 600;
    letter-spacing: -.003em;
    color: var(--yellow);
    padding-top: 2rem;
    padding-bottom: 2rem;
   
}
.titre-blanc {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: left;

  margin-bottom: 2rem;
}
/* Container général */
.programmes1 {
  background: #f5f5f5;
   padding: 4rem 1rem;

}
#programmes {
  scroll-margin-top: /* hauteur de ton header, ex. */ 4rem;
}
/* Introduction */
.programmes1 .intro {
  max-width: 1214px;
margin: auto;
margin-bottom: 2rem;
padding-right: 30%;
  color: #333;
  font-size: 17px;
  text-align: left;
  line-height: 1.47;
  letter-spacing: -0.022em;

}
@media (max-width: 430px) {
  .programmes1 .intro  {
    padding-right: 0;
  }}
/* Grille responsive */
.programmes-grid {
  display: grid;
grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  
}

/* Cartes à la Apple */
.programme-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Icone en haut à gauche */
.programme-icon {
  width: 50px;
  height: 50px;
}

/* Titres et paragraphes */
.programme-card h3 {
   font-size: 21px;
    line-height: 1.1904761905;
    font-weight: 500;
    letter-spacing: .011em;
  margin: 0;
  color: #1d1d1f;
}
.programme-card p {
  flex: 1;
  font-size: 17px;
  text-align: left;
  line-height: 1.47;
  font-weight: 400;
  letter-spacing: -0.0022em;
  color: #555;
  margin: 0;
}
.form-recommendation {
  background: #f5f5f5;
  border-left: 4px solid #61BFAC;  /* couleur accent */
  padding: 1rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 700px;
}
.form-recommendation strong {
  color: #111;
}


/* Conteneur des boutons en pied de carte */
.card-actions {
  margin-top: auto;     /* pousse les boutons en bas */
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
}

@media (max-width: 430px) {
  .card-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  }
/* Bouton principal plein */
.btn-primary {
   background: transparent;
  color: var(--black);
  border: 1px solid var(--yellow);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 300;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-primary:hover {
  background: var(--green);
  color: var(--white);
}

/* Bouton outline */
.btn-outline {
    
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 300;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* Réductions mobile */
@media (max-width: 480px) {
  .programmes-icon {
    width: 28px;
    height: 28px;
  }
  .programmes-more {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
}

/* Écrans moyens (tablette) : 2 colonnes */
@media (max-width: 1380px) {
  .programmes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
}

/* Mobile : 1 colonne */
@media (max-width: 600px) {
  .programmes-grid {
    grid-template-columns: 1fr;
  }
  
}



/* ===== Comment ça marche ===== */
/* SECTION PROCESS — Présentation en 3 colonnes sans box */
.process {
  background: var(--black);
  padding-top: 4rem ;
  
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  max-width: 1214px;
  margin: 0 auto;
  padding: 0rem;
  padding-bottom: 4rem;
  text-align: left;
}

.process-item {
  font-size: 1rem;
  line-height: 1.6;
}

.process-item h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #f5f5f7;
}

.process-item p {
  color: #a1a1a6;
  font-size: 17px;
  font-weight: 300;
  
}

.step-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}


@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}



/* ===== Pourquoi choisir Edacy ===== */
.benefits {
  background: var(--gray-light);
  padding: 4rem 0rem;
 
}


.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  
}

.benefit-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.benefit-icon {
  width: 48px;
  height: 48px;
}
.benefit-card h3 {
  font-size: 21px;
    line-height: 1.1904761905;
    font-weight: 500;
    letter-spacing: .011em;
  color: var(--#1d1d1f);
  margin: 0;
}
.benefit-card p {
  font-size: 17px;
  text-align: left;
  line-height: 1.47;
  font-weight: 400;
  letter-spacing: -0.0022em;
  color: #555;
  margin: 0;
}



/* Responsive */
/* Mobile petit (≤ 768px) */
@media (max-width: 768px) {
  .benefits {
    padding: 3rem 1rem;
  }
  .benefits-title {
    font-size: 1.75rem;
  }
}

/* Écrans moyens (tablette) : 2 colonnes */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile : 1 colonne */
@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}


/* ===========================
   STEPS SECTION
=========================== */
.steps-section {
  background-color: #000;
  color: #fff;
  padding: 4rem 0;
  text-align: left;
}


.steps-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-start;
  gap: 3rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}
.step {
  width: 30%;
  position: relative;
  z-index: 2;
  text-align: left;
}

.step-icon img {
  width: 6rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}
.step h3 {
  
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #f5f5f7;
  
}
.step p {
  color: #a1a1a6;
  font-size: 17px;
  font-weight: 300;
  
}

.btn-cta2 {
  display: inline-block;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  background-color: #ffcc00;
  color: #000;
  border-radius: 4px;
  font-weight: 400;
  font-size: 2.4rem;
}
@media (max-width: 1024px) {

  .steps-wrapper {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(1, 1fr);
    
  }
  
  .step {
    width: 90%;
  }
  }



/* ===========================
   HOW IT WORKS SECTION
=========================== */
.how-it-works {
  background-color: #ffcc00;  
  color: #000;                
  padding: 3rem 0;           
}




/* Liste des étapes */
.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;                 
  margin-bottom: 2rem;        
}

/* Chaque bloc (étape) */
.step1 {
  display: flex;
  gap: 2rem;                  
  align-items: flex-start;    
}
.step1 img {
  width: 300px;               
  height: auto;
  object-fit: cover;          
  border-radius: 6px;         
  flex-shrink: 0;             
}
.step1-content {
  flex: 1;                    
}
.step1-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.step1-content p {
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

/* Bouton CTA */
.btn-inscrire {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #000;
  color: #ffcc00;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
}

/* RESPONSIVE : en mobile, on empile l'image et le texte */
@media (max-width: 768px) {
  .step1 {
    flex-direction: column;   /* Image au-dessus, texte en-dessous */
    align-items: center;      /* Centre l’image horizontalement */
  }
  .step1 img {
    width: 100%;
    max-width: 400px;         /* Ou la taille souhaitée en mobile */
  }
}

/* ===========================
   MENTORS SECTION
=========================== */
/* SECTION MENTORS */
.mentors-section {
  background-color: #F5F5F5;
  padding: 4rem 0;
}

.mentors-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background-color: #FFFFFF;
  border-radius: 30px;
  padding: 3rem;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.mentors-box:hover {
  transform: translateY(-3px);
}

/* Texte à gauche */
.mentors-text {
  flex: 1;
}

.mentors-text h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #000;
}

.mentors-text p {
  font-size: 1.125rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-link {
  color: var(--green);
  font-weight: 500;
  text-decoration: none;
}

.btn-link:hover {
  text-decoration: underline;
}

/* Image à droite */
.mentors-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mentors-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .mentors-box {
    flex-direction: column;
    text-align: left;
  }

  .mentors-text,
  .mentors-image {
    flex: unset;
  }

  .mentors-image img {
    max-width: 100%;
  }
}
/* Section Schedule */
.schedule-section {
  background-color: #f5f5f5;
}
.schedule-content {
  

  border-radius: 0.375rem;
  box-shadow: 0 0.0625rem 0.0625rem rgba(0, 0, 0, 0.05);
  padding: 0rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 100;
}
.schedule-subtitle {
  
  font-size: 1.125rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 600px;
}
.schedule-grid {
  display: grid;
  gap: 5rem;
  padding-bottom: 2rem;
  grid-template-columns: repeat(3, 1fr);
}
.schedule-card {
  background-color: #000;
  color: #fff;
  border-radius: 0.375rem;
  padding: 1rem;
  display: grid;
  flex-direction: column;
  gap: 0.5rem;
}
.schedule-card h3 {
  
  background-color: #ffcc00;
  padding: 0.25rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;

  color: #000;
}
.schedule-time {
 
  
  margin-bottom: 0.5rem;
}
.schedule-day {
  color: #fff;
  margin: 0;
}
/* RESPONSIVE : Passe en 1 colonne sur mobile */
@media (max-width: 1024px) {
  .schedule-grid {
    grid-template-columns: 1fr;  /* 1 colonne */
  }

}




/* Grille responsive des logos */
.partners-logos {
  padding: 4rem 2rem;
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 3rem;
  align-items: center;
  justify-items: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
 
}

/* Style des images de logo */
.logos-grid img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 1;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.logos-grid img:hover {
  filter: none;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .partners-logos {
    padding: 3rem 1rem;
  }
  .partners-logos h2 {
    font-size: 1.75rem;
  }
  .logos-grid {
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}


/* ===== Témoignages – sections principales et secondaire ===== */

.testimonial-section {
  background: var(--black);
  color: var(--gray-to-title);
  padding: 3rem 2rem;
}

.testimonial-text p {
color: #a1a1a6;
  font-size: 17px;
  text-align: left;
  line-height: 1.47;
  font-weight: 300;
  letter-spacing: -0.0022em;
  max-width: 700px;
  

}

/* Grille des vidéos */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: start;
  margin-top: 2rem;

  margin-bottom: 2rem ;
}

/* Conteneur de chaque vidéo */
.testimonial-placeholder {
  width: 100%;
  max-width: 560px;
  border-radius: 0.5rem;
  overflow: hidden;
  
  background: transparent; /* le parent est déjà en noir */
}

/* Style de la balise video */
.testimonial-placeholder video {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Responsive ===== */
/* Tablette : une ou deux colonnes selon l’espace */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile : une seule colonne */
@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SECTION « Rejoignez une communauté dynamique... » ===== */
.join-community {
  background: var(--gray-light);
  color: var(--black);
  padding: 4rem 2rem;
}



.join-community .join-text {
  max-width: 600px;
  text-align: left;
}




.join-community .join-text .intro {
   font-size: 17px;
  text-align: left;
  line-height: 1.47;
  font-weight: 400;
  letter-spacing: -0.0022em;
  color: #555;
  margin-bottom: 2rem;
}

.join-community .join-text .btn-inscrire {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 300;
  transition: background 0.3s ease, color 0.3s ease;
}

.join-community .join-text .btn-inscrire:hover {
  background: var(--white);
  color: var(--black);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .join-community .join-wrapper {
    flex-direction: column;
    text-align: left;
  }
  .join-community .join-text {
    text-align: left;
    max-width: 100%;
  }
}



/* Section Footer */
.footer-logo img {
  margin-bottom: 2rem;
  height: 25px ;
}
.site-footer {
  background-color: var(--black);
  color: var(--white);
  padding-top: 2rem;

}
.footer-top {
  padding: 2rem 2rem;
}
.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem 1rem;
  flex-wrap: wrap;
  max-width: 1214px;
  margin: 0 auto;

}
.footer-left {
  max-width: 18.75rem;
}
.footer-left address {
  font-style: normal;
  line-height: 1.5;
}
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 300;
  ;
}
.footer-nav a.active {
  color: var(--yellow);          
  text-decoration: none;          
  font-weight: 600;
}
.footer-bottom {
 
  background-color: var(--black);
}
.footer-bottom-content p {
  max-width: 1214px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  z-index: 200;

}

/* RESPONSIVE : Passe en 1 colonne sur mobile */
@media (max-width: 1024px) {
  .footer-nav ul {
     display: flex;
     flex-direction: column;
     gap: 1rem;
     font-size: 1 rem;
     
  }
  .footer-nav a {
    font-size: 1rem;
  }
  
}






/* --- HERO Architect --- */
.hero-architect {
  position: relative;
  min-height: 70vh;

  /* Remplacez 'architect.jpg' par le nom de votre visuel */
  background-image: url('programme-software.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 2rem;
}

.hero-architect::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-architect h1 {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-architect h1 .static-line,
.hero-architect h1 .rotating-container {
  display: flex;
}

.hero-architect .rotating-container {
  font-size: 5rem;
  line-height: 1;
  height: 1.2em;
  overflow-y: hidden;
  overflow-x: visible;
  position: relative;
  max-width: 1214px;
}

#rotating-word {
  position: relative;
  display: block;
  transform: translateY(0);
  transition: transform 0.6s ease;
  white-space: nowrap;
  color: #FFCC00;
  z-index: 5;
}

.hero-architect h1 .static-line {
  font-size: 3rem;
  line-height: 1.2;
  color: #F5F5F5;
  z-index: 4;
}

.section-button {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  z-index: 5;
}

.section-button a {
  padding: 0.75rem 1.5rem;
  border: 2px solid #FFCC00;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  color: #fff;
  background-color: transparent;
}

.section-button a:hover {
  background-color: #FFCC00;
  color: #000;
}

/* ========== RESPONSIVE HERO Architect ========== */
@media (max-width: 1996px) {
  .hero-architect {
    padding: 1.5rem;
    min-height: 100vh;
  }
}

@media (max-width: 1441px) {
  .hero-architect {
    padding: 1.5rem;
    min-height: 90vh;
  }
}

@media (max-width: 1068px) {
  .hero-architect {
    padding: 1.5rem;
    min-height: 80vh;
  }
  .hero-architect h1 .static-line {
    font-size: 2.5rem;
  }
  .hero-architect .rotating-container {
    font-size: 4rem;
    height: 1.2em;
  }
}

@media (max-width: 768px) {
  .hero-architect {
    padding: 1rem;
    min-height: 60vh;
  }
  .hero-architect h1 .static-line {
    font-size: 2rem;
  }
  .hero-architect .rotating-container {
    font-size: 3.5rem;
    height: 1.2em;
  }
}

@media (max-width: 480px) {
  .hero-architect {
    padding: 1rem;
    min-height: 50vh;
  }
  .hero-architect h1 {
    line-height: 1.2;
  }
  .hero-architect h1 .static-line {
    font-size: 1.5rem;
  }
  .hero-architect .rotating-container {
    font-size: 2.5rem;
    height: 1.2em;
  }
}

/* ========== BECOME SECTION ========== */
.become-values {
  background-color: #f5f5f7;
  padding: 4rem 1rem;
  color: #000;
}

.become-values .section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.become-values .titre {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: left;
}
@media (max-width: 430px){
  .become-values .titre {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: left;
  }
}
.become-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.become-item {
  flex: 1;
  min-width: 280px;
  max-width: 33%;
}

.become-item h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.become-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}


/* ========== TECHNOLOGIES & CONCEPTS ========== */

.tech-section2.dark {
  background-color: #0a0a0a; /* fond foncé élégant */
  color: #fff;
  padding: 4rem 1rem;
}

.tech-section2 .section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.tech-text .titre {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.tech-tags {
  flex: 1;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  align-items: center;
}

.logo-grid img {
  max-height: 60px;
  width: auto;
 
}

/* Exceptions pour logos colorés à conserver (ex: Angular, GraphQL) */
.logo-grid img[alt="Angular"],
.logo-grid img[alt="GraphQL"],
.logo-grid img[alt="Nest.js"],
.logo-grid img[alt="MongoDB"] {
  filter: none; /* on garde leur couleur originale */
}

/* Responsive */
@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



.tech-section {
  background: var(--black);
  padding: 4rem 2rem;
}

.tech-section .container {
  max-width: 1200px;
  margin: 0 0;
  padding: 0 0rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}



/* Tags à droite */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Style des tags */
.tag {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 400;
  white-space: nowrap;
}

.tag--yellow {
  background: var(--yellow);
  color: var(--black);
}

.tag--green {
  background: var(--green);
  color: var(--black);
}

.tag--mint {
  background: var(--mint);
  color: var(--black);
}

/* Responsive texte plus petit sur mobile */
@media (max-width: 768px) {
  
  .tag {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }
}


/* ================= COMPÉTENCES ================= */
.competences-section {
  background: var(--white);
  padding: 4rem 2rem;
}
.competences-text h2 {
  max-width: 600px;
  text-align: left;
  margin: 0;
}

.competences-text p {
  font-size: 17px;
  text-align: left;
  line-height: 1.47;
  font-weight: 400;
  letter-spacing: -0.0022em;
  color: #555;
  margin: 0;
  max-width: 600px;
}



/* Responsive : une seule colonne sur mobile */
@media (max-width: 768px) {
  .competences-grid {
    grid-template-columns: 1fr;
  }
  .competences-text h2 {
    font-size: 1.75rem;
  }
}

/* ================= FEATURES ================= */
.features-section {
  background: var(--gray-light);
  padding: 4rem 2rem;
}

.features-section .container {
  max-width: 1200px;
  margin: 0 0;
  padding: 0 0rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Style des cartes */
.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
}

.feature-card h3 {
  font-size: 21px;
  line-height: 1.1904761905;
  font-weight: 500;
  letter-spacing: .011em;
margin: 0;
color: #1d1d1f;
}

.feature-card p {
  flex: 1;
  font-size: 17px;
  text-align: left;
  line-height: 1.47;
  font-weight: 400;
  letter-spacing: -0.0022em;
  color: #555;
  margin: 0;
}

/* Responsive : adapts cards font-size */
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    padding: 1.5rem;
  }
  .feature-icon {
    width: 40px;
    height: 40px;
  }
  .feature-card h3 {
    font-size: 1.1rem;
  }
  .feature-card p {
    font-size: 0.9rem;
  }
}

/* ========= PROGRAM OUTLINE (style épuré) ========= */
.program-outline {
  padding: 2rem 2rem;
  background: var(--black);
}

.program-outline .container {
  max-width: 1200px;
  margin: 0 0;
  padding: 0 0rem;
}

/* Titre */


/* Liste verticale : fil jaune sur la gauche */
.outline-list {
  position: relative;
  margin-left: 1rem;
  padding-left: 1.5rem;
}
.outline-list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--yellow);
  border-radius: 2px;
}
@media (max-width: 430px) {
  .outline-list {
    margin-left: 0;
    padding-left: 1rem;
  }
.program-outline {
  padding: 1rem 1rem;
}
}

/* Semaine (numéro) */
.outline-week {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--green);
}

/* <details> sans boîte, juste séparation */
.outline-block {
  margin-bottom: 2rem;
}
.outline-block details {
  border: none;
  padding: 0;
  margin: 0;
}
.outline-block details summary {
  cursor: pointer;
  font-size: 21px;
  line-height: 1.1904761905;
  font-weight: 500;
  letter-spacing: .011em;
margin: 0;
color: #F5F5F5;
  border-bottom: 0px solid #555;
 padding-bottom: 0.5rem;
}
.outline-block details summary::-webkit-details-marker {
  display: none;
}
.outline-block details summary::after {
  content: "▾";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
  color: transparent;
}
.outline-block details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Contenu qui apparaît : simple indentation */
.outline-content {
  padding: 1rem 0 0 1rem;
  color: var(--gray-to-black-p);
  line-height: 1.6;
  font-size: 1rem;
}

/* CTA flush à gauche */
.outline-cta {
  margin-top: 2rem;
}


/* Responsive */
@media (max-width: 768px) {
  .outline-title { font-size: 2rem; }
  .outline-week { font-size: 0.9rem; }
  .outline-block details summary { font-size: 1.125rem; }
  .outline-content { font-size: 0.95rem; }
}




/* Section Admission */
.admission-section {
  background-color: #000;
  color: #fff;
  padding: 3rem 0;
}
.admission-content {
  width: 90%;
max-width: 1200px;
margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.who-can-apply {
  max-width: 40rem;
  padding-top: 2rem;
  font-size: 17px;
  text-align: left;
  line-height: 1.47;
  font-weight: 300;
  letter-spacing: -0.0022em;
  color: var(--gray-to-black-p);
  margin: 0;
}
.who-can-apply p{
  margin-bottom: 2rem;
  margin-top: 2rem;
}
.who-can-apply h3{
  margin-bottom: 2rem;
  margin-top: 2rem;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #f5f5f7;

}
.requirements {
  list-style: none;
}
.requirements li {
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 2rem;
  font-size: 1.375rem;
  line-height: 1.6;
  font-weight: 400;
  color: #fff;
}
.requirements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2rem;
  line-height: 1;
  color: #ffcc00;
}
.admission-process p {
  max-width: 40rem;
  font-size: 17px;
  text-align: left;
  line-height: 1.47;
  font-weight: 400;
  letter-spacing: -0.0022em;
  color: var(--gray-to-black-p);
  
}


 /* ===== Prix ===== */
section {
  padding: 0;
}

/* ===== Harmonisation des marges pour la section de paiement ===== */
.payment-section {
  padding-top: 4rem;
  margin: 0rem 0 0;
  
  background: var(--white);
}
.payment-section .container {
  
  max-width: 900px;
  margin: 0 0;
  padding: 0 2rem;
}

/* ===== Base commune à toutes les cartes ===== */
.module-card,
.card,
.payment-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem;
  border: 1px solid #cbcbcc;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  margin-bottom: 1rem;
}
.module-card:hover,
.card:hover,
.payment-card:hover {
  border-color: var(--green);
}

/* Checkbox / radio */
.module-card input,
.card input,
.payment-card input {
  margin-right: .5rem;
  flex-shrink: 0;
}

/* Titre à gauche */
.module-card .module-title,
.payment-card h4,
.card { /* pour le label generic contenant "Demande de bourse..." */
  font-weight: 500;
  color: var(--black);
}

/* Valeur à droite (prix, % ou éligibilité) */
.module-card .module-price,
.card .sch-text,
.payment-card .card-content ~ * {
  margin-left: auto;
  font-weight: 600;
  white-space: nowrap;

}
/* Style quand la carte est sélectionnée (radio cochée) */
.payment-card input[type="radio"]:checked ~ .card-content {
border: 0px solid var(--yellow);
  background-color: var(--white);
  border-radius: 10px;
  padding: 0.5rem;
}
/* ==== Modules grid ==== */
.modules-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
  justify-content: flex-start;
}

/* ==== Ligne de séparation ==== */
.payment-section hr {
  border: none;
  border-top: 1px solid var(--gray-light);
  margin: 2rem 0;
}

/* ===== Résumé ===== */
.summary-line {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
}
.summary-line.discount span:last-child {
  color: var(--yellow);
  display: none;
 
}
.summary-line.discount {
display: none;
}
.summary-line.total-net {
  font-size: 1.2rem;
  font-weight: 600;
}
/* Bourse déduite */
.summary-line.scholarship-deduction {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  border-top: 1px solid #cbcbcc;
  margin: .5rem 0;
  
}
.summary-line.scholarship-deduction span:last-child {
  color: var(--yellow);
}
/* Remise paiement unique */
.summary-line.payment-discount {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  border-top: 1px solid #cbcbcc;
  margin: .5rem 0;
 
}
.summary-line.payment-discount span:last-child {
  color: var(--green);
  font-weight: 600;
}

/* ===== Échéancier caché ===== */
#installment-plan {
  display: none;
  margin-top: 1.5rem;
}
.installments-list {
  list-style: none;
  padding: 0;
  margin: .5rem 0;
}
.installments-list li {
  display: flex;
  justify-content: space-between;
  padding: .25rem 0;
}

/* ===== Choix du plan de paiement ===== */
.payment-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.payment-card {
  flex: 1;
  position: relative;
}
.payment-card input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  margin: 0;
}
.payment-card .card-content {
  margin-left: 1.5rem; /* espace après l'input invisible */
}
.payment-card.selected {
  border-color: var(--green);
  background: rgba(97, 191, 172, 0.1);
}

/* ===== Boutons CTA ===== */
#cta-buttons {
  display: none;
  margin-top: 1rem;
  gap: 1rem;
}
.btn-valider {
  display: inline-block;
  padding: .5rem 1rem;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: transparent;
  color: var(--black);
  text-decoration: none;
  font-weight: 300;
  transition: background .3s, color .3s;
  margin-bottom: 2rem;
}
.btn-valider:hover {
  background: var(--white);
}



/* ===== Responsive ===== */
@media(max-width:600px){
  .modules-grid { grid-template-columns: 1fr; }
  .payment-options { flex-direction: column; }
  .installments-list li { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 430px) {
  .module-card {
    font-size: 15px;
  }}

  @media (max-width: 344px) {
    .module-card {
      font-size: 13px;
    }}
  /* --- HERO Product Designer --- */
.hero-product-designer {
  position: relative;
  min-height: 70vh;

  /* Remplacez 'product-designer.jpg' par le nom de votre visuel */
  background-image: url('product-designer.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 2rem;
}

.hero-product-designer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-product-designer h1 {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-product-designer h1 .static-line,
.hero-product-designer h1 .rotating-container {
  display: flex;
}

.hero-product-designer .rotating-container {
  font-size: 5rem;
  line-height: 1;
  height: 1.2em;
  overflow-y: hidden;
  overflow-x: visible;
  position: relative;
  max-width: 1214px;
}

#rotating-word {
  position: relative;
  display: block;
  transform: translateY(0);
  transition: transform 0.6s ease;
  white-space: nowrap;
  color: #FFCC00;
  z-index: 5;
}

.hero-product-designer h1 .static-line {
  font-size: 3rem;
  line-height: 1.2;
  color: #F5F5F5;
  z-index: 4;
}

.section-button {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  z-index: 5;
}

.section-button a {
  padding: 0.75rem 1.5rem;
  border: 2px solid #FFCC00;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  color: #fff;
  background-color: transparent;
}

.section-button a:hover {
  background-color: #FFCC00;
  color: #000;
}

/* ========== RESPONSIVE HERO Product Designer ========== */
@media (max-width: 1996px) {
  .hero-product-designer {
    padding: 1.5rem;
    min-height: 100vh;
  }
}

@media (max-width: 1441px) {
  .hero-product-designer {
    padding: 1.5rem;
    min-height: 90vh;
  }
}

@media (max-width: 1068px) {
  .hero-product-designer {
    padding: 1.5rem;
    min-height: 80vh;
  }
  .hero-product-designer h1 .static-line {
    font-size: 2.5rem;
  }
  .hero-product-designer .rotating-container {
    font-size: 4rem;
    height: 1.2em;
  }
}

@media (max-width: 768px) {
  .hero-product-designer {
    padding: 1rem;
    min-height: 60vh;
  }
  .hero-product-designer h1 .static-line {
    font-size: 2rem;
  }
  .hero-product-designer .rotating-container {
    font-size: 3.5rem;
    height: 1.2em;
  }
}

@media (max-width: 480px) {
  .hero-product-designer {
    padding: 1rem;
    min-height: 50vh;
  }
  .hero-product-designer h1 {
    line-height: 1.2;
  }
  .hero-product-designer h1 .static-line {
    font-size: 1.5rem;
  }
  .hero-product-designer .rotating-container {
    font-size: 2.5rem;
    height: 1.2em;
  }
}

/* --- HERO Fullstack --- */
.hero-fullstack {
  position: relative;
  min-height: 70vh;

  /* Remplacez 'fullstack.jpg' par le nom de votre visuel */
  background-image: url('256A2690.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 2rem;
}

.hero-fullstack::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-fullstack h1 {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-fullstack h1 .static-line,
.hero-fullstack h1 .rotating-container {
  display: flex;
}

.hero-fullstack .rotating-container {
  font-size: 5rem;
  line-height: 1;
  height: 1.2em;
  overflow-y: hidden;
  overflow-x: visible;
  position: relative;
  max-width: 1214px;
}

#rotating-word {
  position: relative;
  display: block;
  transform: translateY(0);
  transition: transform 0.6s ease;
  white-space: nowrap;
  color: #FFCC00;
  z-index: 5;
}

.hero-fullstack h1 .static-line {
  font-size: 3rem;
  line-height: 1.2;
  color: #F5F5F5;
  z-index: 4;
}

.section-button {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  z-index: 5;
}

.section-button a {
  padding: 0.75rem 1.5rem;
  border: 2px solid #FFCC00;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  color: #fff;
  background-color: transparent;
}

.section-button a:hover {
  background-color: #FFCC00;
  color: #000;
}

/* ========== RESPONSIVE HERO Fullstack ========== */
@media (max-width: 1996px) {
  .hero-fullstack {
    padding: 1.5rem;
    min-height: 100vh;
  }
}

@media (max-width: 1441px) {
  .hero-fullstack {
    padding: 1.5rem;
    min-height: 90vh;
  }
}

@media (max-width: 1068px) {
  .hero-fullstack {
    padding: 1.5rem;
    min-height: 80vh;
  }
  .hero-fullstack h1 .static-line {
    font-size: 2.5rem;
  }
  .hero-fullstack .rotating-container {
    font-size: 4rem;
    height: 1.2em;
  }
}

@media (max-width: 768px) {
  .hero-fullstack {
    padding: 1rem;
    min-height: 60vh;
  }
  .hero-fullstack h1 .static-line {
    font-size: 2rem;
  }
  .hero-fullstack .rotating-container {
    font-size: 3.5rem;
    height: 1.2em;
  }
}

@media (max-width: 480px) {
  .hero-fullstack {
    padding: 1rem;
    min-height: 50vh;
  }
  .hero-fullstack h1 {
    line-height: 1.2;
  }
  .hero-fullstack h1 .static-line {
    font-size: 1.5rem;
  }
  .hero-fullstack .rotating-container {
    font-size: 2.5rem;
    height: 1.2em;
  }
}


.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.logo-grid img {
  height: 5rem;
  width: auto;
  object-fit: contain;
}
@media (max-width: 1024px) {
  .tech-content {
    flex-direction: column;    
    align-items: start;
    gap: 1rem;   
  }
  .logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: left;
    align-items: center;
  }
  .logo-grid2 {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
  }
  .logo-grid2 img {
    max-width: 550px;
  }
}
@media (max-width: 550px) {
  .logo-grid2 img {
    max-width: 300px;
  }
}
/* --- HERO Ingénieur IA --- */
.hero-ingenieur-IA {
  position: relative;
  min-height: 70vh;

  /* Remplacez 'ingenieur-ia.jpg' par le nom de votre visuel */
  background-image: url('P1055341.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 2rem;
}

.hero-ingenieur-IA::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-ingenieur-IA h1 {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-ingenieur-IA h1 .static-line,
.hero-ingenieur-IA h1 .rotating-container {
  display: flex;
}

.hero-ingenieur-IA .rotating-container {
  font-size: 5rem;
  line-height: 1;
  height: 1.2em;
  overflow-y: hidden;
  overflow-x: visible;
  position: relative;
  max-width: 1214px;
}

#rotating-word {
  position: relative;
  display: block;
  transform: translateY(0);
  transition: transform 0.6s ease;
  white-space: nowrap;
  color: #FFCC00;
  z-index: 5;
}

.hero-ingenieur-IA h1 .static-line {
  font-size: 3rem;
  line-height: 1.2;
  color: #F5F5F5;
  z-index: 4;
}

.section-button {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  z-index: 5;
}

.section-button a {
  padding: 0.75rem 1.5rem;
  border: 2px solid #FFCC00;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  color: #fff;
  background-color: transparent;
}

.section-button a:hover {
  background-color: #FFCC00;
  color: #000;
}

/* ========== RESPONSIVE HERO Ingénieur IA ========== */
@media (max-width: 1996px) {
  .hero-ingenieur-IA {
    padding: 1.5rem;
    min-height: 100vh;
  }
}

@media (max-width: 1441px) {
  .hero-ingenieur-IA {
    padding: 1.5rem;
    min-height: 90vh;
  }
}

@media (max-width: 1068px) {
  .hero-ingenieur-IA {
    padding: 1.5rem;
    min-height: 80vh;
  }
  .hero-ingenieur-IA h1 .static-line {
    font-size: 2.5rem;
  }
  .hero-ingenieur-IA .rotating-container {
    font-size: 4rem;
    height: 1.2em;
  }
}

@media (max-width: 768px) {
  .hero-ingenieur-IA {
    padding: 1rem;
    min-height: 60vh;
  }
  .hero-ingenieur-IA h1 .static-line {
    font-size: 2rem;
  }
  .hero-ingenieur-IA .rotating-container {
    font-size: 3.5rem;
    height: 1.2em;
  }
}

@media (max-width: 480px) {
  .hero-ingenieur-IA {
    padding: 1rem;
    min-height: 50vh;
  }
  .hero-ingenieur-IA h1 {
    line-height: 1.2;
  }
  .hero-ingenieur-IA h1 .static-line {
    font-size: 1.5rem;
  }
  .hero-ingenieur-IA .rotating-container {
    font-size: 2.5rem;
    height: 1.2em;
  }
}


/* --- HERO hop --- */
.hero-hop {
  position: relative;
  min-height: 70vh;

  /* Remplacez 'hop.jpg' par le nom de votre visuel */
  background-image: url('hop3.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 2rem;
}

.hero-hop::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-hop h1 {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-hop h1 .static-line,
.hero-hop h1 .rotating-container {
  display: flex;
}

.hero-hop .rotating-container {
  font-size: 5rem;
  line-height: 1;
  height: 1.2em;
  overflow-y: hidden;
  overflow-x: visible;
  position: relative;
  max-width: 1214px;
}

#rotating-word {
  position: relative;
  display: block;
  transform: translateY(0);
  transition: transform 0.6s ease;
  white-space: nowrap;
  color: #FFCC00;
  z-index: 5;
}

.hero-hop h1 .static-line {
  font-size: 3rem;
  line-height: 1.2;
  color: #F5F5F5;
  z-index: 4;
}

.section-button {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  z-index: 5;
}

.section-button a {
  padding: 0.75rem 1.5rem;
  border: 2px solid #FFCC00;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  color: #fff;
  background-color: transparent;
}

.section-button a:hover {
  background-color: #FFCC00;
  color: #000;
}

/* ========== RESPONSIVE HERO hop ========== */
@media (max-width: 1996px) {
  .hero-hop {
    padding: 1.5rem;
    min-height: 100vh;
  }
}

@media (max-width: 1441px) {
  .hero-hop {
    padding: 1.5rem;
    min-height: 90vh;
  }
}

@media (max-width: 1068px) {
  .hero-hop {
    padding: 1.5rem;
    min-height: 80vh;
  }
  .hero-hop h1 .static-line {
    font-size: 2.5rem;
  }
  .hero-hop .rotating-container {
    font-size: 4rem;
    height: 1.2em;
  }
}

@media (max-width: 768px) {
  .hero-hop {
    padding: 1rem;
    min-height: 60vh;
  }
  .hero-hop h1 .static-line {
    font-size: 2rem;
  }
  .hero-hop .rotating-container {
    font-size: 3.5rem;
    height: 1.2em;
  }
}

@media (max-width: 480px) {
  .hero-hop {
    padding: 1rem;
    min-height: 50vh;
  }
  .hero-hop h1 {
    line-height: 1.2;
  }
  .hero-hop h1 .static-line {
    font-size: 1.5rem;
  }
  .hero-hop .rotating-container {
    font-size: 2.5rem;
    height: 1.2em;
  }
}

/* --- HERO-entrepreneuriat--- */
.hero-entrepeneuriat {
  position: relative;
  min-height: 70vh;

  background-image: url('entrepreneuriat.jpg');
  background-repeat: no-repeat;
  background-size: cover;

  /* 1) Toujours centrer le point focal */
  background-position: center center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 2rem;
}

.hero-entrepeneuriat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
@media (max-width: 768px) {
  .hero-entrepeneuriat {
    /* 70% de la largeur depuis la gauche, et centré verticalement */
    background-position: center center;
    min-height: 60vh;
    padding: 1rem;
  }
}


.hero-entrepeneuriat h1 {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-entrepeneuriat h1 .static-line,
.hero-entrepeneuriat h1 .rotating-container {
  display: flex;
}

.hero-entrepeneuriat .rotating-container {
  font-size: 5rem;
  line-height: 1;
  height: 1.2em;
  overflow-y: hidden;
  overflow-x: visible;
  position: relative;
  max-width: 1214px;
}

#rotating-word {
  position: relative;
  display: block;
  transform: translateY(0);
  transition: transform 0.6s ease;
  white-space: nowrap;
  color: #FFCC00;
  z-index: 5;
}

.hero-entrepeneuriat h1 .static-line {
  font-size: 3rem;
  line-height: 1.2;
  color: #F5F5F5;
  z-index: 4;
}

.section-button {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  z-index: 5;
}

.section-button a {
  padding: 0.75rem 1.5rem;
  border: 2px solid #FFCC00;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  color: #fff;
  background-color: transparent;
}

.section-button a:hover {
  background-color: #FFCC00;
  color: #000;
}
.tech-section {
  background-color: #000;
}
/* ========== RESPONSIVE HERO entrepreneuriat========== */
@media (max-width: 1996px) {
  .hero-entrepeneuriat {
    padding: 1.5rem;
    --p-width: 4060px;
        --p-height: 2206px;
        min-height: 100vh;
  }

}
@media (max-width: 1441px) {
  .hero-entrepeneuriat {
    padding: 1.5rem;
    --p-width: 2860px;
        --p-height: 1376px;
        min-height: 90vh;
  }

}
@media (max-width: 1068px) {
  .hero-entrepeneuriat {
    padding: 1.5rem;
    --p-width: 1868px;
        --p-height: 998px;
        min-height: 80vh;
  }
  .hero-entrepeneuriat h1 .static-line {
    font-size: 2.5rem;
  }
  .hero-entrepeneuriat .rotating-container {
    font-size: 4rem;
    height: 1.2em;
  }

}

@media (max-width: 768px) {
  .hero-entrepeneuriat {
    padding: 1rem;
    min-height: 60vh;
  }
  .hero-entrepeneuriat h1 .static-line {
    font-size: 2rem;
  }
  .hero-entrepeneuriat .rotating-container {
    font-size: 3.5rem;
    height: 1.2em;
  }
}

@media (max-width: 480px) {
  .hero-entrepeneuriat {
    padding: 1rem;
    min-height: 50vh;
  }
  .hero-entrepeneuriat h1 {
    line-height: 1.2;
  }
  .hero-entrepeneuriat h1 .static-line {
    font-size: 1.5rem;
  }
  .hero-entrepeneuriat .rotating-container {
    font-size: 2.5rem;
    height: 1.2em;
  }
}


/* --- HERO soft‑skills --- */
.hero-softskills {
  position: relative;
  min-height: 70vh;

  background-image: url('softskills_hero.jpg');
  background-repeat: no-repeat;
  background-size: cover;

  /* Toujours centrer le point focal */
  background-position: center center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 2rem;
}

.hero-softskills::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Texte et rotation */
.hero-softskills h1 {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-softskills h1 .static-line,
.hero-softskills h1 .rotating-container {
  display: flex;
}

.hero-softskills .rotating-container {
  font-size: 5rem;
  line-height: 1;
  height: 1.2em;
  overflow-y: hidden;
  overflow-x: visible;
  position: relative;
  max-width: 1214px;
}

#rotating-word {
  position: relative;
  display: block;
  transform: translateY(0);
  transition: transform 0.6s ease;
  white-space: nowrap;
  color: #FFCC00;
  z-index: 5;
}

.hero-softskills h1 .static-line {
  font-size: 3rem;
  line-height: 1.2;
  color: #F5F5F5;
  z-index: 4;
}

/* Boutons */
.section-button {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  z-index: 5;
}

.section-button a {
  padding: 0.75rem 1.5rem;
  border: 2px solid #FFCC00;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  color: #fff;
  background-color: transparent;
}

.section-button a:hover {
  background-color: #FFCC00;
  color: #000;
}

/* Responsive versions fluides */
@media (max-width: 1996px) {
  .hero-softskills {
    padding: 1.5rem;
    min-height: 100vh;
  }
}

@media (max-width: 1441px) {
  .hero-softskills {
    padding: 1.5rem;
    min-height: 90vh;
  }
}

@media (max-width: 1068px) {
  .hero-softskills {
    padding: 1.5rem;
    min-height: 80vh;
  }
  .hero-softskills h1 .static-line {
    font-size: 2.5rem;
  }
  .hero-softskills .rotating-container {
    font-size: 4rem;
    height: 1.2em;
  }
}

@media (max-width: 768px) {
  .hero-softskills {
    padding: 1rem;
    min-height: 60vh;
  }
  .hero-softskills h1 .static-line {
    font-size: 2rem;
  }
  .hero-softskills .rotating-container {
    font-size: 3.5rem;
    height: 1.2em;
  }
}

@media (max-width: 480px) {
  .hero-softskills {
    padding: 1rem;
    min-height: 50vh;
  }
  .hero-softskills h1 {
    line-height: 1.2;
  }
  .hero-softskills h1 .static-line {
    font-size: 1.5rem;
  }
  .hero-softskills .rotating-container {
    font-size: 2.5rem;
    height: 1.2em;
  }
}

/* --- HERO-emp--- */
/* --- HERO emp --- */
.hero-emp {
  position: relative;
  min-height: 70vh;

  /* Remplacez 'emp.jpg' par le nom de votre visuel */
  background-image: url('empl.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 2rem;
}

.hero-emp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-emp h1 {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-emp h1 .static-line,
.hero-emp h1 .rotating-container {
  display: flex;
}

.hero-emp .rotating-container {
  font-size: 5rem;
  line-height: 1;
  height: 1.2em;
  overflow-y: hidden;
  overflow-x: visible;
  position: relative;
  max-width: 1214px;
}

#rotating-word {
  position: relative;
  display: block;
  transform: translateY(0);
  transition: transform 0.6s ease;
  white-space: nowrap;
  color: #FFCC00;
  z-index: 5;
}

.hero-emp h1 .static-line {
  font-size: 3rem;
  line-height: 1.2;
  color: #F5F5F5;
  z-index: 4;
}

.section-button {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  z-index: 5;
}

.section-button a {
  padding: 0.75rem 1.5rem;
  border: 2px solid #FFCC00;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  color: #fff;
  background-color: transparent;
}

.section-button a:hover {
  background-color: #FFCC00;
  color: #000;
}

/* ========== RESPONSIVE HERO emp ========== */
@media (max-width: 1996px) {
  .hero-emp {
    padding: 1.5rem;
    min-height: 100vh;
  }
}

@media (max-width: 1441px) {
  .hero-emp {
    padding: 1.5rem;
    min-height: 90vh;
  }
}

@media (max-width: 1068px) {
  .hero-emp {
    padding: 1.5rem;
    min-height: 80vh;
  }
  .hero-emp h1 .static-line {
    font-size: 2.5rem;
  }
  .hero-emp .rotating-container {
    font-size: 4rem;
    height: 1.2em;
  }
}

@media (max-width: 768px) {
  .hero-emp {
    padding: 1rem;
    min-height: 60vh;
  }
  .hero-emp h1 .static-line {
    font-size: 2rem;
  }
  .hero-emp .rotating-container {
    font-size: 3.5rem;
    height: 1.2em;
  }
}

@media (max-width: 480px) {
  .hero-emp {
    padding: 1rem;
    min-height: 50vh;
  }
  .hero-emp h1 {
    line-height: 1.2;
  }
  .hero-emp h1 .static-line {
    font-size: 1.5rem;
  }
  .hero-emp .rotating-container {
    font-size: 2.5rem;
    height: 1.2em;
  }
}

/* --- HERO marketing --- */
.hero-marketing {
  position: relative;
  min-height: 70vh;

  /* Remplacez 'emp.jpg' par le nom de votre visuel */
  background-image: url('123.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 2rem;
  margin-top: 4rem; /* = hauteur de votre header */
}

.hero-marketing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-marketing h1 {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-marketing h1 .static-line,
.hero-marketing h1 .rotating-container {
  display: flex;
}

.hero-marketing .rotating-container {
  font-size: 5rem;
  line-height: 1;
  height: 1.2em;
  overflow-y: hidden;
  overflow-x: visible;
  position: relative;
  max-width: 1214px;
}

#rotating-word {
  position: relative;
  display: block;
  transform: translateY(0);
  transition: transform 0.6s ease;
  white-space: nowrap;
  color: #FFCC00;
  z-index: 5;
}

.hero-marketing h1 .static-line {
  font-size: 3rem;
  line-height: 1.2;
  color: #F5F5F5;
  z-index: 4;
}

.section-button {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  z-index: 5;
}

.section-button a {
  padding: 0.75rem 1.5rem;
  border: 2px solid #FFCC00;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  color: #fff;
  background-color: transparent;
}

.section-button a:hover {
  background-color: #FFCC00;
  color: #000;
}

/* ========== RESPONSIVE HERO emp ========== */
@media (max-width: 1996px) {
  .hero-marketing {
    padding: 1.5rem;
    min-height: 100vh;
  }
}

@media (max-width: 1441px) {
  .hero-marketing {
    padding: 1.5rem;
    min-height: 90vh;
  }
}

@media (max-width: 1068px) {
  .hero-marketing {
    padding: 1.5rem;
    min-height: 80vh;
  }
  .hero-marketing h1 .static-line {
    font-size: 2.5rem;
  }
  .hero-marketing .rotating-container {
    font-size: 4rem;
    height: 1.2em;
  }
}

@media (max-width: 768px) {
  .hero-marketing {
    padding: 1rem;
    min-height: 60vh;
  }
  .hero-marketing h1 .static-line {
    font-size: 2rem;
  }
  .hero-marketing .rotating-container {
    font-size: 3.5rem;
    height: 1.2em;
  }
}

@media (max-width: 480px) {
  .hero-marketing {
    padding: 1rem;
    min-height: 50vh;
  }
  .hero-marketing h1 {
    line-height: 1.2;
  }
  .hero-marketing h1 .static-line {
    font-size: 1.5rem;
  }
  .hero-marketing .rotating-container {
    font-size: 2.5rem;
    height: 1.2em;
  }
}




.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.logo-grid img {
  height: 5rem;
  width: auto;
  object-fit: contain;
}
@media (max-width: 1024px) {
  .tech-content {
    flex-direction: column;    
    align-items: start;
    gap: 1rem;   
  }
  .logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: left;
    align-items: center;
  }
  .logo-grid2 {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
  }
  .logo-grid2 img {
    max-width: 550px;
  }
}
@media (max-width: 550px) {
  .logo-grid2 img {
    max-width: 300px;
  }
}






/* ============ MASQUER LE PANIER si on vient avec params ============ */
#simple-pricing { margin-bottom: 2rem; }
.hide { display: none !important; }


/* ===========================
 ==== FORMULAIRE INSCRIPTION ==== 
=========================== */
.contact-section {
  background: var(--white);
  padding: 4rem 2rem;
}

.btn-back {
  display: inline-block;
  margin-top:  3rem;        /* espace avant le titre */
  padding: 0.5rem 1.5rem;
  background: transparent;
  border: 1px solid var(--green);
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--black);
  transition: background 0.2s;
}

.btn-back:hover {
  background: var(--black);
  color: var(--green);
}
.contact-section .btn-back {
  position: absolute;
  top: 1rem;
  left: 2rem;
  background: transparent;
}
.contact-section {
  position: relative;  /* pour que le bouton se base sur ce conteneur */
}

.contact-section .container {
  max-width: 10000px;
  margin: 0 auto;
  padding: 0 1rem;
}
.contact-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 4rem;
  color: var(--black);
}
.contact-form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--black);
}
.form-group input,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--green);
}
/* Bouton submit */
.btn-submit {
  align-self: flex-start;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  margin-top: 1rem;
}
.btn-submit:hover {
  background: var(--white);
  color: var(--black);
}
/* Hidden fields container (invisible) */
.hidden-inputs {
  display: none;
}
/* Responsive */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .btn-submit {
    width: 100%;
    text-align: center;
  }
}

/* === CONTENEUR DES CTA (S'inscrire + Voir le syllabus) === */
#cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 0rem;
  /* si tu veux centrer horizontalement : */
  /* justify-content: center; */
  /* ou aligner à gauche : */
  justify-content: flex-start;
}

/* === BOUTON PRINCIPAL “S’inscrire” === */
#btn-inscrire,
.btn-inscrire {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid #000;
  border-radius: 999px;
  background: #ccc;
  color: #000;
  font-weight: 400;
  text-decoration: none;
  margin-bottom: 2rem;
  margin-top: 2rem;
 
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

#btn-inscrire:hover,
.btn-inscrire:hover {
  background: #555;
  color: #F5F5F5;
  transform: scale(1.05);
}
#btn-inscrire5,
.btn-inscrire5 {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--gray-light);
  border-radius: 999px;
  background: transparent;
  color: #F5F5F5;
  font-weight: 400;
  text-decoration: none;
  
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

#btn-inscrire5:hover,
.btn-inscrire5:hover {
  background: #555;
  color: #F5F5F5;
  transform: scale(1.05);

}
@media (max-width: 430px){
  .btn-inscrire5 {
    font-size: 14px;
    padding: 0.4rem 1.3rem;
  }
}

/* === BOUTON SECONDAIRE “Voir le syllabus” === */

.btn-inscrire2 {
  display: flex;
flex-direction: row;
  padding: 0.5rem 1.5rem;
  border: 1px solid #FFCC00;  /* jaune Edacy */
  border-radius: 999px;
  background: transparent;
  color: #FFCC00;
  font-weight: 400;
  text-decoration: none;
  z-index: 10;

  max-width: fit-content;
  z-index: 200;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-inscrire2:hover {
  background: #FFCC00;
  color: #000000;
  transform: scale(1.05);
}
#btn-inscrire3,
.btn-inscrire3 {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--black);  /* jaune Edacy */
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 400;
  font-size: 17px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
#btn-inscrire3:hover,
.btn-inscrire3:hover {
  background: var(--white);
  color: #555;
  transform: scale(1.05);
}
.section-button {
  max-width: 1214px;
  margin: 0 auto;
  margin-top: 2rem;
  padding: 0 0rem;
  width: 100%;
  z-index: 200;
}

.payment-cta {
  display: flex;
  gap: 1rem;            /* espace entre les deux boutons */
  align-items: center;  /* aligne verticalement les deux boutons */
  margin-top: 2rem;     /* espace au-dessus */
}

/* Bouton “Payer maintenant” */
.btn-payer {
  display: none;           /* inline-flex pour aligner le texte verticalement */
  align-items: center;            /* centre vertical */
  justify-content: center;        /* centre horizontal */
  padding: 0.5rem 1.5rem;          /* même padding que le bouton contact */
  border: 1px solid var(--black);
  border-radius: 999px;
  background: transparent;
  color: var(--gray-dark);
  font-weight: 400;
  font-size: 1.063rem;            /* 17px / 16px = 1.063rem */
  line-height: 1;                 /* on contrôle la hauteur de ligne */
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.btn-payer:hover {
  background: var(--gray-dark);
  color: #f5f5f5;
  transform: scale(1.05);
}
  
.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;          /* **identique** à .btn-payer */
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 400;
  font-size: 1.063rem;
  line-height: 1;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.btn-contact:hover {
  background: var(--white);
  color: var(--black);
  transform: scale(1.05);
}

.btn-submit {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--black);  /* jaune Edacy */
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 400;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;

}
.btn-submit:hover {
  background: var(--white);
  color: #555;
  transform: scale(1.05);
}

/* Conteneur des deux boutons */
.hero-architect .hero-buttons {
  display: flex;
  justify-content: center;   /* centre les boutons sous le titre */
  gap: 1rem; 
  margin-left: 10%;                /* espace entre les boutons */
}

/* Style commun pour les deux boutons */
.btn-hero {
  display: inline-flex;           /* inline-flex pour aligner le texte verticalement */
  align-items: center;            /* centre vertical */
  justify-content: center;        /* centre horizontal */
  padding: 0.75rem 2rem;          /* même padding que le bouton contact */
  border: 1px solid var(--yellow);
  border-radius: 999px;
  background: transparent;
  color: var(--yellow);
  font-weight: 400;
  font-size: 1.063rem;            /* 17px / 16px = 1.063rem */
  line-height: 1;                 /* on contrôle la hauteur de ligne */
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

/* Hover commun */
.btn-hero:hover {
    background: var(--yellow);
    color: var(--gray-dark);
    transform: scale(1.05);
  }
.btn-syllabus {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;          /* **identique** à .btn-payer */
  border: 1px solid #F5F5F5;
  border-radius: 999px;
  background: transparent;
  color:  #F5F5F5;
  font-weight: 400;
  font-size: 1.063rem;
  line-height: 1;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.btn-syllabus:hover {
  background: var(--white);
  color: var(--black);
  transform: scale(1.05);
}

/* === RESPONSIVE : boutons empilés sur mobile === */
@media (max-width: 600px) {
  #cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  #cta-buttons a {
    width: 100%;
    text-align: center;
  }
}


/* pour que .hero ne remonte pas sous le header fixe */
.hero {
  padding-top: 4rem;  /* = hauteur de ton .header-content */
}


/* Conteneur caché par défaut, montré au scroll */
.floating-actions {
  position: fixed;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 9999;
}
.floating-actions.visible {
  opacity: 1;
  pointer-events: auto;
}

/* === wrapper inchangé === */
.action-wrapper {
  position: relative;
  width: 3rem;
  height: 3rem;
}

/* === bouton carré === */
.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;      /* 3rem via wrapper */
  height: 100%;
  background: #61BFAC;
  color: #1d1d1f;
  text-decoration: none;
  border-radius: 0;
  transition: background .3s;
}
.action-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* === label positionné à GAUCHE du bouton === */
.action-label {
  position: absolute;
  top: 0;
  right: 100%;
  left: auto;
  height: 100%;

  background: #1d1d1f59;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;

  /* pour ne pas sortir de l'écran */
  max-width: calc(100vw - 5rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === survol du wrapper : on ouvre SEUL le label concerné === */
.action-wrapper:hover .action-btn {
  background: #1d1d1f;
}
.action-wrapper:hover .action-label {
  opacity: 0.5;
}

/* Icône dans le carré */
.icon-btn {
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
}

/* Icône dans le bandeau de texte */
.icon-label {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  margin-right: 0.75rem;
}

.action-wrapper .btn-top span {
  display: none !important;
}

/* Style de base : carré blanc bord vert, icône verte */
.action-wrapper .btn-top {
  background: #fff !important;
  border: 2px solid #61BFAC !important;
  color: #1d1d1f !important;    /* pour SVG inline via currentColor */
}

/* SVG inline : on remplit selon la couleur courante */
.action-wrapper .btn-top svg {
  fill: currentColor !important;
}

/* PNG : on part d'un PNG vert, et on l'inverse au hover */
.action-wrapper .btn-top img {
  filter: none;
}

/* Au hover → fond vert + icône blanche */
.action-wrapper .btn-top:hover {
  background: #1d1d1f !important;
  color: #61BFAC !important;
}

/* Pour un PNG vert, on l'inverse en blanc : */
.action-wrapper .btn-top:hover img {
  filter: brightness(0) saturate(100%) invert(1);
}

/* 1) Tablette et mobile - Cacher les labels et réduire la taille des boutons */
@media (max-width: 768px) {
  .floating-actions {
    right: 0.5rem;
    gap: 0.25rem;
  }
  .action-wrapper {
    width: 2.5rem;
    height: 2.5rem;
  }
  .action-btn {
    width: 100%;
    height: 100%;
  }
  .action-label {
    display: none;
  }
}

/* 2) Mobile - Passer en bas et en ligne */
@media (max-width: 480px) {
  .floating-actions {
    /* Position mobile */
    bottom: 1rem;
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: row;
    
    /* RETIRÉ les !important qui causaient des conflits avec le JS */
    /* La visibilité sera gérée par le JavaScript */
    
    /* Styles visuels pour mobile */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    gap: 0.5rem;
  }
  
  .action-wrapper {
    width: 2.5rem;
    height: 2.5rem;
    /* Retiré le margin qui créait des espacements bizarres */
  }
  
  /* Ajuster le "back to top" pour qu'il soit cohérent avec les autres */
  .action-wrapper .btn-top {
    width: 100%;
    height: 100%;
  }
  
  .action-wrapper .btn-top img {
    width: 1.2rem;
    height: 1.2rem;
  }
  
  /* Assurer que tous les icônes ont la même taille sur mobile */
  .icon-btn {
    width: 1.2rem;
    height: 1.2rem;
  }
}