
/* -------------------------- GÉNÉRAL -------------------------- */

.frontpage .sectionBlocs1{
    padding-block: 150px 90px;
}

.pageReseauxFornel .sectionBlocs1{
    padding-block: 130px 120px;
}

.sectionBlocs1 .grille{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px 90px;
}

@media (max-width: 992px){
    .frontpage .sectionBlocs1{
        padding-block: 70px;
    }
    .pageReseauxFornel .sectionBlocs1{
        padding-block: 70px 90px;
    }
    .sectionBlocs1 .grille{
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* -------------------------- EN TÊTE -------------------------- */

.sectionBlocs1 .entete{
    grid-row: span 1;
    margin-inline: auto;
    max-width: 450px;
}

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

.sectionBlocs1 .entete .titre{
    font-size: 43px;
    line-height: 50px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.sectionBlocs1 .entete .btn{
    margin-top: 24px;
}

@media (max-width: 1300px){
    .sectionBlocs1 .entete .titre{
        font-size: 33px;
        line-height: 40px;
    }
}

@media (max-width: 992px){
    .sectionBlocs1 .entete .titre{
        font-size: 30px;
        line-height: 35px;
        margin: 0px;
    }
    .sectionBlocs1 .entete{
        max-width: none;
    }
}

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

.sectionBlocs1 .bloc{
    aspect-ratio: 1;
    grid-row: span 2;
}

.sectionBlocs1 .bloc a{
    display: flex;
    align-items: end;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.sectionBlocs1 .bloc a img{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
    transition: 300ms ease;
    scale: 1;
}

.sectionBlocs1 .bloc figcaption{
    background-color: #fff;
    padding: 50px 80px 50px 60px;
    border-radius: 0px 24px 0px 0px;
    height: fit-content;
    max-width: 65%;
    margin-left: -1px;
    margin-bottom: -1px
}

.sectionBlocs1 .bloc figcaption .titre{
    font-size: 32px;
    line-height: 38px;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 16px;
}

.sectionBlocs1 .bloc figcaption .paragraphe{
    margin-bottom: 24px;
}

.sectionBlocs1 .bloc figcaption .paragraphe *{
    color: var(--black);
}

@media (max-width: 1600px){
    .sectionBlocs1 .bloc figcaption{
        padding: 40px;
        max-width: 70%;
    }
}

@media (max-width: 1300px){
    .sectionBlocs1 .bloc figcaption{
        max-width: 80%;
    }
    .sectionBlocs1 .bloc figcaption .titre{
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 10px;
    }
}

@media (min-width: 993px){
    .sectionBlocs1 .bloc:hover a img{
        transition: 300ms ease;
        scale: 1.1;
    }
    .sectionBlocs1 .bloc:hover .btn{
        background-color: var(--primary);
        transition: 300ms ease;
        color: #fff;
        border-color: var(--primary);
    }
}

@media (max-width: 992px){
    .sectionBlocs1 .bloc{
        aspect-ratio: 340/440;
    }
    .sectionBlocs1 .bloc figcaption{
        padding: 32px;
    }
    .sectionBlocs1 .bloc figcaption .titre{
        font-size: 25px;
        line-height: 29px;
        margin-bottom: 16px;
    }
}

/* -------------------------- TEMPLATE ENTREPRISE MODIFICATIONS -------------------------- */

.templateEntreprise .sectionBlocs1 .grille{
    display: block;
}

.templateEntreprise .sectionBlocs1 .bloc{
    grid-column: initial;
    grid-row: initial;
    aspect-ratio: auto;
}

.templateEntreprise .sectionBlocs1 .bloc:not(:last-child){
    margin-bottom: 70px;
}

.templateEntreprise .sectionBlocs1 .bloc a{
    display: block;
}

.templateEntreprise .sectionBlocs1 .bloc figcaption{
    margin-top: 20%;
    max-width: 55%;
}

@media (max-width: 1300px){
    .templateEntreprise .sectionBlocs1 .bloc figcaption{
        max-width: 80%;
    }
}