/* ==========================================================================
   Success — conteneur
   ========================================================================== */
.home_success {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 40px 0px 100px 0px;
}

.home_success_sized {
    display: flex;
    width: calc(100% - 20px);
    max-width: 1440px;
    justify-content: space-between;
    background-image: url("/wp-content/themes/webstudios/assets/img/trace_home_success.svg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 400px;
}

/* ==========================================================================
   Image
   ========================================================================== */
.home_success_img {
    display: flex;
    width: calc(40% - 20px);
    overflow: hidden;
}

.home_success_img img {
    width: 100%;
    border-radius: 100px 0px 100px 0px;
    overflow: hidden;
    max-width: 600px;
}

/* ==========================================================================
   Texte
   ========================================================================== */
.home_success_txt {
    display: flex;
    width: calc(60% - 20px);
    overflow: hidden;
    flex-direction: column;
}

.home_success_txt h2 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

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

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

.home_success_txt 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;
    max-width: 500px;
}

.home_success_txt > div {
    display: block;
    text-align: left;
    font: normal normal normal 20px/26px OS_Regular;
    letter-spacing: 0px;
    color: #100C06;
    max-width: 670px;
}

.home_success_txt > div ul {
    list-style: circle;
}

/* "list-item-color" n'est pas une propriété CSS valide : la couleur des
   puces se fixe via le pseudo-élément ::marker. */
.home_success_txt > div ul li::marker {
    color: #E20914;
}

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

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

    .home_success_img img {
        border-radius: 70px 0px 70px 0px;
    }
}

/* ==========================================================================
   Responsive — Mobile large (≤ 768px)
   L'image passe au-dessus du texte, les deux en pleine largeur.
   ========================================================================== */
@media (max-width: 768px) {
    .home_success {
        padding: 30px 0px 60px 0px;
    }

    .home_success_sized {
        flex-direction: column;
        gap: 30px;
    }

    .home_success_img,
    .home_success_txt {
        width: 100%;
    }

    .home_success_img img {
        max-width: 100%;
        border-radius: 50px 0px 50px 0px;
    }

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

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

    .home_success_txt > div {
        max-width: 100%;
        font: normal normal normal 18px/24px OS_Regular;
    }
}

/* ==========================================================================
   Responsive — Mobile petit (≤ 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .home_success {
        padding: 20px 0px 45px 0px;
    }

    .home_success_img img {
        border-radius: 30px 0px 30px 0px;
    }

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

    .home_success_txt > div {
        font: normal normal normal 18px/24px OS_Regular;
        text-align: justify;
    }
}