/* =====================================================
   FETES.CSS
   Décorations saisonnières
   ===================================================== */

/* 1. DÉCORATIONS COMMUNES */

.fete-decoration {
    position: fixed;
    top: -60px;
    z-index: 9999;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    animation: fete-tomber linear infinite;
    will-change: transform, opacity;
}

@keyframes fete-tomber {
    0% {
        transform: translate3d(0, -10vh, 0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        transform: translate3d(20px, 110vh, 0) rotate(360deg);
        opacity: 0;
    }
}

/* 2. HALLOWEEN */

.fete-halloween {
    filter: drop-shadow(0 0 4px rgba(255, 120, 0, 0.45));
}

/* 3. SAINT-VALENTIN */

.fete-saint_valentin {
    filter: drop-shadow(0 0 4px rgba(255, 120, 0, 0.45));
}

/* 4. FÊTE DE LA MUSIQUE */

.fete_musique {
    filter: drop-shadow(0 0 4px rgba(255, 120, 0, 0.45));
}

/* 5. NOËL */

.fete-noel {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.6));
}

/* Flocons de neige */

.fete-flocon {
    position: fixed;
    top: -40px;
    z-index: 9999;
    pointer-events: none;
    user-select: none;
    line-height: 1;

    color: #6b9dcc;

    text-shadow:
        0 0 2px rgba(255, 255, 255, 0.95),
        0 0 5px rgba(65, 115, 165, 0.45);

    animation-name: neige-tomber;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

    will-change: transform;
}

@keyframes neige-tomber {
    0% {
        transform: translate3d(0, -10vh, 0) rotate(0deg);
    }

    50% {
        transform: translate3d(18px, 50vh, 0) rotate(180deg);
    }

    100% {
        transform: translate3d(-12px, 110vh, 0) rotate(360deg);
    }
}

/* 6. PÂQUES */

.fete-paques {
    filter: drop-shadow(0 0 3px rgba(255, 180, 210, 0.4));
}

/* 7. SAINT-PATRICK */

.fete-saint-patrick {
    position: fixed;
    top: -80px;
    z-index: 9999;
    pointer-events: none;
    user-select: none;

    object-fit: contain;

    animation: fete-tomber linear infinite;

    will-change: transform, opacity;

    filter: drop-shadow(0 2px 4px rgba(0, 80, 0, 0.25));
}

/* 8. LOGO SAISONNIER */

.hero-target {
    object-fit: contain;
}

/* 9. FEUX D'ARTIFICE DU 14 JUILLET */

#fete-feux-artifice {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

/* 10. ACCESSIBILITÉ */

@media (prefers-reduced-motion: reduce) {
    .fete-decoration,
    .fete-flocon,
    .fete-saint-patrick {
        animation: none !important;
        display: none !important;
    }

    #fete-feux-artifice {
        display: none !important;
    }
}