/* Style pour la bannière vidéo avec effets design */
.video-banner {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0B6938 0%, #0B6938 70%, #FF5000 100%);
}

.video-banner:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/noise-pattern.svg');
    opacity: 0.15;
    animation: noise 0.5s steps(10) infinite;
    pointer-events: none;
    z-index: 2;
}

.video-banner:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 105, 56, 0.3) 0%, rgba(11, 105, 56, 0.2) 70%, rgba(255, 80, 0, 0.3) 100%);
    z-index: 1;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-container video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: contrast(1.1) saturate(1.2);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 3;
}

.banner-overlay h1 {
    font-size: 36px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    position: relative;
}

.banner-overlay h1:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FF5000;
}

.banner-overlay p {
    font-size: 18px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    max-width: 80%;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #FF5000;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #FF5000;
}

.btn:hover {
    background-color: transparent;
    color: white;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid white;
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.cta-buttons {
    margin-top: 20px;
}

/* Effets visuels pour la bannière vidéo */
.glitch-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 105, 56, 0.05);
    z-index: 2;
    mix-blend-mode: overlay;
    pointer-events: none;
    animation: glitch 8s infinite;
}

@keyframes glitch {
    0%, 100% { opacity: 0; }
    10%, 15% { opacity: 0.1; transform: translate(5px, 0); }
    20%, 25% { opacity: 0; }
    30%, 35% { opacity: 0.1; transform: translate(-5px, 0); }
    40%, 45% { opacity: 0; }
    50%, 55% { opacity: 0.1; transform: translate(0, 5px); }
    60%, 65% { opacity: 0; }
    70%, 75% { opacity: 0.1; transform: translate(0, -5px); }
    80%, 85% { opacity: 0; }
    90%, 95% { opacity: 0.1; transform: translate(-3px, 3px); }
}

.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
    z-index: 2;
    pointer-events: none;
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.05) 51%);
    background-size: 100% 4px;
    z-index: 2;
    pointer-events: none;
    animation: scanline 10s linear infinite;
}

@keyframes scanline {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

/* Animation pour l'effet de bruit */
@keyframes noise {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
}

/* Animation pour le titre */
.title-animation {
    display: inline-block;
    animation: titleReveal 1.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation pour le sous-titre */
.subtitle-animation {
    display: inline-block;
    animation: subtitleReveal 1.5s ease-out 0.5s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes subtitleReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation pour les boutons */
.cta-animation {
    display: inline-block;
    animation: ctaReveal 1.5s ease-out 1s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes ctaReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
