/*  ================= CSS utilisé dans la page : ========== 
*
* index.php
*
*/



main .banner .banner-content{
    width: 58%;
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%,-90%);
    text-align: center;
    z-index: 1;
}

.rouge{
    background-color: var(--rouge);
}

.noir{
    background-color: var(--noir);
}

.blocs-container .bloc{
    color: white;
    width: 85%;
    max-width: 270px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: muktamalar-extra-bold;
    font-size: 1.1em;
    white-space: nowrap;
    margin: 10px 0;
}

/*  =============== SECTION - 1 =============== */

.section-1{
    padding-top: 96px;
}

.section-1 video{
    width: 100%;
    display: block;
}

.section-1 .img-absolute{
    width: 76%;
}

.section-1 .img-absolute img{
    width: 60%;
}

/*  =============== SECTION - 2 =============== */


.section-2 .souligne {
    margin: 25px 0 22px 0;
}

.section-2 .btn-1{
    margin-top: 39px;
    font-family: muktamalar-bold;
}

.container-1 .col-1{
    padding-right: 51px;
}

/*  =============== SECTION - 3 =============== */

#section-rigueur {
    margin-top: 10px;
    background-color: var(--gris);
}


#section-rigueur .carousel{
    position: relative;
    padding-bottom: 91%;
}


#section-rigueur .carousel img{
    max-width: unset;
    position: absolute;
}


#section-rigueur .carousel picture{
    transition: opacity 0.5s ease;
   
}
#section-rigueur .carousel .inactif{
    opacity: 0;
}
.section-3 .carousel .actif{
    opacity: 1;
}

#section-rigueur .col-2 {
    margin-top: 10px;
    justify-content: space-between;

}

#section-rigueur .souligne{
    margin: 25px 0 27px 0;
}

#section-rigueur .blocs-container{
    margin-top: 10px;
}

#section-rigueur .blocs{
    margin-top: 28px;
}


/*  =============== SECTION - 4 =============== */
.section-4 {
    background-color: var(--gris);
    padding-top: 36px;
    padding-bottom: 38px;
}


.section-4 .souligne{
    margin: 27px 0 40px 0;
}

.section-4 .services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 100px;
}

.section-4 .services-container .service {
    width: 270px;
    margin: 0 12px 42px 12px;
    text-align: center;
}


.section-4 .services-container img{
    margin: auto;
}

.section-4 .services-container .service h3{
    border-left: 2px solid var(--rouge);
    padding-left: 7px;
    margin: 25px 0 14px 0;
    font-family: muktamalar-bold;
    font-size: 18.72px;
}

.section-4 .btn-3 {
    margin-top: 32px;
}

.section-4 .services-container img {
    width: max-content;
}
/*  =============== SECTION - 5 =============== */
.section-5 {
    margin-top: 42px;
    margin-bottom: 42px;
}

.section-5 .btn-2{
    margin: auto;
}

/*  =============== SECTION - 7 =============== */

.section-7{
    margin-top: 90px;
}

@media only screen and (min-width: 1024px) {

    .blocs-container .bloc{
        max-width: initial;
        width: 50%;
        margin: 0;
        height: 142px;
        font-size: 1.6em;
    }

    /*  =============== SECTION - 1 =============== */
    .section-1{
        padding-top: unset;
    }

    /*  =============== SECTION - 2 =============== */


    /*  =============== SECTION - 3 =============== */

    #section-rigueur{
        margin-top: 100px;
    }

    #section-rigueur .carousel{
        width: 100%;
        max-width: 700px;
        max-height: 638px;
        position: relative;
        padding-bottom: 0;
        min-width: 527px;
    }

    #section-rigueur .carousel img{
        height: 100%;
        position: absolute;
    }

    #section-rigueur .col-2{
        margin-top: 80px;
    }

    #section-rigueur h2{
        line-height: 28px;
    }

    #section-rigueur .blocs-container{
        margin-top: 0;
    }
    

    #section-rigueur .col-2 .bloc-txt{
        max-width: 693px;
        margin-left: 10%;
        padding-right: 30px;
        padding-bottom: 108px;
    }
    /*  =============== SECTION - 4 =============== */

    .section-4 {
        padding-top: 118px;
    }
    

    .section-4 img{
        width: max-content;
    }

    .section-4 .container {
        width: 90%;
        margin: auto;
    }

    .section-4 .souligne{
        margin: 27px 0 40px 0;
    }

    .section-4 .services-container{
        justify-content: space-between;
    }

    .section-4 .services-container img{
        margin: unset;
    }

    .section-4 .services-container .service{
        text-align: left;
    }

       
    .section-4 .services-container .service h3{
        width: 206px;
        line-height: 24px;
        transition: color 0.5s ease;
        margin: 25px 0;
        font-size: 1.2em;
    }

    .section-4 .service:hover h3{
        color: var(--rouge);
    }

    
    .container-fleche:hover {
        background-color: var(--rouge);
    }

    /*  =============== SECTION - 5 =============== */
    .section-5 {
        margin-top: 96px;
        margin-bottom: 108px;
    }
}

@media only screen and (min-width: 1500px){
    #section-rigueur .col-2 .bloc-txt{
        padding-bottom: 218px;
    }

    .section-4 .services-container .service{
        width: 282px;
    }
}