.hdp {

    &.home {
        color: var(--white);
    }

    &:not(.home) {
        &.hdp--head {
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            z-index: 2;
            padding: 0;
            position: relative;
            display: flex;

            @media (min-width: 992px) {
                min-height: 440px;
            }

            &:after {
                content: '';
                background: linear-gradient(-90deg, rgba(14, 57, 143, 0) 0%, rgba(14, 57, 143, 1) 100%);
                position: absolute;
                width: 100%;
                height: 100%;
                top: 0;
                left: 0;
                z-index: 1;
            }

            .container {
                height: 100%;
                display: flex;

                .hdp__img {
                    height: 100%;
                    left: 0;
                    -o-object-fit: cover;
                    object-fit: cover;
                    position: absolute;
                    top: 0;
                    width: 100%;
                    z-index: 1;
                }

                .hdp__content {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    text-align: start;
                    position: relative;
                    z-index: 2;
                    height: fit-content;
                    margin: auto 0;
                    gap: 20px;
                    max-width: 600px;
                    
                    * a:not(.bouton) {
                        color: var(--orange) !important;
                    }

                    .section__btn {
                        margin: 20px 0 !important;
                    }

                    @media (max-width: 767px) {
                        padding-top: 20px;
                    }

                    .hdp__title {
                        display: flex;
                        flex-direction: column;
                        gap: 16px;

                        >* {
                            color: var(--white);
                        }
                    }

                    .hdp__intro {
                        max-width: 450px;
                        margin-bottom: 30px !important;

                        >* {
                            color: var(--white);
                            font-size: 16px;
                            line-height: 24px;
                            margin: 0;
                        }

                        /* Force taille de police sur les éléments imbriqués (ul/li/a) */
                        ul, ol, li, a {
                            font-size: 16px !important;
                            line-height: 24px !important;
                        }

                        &:has(>.cta) {
                            margin-bottom: 0 !important;

                            .cta {
                                margin: 20px 0 !important;
                            }
                        }
                    }

                    .avis_google {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        gap: 10px;

                        .stars_google {
                            display: flex;
                            justify-content: center;
                            align-items: center;

                            .star_google {
                                width: 20px;
                                height: 20px;
                            }
                        }

                        .score {
                            font-family: var(--title-font);
                            font-size: 24px;
                            line-height: 24px;
                            font-weight: var(--extrabold);
                            font-style: italic;
                            color: var(--light-blue);
                        }

                        p {
                            margin: 0;
                            font-size: 16px;
                            line-height: 24px;
                        }
                    }

                    .hdp__elements_bas {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        gap: 16px;
                        margin-bottom: 32px;
                    }
                }
            }
        }
    }

    &.hdp--section {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        min-height: 560px;
        display: flex;
        align-items: center;
        padding: 80px 0 20px 0;

        @media (min-width: 992px) {
            padding: 150px 0 20px 0;
        }

        &:not(.single) {
            background-image: url('../../img/bg_hdp.jpg');

            .container {
                .hdp__intro {
                    max-width: 560px;
                    margin: 0 auto;
                }

                .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(--light-blue);
                    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: center;

                h1 {
                    max-width: 800px;
                    margin: 10px auto;
                }

                .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;
                            }
                        }
                    }
                }
            }
        }
    }
}