.hero-slideshow{position:relative;height:70vh;min-height:450px;max-height:600px;overflow:hidden;background:linear-gradient(135deg,#0f172a 0%,#1e1b4b 50%,#0f172a 100%)}.hero-slideshow::before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,rgba(99,102,241,0.1) 0%,transparent 50%,rgba(245,158,11,0.1) 100%);background-size:400% 400%;animation:gradient-shift 8s ease infinite;z-index:1}.hero-slideshow::after{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(99,102,241,0.03) 0%,transparent 50%);animation:rotate-bg 30s linear infinite;z-index:1}
.particles{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;z-index:2}
.particle{position:absolute;width:10px;height:10px;background:var(--primary,#6366f1);border-radius:50%;opacity:0.4;animation:float-particle 15s infinite ease-in-out;box-shadow:0 0 20px currentColor}.particle:nth-child(odd){background:var(--secondary,#f59e0b)}.particle:nth-child(3n){background:#ef4444}
.particle:nth-child(1){left:10%;top:20%;animation-delay:0s}
.particle:nth-child(2){left:20%;top:80%;animation-delay:2s;width:12px;height:12px}
.particle:nth-child(3){left:60%;top:10%;animation-delay:4s;width:6px;height:6px}
.particle:nth-child(4){left:80%;top:50%;animation-delay:6s;width:14px;height:14px}
.particle:nth-child(5){left:30%;top:60%;animation-delay:8s}
.particle:nth-child(6){left:70%;top:30%;animation-delay:10s;width:8px;height:8px}
.particle:nth-child(7){left:90%;top:70%;animation-delay:12s;width:6px;height:6px}
.particle:nth-child(8){left:50%;top:90%;animation-delay:14s;width:12px;height:12px}

@keyframes gradient-shift{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@keyframes rotate-bg{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}
@keyframes light-ray{0%{opacity:0;transform:translateX(-100%) rotate(45deg)}50%{opacity:0.3}100%{opacity:0;transform:translateX(200%) rotate(45deg)}}
@keyframes orb-float{0%,100%{transform:translate(0,0) scale(1)}25%{transform:translate(50px,-30px) scale(1.1)}50%{transform:translate(-30px,-60px) scale(0.9)}75%{transform:translate(-50px,-20px) scale(1.05)}}
@keyframes float-particle{0%,100%{transform:translateY(0) translateX(0) scale(1);opacity:0.3}25%{transform:translateY(-30px) translateX(20px) scale(1.2);opacity:0.6}50%{transform:translateY(-60px) translateX(-10px) scale(0.8);opacity:0.4}75%{transform:translateY(-30px) translateX(30px) scale(1.1);opacity:0.5}}

/* Effets de fond avancés */
.bg-effects{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;overflow:hidden}

/* Rayons de lumière */
.light-rays{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}
.ray{position:absolute;width:200%;height:60px;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.05),rgba(255,255,255,0.1),rgba(255,255,255,0.05),transparent);transform:rotate(45deg);animation:light-sweep 8s ease-in-out infinite}
.ray:nth-child(1){top:20%;left:-50%;animation-delay:0s}
.ray:nth-child(2){top:50%;left:-50%;animation-delay:2.5s;height:40px}
.ray:nth-child(3){top:70%;left:-50%;animation-delay:5s;height:80px}
@keyframes light-sweep{0%{transform:translateX(-100%) rotate(45deg);opacity:0}20%{opacity:1}80%{opacity:1}100%{transform:translateX(100%) rotate(45deg);opacity:0}}

/* Orbes lumineux */
.orbs{position:absolute;top:0;left:0;width:100%;height:100%}
.orb{position:absolute;border-radius:50%;filter:blur(60px);opacity:0.4;animation:orb-move 20s ease-in-out infinite}
.orb-1{width:300px;height:300px;background:radial-gradient(circle,rgba(99,102,241,0.6) 0%,transparent 70%);top:10%;left:10%;animation-delay:0s}
.orb-2{width:250px;height:250px;background:radial-gradient(circle,rgba(245,158,11,0.5) 0%,transparent 70%);top:60%;right:10%;animation-delay:-7s}
.orb-3{width:200px;height:200px;background:radial-gradient(circle,rgba(239,68,68,0.4) 0%,transparent 70%);bottom:20%;left:30%;animation-delay:-14s}
@keyframes orb-move{0%,100%{transform:translate(0,0) scale(1)}25%{transform:translate(30px,-40px) scale(1.2)}50%{transform:translate(-20px,30px) scale(0.8)}75%{transform:translate(40px,20px) scale(1.1)}}

/* Grille overlay */
.grid-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-image:linear-gradient(rgba(255,255,255,0.02) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.02) 1px,transparent 1px);background-size:50px 50px;animation:grid-move 20s linear infinite}
@keyframes grid-move{0%{background-position:0 0}100%{background-position:50px 50px}}

/* Vagues animées */
.waves{position:absolute;bottom:0;left:0;width:100%;height:40%;z-index:1;overflow:hidden}
.wave{position:absolute;bottom:0;left:0;width:100%;height:100%}
.wave-1{animation:wave-move 12s ease-in-out infinite;opacity:0.8}
.wave-2{animation:wave-move 15s ease-in-out infinite reverse;opacity:0.6;bottom:-20px}
@keyframes wave-move{0%,100%{transform:translateX(0) translateY(0)}50%{transform:translateX(-2%) translateY(10px)}}

/* Plus de particules */
.particle:nth-child(9){left:15%;top:40%;animation-delay:1s;width:8px;height:8px}
.particle:nth-child(10){left:85%;top:25%;animation-delay:3s;width:14px;height:14px}
.particle:nth-child(11){left:45%;top:75%;animation-delay:7s;width:6px;height:6px}
.particle:nth-child(12){left:75%;top:85%;animation-delay:11s;width:10px;height:10px}

.slideshow-container{position:relative;width:100%;height:100%;z-index:2}
.slide{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;visibility:hidden;transition:opacity 0.8s ease-in-out,visibility 0.8s ease-in-out,transform 0.8s ease-in-out;transform:scale(1.02)}
.slide.active{opacity:1;visibility:visible;transform:scale(1);z-index:2}
.slide:not(.active){z-index:1}
.slide-bg{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:center;animation:ken-burns 20s ease-in-out infinite alternate}
@keyframes ken-burns{0%{transform:scale(1)}100%{transform:scale(1.1)}}
.slide-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,rgba(15,23,42,0.95) 0%,rgba(30,27,75,0.8) 50%,rgba(15,23,42,0.9) 100%)}
.slide-content{position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center;padding:2rem;padding-bottom:80px}
.slide-logo{max-width:150px;max-height:120px;width:auto;height:auto;object-fit:contain;margin-bottom:1.5rem;animation:logo-float 3s ease-in-out infinite;filter:drop-shadow(0 0 30px rgba(99,102,241,0.5));border-radius:15px}
@keyframes logo-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-10px) rotate(2deg)}}
.hero-badge{display:inline-flex;align-items:center;gap:0.5rem;background:rgba(239,68,68,0.2);border:1px solid rgba(239,68,68,0.5);padding:0.5rem 1.5rem;border-radius:50px;margin-bottom:2rem;position:relative;overflow:hidden;opacity:0;transform:scale(0.8)}
.live-dot{width:10px;height:10px;background:#ef4444;border-radius:50%;animation:pulse-dot 1.5s ease-in-out infinite}
.slide.active .hero-badge{animation:pop-in 0.5s cubic-bezier(0.68,-0.55,0.265,1.55) forwards 0.1s,badge-glow 2s ease-in-out infinite 0.6s}
@keyframes pulse-dot{0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(239,68,68,0.7)}50%{transform:scale(1.2);box-shadow:0 0 0 10px rgba(239,68,68,0)}}
.live-text{font-weight:700;font-size:0.85rem;letter-spacing:2px;color:#ef4444;text-transform:uppercase}
.live-pulse{position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent);animation:shine 3s infinite}
@keyframes shine{0%{left:-100%}50%,100%{left:100%}}
.slide-title{font-family:'Bebas Neue',sans-serif;font-size:clamp(2.5rem,8vw,5rem);letter-spacing:4px;color:white;margin-bottom:1rem;text-shadow:0 0 40px rgba(99,102,241,0.5);opacity:0;transform:translateX(-100px);filter:blur(10px)}
.slide.active .slide-title{animation:slide-from-left 0.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards 0.3s,glow-pulse 3s ease-in-out infinite 1.1s}
@keyframes slide-up{to{opacity:1;transform:translateY(0)}}
@keyframes slide-from-left{to{opacity:1;transform:translateX(0);filter:blur(0)}}
@keyframes slide-from-right{to{opacity:1;transform:translateX(0);filter:blur(0)}}
@keyframes pop-in{to{opacity:1;transform:scale(1)}}
@keyframes glow-pulse{0%,100%{text-shadow:0 0 40px rgba(99,102,241,0.5)}50%{text-shadow:0 0 80px rgba(99,102,241,0.8),0 0 120px rgba(245,158,11,0.4)}}
@keyframes badge-glow{0%,100%{box-shadow:0 0 20px rgba(239,68,68,0.3)}50%{box-shadow:0 0 40px rgba(239,68,68,0.6)}}
.slide-text{font-size:clamp(1rem,2.5vw,1.4rem);color:rgba(255,255,255,0.8);margin-bottom:2.5rem;max-width:700px;line-height:1.6;opacity:0;transform:translateX(100px);filter:blur(10px)}
.slide.active .slide-text{animation:slide-from-right 0.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards 0.5s}
.slide-actions{display:flex;gap:1.5rem;flex-wrap:wrap;justify-content:center;opacity:0;transform:scale(0.5);position:relative;z-index:15}
.slide.active .slide-actions{animation:pop-in 0.6s cubic-bezier(0.68,-0.55,0.265,1.55) forwards 0.7s}
.btn-hero-play{position:relative;display:flex;align-items:center;gap:0.75rem;background:linear-gradient(135deg,var(--primary,#6366f1),var(--secondary,#f59e0b));color:white;border:none;padding:1rem 2rem;border-radius:50px;font-size:1.1rem;font-weight:700;cursor:pointer;overflow:hidden;transition:transform 0.3s ease,box-shadow 0.3s ease}
.btn-hero-play:hover{transform:scale(1.05);box-shadow:0 10px 40px rgba(99,102,241,0.4)}
.btn-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:rgba(255,255,255,0.2);border-radius:50%}
.btn-icon svg{width:20px;height:20px}
.btn-glow{position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.3),transparent);animation:btn-shine 2s infinite}
@keyframes btn-shine{0%{left:-100%}50%,100%{left:100%}}
.btn-hero-outline{display:flex;align-items:center;gap:0.5rem;background:transparent;color:white;border:2px solid rgba(255,255,255,0.3);padding:1rem 2rem;border-radius:50px;font-size:1rem;font-weight:600;text-decoration:none;transition:all 0.3s ease}
.btn-hero-outline:hover{background:rgba(255,255,255,0.1);border-color:var(--primary)}
.btn-hero-outline svg{width:20px;height:20px}
.slide-progress{position:absolute;bottom:0;left:0;width:100%;height:4px;background:rgba(255,255,255,0.1);z-index:10}
.slide-progress-bar{height:100%;background:linear-gradient(90deg,var(--primary),var(--secondary));width:0%}
.slideshow-nav{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 20px;z-index:4;pointer-events:none}
.nav-arrow{width:50px;height:50px;border-radius:50%;background:rgba(0,0,0,0.5);border:2px solid rgba(255,255,255,0.3);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.3s ease;pointer-events:auto}
.nav-arrow:hover{background:var(--primary);border-color:var(--primary);transform:scale(1.1)}
.nav-arrow svg{width:24px;height:24px;fill:white}
.nav-dots{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:12px;pointer-events:auto}
.nav-dot{width:40px;height:6px;border-radius:3px;background:rgba(255,255,255,0.3);border:none;cursor:pointer;position:relative;overflow:hidden;transition:all 0.3s ease}
.nav-dot.active .dot-progress{position:absolute;top:0;left:0;height:100%;background:linear-gradient(90deg,var(--primary),var(--secondary));animation:dot-fill 3s linear forwards}
@keyframes dot-fill{0%{width:0%}100%{width:100%}}
.scroll-indicator{position:absolute;bottom:100px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:0.5rem;color:rgba(255,255,255,0.5);font-size:0.75rem;letter-spacing:2px;z-index:10;animation:bounce 2s infinite}
.mouse{width:26px;height:40px;border:2px solid rgba(255,255,255,0.3);border-radius:13px;position:relative}
.wheel{width:4px;height:8px;background:var(--primary);border-radius:2px;position:absolute;top:8px;left:50%;transform:translateX(-50%);animation:scroll-wheel 1.5s infinite}
@keyframes scroll-wheel{0%{opacity:1;transform:translateX(-50%) translateY(0)}100%{opacity:0;transform:translateX(-50%) translateY(15px)}}
@keyframes bounce{0%,20%,50%,80%,100%{transform:translateX(-50%) translateY(0)}40%{transform:translateX(-50%) translateY(-10px)}}

