/* ========================================
   DÉCORATION NOËL - FLOCONS DE NEIGE ANIMÉS
   Option 1 : CSS pur, subtil et élégant
   ======================================== */

/* Container des flocons - à ajouter dans le hero */
.snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none; /* Ne bloque pas les clics */
    z-index: 1; /* Derrière le contenu */
}

/* Style de base pour chaque flocon */
.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    animation: fall linear infinite;
}

/* Animation de chute */
@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

/* Variations de flocons pour un effet naturel */
.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 10s;
    animation-delay: 0s;
    font-size: 1.2em;
}

.snowflake:nth-child(2) {
    left: 20%;
    animation-duration: 12s;
    animation-delay: 2s;
    font-size: 0.9em;
}

.snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 8s;
    animation-delay: 4s;
    font-size: 1.1em;
}

.snowflake:nth-child(4) {
    left: 40%;
    animation-duration: 14s;
    animation-delay: 1s;
    font-size: 0.8em;
}

.snowflake:nth-child(5) {
    left: 50%;
    animation-duration: 11s;
    animation-delay: 3s;
    font-size: 1em;
}

.snowflake:nth-child(6) {
    left: 60%;
    animation-duration: 9s;
    animation-delay: 5s;
    font-size: 1.3em;
}

.snowflake:nth-child(7) {
    left: 70%;
    animation-duration: 13s;
    animation-delay: 2s;
    font-size: 0.95em;
}

.snowflake:nth-child(8) {
    left: 80%;
    animation-duration: 10s;
    animation-delay: 4s;
    font-size: 1.1em;
}

.snowflake:nth-child(9) {
    left: 90%;
    animation-duration: 12s;
    animation-delay: 1s;
    font-size: 0.85em;
}

.snowflake:nth-child(10) {
    left: 15%;
    animation-duration: 11s;
    animation-delay: 6s;
    font-size: 1.2em;
}

.snowflake:nth-child(11) {
    left: 25%;
    animation-duration: 9s;
    animation-delay: 3s;
    font-size: 0.9em;
}

.snowflake:nth-child(12) {
    left: 35%;
    animation-duration: 13s;
    animation-delay: 5s;
    font-size: 1em;
}

.snowflake:nth-child(13) {
    left: 45%;
    animation-duration: 10s;
    animation-delay: 2s;
    font-size: 1.15em;
}

.snowflake:nth-child(14) {
    left: 55%;
    animation-duration: 12s;
    animation-delay: 4s;
    font-size: 0.95em;
}

.snowflake:nth-child(15) {
    left: 65%;
    animation-duration: 8s;
    animation-delay: 1s;
    font-size: 1.1em;
}

/* Ajustement pour mobile - moins de flocons visibles */
@media (max-width: 768px) {
    .snowflake {
        font-size: 0.8em;
    }
    
    /* Masquer certains flocons sur mobile pour alléger */
    .snowflake:nth-child(n+11) {
        display: none;
    }
}