.refonte-main-hero {
    padding-bottom: 0;
}

.max-w-container {
    max-width: 1700px;
    margin: 0 auto;
}

.outil-content-container {
    padding-top: 60px;
    padding-bottom: 60px;
}

.outil-hero-content {
    position: relative;
    z-index: 2;
}

.br-display {
    display: none;
}

.main-hero-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 60px;
}

.outil-hero-image {
    display: block;
    max-width: 600px;
}

.outil-reasons-section-heading {
    margin: 3em 0;
    border-left: 3px solid var(--primary);
    padding: 0.5em;
}

.outil-description {
    padding-bottom: 32px;
    color: var(--white);
    background-color: #af1e19;
}

.outil-content-details {
    display: grid;
    gap: 3em;
}

.outil-content-details .col-2 img {
    max-width: 400px;
}

.refonte-optimisation-list {
    margin-top: 4em;
}

.refonte-article-text {
    width: 100%;
}

.refonte-last-article {
    flex-direction: column-reverse;
}

.refonte-article-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-work-slider {
    position: relative;
    z-index: 1;
}

.home-work-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}

.home-work-slider-nav-btn {
    height: 40px;
    width: 40px;
    border-radius: 8px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-out;
}

.home-work-slider-nav-btn:hover {
    background-color: var(--white);
    color: var(--primary);
}

.home-work-slider-nav-btn svg {
    height: 50%;
}

.refonte-projects {
    padding-bottom: 120px;
}

.refonte-work-section {
    margin: 120px auto;
}

.refonte-work-actions {
    text-align: center;
}

.red-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 70%;
    width: 90%;
    background-color: var(--primary);
    z-index: -1;
    max-width: 900px;
}

.refonte-banner-wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
    width: 100%;
    background-color: var(--light-gray);
}

.refonte-banner-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.outil-reasons-list li {
    position: relative;
    padding-bottom: 2em;
}
.outil-reasons-list li:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 60%;
    border-bottom: 3px solid var(--primary);
}
.outil-reasons-list li:last-child::after {
    border-bottom: 0;
}

@media only screen and (min-width: 768px) {
    .outil-reasons-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1em;
    }

    .outil-reasons-list li:last-child::after {
        border-bottom: 3px solid var(--primary);
    }
}

@media only screen and (min-width: 1024px) {
    .refonte-main-hero {
        padding-bottom: 226px;
    }

    .outil-reasons-list {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2em;
    }

    .outil-description {
        padding-bottom: 30px;
    }

    .outil-content-container {
        padding-bottom: 108px;
    }

    .outil-content-details {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: 80px 0 80px;
    }

    .outil-content-details .col-2 img {
        margin-left: auto;
        max-width: fit-content;
    }

    .refonte-optimisation-main-heading {
        font-size: 33px;
        margin-bottom: 2em;
    }

    .refonte-optimisation-list {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2em;
    }

    .br-display {
        display: inline;
    }

    .main-hero-container {
        gap: 0;
        flex-direction: row;
    }

    .outil-hero-image {
        display: block;
        position: absolute;
        right: 0;
        top: -40%;
        z-index: 1;
        width: 70%;
        max-width: 630px;
    }

    .outil-hero-content {
        max-width: 50%;
    }

    .refonte-banner-text {
        width: 50%;
    }

    .refonte-banner-content {
        flex-direction: row;
    }

    .refonte-article-image,
    .refonte-article-text {
        width: 50%;
    }

    .home-work-slider-nav {
        padding: 0;
    }
}

@media only screen and (min-width: 1500px) {
    .outil-hero-image {
      max-width:830px;
    }
  }
