/* Nuages décoratifs CSS */
.axo-clouds-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; 
    overflow: hidden;
    display: none;
}

/* On s'assure que le main est au dessus des nuages pour garder les liens cliquables 
   si jamais les nuages sont devant visuellement */
main, header, footer {
    position: relative;
    z-index: 10;
}

/* Affiche uniquement sur la page d'accueil */
.home-page .axo-clouds-container {
    display: block;
}

.css-cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.55);
    width: 100px;
    height: 40px;
    border-radius: 50px;
    filter: blur(2px);
    box-shadow: 0 8px 15px rgba(255, 255, 255, 0.1);
    transition: opacity 0.5s ease;
}

.css-cloud:hover {
    opacity: 0.8;
}

.css-cloud::before,
.css-cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.css-cloud::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 15px;
}

.css-cloud::after {
    width: 70px;
    height: 70px;
    top: -35px;
    right: 10px;
}

/* Tailles variées */
.cloud-sm { transform: scale(0.6); opacity: 0.4; }
.cloud-md { transform: scale(1); opacity: 0.5; }
.cloud-lg { transform: scale(1.5); opacity: 0.6; }

/* Animations */
@keyframes float-horizontal {
    0% { transform: translateX(-10vw); }
    100% { transform: translateX(110vw); }
}

@keyframes drift {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
}

.animate-float {
    animation: float-horizontal linear infinite;
}

.animate-drift {
    animation: drift ease-in-out infinite;
}

/* Positions spécifiques */
.cloud-1 { top: 5%; left: -10%; animation-duration: 45s; }
.cloud-2 { top: 15%; left: -15%; animation-duration: 60s; animation-delay: -10s; }
.cloud-3 { top: 35%; left: -20%; animation-duration: 50s; animation-delay: -25s; }
.cloud-4 { top: 60%; left: -10%; animation-duration: 70s; animation-delay: -5s; }
.cloud-5 { top: 80%; left: -15%; animation-duration: 55s; animation-delay: -30s; }

/* Mobile optimization */
@media (max-width: 768px) {
    .cloud-3, .cloud-4 {
        display: none;
    }
    .cloud-lg {
        transform: scale(1);
    }
}
