
/* -------------------------- CONTAINER SLOGAN -------------------------- */

.containerSlogan{
    background-image: url(/wp-content/themes/fornel/img/slogan.svg);
    background-color: #fff;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: 80%;
}

.sectionHeader + section,
.frontpage .containerSlogan{
    margin-top: -50px;
    border-radius: 40px 40px 0px 0px;
    z-index: 2;
    position: relative;
    background-color: #fff;
}

@media (max-width: 992px) {
    .containerSlogan{
        background-size: 90%;
    }
}

@media (max-width: 600px) {
    .sectionHeader + section,
    .frontpage .containerSlogan{
        border-radius: 20px 20px 0px 0px;
    }
    .containerSlogan{
        background: none;
    }
}

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

.frontpage .section2{
    padding-bottom: 110px;
}

.frontpage .section2 .section2Container{
    padding: 52px 70px;
    background-color: var(--tertiary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 140px;
}

.frontpage .section2 .section2Container .left{
    width: 35%;
    min-width: 350px;
}

.frontpage .section2 .section2Container .right{
    width: 65%;
}

.frontpage .section2 .section2Container .titre{
    font-size: 43px;
    line-height: 50px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.frontpage .section2 .section2Container .logo{
    margin-bottom: 24px;
}

.frontpage .section2 .section2Container .paragraphe{
    margin-bottom: 24px;
}

.frontpage .section2 .section2Container .paragraphe *{
    color: var(--primary);
}

.frontpage .section2 .section2Container .image{
    border-radius: 24px;
    width: 100%;
    height: auto;
    aspect-ratio: 700/600;
}

@media (max-width: 1600px) {
    .frontpage .section2 .section2Container{
        gap: 70px;
    }
    .frontpage .section2 .section2Container .titre{
        font-size: 38px;
        line-height: 45px;
    }
}

@media (max-width: 992px) {
    .frontpage .section2 .section2Container{
        flex-direction: column;
        gap: 32px;
    }
    .frontpage .section2 .section2Container .left,
    .frontpage .section2 .section2Container .right{
        width: 100%;
        min-width: 0px;
    }
}

@media (max-width: 800px) {
    .frontpage .section2{
        padding-bottom: 40px;
    }
    .frontpage .section2 .section2Container{
        padding: 24px;
    }
    .frontpage .section2 .section2Container .titre{
        font-size: 30px;
        line-height: 35px;
    }
}

/* -------------------------- SECTION 4 -------------------------- */

.frontpage .section4{
    padding-block: 100px;
}

.frontpage .section4 > .container{
    display: flex;
    gap: 75px;
}

.frontpage .section4 .right{
    width: 45%;
}

.frontpage .section4 .right .surTitre{
    font-size: 16px;
    line-height: 22px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.frontpage .section4 .right .titre{
    font-size: 43px;
    line-height: 50px;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.frontpage .section4 .right .paragraphe{
    margin-bottom: 30px;
}

.frontpage .section4 .right .rapport{
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    line-height: 22px;
    color: var(--primary);
    text-decoration: underline !important;
    font-weight: 600;
    margin-bottom: 34px;
}

.frontpage .section4 .left{
    width: 55%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.frontpage .section4 .case{
    background-color: var(--tertiary);
    border-radius: 24px;
    padding: 50px 40px;
}

.frontpage .section4 .case1,
.frontpage .section4 .case2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.frontpage .section4 .case3{
    grid-column: span 2;
}

.frontpage .section4 .case3 > p{
    font-size: 28px;
    line-height: 33px;
    color: var(--primary);
    font-family: "alwyn-new-web", sans-serif;
    margin-bottom: 20px;
}

.frontpage .section4 .case3 .logos{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.frontpage .section4 .case3 .logos .logo{
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.frontpage .section4 .case .titre,
.frontpage .section4 .case .titre span{
    font-size: 80px;
    line-height: 80px;
    margin-bottom: 3px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    font-family: "alwyn-new-web", sans-serif;
}

.frontpage .section4 .case .paragraphe,
.frontpage .section4 .case .paragraphe *{
    font-size: 23px;
    line-height: 28px;
    color: var(--primary);
    text-align: center;
    font-family: "alwyn-new-web", sans-serif;
}

@media (max-width: 1600px) {
    .frontpage .section4 .case .titre,
    .frontpage .section4 .case .titre span{
        font-size: 50px;
        line-height: 50px;
    }
    .frontpage .section4 .case .paragraphe,
    .frontpage .section4 .case .paragraphe *{
        font-size: 20px;
        line-height: 25px;
    } 
    .frontpage .section4 .case3 > p{
        font-size: 23px;
        line-height: 28px;
    }
}

@media (max-width: 1300px) {
    .frontpage .section4 .case3 .logos,
    .frontpage .section4 .left{
        grid-template-columns: repeat(2, 1fr);
    }
    .frontpage .section4 .right .titre{
        font-size: 35px;
        line-height: 42px;
    }
}

@media (max-width: 992px) {
    .frontpage .section4{
        padding-block: 40px;
    }
    .frontpage .section4 > .container{
        gap: 36px;
        flex-direction: column-reverse;
    }
    .frontpage .section4 .right,
    .frontpage .section4 .left{
        width: 100%;
    }
    .frontpage .section4 .case3 .logos{
        grid-template-columns: repeat(3, 1fr);
    }
    .frontpage .section4 .right .titre{
        font-size: 30px;
        line-height: 35px;
    }
    .frontpage .section4 .case3 .logos,
    .frontpage .section4 .left{
        gap: 20px;
    }
    .frontpage .section4 .case .titre,
    .frontpage .section4 .case .titre span{
        margin-bottom: 8px;
    }
    .frontpage .section4 .right .paragraphe,
    .frontpage .section4 .right .rapport{
        margin-bottom: 24px;
    }
    .frontpage .section4 .case .paragraphe,
    .frontpage .section4 .case .paragraphe *,
    .frontpage .section4 .case3 > p{
        font-size: 18px;
        line-height: 21px;
    } 
    .frontpage .section4 .case{
        border-radius: 12px;
        padding: 22px 36px;
    }
}

@media (max-width: 600px) {
    .frontpage .section4 .case3 .logos{
        grid-template-columns: repeat(2, 1fr);
    }
    .frontpage .section4 .case3{
        grid-column: span 1;
    }
    .frontpage .section4 .left{
        grid-template-columns: 1fr;
    }
}



/* -------------------------- SECTION 5 -------------------------- */

.frontpage .section5{
    padding-block: 60px 100px;
    max-width: 1260px;
}

.frontpage .section5 h2{
    font-size: 43px;
    line-height: 50px;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    text-align: center;
}

.frontpage .section5 > .btn{
    margin-inline: auto;
    margin-bottom: 40px;
}

.frontpage .section5 .articles{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 800px) {
    .frontpage .section5{
        padding-block: 30px 90px;
    }
    .frontpage .section5 h2{
        font-size: 30px;
        line-height: 35px;
    }
    .frontpage .section5 .articles{
        grid-template-columns: 1fr;
        gap: 50px;
    }
}