/* Réinitialiser les marges et les paddings par défaut */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
p{
    text-align: justify;
    word-spacing: normal;
    hyphens: auto; /* Ajoute la césure automatique des mots */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/******************************** Style pour la bannière **************************************************/
.banner {
    background-image: url('/assets/Images/slide/slide8.jpg');
    background-size: cover;
    background-position: center;
    height: 1000px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin-top: 110px;
    position: relative; /* Ajout de position relative pour les animations */
    overflow: hidden; /* Assure que les animations ne débordent pas de la bannière */
    animation: fadeIn 3s ease-out forwards;
}
.content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 98, 51, 0.4), rgba(0, 0, 0, 0.4)); /* dégradé linéaire sur le bord gauche */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    padding-left: 20px;
}



@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Style pour le titre */
.banner .content h1 {
    color: white; /* Couleur du texte */
    font-size: 3vw;
    font-weight: bold;
    margin-top: 110px;
}




/* Pour les écrans de taille moyenne (tablettes en mode paysage, ordinateurs portables) */
@media (max-width: 1200px) {
    .banner-title {
        font-size: 3.5em;
    }
}

/* Pour les écrans de taille moyenne (tablettes en mode portrait) */
@media (max-width: 992px) {
    .banner-title {
        font-size: 3em;
    }
}

/* Pour les petits écrans (smartphones en mode paysage) */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2.5em;
    }
}

/* Pour les très petits écrans (smartphones en mode portrait) */
@media (max-width: 576px) {
    .banner-title {
        font-size: 2em;
    }
}







/* Styles responsifs */
@media (max-width: 1300px) {
    .banner {
        height: 550px; /* Réduire la hauteur sur les petits écrans */
    }
}

@media (max-width: 768px) {
    .banner {
        height: 300px; /* Réduire la hauteur sur les petits écrans */
    }

    .banner .content {
        max-width: 100%; /* Réduire la largeur du contenu */
    }

   
}

@media (max-width: 480px) {
    .banner {
        height: 260px; /* Ajustement de la hauteur */
    }

    .banner .content h1 {
        font-size: 1.5em; /* Réduire davantage la taille du titre */
        
    }
    .banner .content {
        max-width: 100%; /* Réduire la largeur du contenu */

    }
}

/*************************************** Style pour la section principale *****************************************/
.main-section {
    background-color: #f9f9f9; /* Couleur de fond de la section */
    padding: 20px; /* Espacement interne */
    text-align: center; /* Centrer le contenu */
    margin: 0px 0;
}
.section-main{
    max-width: 1200px;  /* Limite la largeur maximale à 1200px */
    width: 100%;        /* Assure que le conteneur prend toute la largeur de l'écran sur les petits écrans */
    margin: 0 auto;     /* Centre horizontalement la section */
    box-sizing: border-box; /* Inclut le padding dans la largeur totale */
}

.main-section .content-1 {
    max-width: 850px; /* Largeur maximale du contenu */
    margin: 0 auto; /* Centrer le contenu horizontalement */
    padding: 0 20px;
    margin-top: 15px;
}

.main-section h2 {
    font-size: 1.9em; /* Taille du titre */
    margin-bottom: 10px; /* Espacement en bas */
    font-weight: bold;
    text-transform: uppercase;
    color: #15171C;
}

.content-form-actuelle h2 {
    font-size: 1.9em;
    margin-bottom: 0;
    font-weight: bold;
    text-transform: uppercase;
    color: #15171C;
    text-align: center;
}

.main-section p {
    font-size: 1.1em; /* Taille du paragraphe */
    line-height: 1.2; /* Hauteur de ligne */
} 

.block-right p{
    font-size: 1.1em; /* Taille du paragraphe */
    line-height: 1.2; /* Hauteur de ligne */
}

/* Styles responsifs */
@media (max-width: 768px) {
    .main-section h2 {
        font-size: 1.8em; /* Réduire la taille du titre */
    }

    .main-section p {
        font-size: 1em; /* Réduire la taille du paragraphe */
    }
}

@media (max-width: 480px) {
    .main-section h2 {
        font-size: 1.5em; /* Réduire davantage la taille du titre */
    }

    .main-section p {
        font-size: 0.9em; /* Réduire davantage la taille du paragraphe */
    }
}

/* Section 2 */
.section-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}

.section2 {
    max-width: 1200px;  /* Limite la largeur maximale à 1200px */
    width: 100%;        /* Assure que le conteneur prend toute la largeur sur les petits écrans */
    margin: 0 auto;     /* Centre horizontalement la section */
    box-sizing: border-box; /* Inclut le padding dans la largeur */
    display: flex;
    gap: 20px;          /* Espace entre les éléments enfants */
    flex-wrap: wrap;
}

.block-left, .block-right {
    flex: 1;
    margin: 10px;
    min-width: 300px; /* Empêche les éléments de devenir trop petits */
}

.block-left img, .section-2 img {
    max-width: 100%;
    height: auto;
}

/* Ajustements responsifs */
@media (min-width: 1200px) {
    .section-2 {
        flex-wrap: nowrap; /* Empêche le wrapping sur les grands écrans */
        align-items: center;
    }
}

@media (max-width: 768px) {
    .section-2 {
        flex-direction: column;
    }

    .block-left, .block-right {
        flex: none;
        width: 100%;
    }
    .block-left {
      text-align: center;
    }
}

/* Section colonne */
.section-column {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px;
}
.column-section{
    max-width: 1200px; /* Limite la largeur maximale à 1200px */
    width: 100%; /* Assure que la section prend toute la largeur sur les petits écrans */
    margin: 0 auto; /* Centre horizontalement le conteneur */
    display: flex;
    gap: 20px; /* Espace entre les blocs */
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
}

.section-column .block {
    flex: 1 1 calc(33.333% - 40px);
    background-color: #f5f5f5;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.section-column .block p {
    text-align: justify;
    word-spacing: 1px;
    hyphens: auto;
}

.section-column .block img {
    max-width: 100%;
    height: auto;
}

.section-column .voir-plus {
    background-color: #ff6200;
    color: #15171C;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 20px;
}

.section-column .voir-plus:hover {
    background-color: #FFBD59;
}

/* Section des avis des partenaires */
.testimonial-section {
    margin: 20px;
    text-align: center;
}

.testimonial-section h2 {
    margin-bottom: 20px;
    font-size: 1.9em;
    font-weight: bold;
    text-transform: uppercase;
    color: #ff6233;
    text-align: center;
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial {
    flex: 1;
    max-width: 400px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
}

/* Section des partenaires */
.partners-section {
    text-align: center;
    margin: 20px;
}

.partners-section h2 {
    font-size: 1.9em;
    font-weight: bold;
    text-transform: uppercase;
    color: #ff6233;
    text-align: center;
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    padding: 10px;
}

/* Styles responsifs */
@media (max-width: 1024px) {
    .section-2, .section-column, .testimonial-container, .partners-container {
        flex-direction: column;
        align-items: center;
    }

    .section-2 .block-left, .section-2 .block-right, .section-column .block, .testimonial {
        flex: 1 1 100%;
    }
}

/* Classes utilitaires */
.hidden {
    display: none;
}

.extraContent {
    padding: 10px;
    background-color: #f9f9f9;
}

.btns-deroulement {
    text-decoration: none;
    color: #15171C;
    font-weight: bold;
}

.container-bouton-inscrire {
    text-align: center;
    margin-top: 20px;
}

.bouton-inscrire {
    display: inline-block;
    background-color: #FF6233;
    color: #15171C;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.bouton-inscrire:hover {
    background-color: #FFBD59;
}
