/* ---------------------------------- INTRODUCTION ---------------------------------- */
.frontpage .introduction,
.frontpage .introduction figure,
.frontpage .introduction .imgContainer{
    position: relative;
}

.frontpage .introduction .imgContainer,
.frontpage .introduction .imgContainer img{
    min-height: 60vh;
}

.frontpage .introduction .imgContainer::before{
    position: absolute;
    content: "";
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-color: #00000025;
}

.frontpage .introduction .imgContainer img{
    width: 100%;
    height: 100%;
    aspect-ratio: 1920/830;
    display: block;
}

.frontpage .introduction figure figcaption{
    position: absolute;
    left: 12%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 620px;
}

.frontpage .introduction figure figcaption .titre{
    color: #fff;
    font-size: 60px;
    line-height: 65px;
    font-weight: 700;
    margin-bottom: 18px;
}

.frontpage .introduction figure figcaption .paragraphe,
.frontpage .introduction figure figcaption .paragraphe p{
    color: #fff;
    line-height: 19px;
    font-weight: 500;
}

.frontpage .introduction figure figcaption .btn{
    margin-top: 18px;
}

.frontpage .introduction .devis{
    background-color: var(--vert);
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 85px 45px;
    position: absolute;
    bottom: 0px;
    right: 15%;
    transform: translateY(50%);
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

.frontpage .introduction .devis p{
    font-size: 24px;
    line-height: 29px;
    color: #fff;
    font-weight: 700;
    max-width: 230px;
}

@media (max-width: 1600px){
    .frontpage .introduction .devis{
        padding: 60px 45px;
    }
}

@media (max-width: 1400px){
    .frontpage .introduction figure figcaption .titre{
        font-size: 50px;
        line-height: 55px;
    }
    .frontpage .introduction .devis{
        right: 100px;
    }
}

@media (max-width: 1200px){
    .frontpage .introduction figure figcaption{
        left: 80px;
    }
}

@media (max-width: 992px){
    .frontpage .introduction .imgContainer,
    .frontpage .introduction .imgContainer img{
        min-height: 75vh;
    }
    .frontpage .introduction figure figcaption .titre{
        font-size: 45px;
        line-height: 50px;
    }
    .frontpage .introduction figure figcaption{
        max-width: calc(100% - 160px);
    }
    .frontpage .introduction .devis{
        right: 80px;
        width: 100%;
        max-width: calc(100% - 160px);
        justify-content: space-between;
    }
}

@media (max-width: 800px){
    .frontpage .introduction figure figcaption{
        left: 36px;
        max-width: calc(100% - 72px);
        margin-top: -40px;
    }
    .frontpage .introduction .devis{
        flex-direction: column;
        align-items: start;
        gap: 25px;
        padding: 34px 38px;
        max-width: calc(100% - 72px);
        right: 36px;
    }
}

/* ---------------------------------- ENTREPRISE ---------------------------------- */

.frontpage .entreprise{
    padding-block: 140px;
    padding-inline: 20% 15%;
}

.frontpage .entreprise figure{
    display: flex;
    align-items: center;
    gap: 76px;
}

.frontpage .entreprise figure figcaption .titre{
    font-size: 60px;
    line-height: 65px;
    font-weight: bold;
    margin-bottom: 18px;
}

.frontpage .entreprise figure figcaption .btn{
    margin-top: 36px;
}

.frontpage .entreprise figure .imgContainer{
    position: relative;
    max-width: 470px;
    width: 50%;
}

.frontpage .entreprise figure .imgContainer::after{
    content: "";
    position: absolute;
    aspect-ratio: 270/286;
    width: 50%;
    left: -50px;
    bottom: -50px;
    background-color: var(--vert);
    z-index: -1;
    clip-path: polygon(0 0, 100% 5%, 100% 95%, 0% 100%);
}

.frontpage .entreprise figure .imgContainer img{
    aspect-ratio: 470/680;
    display: block;
    clip-path: polygon(0 0, 100% 3%, 100% 97%, 0% 100%);
}

.frontpage .entreprise figure figcaption{
    width: 50%;
    max-width: 670px;
}

.frontpage .entreprise{
    background-image: url('./../img/decoCubesDroits.png');
    background-repeat: no-repeat;
    background-position: right center;
}

@media (max-width: 1600px){
    .frontpage .entreprise{
        padding-inline: 12% 10%;
    }
}

@media (max-width: 992px){
    .frontpage .entreprise{
        background: none;
        padding-inline: 80px;
    }
    .frontpage .entreprise figure{
        flex-direction: column;
        gap: 70px;
    }
    .frontpage .entreprise figure .imgContainer,
    .frontpage .entreprise figure figcaption{
        max-width: none;
        width: 100%;
    }
    .frontpage .entreprise figure .imgContainer{
        display: flex;
        justify-content: end;
    }
    .frontpage .entreprise figure .imgContainer::after{
        left: 0px;
    }
    .frontpage .entreprise figure .imgContainer img{
        width: calc(100% - 50px);
    }
}

@media (max-width: 800px){
    .frontpage .entreprise{
        padding-inline: 36px;
        padding-block: 150px 70px;
    }
    .frontpage .entreprise figure .imgContainer::after{
        bottom: -30px;
        width: 60%;
    }
    .frontpage .entreprise figure .imgContainer img{
        width: calc(100% - 30px);
    }
    .frontpage .entreprise figure figcaption .titre{
        font-size: 46px;
        line-height: 51px;
    }
}

/* ---------------------------------- SAVOIR-FAIRE ---------------------------------- */

.frontpage .savoirFaire > img{
    display: block;
    margin-bottom: -1px;
}

.frontpage .savoirFaire header{
    background-color: var(--gris3);
    padding-inline: 15%;
    padding-block: 10px 250px;
}

.frontpage .savoirFaire header .titre{
    font-size: 60px;
    line-height: 65px;
    font-weight: bold;
    margin-bottom: 8px;
}

.frontpage .savoirFaire header .paragraphe{
    max-width: 400px;
}

.frontpage .savoirFaire header .paragraphe,
.frontpage .savoirFaire header .paragraphe p{
    font-size: 20px;
    line-height: 25px;
}

.frontpage .savoirFaire header .btn{
    margin-top: 38px;
}

.frontpage .savoirFaire .slider{
    padding-left: 15%;
    overflow: initial;
    margin-top: -190px;
}

.frontpage .savoirFaire .slider img{
    aspect-ratio: 810/580;
}

.frontpage .savoirFaire .slider .navigation{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 17px;
    width: fit-content;
    height: fit-content;
    position: absolute;
    top: -80px;
    right: 15%;
}

.frontpage .savoirFaire .slider .navigation .swiper-button-next,
.frontpage .savoirFaire .slider .navigation .swiper-button-prev{
    position: relative;
    top: initial;
    bottom: initial;
    left: initial;
    right: initial;
    background-color: #000;
    width: fit-content;
    height: fit-content;
    padding: 15px 10px;
    clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px);
}

