.hdp.section {
    margin: -174px 0px 15px 0px;
    color: var(--white);
    transition: background-color 0.5s ease;
    position: relative;
    padding: 174px 0px 85px 0px;

    @media (min-width: 768px) {
        margin: -174px 15px 15px 15px;
    }

    @media (max-width: 992px) {
        padding: 174px 0px 65px 0px !important;
    }

    &:after {
        content: '';
        background-repeat: no-repeat;
        bottom: 0;
        left: 0;
        position: absolute;
        width: 80%;
        height: 70%;
        background-position: left bottom;
        transition: all var(--transition);
        z-index: 1;
    }

    &.rouge {
        background-color: var(--red);
    }

    &.orange {
        background-color: var(--orange);
    }

    &.jaune {
        background-color: var(--yellow);
    }

    &.violet {
        background-color: var(--violet);
    }

    &.vert_clair {
        background-color: var(--green-dark2);
    }

    &.vert_fonce {
        background-color: var(--green-dark1);
    }

    &.vert_anis {
        background-color: #AEDE32;
    }

    &.vague_rouge {
        &:after {
            background-image: url(../../img/wave_rouge.svg);
        }
    }

    &.vague_jaune {
        &:after {
            background-image: url(../../img/wave_jaune.svg);
        }
    }

    &.vague_violet {
        &:after {
            background-image: url(../../img/wave_violet.svg);
        }
    }

    &.vague_orange {
        &:after {
            background-image: url(../../img/wave_orange.svg);
        }
    }

    &.vague_vert_clair {
        &:after {
            background-image: url(../../img/wave_vert_clair.svg);
        }
    }

    &.vague_vert_fonce {
        &:after {
            background-image: url(../../img/wave_vert_fonce.svg);
        }
    }

    &.vague_vert_anis {
        &:after {
            background-image: url(../../img/wave_vert_anis.svg);
        }
    }

    .container {
        height: 100%;
        position: relative;
        z-index: 2;
        margin-top: 50px;

        .hdp__content {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;

            @media (max-width: 992px) {
                flex-direction: column;
                gap: 40px;
            }

            .content_text {
                display: flex;
                flex-direction: column;
                text-align: left;
                gap: 20px;

                @media (max-width: 992px) {
                    width: 100% !important;
                }

                .hdp__title {
                    h3 {
                        text-transform: uppercase;
                        font-family: var(--title-font-hdp);
                        font-size: 44px;
                        margin: 0 0 10px 0;
                    }

                    h1 {
                        font-family: var(--curvy-font);
                        margin: 0;
                        hyphens: auto;
                    }
                }

                @media (min-width: 992px) {
                    .hdp__intro {
                        padding-right: 200px;
                    }
                }
            }

            .content_media {
                flex: 1;
                display: flex;

                .hdp__img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
        }
    }
}