/* Variantes d'animations pour les changements de slides */
.slide.anim-1 .slide-title{animation:slide-from-left 0.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards 0.3s,glow-pulse 3s ease-in-out infinite 1.1s}
.slide.anim-1 .slide-text{animation:slide-from-right 0.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards 0.5s}
.slide.anim-1 .slide-actions{animation:pop-in 0.6s cubic-bezier(0.68,-0.55,0.265,1.55) forwards 0.7s}

.slide.anim-2 .slide-title{animation:slide-from-right 0.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards 0.3s,glow-pulse 3s ease-in-out infinite 1.1s}
.slide.anim-2 .slide-text{animation:slide-from-left 0.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards 0.5s}
.slide.anim-2 .slide-actions{animation:zoom-bounce 0.6s cubic-bezier(0.68,-0.55,0.265,1.55) forwards 0.7s}

.slide.anim-3 .slide-title{animation:slide-from-top 0.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards 0.3s,glow-pulse 3s ease-in-out infinite 1.1s}
.slide.anim-3 .slide-text{animation:slide-from-bottom 0.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards 0.5s}
.slide.anim-3 .slide-actions{animation:flip-in 0.6s ease forwards 0.7s}

.slide.anim-4 .slide-title{animation:zoom-in 0.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards 0.3s,glow-pulse 3s ease-in-out infinite 1.1s}
.slide.anim-4 .slide-text{animation:fade-up 0.8s ease forwards 0.5s}
.slide.anim-4 .slide-actions{animation:slide-from-bottom 0.6s ease forwards 0.7s}

