/* ==========================================================================
   G2RD — animations.css
   États initiaux pilotés par GSAP. Sans JS ou avec reduced-motion,
   tout le contenu reste visible : aucune dépendance de contenu au JS.
   ========================================================================== */

/* Les états initiaux ne s'appliquent que si JS est actif (classe posée par main.js)
   ET si l'utilisateur accepte les animations. */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.g2rd-anim-off) .g2rd-reveal {
    opacity: 0;
    transform: translateY(40px);
  }
  html.js:not(.g2rd-anim-off) .g2rd-reveal-line {
    opacity: 0;
    transform: translateY(24px);
  }
  html.js:not(.g2rd-anim-off) .g2rd-hero__bar i {
    transform: scaleX(0);
  }
}

/* Curseur lumineux discret sur les sections sombres (décoratif) */
.g2rd-glow {
  position: fixed;
  z-index: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.05) 0%, transparent 60%);
  pointer-events: none;
  translate: -50% -50%;
  opacity: 0;
}
@media (prefers-reduced-motion: reduce), (max-width: 900px) {
  .g2rd-glow { display: none; }
}
