:root{
    --primary-color: #008C45;
    --secondary-color: #333333;
    --background-color: #e5f5e4;
    --font-color: #000000;
    --orbitron-font: 'Orbitron', sans-serif;
    --poppins-font: 'Poppins', sans-serif;
    --cta: #CD212A;
    --noir-transparent: rgba(0, 0, 0, 0.7);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    
    background: linear-gradient(180deg, #f8f6f2 0%, #f2f5f1 60%, #eef5f3 100%);
    color: var(--font-color);
    line-height: 1.6;
}
/* offset anchors for fixed navbar */
.hero,
.main2,
.main3,
.main4,
.contact-map,
.contact-form,
#apropos{
    scroll-margin-top: 90px;
}
ul li{
    list-style: none;
}
a{
    text-decoration: none;
    color: inherit;
}
button{
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}
h1, h2, h3, h4, h5, h6{
    font-family: 'Orbitron', sans-serif;
}


/* Hero Section */


.hero{
    background-color: #0b0b0b;
    overflow: hidden;
}

.hero-bg,
.hero-bg-next{
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 1;
    transition: opacity 1.2s ease-in-out;
}
.hero-bg-next{
    opacity: 0;
}
.hero-bg-next.is-visible{
    opacity: 1;
}

.hero{
    min-height: 100vh;
    background: #0b0b0b;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.hero::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--noir-transparent);
    z-index: 1;
}

/* Navbar Section */
.navbar{
    position: absolute;
    top: 0;
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    position: fixed;
    background-color: var(--noir-transparent);
}



/* logo */

.logo1{
    display: flex;
    flex-direction:row;
    justify-content: center;
    align-items: center;
    gap:10px;
}

.log{
    background-image: url(images/logo.jpeg);
    background-position:center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
    border-radius: 60px;

}
.navbar p{
    font-family: var(--orbitron-font);
    font-size: 35px;
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    color:  var(--primary-color);
    z-index: 20;
}
.navbar p span{
    color: var(--cta);
}

/* navbar menu */

.navbar ul{
    display: flex;
    gap: 15px;
}

.nav-links li a{
    font-family: var(--orbitron-font);
    font-size: 17px;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}
.nav-links li a.active{
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 5px;
}

.navbar ul li a:hover{
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 5px;
}

/*bouton navbar */
.reserve .btn1{
    display: flex;
    background-color: var(--cta);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 10px 22px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.2s ease;
}
.reserve .btn1:hover{
    background-color: transparent;
    border: 1px solid var(--cta);
}

/* version mobile navbar */

.burger{
    display: none;
    z-index: 5;
    width: auto;
    height: 45px;
    gap: 3px;
    width: 50px; 
}

.burger span{
    display: none;
    width: 45px;
    height: 7px;
    background-color: white;
    border-radius: 4px;

}

