
/* --------------------------------- BLOCS --------------------------------- */

.templateEngagements .section1.blocs{
    padding-top: 150px;
}

.templateEngagements .section1.blocs .container{
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.templateEngagements .section1.blocs .bloc{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.templateEngagements .section1.blocs .bloc .image{
    aspect-ratio: 680 / 510;
    border-radius: 24px;
    height: 100%;
}

.templateEngagements .section1.blocs .bloc:nth-child(odd) .image {
    order: 2;
}

.templateEngagements .section1.blocs .bloc figcaption{
    border-radius: 24px;
    background-color: var(--tertiary);
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    position: relative;
    padding: 70px 100px 70px 260px;
}

.templateEngagements .section1.blocs .bloc figcaption .titre{
    font-size: 32px;
    line-height: 38px;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 16px;
    z-index: 1;
}

.templateEngagements .section1.blocs .bloc figcaption .paragraphe{
    z-index: 1;
}

.templateEngagements .section1.blocs .bloc figcaption .chiffre{
    color: #BDDAF3;
    font-size: 300px;
    line-height: 300px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    z-index: 0;
    font-family: "alwyn-new-web", sans-serif;
}

.templateEngagements .section1.blocs .bloc figcaption .btn{
    margin-top: 24px;
    z-index: 1;
}

.templateEngagements .section1.blocs .bloc figcaption .logo{
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    height: auto;
    width: 100%;
    max-width: 150px;
}

@media (max-width: 1600px) {
   .templateEngagements .section1.blocs .bloc figcaption .chiffre{
        font-size: 250px;
        line-height: 250px;
        left: 40px;
    } 
    .templateEngagements .section1.blocs .bloc figcaption .titre{
        font-size: 28px;
        line-height: 34px;
    }
    .templateEngagements .section1.blocs .bloc figcaption{
        padding: 70px 70px 70px 240px;
    }
}

@media (max-width: 1200px) {
   .templateEngagements .section1.blocs .bloc figcaption .chiffre{
        font-size: 200px;
        line-height: 200px;
    } 
    .templateEngagements .section1.blocs .bloc figcaption{
        padding: 70px 70px 70px 220px;
    }
    .templateEngagements .section1.blocs .bloc figcaption .logo{
        max-width: 130px;
        left: 45px;
    }
}

@media (max-width: 992px) {
    .templateEngagements .section1.blocs{
        padding-top: 70px;
    }
    .templateEngagements .section1.blocs .container{
        gap: 40px;
    }
    .templateEngagements .section1.blocs .bloc{
        grid-template-columns: 1fr;
    }
    .templateEngagements .section1.blocs .bloc .image{
        border-radius: 12px;
        order: 2 !important;
    }
    .templateEngagements .section1.blocs .bloc figcaption{
        border-radius: 12px;
        padding: 40px 30px;
    }
    .templateEngagements .section1.blocs .bloc figcaption .titre{
        font-size: 24px;
        line-height: 28px;
    }
    .templateEngagements .section1.blocs .bloc figcaption .chiffre{
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.3;
    }
    .templateEngagements .section1.blocs .bloc figcaption .logo{
        position: relative;
        top: initial;
        left: initial;
        transform: none;
        max-width: 120px;
        margin-bottom: 24px;
    }
}