/* Système solaire avec particules fixes en CSS/JS */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1.2s ease;
    position: relative;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

.solar-system {
    position: relative;
    width: 500px;
    height: 500px;
    overflow: hidden;
}

/* Soleil central */
.sun {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.sun img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Conteneur pour les particules de trainée */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Particules de trainée */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.particle-mercury {
    background-color: #8C7853;
    width: 2px;
    height: 2px;
    box-shadow: 0 0 3px rgba(140, 120, 83, 0.6);
}

.particle-venus {
    background-color: #FFA500;
    width: 2px;
    height: 2px;
    box-shadow: 0 0 3px rgba(255, 165, 0, 0.7);
}

.particle-earth {
    width: 2px;
    height: 2px;
    box-shadow: 0 0 4px rgba(74, 144, 226, 0.8);
}

.particle-earth.blue {
    background-color: #4A90E2;
}

.particle-earth.green {
    background-color: #50C878;
}

.particle-mars {
    background-color: #CD5C5C;
    width: 2px;
    height: 2px;
    box-shadow: 0 0 3px rgba(205, 92, 92, 0.7);
}

.particle-jupiter {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 4px rgba(210, 105, 30, 0.8);
}

.particle-jupiter.orange {
    background-color: #D2691E;
}

.particle-jupiter.gold {
    background-color: #B8860B;
}

.particle-saturn {
    background-color: #FAD5A5;
    width: 2px;
    height: 2px;
    box-shadow: 0 0 4px rgba(250, 213, 165, 0.7);
}

/* Planètes */
.planet {
    position: absolute;
    border-radius: 50%;
    z-index: 5;
}

.planet-mercury {
    width: 8px;
    height: 8px;
    background: #8C7853;
    box-shadow: 0 0 8px rgba(140, 120, 83, 0.6);
}

.planet-venus {
    width: 12px;
    height: 12px;
    background: #FFA500;
    box-shadow: 0 0 12px rgba(255, 165, 0, 0.7);
}

.planet-earth {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #4A90E2, #50C878);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.8);
}

.planet-mars {
    width: 10px;
    height: 10px;
    background: #CD5C5C;
    box-shadow: 0 0 10px rgba(205, 92, 92, 0.7);
}

.planet-jupiter {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #D2691E, #B8860B);
    box-shadow: 0 0 20px rgba(210, 105, 30, 0.8);
}

.planet-saturn {
    width: 20px;
    height: 20px;
    background: #FAD5A5;
    box-shadow: 0 0 18px rgba(250, 213, 165, 0.7);
}

/* Anneaux de Saturne */
.saturn-rings {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(250, 213, 165, 0.4);
    border-radius: 50%;
    z-index: 4;
}

/* Animation de disparition des particules */
@keyframes particleFade {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.3); }
}

.particle.fading {
    animation: particleFade 2s ease-out forwards;
}

/* Étoiles de fond */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 3s ease-in-out infinite;
}

.star:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { top: 80%; left: 30%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 30%; right: 20%; animation-delay: 1s; }
.star:nth-child(4) { bottom: 20%; right: 30%; animation-delay: 1.5s; }
.star:nth-child(5) { top: 60%; left: 10%; animation-delay: 2s; }
.star:nth-child(6) { top: 10%; right: 40%; animation-delay: 2.5s; }
.star:nth-child(7) { bottom: 40%; left: 60%; animation-delay: 0.8s; }
.star:nth-child(8) { top: 70%; right: 10%; animation-delay: 1.8s; }

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .solar-system {
        width: 350px;
        height: 350px;
        transform: scale(0.8);
    }

    .sun {
        width: 80px;
        height: 80px;
    }
}