@keyframes slide-from-top{from{opacity:0;transform:translateY(-100px);filter:blur(10px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes slide-from-bottom{from{opacity:0;transform:translateY(100px);filter:blur(10px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes zoom-in{from{opacity:0;transform:scale(0.3);filter:blur(15px)}to{opacity:1;transform:scale(1);filter:blur(0)}}
@keyframes zoom-bounce{from{opacity:0;transform:scale(0.3)}to{opacity:1;transform:scale(1)}}
@keyframes fade-up{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes flip-in{from{opacity:0;transform:perspective(400px) rotateX(90deg)}to{opacity:1;transform:perspective(400px) rotateX(0)}}
@keyframes rotate-in{from{opacity:0;transform:rotate(-15deg) scale(0.8)}to{opacity:1;transform:rotate(0) scale(1)}}
@media(max-width:768px){.hero-slideshow{min-height:350px;max-height:500px}.slide-logo{max-width:100px;max-height:80px}.slide-actions{flex-direction:column;align-items:center}.btn-hero-play,.btn-hero-outline{width:100%;max-width:280px;justify-content:center}.scroll-indicator{display:none}.nav-arrow{width:40px;height:40px}}

[class*="slideshow-theme-"]:not(.slideshow-theme-1) .slide .slide-title,
[class*="slideshow-theme-"]:not(.slideshow-theme-1) .slide .slide-text,
[class*="slideshow-theme-"]:not(.slideshow-theme-1) .slide .slide-actions,
[class*="slideshow-theme-"]:not(.slideshow-theme-1) .slide .hero-badge {
    animation: none !important;
}

/* =====================================================
   OVERRIDE POUR THEMES 2-10
   Desactive les animations/filtres de base
   pour laisser slideshow-themes.css gerer les transitions
   ===================================================== */
[class*="slideshow-theme-"] .slide .slide-title,
[class*="slideshow-theme-"] .slide .slide-text,
[class*="slideshow-theme-"] .slide .slide-actions,
[class*="slideshow-theme-"] .slide .hero-badge {
    filter: none !important;
}

[class*="slideshow-theme-"]:not(.slideshow-theme-1) .slide .slide-title,
[class*="slideshow-theme-"]:not(.slideshow-theme-1) .slide .slide-text,
[class*="slideshow-theme-"]:not(.slideshow-theme-1) .slide .slide-actions,
[class*="slideshow-theme-"]:not(.slideshow-theme-1) .slide .hero-badge {
    animation: none !important;
}


/* =====================================================
   EFFET COULEUR ANIME - Theme Radiosoft
   ===================================================== */
.hero-slideshow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 51, 102, 0.15) 0%,
        rgba(0, 212, 255, 0.1) 25%,
        rgba(255, 208, 0, 0.08) 50%,
        rgba(0, 212, 255, 0.12) 75%,
        rgba(255, 51, 102, 0.15) 100%
    );
    background-size: 400% 400%;
    animation: colorShift 8s ease infinite;
    z-index: 2;
    pointer-events: none;
}

.hero-slideshow::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 51, 102, 0.08) 0%,
        transparent 40%
    ),
    radial-gradient(
        ellipse at 80% 20%,
        rgba(0, 212, 255, 0.1) 0%,
        transparent 35%
    ),
    radial-gradient(
        ellipse at 20% 80%,
        rgba(255, 208, 0, 0.06) 0%,
        transparent 35%
    );
    animation: rotateGlow 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes colorShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Pulse lumineux sur les bords */
.hero-slideshow .slide-overlay {
    background: linear-gradient(
        180deg,
        rgba(5, 5, 8, 0.7) 0%,
        rgba(5, 5, 8, 0.4) 30%,
        rgba(5, 5, 8, 0.4) 70%,
        rgba(5, 5, 8, 0.8) 100%
    );
    box-shadow: 
        inset 0 0 100px rgba(255, 51, 102, 0.05),
        inset 0 0 200px rgba(0, 212, 255, 0.03);
}


/* =====================================================
   BARRES VERTICALES ANIMEES - Theme Radiosoft
   ===================================================== */
.hero-slideshow .bars-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 5%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.hero-slideshow .bar {
    width: 3px;
    background: linear-gradient(to top, var(--primary, #ff3366), transparent);
    border-radius: 3px 3px 0 0;
    animation: barPulse 1.5s ease-in-out infinite;
}

.hero-slideshow .bar:nth-child(odd) {
    background: linear-gradient(to top, var(--secondary, #00d4ff), transparent);
}

.hero-slideshow .bar:nth-child(3n) {
    background: linear-gradient(to top, var(--accent, #ffd000), transparent);
}

.hero-slideshow .bar:nth-child(1) { height: 20%; animation-delay: 0s; }
.hero-slideshow .bar:nth-child(2) { height: 35%; animation-delay: 0.1s; }
.hero-slideshow .bar:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.hero-slideshow .bar:nth-child(4) { height: 25%; animation-delay: 0.3s; }
.hero-slideshow .bar:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.hero-slideshow .bar:nth-child(6) { height: 40%; animation-delay: 0.5s; }
.hero-slideshow .bar:nth-child(7) { height: 30%; animation-delay: 0.6s; }
.hero-slideshow .bar:nth-child(8) { height: 55%; animation-delay: 0.7s; }
.hero-slideshow .bar:nth-child(9) { height: 45%; animation-delay: 0.8s; }
.hero-slideshow .bar:nth-child(10) { height: 35%; animation-delay: 0.9s; }
.hero-slideshow .bar:nth-child(11) { height: 65%; animation-delay: 1s; }
.hero-slideshow .bar:nth-child(12) { height: 28%; animation-delay: 1.1s; }
.hero-slideshow .bar:nth-child(13) { height: 48%; animation-delay: 1.2s; }
.hero-slideshow .bar:nth-child(14) { height: 38%; animation-delay: 1.3s; }
.hero-slideshow .bar:nth-child(15) { height: 58%; animation-delay: 1.4s; }

@keyframes barPulse {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.6;
    }
    50% {
        transform: scaleY(1.3);
        opacity: 1;
    }
}


/* =====================================================
   BARRES VERTICALES ANIMEES - Alternees Haut/Bas + Oblique
   ===================================================== */
.hero-slideshow .bars-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    padding: 0 3%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-slideshow .bar {
    width: 4px;
    border-radius: 4px;
    opacity: 0.7;
    transform-origin: center;
}

/* Barres impaires: partent du bas */
.hero-slideshow .bar:nth-child(odd) {
    align-self: flex-end;
    background: linear-gradient(to top, var(--primary, #ff3366), transparent);
    animation: barFromBottom 2s ease-in-out infinite;
}

/* Barres paires: partent du haut */
.hero-slideshow .bar:nth-child(even) {
    align-self: flex-start;
    background: linear-gradient(to bottom, var(--secondary, #00d4ff), transparent);
    animation: barFromTop 2s ease-in-out infinite;
}

/* Couleur accent pour certaines barres */
.hero-slideshow .bar:nth-child(3n) {
    background: linear-gradient(to top, var(--accent, #ffd000), transparent);
}
.hero-slideshow .bar:nth-child(6n) {
    background: linear-gradient(to bottom, var(--accent, #ffd000), transparent);
}

/* Hauteurs et delais varies */
.hero-slideshow .bar:nth-child(1) { height: 25%; animation-delay: 0s; transform: skewX(-5deg); }
.hero-slideshow .bar:nth-child(2) { height: 35%; animation-delay: 0.15s; transform: skewX(5deg); }
.hero-slideshow .bar:nth-child(3) { height: 50%; animation-delay: 0.3s; transform: skewX(-8deg); }
.hero-slideshow .bar:nth-child(4) { height: 30%; animation-delay: 0.45s; transform: skewX(8deg); }
.hero-slideshow .bar:nth-child(5) { height: 60%; animation-delay: 0.6s; transform: skewX(-3deg); }
.hero-slideshow .bar:nth-child(6) { height: 40%; animation-delay: 0.75s; transform: skewX(3deg); }
.hero-slideshow .bar:nth-child(7) { height: 35%; animation-delay: 0.9s; transform: skewX(-10deg); }
.hero-slideshow .bar:nth-child(8) { height: 55%; animation-delay: 1.05s; transform: skewX(10deg); }
.hero-slideshow .bar:nth-child(9) { height: 45%; animation-delay: 1.2s; transform: skewX(-6deg); }
.hero-slideshow .bar:nth-child(10) { height: 38%; animation-delay: 1.35s; transform: skewX(6deg); }
.hero-slideshow .bar:nth-child(11) { height: 65%; animation-delay: 1.5s; transform: skewX(-4deg); }
.hero-slideshow .bar:nth-child(12) { height: 28%; animation-delay: 1.65s; transform: skewX(4deg); }
.hero-slideshow .bar:nth-child(13) { height: 48%; animation-delay: 1.8s; transform: skewX(-7deg); }
.hero-slideshow .bar:nth-child(14) { height: 42%; animation-delay: 1.95s; transform: skewX(7deg); }
.hero-slideshow .bar:nth-child(15) { height: 58%; animation-delay: 2.1s; transform: skewX(-5deg); }

@keyframes barFromBottom {
    0%, 100% {
        transform: scaleY(0.3) skewX(var(--skew, -5deg));
        opacity: 0.3;
    }
    50% {
        transform: scaleY(1) skewX(var(--skew, -5deg));
        opacity: 0.8;
    }
}

@keyframes barFromTop {
    0%, 100% {
        transform: scaleY(0.3) skewX(var(--skew, 5deg));
        opacity: 0.3;
    }
    50% {
        transform: scaleY(1) skewX(var(--skew, 5deg));
        opacity: 0.8;
    }
}


/* =====================================================
   BARRES VERTICALES ANIMEES - 5 Patterns Differents
   ===================================================== */
.hero-slideshow .bars-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 3%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-slideshow .bar {
    width: 4px;
    height: 40%;
    border-radius: 4px;
    opacity: 0.6;
    transition: all 0.5s ease;
}

/* Couleurs des barres */
.bars-container .bar:nth-child(3n+1) { background: linear-gradient(to top, var(--primary, #ff3366), transparent); }
.bars-container .bar:nth-child(3n+2) { background: linear-gradient(to bottom, var(--secondary, #00d4ff), transparent); }
.bars-container .bar:nth-child(3n) { background: linear-gradient(to top, var(--accent, #ffd000), transparent); }

/* ===== PATTERN 1: WAVE ===== */
.bars-wave .bar { animation: waveBar 1.5s ease-in-out infinite; }
.bars-wave .bar:nth-child(1) { animation-delay: 0s; }
.bars-wave .bar:nth-child(2) { animation-delay: 0.1s; }
.bars-wave .bar:nth-child(3) { animation-delay: 0.2s; }
.bars-wave .bar:nth-child(4) { animation-delay: 0.3s; }
.bars-wave .bar:nth-child(5) { animation-delay: 0.4s; }
.bars-wave .bar:nth-child(6) { animation-delay: 0.5s; }
.bars-wave .bar:nth-child(7) { animation-delay: 0.6s; }
.bars-wave .bar:nth-child(8) { animation-delay: 0.7s; }
.bars-wave .bar:nth-child(9) { animation-delay: 0.8s; }
.bars-wave .bar:nth-child(10) { animation-delay: 0.9s; }
.bars-wave .bar:nth-child(11) { animation-delay: 1s; }
.bars-wave .bar:nth-child(12) { animation-delay: 1.1s; }
.bars-wave .bar:nth-child(13) { animation-delay: 1.2s; }
.bars-wave .bar:nth-child(14) { animation-delay: 1.3s; }
.bars-wave .bar:nth-child(15) { animation-delay: 1.4s; }

@keyframes waveBar {
    0%, 100% { transform: scaleY(0.3) translateY(0); opacity: 0.4; }
    50% { transform: scaleY(1) translateY(-20px); opacity: 0.9; }
}

/* ===== PATTERN 2: BOUNCE ===== */
.bars-bounce .bar { animation: bounceBar 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite; }
.bars-bounce .bar:nth-child(odd) { animation-delay: 0s; align-self: flex-end; }
.bars-bounce .bar:nth-child(even) { animation-delay: 0.4s; align-self: flex-start; }

@keyframes bounceBar {
    0%, 100% { transform: scaleY(0.2); opacity: 0.3; }
    50% { transform: scaleY(1.2); opacity: 1; }
}

/* ===== PATTERN 3: CASCADE ===== */
.bars-cascade .bar { animation: cascadeBar 2s ease-in-out infinite; transform-origin: bottom; }
.bars-cascade .bar:nth-child(odd) { align-self: flex-end; }
.bars-cascade .bar:nth-child(even) { align-self: flex-start; transform-origin: top; }
.bars-cascade .bar:nth-child(1) { animation-delay: 0s; height: 20%; }
.bars-cascade .bar:nth-child(2) { animation-delay: 0.13s; height: 30%; }
.bars-cascade .bar:nth-child(3) { animation-delay: 0.26s; height: 45%; }
.bars-cascade .bar:nth-child(4) { animation-delay: 0.39s; height: 55%; }
.bars-cascade .bar:nth-child(5) { animation-delay: 0.52s; height: 70%; }
.bars-cascade .bar:nth-child(6) { animation-delay: 0.65s; height: 80%; }
.bars-cascade .bar:nth-child(7) { animation-delay: 0.78s; height: 85%; }
.bars-cascade .bar:nth-child(8) { animation-delay: 0.91s; height: 80%; }
.bars-cascade .bar:nth-child(9) { animation-delay: 1.04s; height: 70%; }
.bars-cascade .bar:nth-child(10) { animation-delay: 1.17s; height: 55%; }
.bars-cascade .bar:nth-child(11) { animation-delay: 1.3s; height: 45%; }
.bars-cascade .bar:nth-child(12) { animation-delay: 1.43s; height: 35%; }
.bars-cascade .bar:nth-child(13) { animation-delay: 1.56s; height: 25%; }
.bars-cascade .bar:nth-child(14) { animation-delay: 1.69s; height: 20%; }
.bars-cascade .bar:nth-child(15) { animation-delay: 1.82s; height: 15%; }

@keyframes cascadeBar {
    0%, 100% { transform: scaleY(0); opacity: 0; }
    20%, 80% { transform: scaleY(1); opacity: 0.8; }
}

/* ===== PATTERN 4: PULSE ===== */
.bars-pulse .bar { animation: pulseBar 1s ease-in-out infinite; }
.bars-pulse .bar:nth-child(1) { animation-delay: 0.05s; height: 50%; }
.bars-pulse .bar:nth-child(2) { animation-delay: 0.1s; height: 60%; }
.bars-pulse .bar:nth-child(3) { animation-delay: 0.15s; height: 40%; }
.bars-pulse .bar:nth-child(4) { animation-delay: 0.2s; height: 70%; }
.bars-pulse .bar:nth-child(5) { animation-delay: 0.25s; height: 45%; }
.bars-pulse .bar:nth-child(6) { animation-delay: 0.3s; height: 55%; }
.bars-pulse .bar:nth-child(7) { animation-delay: 0.35s; height: 65%; }
.bars-pulse .bar:nth-child(8) { animation-delay: 0.4s; height: 35%; }
.bars-pulse .bar:nth-child(9) { animation-delay: 0.45s; height: 50%; }
.bars-pulse .bar:nth-child(10) { animation-delay: 0.5s; height: 75%; }
.bars-pulse .bar:nth-child(11) { animation-delay: 0.55s; height: 40%; }
.bars-pulse .bar:nth-child(12) { animation-delay: 0.6s; height: 60%; }
.bars-pulse .bar:nth-child(13) { animation-delay: 0.65s; height: 50%; }
.bars-pulse .bar:nth-child(14) { animation-delay: 0.7s; height: 45%; }
.bars-pulse .bar:nth-child(15) { animation-delay: 0.75s; height: 55%; }

@keyframes pulseBar {
    0%, 100% { transform: scaleY(1) scaleX(1); opacity: 0.5; filter: brightness(1); }
    50% { transform: scaleY(1.3) scaleX(1.5); opacity: 1; filter: brightness(1.5); }
}

/* ===== PATTERN 5: RANDOM ===== */
.bars-random .bar { animation: randomBar 0.6s ease-in-out infinite alternate; }
.bars-random .bar:nth-child(1) { animation-delay: 0.3s; height: 35%; align-self: flex-end; transform: skewX(-8deg); }
.bars-random .bar:nth-child(2) { animation-delay: 0.1s; height: 55%; align-self: flex-start; transform: skewX(5deg); }
.bars-random .bar:nth-child(3) { animation-delay: 0.5s; height: 25%; align-self: flex-end; transform: skewX(10deg); }
.bars-random .bar:nth-child(4) { animation-delay: 0.2s; height: 70%; align-self: flex-start; transform: skewX(-5deg); }
.bars-random .bar:nth-child(5) { animation-delay: 0.4s; height: 40%; align-self: flex-end; transform: skewX(3deg); }
.bars-random .bar:nth-child(6) { animation-delay: 0s; height: 60%; align-self: flex-start; transform: skewX(-10deg); }
.bars-random .bar:nth-child(7) { animation-delay: 0.35s; height: 30%; align-self: flex-end; transform: skewX(8deg); }
.bars-random .bar:nth-child(8) { animation-delay: 0.15s; height: 50%; align-self: flex-start; transform: skewX(-3deg); }
.bars-random .bar:nth-child(9) { animation-delay: 0.45s; height: 45%; align-self: flex-end; transform: skewX(6deg); }
.bars-random .bar:nth-child(10) { animation-delay: 0.25s; height: 65%; align-self: flex-start; transform: skewX(-6deg); }
.bars-random .bar:nth-child(11) { animation-delay: 0.55s; height: 20%; align-self: flex-end; transform: skewX(12deg); }
.bars-random .bar:nth-child(12) { animation-delay: 0.05s; height: 75%; align-self: flex-start; transform: skewX(-12deg); }
.bars-random .bar:nth-child(13) { animation-delay: 0.4s; height: 35%; align-self: flex-end; transform: skewX(4deg); }
.bars-random .bar:nth-child(14) { animation-delay: 0.2s; height: 55%; align-self: flex-start; transform: skewX(-4deg); }
.bars-random .bar:nth-child(15) { animation-delay: 0.3s; height: 45%; align-self: flex-end; transform: skewX(7deg); }

@keyframes randomBar {
    0% { transform: scaleY(0.5); opacity: 0.4; }
    100% { transform: scaleY(1.2); opacity: 0.9; }
}

/* ===== ANIMATION DE FOND VISIBLE ===== */
.hero-slideshow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, 
            rgba(5, 5, 8, 0.95) 0%,
            rgba(20, 10, 25, 0.9) 25%,
            rgba(5, 15, 20, 0.9) 50%,
            rgba(15, 10, 5, 0.9) 75%,
            rgba(5, 5, 8, 0.95) 100%
        );
    background-size: 400% 400%;
    animation: bgColorShift 8s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.hero-slideshow::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 15% 85%, rgba(255, 51, 102, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 85% 15%, rgba(0, 212, 255, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 208, 0, 0.1) 0%, transparent 50%);
    animation: bgGlow 4s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes bgColorShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 25%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 75%; }
}

@keyframes bgGlow {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}


/* =====================================================
   BARRES ANIMEES - Random & Persistantes
   ===================================================== */
.hero-slideshow .bars-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 2%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-slideshow .bar {
    width: 3px;
    border-radius: 3px;
    opacity: 0.7;
}

/* Barres avec directions, couleurs et animations aleatoires */
.bar:nth-child(1) { 
    height: 45%; align-self: flex-end;
    background: linear-gradient(to top, var(--primary, #ff3366), transparent);
    animation: barUp1 2.5s ease-in-out infinite;
}
.bar:nth-child(2) { 
    height: 60%; align-self: flex-start;
    background: linear-gradient(to bottom, var(--secondary, #00d4ff), transparent);
    animation: barDown1 3s ease-in-out infinite 0.3s;
}
.bar:nth-child(3) { 
    height: 35%; align-self: flex-end;
    background: linear-gradient(to top, var(--accent, #ffd000), transparent);
    animation: barUp2 2s ease-in-out infinite 0.5s;
    transform: skewX(10deg);
}
.bar:nth-child(4) { 
    height: 70%; align-self: flex-start;
    background: linear-gradient(to bottom, var(--primary, #ff3366), transparent);
    animation: barDown2 2.8s ease-in-out infinite 0.1s;
    transform: skewX(-8deg);
}
.bar:nth-child(5) { 
    height: 50%; align-self: flex-end;
    background: linear-gradient(to top, var(--secondary, #00d4ff), transparent);
    animation: barUp1 2.2s ease-in-out infinite 0.7s;
}
.bar:nth-child(6) { 
    height: 40%; align-self: flex-start;
    background: linear-gradient(to bottom, var(--accent, #ffd000), transparent);
    animation: barDown1 2.6s ease-in-out infinite 0.2s;
    transform: skewX(5deg);
}
.bar:nth-child(7) { 
    height: 55%; align-self: flex-end;
    background: linear-gradient(to top, var(--primary, #ff3366), transparent);
    animation: barUp2 3.2s ease-in-out infinite 0.4s;
    transform: skewX(-12deg);
}
.bar:nth-child(8) { 
    height: 65%; align-self: flex-start;
    background: linear-gradient(to bottom, var(--secondary, #00d4ff), transparent);
    animation: barDown2 2.4s ease-in-out infinite 0.6s;
}
.bar:nth-child(9) { 
    height: 30%; align-self: flex-end;
    background: linear-gradient(to top, var(--accent, #ffd000), transparent);
    animation: barUp1 2.9s ease-in-out infinite 0.8s;
    transform: skewX(15deg);
}
.bar:nth-child(10) { 
    height: 75%; align-self: flex-start;
    background: linear-gradient(to bottom, var(--primary, #ff3366), transparent);
    animation: barDown1 2.1s ease-in-out infinite 0.15s;
    transform: skewX(-5deg);
}
.bar:nth-child(11) { 
    height: 42%; align-self: flex-end;
    background: linear-gradient(to top, var(--secondary, #00d4ff), transparent);
    animation: barUp2 2.7s ease-in-out infinite 0.35s;
}
.bar:nth-child(12) { 
    height: 58%; align-self: flex-start;
    background: linear-gradient(to bottom, var(--accent, #ffd000), transparent);
    animation: barDown2 3.1s ease-in-out infinite 0.55s;
    transform: skewX(8deg);
}
.bar:nth-child(13) { 
    height: 48%; align-self: flex-end;
    background: linear-gradient(to top, var(--primary, #ff3366), transparent);
    animation: barUp1 2.3s ease-in-out infinite 0.25s;
    transform: skewX(-10deg);
}
.bar:nth-child(14) { 
    height: 52%; align-self: flex-start;
    background: linear-gradient(to bottom, var(--secondary, #00d4ff), transparent);
    animation: barDown1 2.8s ease-in-out infinite 0.45s;
    transform: skewX(6deg);
}
.bar:nth-child(15) { 
    height: 38%; align-self: flex-end;
    background: linear-gradient(to top, var(--accent, #ffd000), transparent);
    animation: barUp2 2.5s ease-in-out infinite 0.65s;
    transform: skewX(-7deg);
}

/* Animations variees pour effet aleatoire */
@keyframes barUp1 {
    0%, 100% { transform: scaleY(0.4) translateY(0); opacity: 0.4; }
    50% { transform: scaleY(1.1) translateY(-15px); opacity: 0.9; }
}

@keyframes barUp2 {
    0%, 100% { transform: scaleY(0.3) translateY(10px); opacity: 0.3; }
    40% { transform: scaleY(1.2) translateY(-20px); opacity: 1; }
    70% { transform: scaleY(0.8) translateY(-5px); opacity: 0.7; }
}

@keyframes barDown1 {
    0%, 100% { transform: scaleY(0.5) translateY(0); opacity: 0.5; }
    50% { transform: scaleY(1) translateY(10px); opacity: 0.85; }
}

@keyframes barDown2 {
    0%, 100% { transform: scaleY(0.35) translateY(-10px); opacity: 0.35; }
    35% { transform: scaleY(1.15) translateY(15px); opacity: 0.95; }
    65% { transform: scaleY(0.7) translateY(5px); opacity: 0.6; }
}
