.reprise_registration {
    display: flex;
}

.reprise-email-wrapper {
    position: relative;
    display: flex;
}

.email-error-text {
    position: absolute;
    left: 25px;
    top: 100%;
    color: red;
    font-size: 12px;
    line-height: 16px;
}

.reprise__steps {
    width: 100%;
    bottom: 0;
    transform: translateY(50%);
    max-height: 130px;
    padding: 25px 0;
    background: white;
    box-shadow: 0 3px 6px #00000029;
    border-radius: 20px;
    color: #000;
    font-size: 16px;
    line-height: 19px;
    font-weight: 700;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.description__block {
    max-width: 500px;
    width: 100%;
    height: 470px;
    color: #ffffff;
    border-radius: 20px;
    font-size: 16px;
    line-height: 24px;
    padding: 30px 65px 35px 115px;
    box-sizing: border-box;
    position: relative;
    background-color: #323440;
}

.description__block-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    opacity: 0.1;
}

.description__block:first-child .description__block-background {
    background-image: url('/assets/img/reprise/un-reseau-de-plus-de-250-concessions.jpg');
}

.description__block:last-child .description__block-background {
    background-image: url('/assets/img/reprise/proche-de-chez-vous-ou-que-vous-soyez.jpg');
}

.description__block-img {
    position: absolute;
}

.description__block:first-child .description__block-img {
    width: 210px;
    top: 185px;
    left: 0;
    transform: translateX(-60%);
}

.description__block:last-child .description__block-img {
    width: 135px;
    top: 45px;
    right: 0;
    transform: translateX(50%);
}

.description__block-title {
    font-size: 28px;
    line-height: 32px;
    font-weight: 600;
    margin-bottom: 15px;
}

.description__block-or {
    font-size: 28px;
    line-height: 108px;
    font-weight: 600;
    background-color: #E0F5FF;
    box-shadow: 0 3px 20px #00000029;
    border-radius: 100%;
    max-height: 100px;
    z-index: 2;
    width: 100%;
    max-width: 100px;
    text-align: center;
    color: #424242;
    margin: 0 -15px;
}

/*HOW IT WORKS*/
.howitworks {
    padding-top: 125px;
    text-align: center;
    background: #F8F9FB;
}

.howitworks__title {
    font-size: 28px;
    line-height: 32px;
    font-weight: 600;
}

.howitworks__steps{
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    padding-bottom: 80px;
    background-image: url('/assets/img/reprise/chemin-pointilles.svg');
    background-repeat: no-repeat;
    background-position: 50% 40%;
}

.step {
    max-width: 250px;
    width: 100%;
    position: relative;
    background-color: #fff;
    box-shadow: 0 6px 6px #0000001A;
    border-radius: 20px;
    padding: 10px 20px 20px;
    box-sizing: border-box;
}

.step__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    color: #424242;
    align-items: center;
}

.step__content-img {
    margin: 20px 0 30px;
}

.step__title {
    font-size: 18px;
    line-height: 21px;
    font-weight: 700;
}

.step__subtitle {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    margin: 0;
}

.step__subtitle--sub {
    font-size: 12px;
    line-height: 14px;
    font-weight: 600;
    margin: 10px 0 0;
}

.reprise__advantage {
    max-width: 900px;
    margin: 145px auto 85px;
}

.reprise__advantage-title {
    font-size: 28px;
    line-height: 32px;
    font-weight: 600;
}

.reprise__advantage-content {
    display: flex;
    align-items: center;
    margin-top: 60px;
}

.reprise__advantage-text {
    font-size: 16px;
    line-height: 24px;
}

.reprise__advantage-img {
    width: 100%;
    max-width: 430px;
    margin-left: 35px;
    border-radius: 20px;
}

.reprise__faq-wrapper {
    margin-bottom: 110px;
}

.reprise__faq {
    border-top: 1px solid #D4D4D4;
    padding: 15px 0;
}

.reprise__faq:last-child {
    border-bottom: 1px solid #D4D4D4;
}

