/* ZZZ - HOME PARALLAX */

.zzz-home-parallax {
    position: relative;
    min-height: clamp(26rem, 42vw, 36rem);
    overflow: hidden;
    background-image: var(--zzz-home-parallax-image);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    isolation: isolate;
}

.zzz-home-parallax__overlay {
    display: flex;
    min-height: inherit;
    align-items: center;
    background: rgb(0 0 0 / 65%);
}

.zzz-home-parallax__container {
    width: 100%;
}

.zzz-home-parallax__content {
    width: min(100%, 100rem);
    margin-inline: auto;
    padding-block: clamp(3rem, 7vw, 1rem);
    color: #fff;
    text-align: center;
}

.zzz-home-parallax__content > :first-child {
    margin-top: 0;
}

.zzz-home-parallax__content > :last-child {
    margin-bottom: 0;
}

.zzz-home-parallax__content h2,
.zzz-home-parallax__content h3 {
    margin-bottom: 1.25rem;
    color: inherit;
    font-weight: 700;
    line-height: 1.15;
    text-wrap: balance;
}

.zzz-home-parallax__content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

.zzz-home-parallax__content h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.zzz-home-parallax__content p {
    margin-bottom: 1.25rem;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
}

.zzz-home-parallax__content a {
    color: inherit;
}

.zzz-home-parallax__content .btn {
    margin-top: 0.75rem;
}

@media (max-width: 991.98px), (hover: none), (pointer: coarse) {
    .zzz-home-parallax {
        min-height: 24rem;
        background-attachment: fixed;
    }

    .zzz-home-parallax__content {
        padding-block: 3.5rem;
    }
}

@media (max-width: 575.98px) {
    .zzz-home-parallax {
        min-height: 22rem;
    }

    .zzz-home-parallax__content {
        padding-block: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zzz-home-parallax {
        background-attachment: scroll;
    }
}

/* Image spécifique pour les téléphones, si configurée. */
@media (max-width: 767.98px) {
    .zzz-home-parallax {
        background-image: var(
            --zzz-home-parallax-mobile-image,
            var(--zzz-home-parallax-image)
        ) !important;

        background-position: center center;
    }
}
