#heroSection {
    background-image: url('photos/web/nuage_couleur_hd.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position:50% 81%; 
    min-height: 100vh; 
    color: #ffffff;
    position: relative;
    z-index: 1; 
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15); 
}


#heroSection .content {
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    padding: 0; 
    border-radius: 0; 
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute; 
    top: 0;
    left: 0;
}

#heroSection h1 { 
    font-size: 4.5rem; 
    margin-bottom: 1.5rem; 
}

#heroSection p { 
    font-size: 1.75rem; 
    margin-top: 1rem; 
}

#heroSection a.btn {
    background-color: rgba(255, 255, 255, 0.3); 
    border-color: rgba(255, 255, 255, 0.3);
    color: white; 
    width: 17.4rem;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
    font-weight: 400;
    backdrop-filter: blur(10px); 
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#heroSection a.btn:hover {
    background-color: rgba(255, 255, 255, 0.5); 
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

#titre_fonc, #titre_faq {
    font-weight: 400;
    font-size: 3.5rem;
}

#faqSection .faq-item {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: .75rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    height: 100%;
}

#faqSection .faq-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

#faqSection .faq-item p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #555555;
    margin-bottom: 0;
}



#introSection {
    background-color: #ffffff;
    padding: 4rem 2rem; 
    border-radius: .75rem; 
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15); 
}

#introSection .intro-icon {
    max-width: 5rem; 
    height: auto; 
    margin-bottom: 1.5rem; 
}

#introSection p {
    font-size: 1.1rem; 
    line-height: 1.75; 
    color: #555555; 
}

#introSection .row { 
    padding: 1.3rem;
}



#infoSection .img-fluid { 
    max-width: 15rem;
    height: auto;
}

#infoSection .btn {
    background-color: royalblue; 
    border-color: royalblue; 
    color: white; 
    width: 17rem;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
    font-weight: 400;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#infoSection .btn:hover {
    background-color: rgb(56, 89, 186);
    border-color: rgb(56, 89, 186); 
    color: white; 
    transform: translateY(-2px);
}

:root {
  font-size: 100%; 
}


@media (min-width: 2350px) {
    :root {
    font-size: 125%;
  }
  

  #introSection .container {
    max-width: 95%;
    padding: 0;
  }

  #infoSection .container {
    max-width: 85%;
  }

}

@media (min-width: 1400px) and (max-width: 2399px) {


}


@media (min-width: 1200px) and (max-width: 1399px) {

#heroSection h1 {
  font-size: 4rem;
}


}

@media (min-width: 992px) and (max-width: 1199px) {
    :root {
    font-size: 70%;
  }

  #btn_decouvrir {
    padding: 1rem !important;
    margin: 0;
  }

  #btn_apprendre {
    padding: 1rem !important;
  }

}

@media (min-width: 768px) and (max-width: 991px) {
    :root {
    font-size:53%;
  }

  #btn_decouvrir {
    padding: 1rem !important;
    margin: 0;
  }

  #btn_apprendre {
    padding: 1rem !important;
  }
}

@media (max-width: 767px) {
    :root {
    font-size: 60%;
  }

  body {
    width: 100%;
  }

  /* mx-5 de Bootstrap est en !important : il faut l'id de la section pour annuler la marge */
  #heroSection .d-inline-flex {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  #heroSection #btn_decouvrir,
  #heroSection #btn_apprendre {
    padding: 0.7rem !important;
    margin: 0 !important;
    transform: scale(0.90);
  }

  .navbar-brand img.header-logo {
    max-width: 5rem; 
    max-height: auto; 
}

 #btn_accueil, #btn_contact {
    font-size: 1rem;
 }

 #texte_nav .btn {
    font-size: 0.8rem;
    padding: 0.5rem;
 }

 .navbar .nav-link {
    margin-left: 0.2rem; 
}

.main-nav-links {
    margin-left: 0.1rem; 
    gap: 0.6rem; 
    display: flex; 
    align-items: center;
}

.main-nav-links .nav-link.btn {
    padding: 0.1rem 0.1rem;
}

#bouton_insc {
    margin-right: 1rem; 
    font-size: 1rem !important;
}

#connx {
    font-size: 1rem !important;
}

#titre_conf {
    font-size: 2.5rem;
}
footer {
    padding: 0.7rem;
    width: 100%;
}

.decouvrez {
    margin-bottom: 4rem;
    width: 25rem !important;
}

#languageDropdown {
    margin-right: 1rem;
}

#infoSection .col-md-6 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#heroSection h1 {
    font-size: 3.5rem;
    padding: 0.5rem;
}

#heroSection p {
    padding: 0.5rem;
}

#infoSection p {
    padding: 0.5rem;
}

}
