/*
 Homescroll CSS
 Last update : 2.3.26
*/

.has-home-scroll {
    position: relative;
    overflow: hidden; 
    height: 100vh; /* S'assure que la section prend bien tout l'écran */
    z-index: 10;
    pointer-events: none; /* Laisse passer le toucher vers le shield */
}
.home-scroll__content button {
    pointer-events: auto !important;
    position: relative;
    z-index: 15;
}

.safari-scroll-shield {
    position: absolute;
    inset: 0;
    z-index: 5; /* Entre la vidéo et le texte des slides */
    background: transparent;
    pointer-events: auto; /* Indispensable pour capter le wheel et le touch */
}
/* On s'assure que le contenu du homescroll est au-dessus */
.home-scroll {
    z-index: 10 !important;
}

/* Le wiggle doit rester cliquable */
.wiggle {
    z-index: 11 !important;
    pointer-events: auto !important;
}

.home-scroll {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 3;
    pointer-events: none;
}
.home-scroll__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 400ms ease, transform 400ms ease;
    padding: var(--padding-md) var(--padding-md) var(--padding-md) var(--padding-xl);
}
.home-scroll__slide.is-active {
    opacity: 1;
    transform: translateY(0);
}
.home-scroll__slide h1 {
    font-size: var(--fs-title-xxl-home);
    color: var(--color-light);
    line-height: var(--line-height-xs);
}
.home-scroll__content {
    max-width: 80%;
    color: var(--color-light);
}
.home-scroll__content h2 {
    font-size: var(--fs-title-xxl);
    color: var(--color-light);
    line-height: var(--line-height-xs);
}
.home-scroll__content p {
    font-size: var(--fs-lg);
    line-height: 1.2;
}
.home-scroll__logo img {
    width: var(--width-home-logo-cover);
    height: auto;
}