.reprise__faq-title {
    font-size: 20px;
    line-height: 20px;
    font-weight: 600;
}

.reprise__faq-content {
    display: flex;
    margin-top: 35px;
    font-size: 16px;
    line-height: 20px;
    align-items: flex-start;
}

.reprise__faq-img {
    max-width: 330px;
    border-radius: 20px;
    margin-right: 35px;
    width: 100%;
}

.fin-gris-clair-background {
    border: none;
    padding: 65px 0 80px;
    margin-bottom: 60px;
}
.fin-gris-clair-background h2 {
    font-size: 28px;
    line-height: 60px;
    margin-bottom: 40px;
    color: #000;
}

@media screen and (min-width: 768px) {
    .description__block:first-child {
        margin-bottom: -190px;
    }

    .description__block:last-child {
        padding-left: 50px;
        padding-right: 120px;
    }
}

@media screen and (max-width: 767px) {
    .reprise_registration {
        margin-top: 10px;
        width: 100%;
    }

    .email-error-text {
        left: 0;
    }

    .reprise__steps {
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
        height: 300px;
        max-height: 300px;
        width: calc(100% - 30px);
        position: absolute;
        left: 15px;
        padding: 15px;
    }

    .reprise__steps .reprise__step {
        width: 48%;
        max-width: unset;
        align-items: baseline;
        text-align: left;
    }

    .reprise__steps .reprise__step:first-child {
        margin-bottom: 20px;
    }

    .reprise__steps .reprise__step .reprise__step-title-wrapper {
        flex-direction: row;
        align-items: baseline;
    }

    .reprise__steps .reprise__step img {
        height: 25px;
        margin-right: 10px;
    }

    .description__block {
        padding: 20px;
        font-size: 14px;
        line-height: 20px;
        height: fit-content;
    }

    .description__block-title {
        font-size: 20px;
        line-height: 24px;
    }

    .description__block-img {
        position: unset;
        margin-bottom: 15px;
    }

    .description__block:first-child .description__block-img {
        width: 95px;
        transform: unset;
    }

    .description__block:last-child .description__block-img {
        width: 55px;
        transform: unset;
    }

    .description__block:last-child .description__block-background {
        background-size: cover;
        background-position: right;
    }

    .description__block-or {
        margin: -15px 0;
    }

    .howitworks {
        padding: 170px 0 20px;
    }
    .howitworks__title {
        font-size: 20px;
        line-height: 24px;
        padding:0 20px;
    }

    .howitworks__steps {
        display: block;
        padding: 0;
        background-image: none;
        margin-top: 15px;
    }

    .howitworks__steps .slick-dots li.slick-active button:before {
        color: #1167ff;
    }

    .howitworks__steps .slick-dots {
        bottom: -34px;
    }

    .howitworks__steps .slick-track {
        background-image: url('/assets/img/reprise/chemin-pointilles.svg');
        background-repeat: no-repeat;
        background-position: 50% 40%;
    }

    .step {
        max-width: 250px;
        margin: 0 8px 10px;
        height: 270px;
    }

    .step__title{
        font-size: 16px;
        line-height: 19px;
    }
    .step__subtitle{
        font-size: 14px;
        line-height: 18px;
    }

    .step__content-img {
        margin: 15px 0 20px;
    }

    .reprise__advantage {
        padding: 0 20px;
        margin: 25px 0 35px;
    }

    .reprise__advantage-title {
        font-size: 20px;
        line-height: 24px;
        text-align: center;
    }

    .reprise__advantage-content {
        flex-direction: column;
        margin-top: 20px;
    }

    .reprise__advantage-img {
        margin-left: 0;
        margin-top: 25px;
    }

    .reprise__faq-wrapper {
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .reprise__faq-title {
        display: block;
        padding-right: 25px;
    }

    .reprise__faq-content {
        flex-direction: column;
        margin-top: 10px;
    }

    .reprise__faq-img {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .fin-gris-clair-background {
        padding: 25px 0 30px;
    }

    .fin-gris-clair-background h2 {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 10px;
    }
}