/* Section titre + vidéo — juste après le hero sur la page d'accueil */

.home-video-section {
    position: relative;
    padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    background: linear-gradient(to bottom, var(--color-black) 0%, var(--color-black) 50%, #f3f5fb 50%, #f3f5fb 100%);
}

/* Lumière / glow derrière la vidéo, centré sur la ligne de séparation (50%) */
.home-video-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(120%, 800px);
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse 80% 50% at 50% 50%,
        rgba(255, 255, 255, 0.19) 0%,
        rgba(255, 255, 255, 0.09) 35%,
        transparent 70%
    );
    z-index: 0;
    pointer-events: none;
}

.home-video-section__heading {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.home-video-section__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin: 0;
    color: #ffffff;
}

.home-video-section__title-secondary {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: #ffffff;
    opacity: 0.75;
    letter-spacing: 0.02em;
    margin: 0;
}

.home-video-section__subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin: 0;
    color: var(--color-lightgrey, #8d8e98);
}

/* Conteneur avec perspective pour l'effet au scroll */
.home-video-section__video-perspective {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 960px;
    margin-top: 16px;
    perspective: 1200px;
    perspective-origin: center center;
}

.home-video-section__video-wrap {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(var(--color-black-rgb), 0.12);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s linear;
}

.home-video-section__video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
