.hdp {
    &.home {
        color: #fff;
        padding: 150px 0;
        position: relative;
        min-height: 400px;
        align-items: center;
        display: flex;

        @media (min-width: 992px) {
            min-height: 800px;
        }

        .hdp__intro {
            h2 {
                font-weight: var(--regular) !important;
            }
        }
    }

    &.hdp--section {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        min-height: 280px;
        display: flex;
        padding: 80px 0 20px 0;

        @media (min-width: 992px) {
            min-height: 560px;
            padding: 150px 0 20px 0;
        }

        &:has(.hdp__content.up) {
            align-items: start;
        }

        &:has(.hdp__content.center) {
            align-items: center;
        }

        &:has(.hdp__content.bottom) {
            align-items: end;
        }

        &:not(.single) {
            background-image: url('../../img/bg_hdp.jpg');

            .container {
                h1 {
                    margin: 10px 0 10px auto;
                    @media (min-width: 1399px) {
                        max-width: 60%;
                    }
                }

                .hdp__intro {
                    margin: 0 0 0 auto;
                    @media (min-width: 1399px) {
                        max-width: 60%;
                    }

                    .cta {
                        &:has(.bouton+.bouton, .bouton+.bouton--alt, .bouton--alt+.bouton, .bouton--alt+.bouton--alt) {
                            display: flex;
                            justify-content: center;
                            gap: 16px;
                        }
                    }
                }

                .hdp__elements_bas {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 16px;
                    margin-bottom: 32px;
                }
            }
        }

        &.single {
            background-image: url('../../img/bg_single.jpg');

            .container {
                h1 {
                    color: var(--main-color-2);
                    margin: 20px auto 0 auto !important;
                }

                h2 {
                    color: var(--white);
                    font-size: 40px;
                    line-height: 46px;
                    font-weight: var(--extrabold);
                    font-style: italic;

                    @media (min-width: 992px) {
                        font-size: 52px;
                        line-height: 60px;
                    }
                }
            }
        }

        .container {
            color: var(--dark);
            position: relative;

            .hdp__content {
                text-align: right;

                * {
                    text-align: right;
                    color: var(--white);
                    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.55);
                }

                .hdp__elements_surtitre {
                    display: flex;
                    justify-content: center;

                    .cta.surtitre {
                        &:has(img) {
                            width: 41px !important;
                            height: 41px !important;
                            padding: 0px 2px !important;

                            &:not(:first-child) {
                                margin-left: -10px;
                            }
                        }
                    }
                }
            }
        }
    }
}