/*
 * Fond du site public : dégradé sombre avec halos verts très doux, rendu en vectoriel.
 * Remplace l'ancien motif de bruit répété qui rendait le noir granuleux.
 */
html {
    background-color: #08090b;
    background-image:
        radial-gradient(1100px 620px at 6% -8%, rgba(0, 230, 118, 0.14), rgba(0, 230, 118, 0) 62%),
        radial-gradient(880px 520px at 102% -2%, rgba(105, 240, 174, 0.07), rgba(105, 240, 174, 0) 66%),
        radial-gradient(1200px 680px at 50% 104%, rgba(0, 200, 83, 0.06), rgba(0, 200, 83, 0) 68%),
        linear-gradient(180deg, #101519 0%, #0a0d10 46%, #08090b 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* Le body reste transparent pour laisser apparaître le fond du document. */
body.noise-bg {
    background: transparent;
}

/* Neutralise l'ancien calque de bruit encore présent dans la feuille compilée. */
body.noise-bg::before {
    content: none;
    background-image: none;
}

@media (min-width: 1024px) {
    /* Trame technique à peine visible, nette car vectorielle et jamais agrandie. */
    html {
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.019) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.019) 1px, transparent 1px),
            radial-gradient(1100px 620px at 6% -8%, rgba(0, 230, 118, 0.14), rgba(0, 230, 118, 0) 62%),
            radial-gradient(880px 520px at 102% -2%, rgba(105, 240, 174, 0.07), rgba(105, 240, 174, 0) 66%),
            radial-gradient(1200px 680px at 50% 104%, rgba(0, 200, 83, 0.06), rgba(0, 200, 83, 0) 68%),
            linear-gradient(180deg, #101519 0%, #0a0d10 46%, #08090b 100%);
        background-size: 96px 96px, 96px 96px, cover, cover, cover, cover;
        background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat;
        background-attachment: fixed;
    }
}
