/* =========================================================
   EtuNid – nouveau fond du header (quartier au crépuscule)
   Remplace uniquement le décor de .home-atmosphere.
   ========================================================= */

/* Le conteneur existant garde sa place : on change seulement son contenu */
.home-atmosphere{background:none}
.home-atmosphere::after{display:none}            /* ancienne grille */
.home-atmosphere > span,
.home-atmosphere > svg{display:none}             /* anciens halos et cercle */

/* Ciel */
.hf-ciel{position:absolute;inset:-6%;background:radial-gradient(120% 70% at 72% 100%,#24476B 0%,#132A4A 38%,#0B1830 70%)}

/* Soleil couchant (halo ambre) */
.hf-soleil{position:absolute;right:16%;bottom:16%;width:min(46vw,620px);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,rgba(242,165,65,.55) 0%,rgba(242,165,65,.18) 38%,rgba(242,165,65,0) 68%)}

/* Poussière lumineuse */
.hf-poussiere{position:absolute;inset:0}
.hf-poussiere i{position:absolute;width:3px;height:3px;border-radius:50%;background:#FFFFFF}

/* Silhouette du quartier : 3 plans de profondeur */
.hf-ville{position:absolute;left:-5%;right:-5%;bottom:-2%}
/* annule le style de l'ancien cercle (.home-atmosphere svg) sur notre dessin */
.home-atmosphere .hf-ville svg{display:block;position:static;inset:auto;width:100%;height:auto;stroke:none;stroke-dasharray:none;animation:none;transform:none;overflow:visible}

/* Voile pour garder le texte lisible */
.hf-voile{position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,24,48,.15) 0%,rgba(11,24,48,0) 30%,rgba(11,24,48,.2) 62%,rgba(11,24,48,.72) 100%)}

/* Les plans bougent avec la souris : on prévient le navigateur */
.hf-couche,.hf-soleil,.hf-ciel{will-change:transform}

@media (max-width:760px){
  .hf-soleil{right:-10%;bottom:22%;width:90vw}
}