.burger.active span:nth-child(1){
    transform: rotate(45deg) translate(7px, 10px);
    background-color: var(--cta);
}
.burger.active span:nth-child(2){
    opacity: 0;
}
.burger.active span:nth-child(3){
    transform: rotate(-45deg) translate(9px, -10px);
    background-color: var(--cta);
}
.portable{
    background-color:rgba(0, 0, 0, 0.8);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    width: 80%;
    height: 100vh;
    z-index: 15;
    position: fixed;
    left: -100%;

}
.portable ul{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.portable ul li a{
    font-family: var(--orbitron-font);
    font-size: 17px;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}
.nav-links2 li a.active{
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 5px;
}
.portable.affiche{
    left: 0;
}
.btn4{
    margin-top: 20px;
    background-color: var(--cta);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}
/* fin navbar */



/* text hero ////////////////////////////////////////////////////////////////////////////////////////*/ 


.hero-content{
    text-align: left;
}
.hero-content h1{
    line-height: 1.15;
}
.hero-survey{
    margin: 0;
}
@media (max-width: 900px){
        .hero-content{ text-align: center; }
}

.hero-content{
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 20px;
}
.hero-animate h1,
.hero-animate p,
.hero-animate .btn2{
    opacity: 0;
    transform: translateY(18px);
    animation: heroReveal 1s ease forwards;
}
.hero-animate h1{
    animation-delay: 0.15s;
}
.hero-animate p{
    animation-delay: 0.55s;
}
.hero-animate .btn2{
    animation-delay: 0.95s;
}
@keyframes heroReveal{
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-content h1{
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
@media (max-width: 768px){
    .hero-content h1{
        font-size: 36px;
    }
}


.hero-content p{
    font-size: 20px;
    margin-bottom: 30px;
} 

.hero-content .btn2{
    background: linear-gradient(90deg, #008C45, #FFFFFF, #CD212A);
    color: black;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s;
}
@media screen and (max-width: 399px) {
    .hero-content .btn2{
        padding: 12px 24px;
        font-size: 16px;
    }
    
}
.hero-content .btn2:hover{
    background-color: transparent;
    border: 1px solid var(--cta);
}

@media (max-width: 768px){
    .hero-content p{
        font-size: 16px;
    }
}


.hero-survey{
    margin: 30px auto 0;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 18px;
    border-radius: 14px;
    max-width: 720px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.hero-survey .survey-title{
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.3px;
}
.survey-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.survey-field label{
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    color: #f5f5f5;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.survey-field select{
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.survey-field select option{
    color: #111;
}
.survey-btn{
    margin-top: 14px;
    width: 100%;
    background: linear-gradient(90deg, #008C45, #FFFFFF, #CD212A);
    color: #111;
    font-weight: 800;
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 12px 25px rgba(255,140,0,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.survey-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(255,140,0,0.45);
}
.survey-note{
    margin-top: 8px;
    font-size: 12px;
    color: #e6e6e6;
}
@media (max-width: 900px){
    .survey-grid{ grid-template-columns: 1fr; }
}

/* fin hero section//////////////////////////// **/


.main1{
    display: grid;
    width: 100%;
    height: auto;
    padding: 60px 5%;
    grid-template-columns: 1fr;
    background: linear-gradient(135deg, #002b12 0%, #0a1628 45%, #1a0005 100%);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.main1::before{
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #009246, #ffffff, #ce2b37);
}
.main1::after{
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ce2b37, #ffffff, #009246);
}
.main1-text{
    width: 100%;
    color: white;
    font-size: 30px;
    font-weight: 900;
    font-family: var(--poppins-font);
    padding: 10px 10px 20px;
}
.main1-text h1{
    font-size: clamp(26px, 3.5vw, 44px);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    color: #fff;
}
.main1-text h1::after{
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    margin-top: 14px;
    border-radius: 2px;
    background: linear-gradient(90deg, #009246, #ce2b37);
}
.main1-text2{
    padding: 10px;
    display: flex;
    align-items: center;
}
.main1-text2 p{
    color: rgba(255,255,255,0.88);
    font-size: 16px;
    line-height: 1.85;
    max-width: 640px;
    border-left: 3px solid rgba(255,255,255,0.2);
    padding-left: 18px;
}

/* main2 ///////////////////////////////////////////////////////////////*/

.main2{
    display: flex;
    flex-direction: column;
    width: 95%;
    margin: auto;
    margin-bottom: 30px;
}
.main2-conteneur1{
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    margin-bottom: 30px;
    justify-content: center;
    align-items: center;

}

.main2-conteneur1 p{
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1;
    font-family: var(--orbitron-font);
    color:var(--primary-color);
    margin: 10px;
}
.main2-conteneur1 h2{
    font-family: var(--poppins-font);
    font-weight: 700;
    font-size: 25px;
    letter-spacing: 1;
    text-transform: uppercase;
}

.main2-conteneur2{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.main2-card1{
    width: 100%;
    min-height: 420px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: none; box-shadow: 0 14px 35px rgba(0,0,0,0.18);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.main2-card1 h3{
    font-size: 20px;
    font-family: var(--orbitron-font);
    margin-bottom: 15px;
}
.main2-card1 p{
    color: white;
}

/* fin main1 ///////////////////////////////////////////////////*/


.main3{
    display: flex;
    flex-direction: column;
    width: 95%;
    margin: auto;
    margin-bottom: 40px;
}
.main3-conteneur1{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}
.main3-conteneur1 p{
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1;
    font-family: var(--orbitron-font);
    color:var(--primary-color);
    margin: 10px;
}
.main3-conteneur1 h2{
    font-family: var(--poppins-font);
    font-weight: 700;
    font-size: 25px;
    letter-spacing: 1;
    text-transform: uppercase;
}

.main3-conteneur2{
     display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
}
.main3-card1{
    width: 100%;
    min-height: 430px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: none; box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    background-color: white;
}

.ensemble{
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.ensemble span{
    margin-bottom: 5px;
}
.img{
    width: 100%;
    height: 270px;
    border-radius: 10px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#m1{
    background-position: center 20%;
    background-image: url(images/image-aide-soignant\ \(1\).jpg);
}
#m2{
    background-image: url(images/cuisine\ \(1\).jpg);
}
#m3{
    background-image: url(images/genie\ civile\ et\ batiment\ \(1\).jpg);
}

#m4{
    background-image: url(images/energie.jpg);
}

/* main4 ////////////////////////////////////////////*/

.main4{
    display: grid;
    grid-template-columns: 1fr;
    width: 95%;
    margin: auto;
    gap: 20px;
    margin-bottom: 50px;
    margin-top: 100px;
}

.main4-contenue1{
    padding: 15px;
}

.main4-contenue1 span{
    font-size: 16px;
    font-family: var(--orbitron-font);
    font-weight: 900;
    color: var(--primary-color);
}

.main4-contenue1 h2{
    margin-bottom: 10px;
    font-family: var(--orbitron-font);
    font-size: 25px;
    margin-top: 20px;
}
/* accordion ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/



.accordion {
  width: 100%;
}

/* ===== VILLE ======== */
.accordion-item {
  margin-bottom: 15px; /* padding pour ville */
  border: none; box-shadow: 0 10px 25px rgba(0,0,0,0.08); background: #fff;
  border-radius: 5px;
}

.accordion-header {
  width: 100%;
  padding: 10px;
  background: #ffffff;
  border: none;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

.icon {
  font-weight: bold;
}

/* ===== CONTENU DE LA VILLE ===== */
.accordion-content {
  display: none;
  margin-top: 10px;
  padding-left: 10px; /* décalage intérieur de la ville */
}

/* ===== AVANTAGES / INCONVÉNIENTS ===== */
.advantages-container {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.advantages-container div {
  width: 100%;
  box-sizing: border-box;
}

/* ===== UNIVERSITÉS ===== */
.sub-accordion {
  margin-top: 10px;
}

.sub-accordion .accordion-item {
  border-bottom: 1px solid #ddd; /* juste border-bottom */
  padding: 10px; /* padding pour université */
}

.sub-accordion .accordion-content {
  margin-left: 15px; /* décalage filières à l’intérieur de l’université */
}

/* ===== FILIÈRES ===== */
.filiere-list {
  margin-top: 5px;
  padding-left: 10px;
}
/* accordion //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.avantage{
    font-size: 17px;
}



/* CONTENEUR PRINCIPAL */
.ila-why-container {
  width: 95%;
  margin: 100px auto;
}

/* GRID INTERNE */
.ila-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* CARTES */
.ila-why-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* HOVER */
.ila-why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

/* TITRE */
.ila-why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #1a1a1a;
}

/* TEXTE */
.ila-why-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .ila-why-grid {
    grid-template-columns: 1fr;
  }
}
/* galerie /////////////////////////////////////////////////////////////////////////////////////////////////*/


/* Texte d’introduction */
.gallery-intro {
  text-align: center;
  margin-bottom: 30px;
}

.gallery-intro h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.gallery-intro p {
  font-size: 1.1em;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* Galerie Flexbox */
.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 50px;
}

/* Chaque item (photo ou vidéo) */
.gallery-item {
  flex: 1 1 calc(33% - 20px); /* 3 items par ligne, ajustable */
  max-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
#GI1{
    object-position: center 30%;
}
/* Hover effet */
.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Responsive pour tablette et mobile */
@media (max-width: 900px) {
  .gallery-item {
    flex: 1 1 calc(45% - 15px);
  }
}

@media (max-width: 600px) {
  .gallery-item {
    flex: 1 1 100%;
  }
}






/* galerie ////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* contact +map //////////////////////////////////////////////////*/
.container{
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 20px;
}
.contact-map {
  padding: 80px 20px;
  background: #f7f7f7;
}

.contact-map {
  width: 100%;
  margin: auto;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 10px;
}
.map{
    width: 100%;
}
.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
}



/*/**** contact +map ////////////////////////////////////////////////////////////////*/


/* formulaire ///////////////////////////////////////////////*/

.contact-form {
  padding: 80px 0;
}
.contact-info h2{
    margin-bottom: 15px;
}
.contact-form{
  margin: auto;
  gap: 40px;
}

.form-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  width: 95%;
  margin: auto;
}

.form-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-box input,
.form-box select,
.form-box textarea {
  padding: 12px;
  border-radius: 8px;
  border: none; box-shadow: 0 10px 25px rgba(0,0,0,0.08); background: #fff;
}

.form-box button {
  background: #1e40af;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
}

.quick-contact {
  background: #f1f5f9;
  padding: 50px;
  border-radius: 16px;
  width: 95%;
  margin: auto;
  min-height: 520px ;
}

/* formulaire /////////////////////////////////////////////////////////////////*/


/* footer //////////////////////////////////////////////////////////////////////////*/

.footer {
  background: #0f172a;
  color: #fff;
  padding: 60px 0 20px;
}
.container3{
   width: 100%;
   display: grid;
   grid-template-columns: 1fr;
   justify-content: center;
   align-items: center;
   padding: 20px;
   gap: 20px;
}
/*.footer {
  width: 100%;
  justify-content: center;
  align-items: center;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}*/

.footer ul {
  list-style: none;
  padding: 0;
}

.footer li {
  margin-bottom: 8px;
}

.footer p {
  font-size: 14px;
}

.footer .copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  opacity: 0.7;
}



/* footer //////////////////////////////////////////////////////////*/

@media (min-width: 800px){
    .main1{
        grid-template-columns: repeat(2, 1fr);
    }
    .main2-conteneur2{
        grid-template-columns: repeat(2, 1fr);
    }
    .main3-conteneur2{
        grid-template-columns: repeat(2, 1fr);
    }
    .main4{
        grid-template-columns: repeat(2, 1fr);
    }
    .container{
        grid-template-columns: repeat(2, 1fr);
    }
    .container3{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width:800px){
    .quick-contact{
        min-height: 300px;
    }
}

@media (min-width: 1200px){
    .main2-conteneur2{
        grid-template-columns: repeat(4, 1fr);
    }
    .main3-conteneur2{
        grid-template-columns: repeat(4, 1fr);
    }
    .container3{
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width:1250px){
    .nav-links li{
        display: none; 
    }
    .burger{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }
    .reserve{
        display: none;
    }
    .burger span{
        display: block;
    }
    .portable{
        display: flex;
    }
}

@media (max-width:500px){
    .main1-text{
        font-size: 25px;
    }
}
@media (max-width:400px){
    .main1-text{
        font-size: 19px;
    }
}

@media (max-width:320px){
    .main1-text{
        font-size: 16px;
    }
}

.main2-card1{
    position: relative;
    overflow: hidden;
    align-items: stretch;
}
.main2-card1 .card-content{
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: auto;
    padding: 14px;
    border-radius: 12px;
    background: rgba(0,0,0,0.45);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.main2-card1 h3{
    color: #fff;
}
.main2-card1 p{
    color: #f5f5f5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}


.main2-card1{
    background: #ffffff;
    padding: 12px;
    gap: 12px;
}
.main2-card1 .card-image{
    width: 100%;
    height: 210px;
    border-radius: 12px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
.main2-card1 .card-content{
    background: #0f172a;
    border-radius: 12px;
    padding: 16px;
}
.main2-card1 h3{
    color: #fff;
}
.main2-card1 p{
    color: #e5e7eb;
}

.card-image[data-card="c1"]{ background-image: url('images/cours de langue (3).jpg'); }
.card-image[data-card="c2"]{ background-image: url('images/examens (2).jpg'); }
.card-image[data-card="c3"]{ background-image: url('images/visa (1).jpg'); }
.card-image[data-card="c4"]{ background-image: url('images/dossier2 (1).jpg'); }


.faq{
    width: 100%;
    padding: 90px 20px;
    background: linear-gradient(135deg, #fff7e6, #f1f5f9);
}
.faq-inner{
    width: 95%;
    margin: 0 auto;
}
.faq-head span{
    font-family: var(--orbitron-font);
    color: var(--cta);
    letter-spacing: 1px;
}
.faq-head h2{
    font-size: 28px;
    margin: 10px 0;
}
.faq-head p{
    color: #555;
    max-width: 720px;
}
.faq-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.faq-item{
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.faq-item h3{
    font-size: 18px;
    margin-bottom: 8px;
}
.faq-item p{
    color: #555;
}
@media (max-width: 900px){
    .faq-list{ grid-template-columns: 1fr; }
}


.offers, .process, .impact, .cta{
    width: 100%;
    padding: 90px 20px;
}
.offers{ background: #f8fafc; }
.offers-inner, .process-inner, .impact-inner, .cta-inner{ width: 95%; margin: 0 auto; }
.offers-head span, .process-head span{ font-family: var(--orbitron-font); color: var(--cta); letter-spacing: 1px; }
.offers-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.offer-card{
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 16px 35px rgba(0,0,0,0.08);
}
.offer-card .price{ color: #0f172a; font-weight: 700; margin: 10px 0; }

.process{ background: linear-gradient(135deg, #fff7e6, #f1f5f9); }
.process-steps{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 30px;
}
.step{
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.step span{ font-weight: 800; color: var(--cta); }

.impact{ background: #0f172a; color: #fff; }
.impact-inner{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.impact-card{
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
}
.impact-card h3{ font-size: 28px; }

.cta{ background: #111827; color: #fff; text-align: center; }
.cta-btn{
    display: inline-block;
    margin-top: 14px;
    background: linear-gradient(90deg, #008C45, #FFFFFF, #CD212A);
    color: #111;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 800;
}

@media (max-width: 1000px){
    .offers-grid{ grid-template-columns: 1fr; }
    .process-steps{ grid-template-columns: 1fr 1fr; }
    .impact-inner{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px){
    .process-steps{ grid-template-columns: 1fr; }
    .impact-inner{ grid-template-columns: 1fr; }
}

.hero-survey input{
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.accordion-intro{
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.accordion-item{
    border-radius: 14px;
    overflow: hidden;
}
.accordion-header{
    padding: 16px 18px;
    font-size: 17px;
    background: linear-gradient(90deg, #fff, #f8fafc);
}
.accordion-header .icon{
    background: #0f172a;
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.accordion-content{
    padding: 12px 18px 20px 18px;
    background: #fff;
}
.city-info{
    margin: 12px 0 18px 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.city-info h4{
    margin-bottom: 6px;
}
.city-info ul li{
    margin-bottom: 6px;
}
.advantages-container{
    gap: 16px;
}
.advantages-container h4{
    margin-bottom: 6px;
}
.advantages-container ul li{
    margin-bottom: 6px;
}

.form-box form{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.form-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.form-box label{
    font-size: 13px;
    color: #334155;
    font-weight: 600;
}
.form-box input,
.form-box select,
.form-box textarea{
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}
.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus{
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255,140,0,0.15);
}
@media (max-width: 800px){
    .form-grid{ grid-template-columns: 1fr; }
}

.hero-text{
    background: rgba(0,0,0,0.45);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.hero-widget{
    background: rgba(0,0,0,0.35);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}

.gallery-modal{
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.gallery-modal.active{ display: flex; }
.gallery-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}
.gallery-dialog{
    position: relative;
    z-index: 2;
    max-width: 80vw;
    max-height: 80vh;
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.gallery-preview{
    max-width: 75vw;
    max-height: 75vh;
    display: block;
    border-radius: 12px;
}
.gallery-close{
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #CD212A;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.hero-badge{
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #008C45, #FFFFFF, #CD212A);
    color: #0f172a;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
}
.hero-points{
    margin: 0 0 18px 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.hero-points li{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.hero-points li::before{
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #008C45;
    box-shadow: 0 0 0 3px rgba(0,140,69,0.2);
}
.hero-points li:nth-child(2)::before{ background: #FFFFFF; box-shadow: 0 0 0 3px rgba(255,255,255,0.3); }
.hero-points li:nth-child(3)::before{ background: #CD212A; box-shadow: 0 0 0 3px rgba(205,33,42,0.2); }

.survey-chips{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.survey-chips span{
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
}

@media (max-width: 900px){
    .gallery-dialog{
        max-width: 92vw;
        max-height: 82vh;
    }
}

.no-scroll{ overflow: hidden; }

.ensemble-hero{
    position: relative;
    z-index: 2;
    width: 95%;
    margin: 0 auto;
    display: grid;                                     
    grid-template-columns: 1fr;
    gap: 24px;            
    justify-content: center;  
    align-items: center;    
}
.hero-text{
    background: rgba(0,0,0,0.45);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.hero-sondage{
    background: rgba(0,0,0,0.35);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}
@media (min-width:900px){
    .ensemble-hero{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 900px){
    .hero-content{ text-align: center; }
}

/* =====================================================
   DERNIÈRES AMÉLIORATIONS — CARTES & SECTIONS
   ===================================================== */

/* --- Cartes Services (main2) : accent + zoom hover --- */
.main2-card1::before{
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #009246, #fff, #ce2b37);
    border-radius: 10px 10px 0 0;
    z-index: 2;
}
.main2-card1 .card-image{
    transition: transform 0.45s ease;
}
.main2-card1:hover .card-image{
    transform: scale(1.07);
}
.main2-card1{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.main2-card1:hover{
    transform: translateY(-6px);
    box-shadow: 0 26px 55px rgba(0,0,0,0.18);
}

/* --- Cartes Formations (main3) : badges colorés + hover --- */
.main3-card1{
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.main3-card1:hover{
    transform: translateY(-7px);
    box-shadow: 0 28px 55px rgba(0,0,0,0.18);
}
.main3-card1 .img{
    transition: transform 0.45s ease;
}
.main3-card1:hover .img{
    transform: scale(1.07);
}
.ensemble span{
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.main3-conteneur2 .main3-card1:nth-child(1) .ensemble span{ background: #009246; }
.main3-conteneur2 .main3-card1:nth-child(2) .ensemble span{ background: #e57c23; }
.main3-conteneur2 .main3-card1:nth-child(3) .ensemble span{ background: #1e40af; }
.main3-conteneur2 .main3-card1:nth-child(4) .ensemble span{ background: #ce2b37; }
.ensemble h3{
    font-size: 18px;
    margin-bottom: 8px;
    color: #0f172a;
}
.ensemble p{
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* --- Cartes "Pourquoi ILA" : bordure gauche colorée --- */
.ila-why-card{
    border-left: 5px solid #009246;
}
.ila-why-grid .ila-why-card:nth-child(2){ border-left-color: #ce2b37; }
.ila-why-grid .ila-why-card:nth-child(3){ border-left-color: #1e40af; }
.ila-why-grid .ila-why-card:nth-child(4){ border-left-color: #e57c23; }

/* --- Étapes processus : ligne connectrice --- */
@media (min-width: 700px){
    .process-steps{ position: relative; }
    .process-steps::before{
        content: '';
        position: absolute;
        top: 32px;
        left: 13%;
        right: 13%;
        height: 2px;
        background: linear-gradient(90deg, #009246, #ce2b37);
        z-index: 0;
    }
    .step{ position: relative; z-index: 1; }
}
.step{
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.12);
}
.step span{
    font-size: 22px;
}

/* --- Stats impact : chiffres plus impactants --- */
.impact-card h3{
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(90deg, #4ade80, #86efac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Cartes Offres : mise en avant centrale --- */
.offer-card{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.offer-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(0,0,0,0.13);
}
@media (min-width: 700px){
    .offers-grid .offer-card:nth-child(2){
        border: 2px solid #009246;
        transform: translateY(-8px);
        box-shadow: 0 28px 55px rgba(0,140,69,0.2);
    }
    .offers-grid .offer-card:nth-child(2):hover{
        transform: translateY(-14px);
    }
}

/* --- Bouton WhatsApp flottant --- */
.wa-float{
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 9999;
    background: #25D366;
    color: #fff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(37,211,102,0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 28px;
    line-height: 1;
}
.wa-float:hover{
    transform: scale(1.12);
    box-shadow: 0 14px 40px rgba(37,211,102,0.6);
}

/* --- Accordion état ouvert --- */
.accordion-header.is-open{
    background: linear-gradient(90deg, #f0fdf4, #f8fafc);
}
.accordion-header.is-open .icon{
    background: #009246;
}

/* --- FAQ items hover --- */
.faq-item{
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover{
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}
.faq-item h3{
    color: #0f172a;
}

/* --- Gallery lazy load placeholder --- */
.gallery-item img{
    background: #f0f0f0;
}

/* --- City accordion : en-tête plus visible --- */
.city-accordion > .accordion-header{
    background: linear-gradient(90deg, #0f172a, #1e293b);
    color: #fff;
    font-size: 18px;
    border-radius: 12px;
}
.city-accordion > .accordion-header .icon{
    background: #009246;
}
.city-accordion > .accordion-header.is-open{
    background: linear-gradient(90deg, #009246, #006b34);
    border-radius: 12px 12px 0 0;
}

/* --- Description université --- */
.uni-desc{
    font-size: 13px;
    color: #555;
    font-style: italic;
    margin-bottom: 8px;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #009246;
}

/* =====================================================
   SECTION BOURSE
   ===================================================== */
.bourse-section{
    padding: 100px 20px;
    background: linear-gradient(135deg, #002b12 0%, #0a1628 50%, #1a0005 100%);
    position: relative;
    overflow: hidden;
}
.bourse-section::before{
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #009246, #ffffff, #ce2b37);
}
.bourse-inner{
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
}
.bourse-header{
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
}
.bourse-label{
    display: inline-block;
    background: #ce2b37;
    color: #fff;
    font-family: var(--orbitron-font);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.bourse-header h2{
    font-size: clamp(22px, 3vw, 38px);
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.bourse-header p{
    color: rgba(255,255,255,0.78);
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto;
}
.bourse-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}
@media (max-width: 900px){
    .bourse-grid{ grid-template-columns: 1fr; }
}
.bourse-card{
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 30px 24px;
    color: #fff;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bourse-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.4);
}
.bourse-card-icon{
    font-size: 36px;
    margin-bottom: 14px;
}
.bourse-card h3{
    font-size: 18px;
    color: #fff;
    margin-bottom: 16px;
}
.bourse-card ul{
    list-style: none;
    padding: 0;
}
.bourse-card ul li{
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.bourse-tag{
    background: #009246;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.bourse-montant{
    border-color: #009246;
    text-align: center;
    background: rgba(0, 146, 70, 0.15);
}
.bourse-chiffre{
    font-size: 52px;
    font-weight: 900;
    font-family: var(--orbitron-font);
    color: #4ade80;
    line-height: 1;
    margin: 10px 0 4px;
}
.bourse-devise{
    font-size: 22px;
    font-weight: 800;
    color: #4ade80;
    margin-bottom: 14px;
}
.bourse-cta{
    text-align: center;
    color: #fff;
}
.bourse-slogan{
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    text-transform: uppercase;
}
.bourse-actions{
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.bourse-btn-download{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #009246, #FFFFFF, #ce2b37);
    color: #0f172a;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.bourse-btn-download:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.45);
}
.bourse-btn-wa{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 25px rgba(37,211,102,0.35);
}
.bourse-btn-wa:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(37,211,102,0.55);
}
.bourse-contact{
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
}
