/* ==========================================================================
   Réalisations — conteneur
   ========================================================================== */
.home_realisations {
    display: flex;
    width: 100%;
    justify-content: center;
    background: #FFFFFF;
    padding: 60px 0px;
}

.home_realisations_sized {
    display: flex;
    width: calc(100% - 10px);
    max-width: 1600px;
    flex-direction: column;
    align-items: center;
}

.home_realisations_top {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.home_realisations_top h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home_realisations_top h2 > div:nth-child(1) {
    width: 70px;
}

.home_realisations_top h2 > div:nth-child(1) > img {
    max-width: 100%;
}

.home_realisations_top h2 > div:nth-child(2) {
    width: calc(100% - 70px);
    text-align: left;
    font: normal normal bold 35px/40px OS_Bold;
    letter-spacing: 0px;
    color: #000000;
    text-transform: uppercase;
}

/* ==========================================================================
   Grille de réalisations
   Colonnes pilotées par `width` (%) + `min-width` (garde-fou) : 5 colonnes
   par défaut, réduites par palier via les breakpoints ci-dessous.
   ========================================================================== */
.home_realisations_s {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

.home_realisations_i {
    width: 20%;
    min-width: 300px;
}

.home_realisations_i_sized {
    display: flex;
    width: calc(100% - 20px);
    aspect-ratio: 350 / 300;
    transform: skew(-10deg, 0deg);
    border-radius: 80px 0px 80px 0px;
    overflow: hidden;
    align-items: flex-end;
    background-size: cover;
    text-decoration: none;
}

.home_realisations_i_sized > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    background: #100D08a3;
    transform: skew(10deg, 0deg);
    padding: 40px 30px;
    box-sizing: border-box;
    text-align: left;
    font: normal normal bold 22px/26px OS_Bold;
    letter-spacing: 0px;
    color: #FFFFFF;
}

/* ==========================================================================
   Responsive — Tablette (≤ 1024px)
   ~3 colonnes
   ========================================================================== */
@media (max-width: 1024px) {
    .home_realisations_top h2 {
        justify-content: center;
    }

    .home_realisations_top h2 > div:nth-child(2) {
        width: unset;
        font: normal normal bold 30px/36px OS_Bold;
    }

    .home_realisations_i {
        width: 33.333%;
        min-width: 260px;
    }

    .home_realisations_i_sized {
        border-radius: 60px 0px 60px 0px;
    }

    .home_realisations_i_sized > span {
        height: 90px;
        padding: 28px;
        font: normal normal bold 21px/24px OS_Bold;
    }
}

/* ==========================================================================
   Responsive — Mobile large (≤ 768px)
   ~2 colonnes
   ========================================================================== */
@media (max-width: 768px) {
    .home_realisations {
        padding: 30px 0px;
    }

    .home_realisations_top h2 > div:nth-child(1) {
        width: 50px;
    }

    .home_realisations_top h2 > div:nth-child(2) {
        font: normal normal bold 26px/32px OS_Bold;
    }

    .home_realisations_i {
        width: 50%;
        min-width: 220px;
    }

    .home_realisations_i_sized {
        border-radius: 40px 0px 40px 0px;
    }

    .home_realisations_i_sized > span {
        height: 80px;
        padding: 20px;
        font: normal normal bold 19px/22px OS_Bold;
    }
}

/* ==========================================================================
   Responsive — Mobile petit (≤ 480px)
   2 colonnes — l'inclinaison (skew) est retirée : sur une carte deux fois
   plus étroite, elle déforme le texte du bandeau et fait dépasser les coins.
   ========================================================================== */
@media (max-width: 480px) {
    .home_realisations_top h2 > div:nth-child(2) {
        font: normal normal bold 20px/26px OS_Bold;
    }

    .home_realisations_i {
        width: 50%;
        min-width: 140px;
    }

    .home_realisations_i_sized {
        transform: none;
        border-radius: 24px 0px 24px 0px;
    }

    .home_realisations_i_sized > span {
        transform: none;
        height: 60px;
        padding: 10px;
        font: normal normal normal 18px/24px OS_Bold;
    }
}


/* rajout */
.home_realisations_slider_position {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

.home_realisations_slider_position_i {
    background: #1D7FC7;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 5px;
}

.home_realisations_slider_position_i.active {
    background: #E20914;
}