.frontpage .savoirFaire .slider .navigation .swiper-button-next::after,
.frontpage .savoirFaire .slider .navigation .swiper-button-prev::after{
    content: "";
    height: 10px;
    width: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.frontpage .savoirFaire .slider .navigation .swiper-button-next::after{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19.075' height='9.22' viewBox='0 0 19.075 9.22'%3E%3Cpath id='Icon_ionic-ios-arrow-round-forward' data-name='Icon ionic-ios-arrow-round-forward' d='M15.37,11.428a.627.627,0,0,0,0,.883l2.919,2.924H1.923a.624.624,0,0,0,0,1.248H18.28l-2.919,2.924a.632.632,0,0,0,0,.883.622.622,0,0,0,.879,0L20.2,16.3h0a.7.7,0,0,0,.13-.2.6.6,0,0,0,.048-.24.626.626,0,0,0-.178-.437l-3.957-3.985A.612.612,0,0,0,15.37,11.428Z' transform='translate(-1.303 -11.252)' fill='%23fff'/%3E%3C/svg%3E%0A");
}

.frontpage .savoirFaire .slider .navigation .swiper-button-prev::after{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19.075' height='9.22' viewBox='0 0 19.075 9.22'%3E%3Cpath id='Icon_ionic-ios-arrow-round-forward' data-name='Icon ionic-ios-arrow-round-forward' d='M6.312,11.428a.627.627,0,0,1,0,.883L3.4,15.236H19.759a.624.624,0,0,1,0,1.248H3.4l2.919,2.924a.632.632,0,0,1,0,.883.622.622,0,0,1-.879,0L1.481,16.3h0a.7.7,0,0,1-.13-.2.6.6,0,0,1-.048-.24.626.626,0,0,1,.178-.437l3.957-3.985A.612.612,0,0,1,6.312,11.428Z' transform='translate(-1.303 -11.252)' fill='%23fff'/%3E%3C/svg%3E%0A");
}

@media (max-width: 1600px){
    .frontpage .savoirFaire .slider{
        padding-left: 10%;
    }
    .frontpage .savoirFaire header{
        padding-inline: 10%;
    }
    .frontpage .savoirFaire .slider .navigation{
        right: 10%;
    }
}

@media (max-width: 1200px){
    .frontpage .savoirFaire header .titre{
        font-size: 50px;
        line-height: 55px;
    }
}

@media (max-width: 800px){
    .frontpage .savoirFaire header .paragraphe,
    .frontpage .savoirFaire header .paragraphe p{
        font-size: 18px;
        line-height: 22px;
    }
    .frontpage .savoirFaire .slider,
    .frontpage .savoirFaire header{
        padding-inline: 36px;
    }
    .frontpage .savoirFaire .slider{
        margin-top: -40px;
    }
    .frontpage .savoirFaire > img{
        display: none;
    }
    .frontpage .savoirFaire header .btn{
        margin-top: 30px;
    }
    .frontpage .savoirFaire .slider .navigation{
        top: 50%;
        right: initial;
        left: 50%;
        width: 96%;
        justify-content: space-between;
        transform: translate(-50%, -50%);
        z-index: 1;
        height: 40px;
    }
    .frontpage .savoirFaire .slider .navigation .swiper-button-next, 
    .frontpage .savoirFaire .slider .navigation .swiper-button-prev{
        margin: 0px;
    }
}


/* ---------------------------------- POURQUOI ---------------------------------- */

.frontpage .pourquoi{
    padding-inline: 15%;
    padding-block: 70px 110px;
}

.frontpage .pourquoi > p{
    font-size: 26px;
    line-height: 32px;
    margin-bottom: -5px;
    text-transform: uppercase;
    font-weight: 800;
}

.frontpage .pourquoi > .titre{
    font-size: 60px;
    line-height: 65px;
    margin-bottom: 50px;
    font-weight: 700;
}

.frontpage .pourquoi .argumentsContainer{
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.frontpage .pourquoi .argumentsContainer .argument img{
    margin-bottom: 38px;
    max-width: 90px;
    height: 85px;
    object-fit: contain;
    object-position: bottom;
}

.frontpage .pourquoi .argumentsContainer .argument .titre{
    margin-bottom: 30px;
    font-size: 26px;
    line-height: 32px;
    font-weight: 800;
    text-transform: uppercase;
}

.frontpage .savoirFairePourquoiContainer{
    background-image: url('./../img/decoCubesGauches.png');
    background-repeat: no-repeat;
    background-position: left center;
}

@media (max-width: 1600px){
    .frontpage .pourquoi{
        padding-inline: 10%;
    }
}

@media (max-width: 1200px){
    .frontpage .pourquoi > .titre{
        font-size: 50px;
        line-height: 55px;
    }
}

@media (max-width: 992px){
    .frontpage .pourquoi .argumentsContainer{
        flex-direction: column;
        gap: 40px;
    }
    .frontpage .pourquoi .argumentsContainer .argument img{
        margin-bottom: 28px;
        height: 70px;
    }
    .frontpage .pourquoi .argumentsContainer .argument .titre{
        margin-bottom: 17px;
        font-size: 22px;
        line-height: 27px;
    }
    .frontpage .savoirFairePourquoiContainer{
        background: none;
    }
    .frontpage .pourquoi > .titre{
        margin-bottom: 40px;
    }
    .frontpage .savoirFaire header .titre,
    .frontpage .pourquoi > .titre{
        font-size: 46px;
        line-height: 51px;
    }
    .frontpage .pourquoi > p{
        font-size: 20px;
        line-height: 24px;
        margin: 0px;
    }
    .frontpage .pourquoi{
        padding-block: 52px 66px;
    }
}

@media (max-width: 800px){
    .frontpage .pourquoi{
        padding-inline: 36px;
    }
    .frontpage .savoirFaire header{
        padding-block: 58px 72px;
    }
}

/* ---------------------------------- EXPERTISES ---------------------------------- */

.frontpage .expertises{
    /* background-color: var(--gris3); */
    padding-block: 200px;
    padding-inline: 12%;
    display: flex;
    flex-direction: column;
    gap: 180px;
}

.frontpage .expertises .expertise{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 150px;
}

.frontpage .expertises .expertise:nth-child(even){
    flex-direction: row-reverse;
}

.frontpage .expertises .expertise .imgContainer,
.frontpage .expertises .expertise figcaption{
    width: 50%;
}

.frontpage .expertises .expertise .imgContainer{
    position: relative;
}

.frontpage .expertises .expertise .imgContainer::after{
    position: absolute;
    content: "";
    background-color: var(--vert);
    height: 40%;
    width: 40%;
    bottom: -40px;
    left: -40px;
    z-index: 1;
}

.frontpage .expertises .expertise:nth-child(even) .imgContainer::after{
    right: -40px;
    left: auto;
}

.frontpage .expertises .expertise .imgContainer img{
    aspect-ratio: 1;
    display: block;
    z-index: 2;
    position: relative;
}

.frontpage .expertises .expertise figcaption .certification{
    margin-bottom: 35px;
    max-width: 100px;
}

.frontpage .expertises .expertise figcaption .surtitre{
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-weight: 800;
}

.frontpage .expertises .expertise figcaption .titre{
    font-size: 60px;
    line-height: 65px;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: -3px;
}

.frontpage .expertises .expertise figcaption .paragraphe,
.frontpage .expertises .expertise figcaption .paragraphe p{
    font-weight: 500;
}

.frontpage .expertises .expertise figcaption .btn{
    margin-top: 35px;
}

@media (max-width: 1500px){
    .frontpage .expertises .expertise{
        gap: 100px;
    }
    .frontpage .expertises .expertise figcaption .titre{
        font-size: 50px;
        line-height: 55px;
        margin-bottom: 20px;
    }
    .frontpage .expertises .expertise figcaption .surtitre{
        font-size: 24px;
        line-height: 30px;
    }
    .frontpage .expertises .expertise figcaption .certification{
        margin-bottom: 20px;
        max-width: 80px;
    }
}

@media (max-width: 1200px){
    .frontpage .expertises{
        padding-inline: 10%;
    }
    .frontpage .expertises .expertise{
        gap: 70px;
    }
    .frontpage .expertises .expertise figcaption .titre{
        font-size: 46px;
        line-height: 51px;
    }
    .frontpage .expertises .expertise figcaption .surtitre{
        font-size: 20px;
        line-height: 24px;
    }
}

@media (max-width: 992px){
    .frontpage .expertises{
        gap: 110px;
        padding-inline: 80px;
        padding-block: 70px 100px;
    }
    .frontpage .expertises .expertise{
        flex-direction: column-reverse !important;
        gap: 55px;
    }
    .frontpage .expertises .expertise .imgContainer,
    .frontpage .expertises .expertise figcaption{
        width: 100%;
    }
    .frontpage .expertises .expertise .imgContainer{
        display: flex;
        justify-content: end;
    }
    .frontpage .expertises .expertise:nth-child(even) .imgContainer{
        justify-content: start;
    }
    .frontpage .expertises .expertise .imgContainer img{
        width: calc(100% - 40px);
    }
    .frontpage .expertises .expertise .imgContainer::after{
        left: 0px;
    }
    .frontpage .expertises .expertise:nth-child(even) .imgContainer::after{
        left: auto;
        right: 0px;
    }
}

@media (max-width: 800px){
    .frontpage .expertises{
        padding-inline: 36px;
    }
}

@media (max-width: 500px){
    .frontpage .expertises .expertise .imgContainer img{
        width: calc(100% - 25px);
    }
    .frontpage .expertises .expertise .imgContainer::after{
        bottom: -25px;
    }
}