/* Mode léger (html.lite) : téléphones, tablettes tactiles, écrans étroits, économie de données.
   Mêmes ambiances, mais sans les effets qui saturent la mémoire graphique d'un mobile :
   flous géants, transparences floutées (backdrop-filter), calques déplacés au défilement, particules en nombre. */

/* Partout : le ciel étoilé ne scintille que lorsqu'il est à l'écran */
.night-sky.is-off .star, .night-sky.is-off .firefly, .night-sky.is-off .shooting-star { animation-play-state: paused; }

/* Les halos géants (1 800 px floutés) coûtent des dizaines de Mo de mémoire sur un écran Retina */
html.lite .glow-gradient { filter: none; width: 900px; height: 900px; left: -35%; }
html.lite .glow-light { mix-blend-mode: normal; opacity: 0.55; }

/* Verres floutés : remplacés par des fonds quasi opaques (le flou en direct est très coûteux sous Safari) */
html.lite .hero-badge, html.lite nav, html.lite .etape-toast, html.lite .carnet, html.lite .film-play { -webkit-backdrop-filter: none; backdrop-filter: none; }
html.lite nav.scrolled { background: rgba(255, 255, 255, 0.98); }
html.lite nav.scrolled.on-night { background: rgba(27, 15, 44, 0.98); }
html.lite .etape-toast { background: rgba(27, 15, 44, 0.96); }
html.lite .hero-badge { background: rgba(42, 15, 69, 0.6); }

/* Panorama : plus de parallaxe, donc plus besoin de garder douze calques géants en mémoire */
html.lite .pano-layer { will-change: auto; }
html.lite .pano-halo img { animation: none; }
html.lite .hero-light, html.lite .night-lantern, html.lite .pano-reveal { display: none; }

/* Titres : on apparaît en fondu, sans flou animé */
html.lite .split .w {
  filter: none;
  transition: opacity 600ms var(--ease-out) calc(var(--i) * 60ms + 100ms), transform 600ms var(--ease-out) calc(var(--i) * 60ms + 100ms);
}

/* Film : lueur fixe plutôt que respirante */
html.lite #film .film-frame-wrap::before { animation: none; }
html.lite .film-frame { box-shadow: 0 0 0 1px rgba(167, 200, 115, 0.28), 0 14px 36px rgba(20, 10, 34, 0.5); }

/* Cartes : ombres plus légères pendant le défilement */
html.lite .pub-card, html.lite .action-card, html.lite .team-card, html.lite .jp-card { box-shadow: 0 6px 18px rgba(42, 15, 69, 0.08); }
