/* ================================= */
/* RÉGLAGES GÉNÉRAUX */
/* ================================= */

* {
    box-sizing: border-box;
}


body {

    margin: 0;

    font-family: Arial, sans-serif;

    background-color: #f2f2f2;

    color: #222;
}



/* ================================= */
/* CONTENEUR PRINCIPAL */
/* ================================= */

.site {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;
}



/* ================================= */
/* EN-TÊTE */
/* ================================= */

.header {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 20px 0;
}



/* ================================= */
/* LOGO */
/* ================================= */

.logo {

    width: 150px;

    height: 150px;

    flex-shrink: 0;

    overflow: hidden;

    display: block;
}


.logo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}



/* ================================= */
/* BANNIÈRE */
/* ================================= */

.banniere {

    flex: 1;

    height: 150px;

    overflow: hidden;

    display: flex;
    justify-content: center;
}


.banniere img {

    width: 350px;

    height: 100%;

    object-fit: cover;

    display: block;

    
}


.textepresentation {
    width: 80%;
    margin: 0 auto 30px auto;
    text-align: justify;
}





/* ================================= */
/* TITRES */
/* ================================= */

h1 {

    text-align: center;

    margin: 30px 10px;

    font-size: 32px;
}


h2 {

    font-size: 25px;

    margin: 0 0 15px;
}



/* ================================= */
/* FORMATIONS DE LA PAGE D'ACCUEIL */
/* ================================= */

.formations {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 30px;

    padding: 10px 0 40px;
}



/* ================================= */
/* BLOCS DE FORMATION */
/* ================================= */

.formation-card {

    width: 90%;

    max-width: 900px;

    padding: 30px;

    background-color: white;

    text-align: center;

    text-decoration: none;

    color: #222;

    border: 1px solid #ddd;

    border-radius: 8px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}



/* Effet au passage de la souris */

.formation-card:hover {

    transform: translateY(-3px);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.15);
}


.formation-card p {

    margin: 0;

    font-size: 17px;

    line-height: 1.5;
}



/* ================================= */
/* SECTION FORMATION */
/* ================================= */

.formation {

    width: 100%;

    text-align: center;
}



/* ================================= */
/* PUBLICITÉS */
/* ================================= */

.publicites {

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 20px;

    margin-bottom: 30px;
}


.publicite {

    width: 350px;

    height: 350px;

    display: block;

    overflow: hidden;
}


.publicite img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.2s ease;
}


.publicite:hover img {

    transform: scale(1.03);
}



/* ================================= */
/* VIDÉO YOUTUBE */
/* ================================= */

.video {

    width: 100%;

    max-width: 900px;

    margin: 0 auto;
}


.video iframe {

    width: 100%;

    aspect-ratio: 16 / 9;

    border: none;

    display: block;
}



/* ================================= */
/* CONTENU DES FORMATIONS */
/* ================================= */

.contenu-formation {

    width: 90%;

    max-width: 900px;

    margin: 0 auto 40px;

    padding: 30px;

    background-color: white;

    border-radius: 8px;
}


.contenu-formation p {

    font-size: 18px;

    line-height: 1.6;
}








.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px auto;
    flex-wrap: wrap;
}

.bouton {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Bouton Accueil */
.bouton-accueil {
    background-color: #333;
    color: white;
}

.bouton-accueil:hover {
    background-color: #555;
    transform: translateY(-2px);
}

/* Bouton Formation */
.bouton-partenaire {
    background-color: #0066cc;
    color: white;
}

.bouton-partenaire:hover {
    background-color: #004c99;
    transform: translateY(-2px);
}



    



.technologie {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
}

.language {
    background-color: #ffffff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
    text-align: center;
}

.language h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 26px;
}

.language p {
    max-width: 750px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
    text-align: justify;
}

.boutonlanguage {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 7px;
    font-weight: bold;
    transition: 0.3s ease;
}

.boutonlanguage:hover {
    background-color: #004c99;
    transform: translateY(-2px);
}






/* ================================= */
/* RESPONSIVE */
/* ================================= */

@media (max-width: 700px) {


    /* ----------------------------- */
    /* EN-TÊTE */
    /* ----------------------------- */

    .header {

        flex-direction: column;

        gap: 10px;

        padding: 10px;
    }



    /* ----------------------------- */
    /* LOGO */
    /* ----------------------------- */

    .logo {

        width: 120px;

        height: 120px;
    }



    /* ----------------------------- */
    /* BANNIÈRE */
    /* ----------------------------- */

    .banniere {

        width: 100%;

        height: 100px;
    }




.navigation {
        flex-direction: column;
        gap: 12px;
    }

    .bouton {
        width: 80%;
        text-align: center;
    }








    /* ----------------------------- */
    /* TITRE */
    /* ----------------------------- */

    h1 {

        font-size: 25px;

        margin: 25px 10px;
    }



    /* ----------------------------- */
    /* BLOCS DE FORMATION */
    /* ----------------------------- */

    .formation-card {

        width: 90%;

        padding: 25px 15px;
    }


    .formation-card h2 {

        font-size: 21px;
    }


    .formation-card p {

        font-size: 16px;
    }



    /* ----------------------------- */
    /* PUBLICITÉS */
    /* ----------------------------- */

    .publicites {

        flex-direction: column;

        gap: 15px;
    }


    .publicite {

        width: 90%;

        max-width:280px;

        height: 280px;
    }



    /* ----------------------------- */
    /* VIDÉO */
    /* ----------------------------- */

    .video {

        width: 95%;
    }



    /* ----------------------------- */
    /* CONTENU */
    /* ----------------------------- */

    .contenu-formation {

        width: 95%;

        padding: 20px 15px;
    }


    /* ----------------------------- */
    /* TECHNOLOGIES */
    /* ----------------------------- */

    .technologie {

        width: 95%;

        margin: 25px auto;
    }


    .language {

        width: 100%;

        padding: 20px 15px;

        margin-bottom: 20px;
    }


    .language h2 {

        font-size: 22px;

    }


    .language p {

        width: 100%;

        font-size: 16px;

        line-height: 1.5;

        overflow-wrap: break-word;

    }


    .boutonlanguage {

        display: block;

        width: 100%;

        max-width: 100%;

        padding: 12px 10px;

        text-align: center;

    }






}