/*
 * Bandeau vidéo de la page d'accueil
 * Version 1.1 — vidéo + textes blancs lisibles
 */

.hero-home {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #0a315f;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
}

/* Voile sombre renforcé côté texte afin de garantir la lisibilité. */
.hero-home .hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(2, 18, 38, .82) 0%,
            rgba(2, 24, 50, .68) 42%,
            rgba(2, 22, 46, .34) 72%,
            rgba(2, 22, 46, .20) 100%
        );
    pointer-events: none;
}

.hero-home .hero-inner {
    position: relative;
    z-index: 2;
}

/* Textes du bandeau : blanc et ombre douce sur la vidéo. */
.hero-home .hero-kicker,
.hero-home .hero-copy h1,
.hero-home .departements,
.hero-home .slogan,
.hero-home .hero-live-promo,
.hero-home .hero-live-promo > span:not(.hero-live-badge) {
    color: #fff !important;
    text-shadow:
        0 2px 5px rgba(0, 0, 0, .78),
        0 0 18px rgba(0, 0, 0, .38);
}

.hero-home .hero-kicker {
    font-weight: 800 !important;
    letter-spacing: .09em;
}

.hero-home .hero-copy h1 {
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: .01em;
    text-shadow:
        0 3px 8px rgba(0, 0, 0, .82),
        0 0 24px rgba(0, 0, 0, .40);
}

.hero-home .departements {
    font-weight: 800 !important;
    letter-spacing: .025em;
}

.hero-home .slogan {
    color: rgba(255, 255, 255, .96) !important;
    font-style: italic;
}

.hero-home .hero-live-promo {
    font-weight: 800;
}

/* Le badge reste bleu et se détache nettement du fond. */
.hero-home .hero-live-badge {
    color: #fff !important;
    text-shadow: none;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .25);
}

/* Léger relief des boutons devant la vidéo. */
.hero-home .hero-actions .hero-btn {
    box-shadow: 0 9px 22px rgba(0, 0, 0, .26);
}

.hero-home .hero-actions .hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .32);
}

@media (max-width: 760px) {
    .hero-video {
        object-position: center center;
    }

    .hero-home .hero-shade {
        background: rgba(2, 18, 38, .68);
    }

    .hero-home .hero-copy h1 {
        text-shadow:
            0 2px 6px rgba(0, 0, 0, .86),
            0 0 18px rgba(0, 0, 0, .42);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
}
