/* ═══════════════════════════════════════════════════════════════════
   landing.css — styles CRITIQUES de la page de connexion/landing.
   POURQUOI un fichier externe : le 2026-07-13, les styles inline (nonce
   CSP) ne s'appliquaient pas sur certains clients (page sans dégradé,
   voile bleu visible, footer pâle, © emoji) alors que le serveur était
   sain. Une feuille externe passe par style-src 'self' : aucune
   dépendance au nonce, immune aux caches HTML périmés dès lors que le
   ?v= change. Ces règles DOUBLENT les inline (ceinture + bretelles).
   ═══════════════════════════════════════════════════════════════════ */

:root, html, body { color-scheme: only light; }

/* Fond global unique : dégradé PROD sur le héro (arrêts ×0,824) qui
   poursuit son réchauffement jusqu'au coin bas-droit. */
body.landing-mode {
    background: linear-gradient(145deg, #B8D4EE 0%, #D4C4B0 45%, #A7C9A1 82%, #B7D4B1 100%) !important;
}

/* Voile bleu du layout auth : neutralisé sur la landing. */
body.landing-mode::before { display: none !important; content: none !important; background: none !important; }

/* Panneaux et footer transparents : le dégradé du body traverse tout. */
body.landing-mode .lw, body.landing-mode .lw-hero, body.landing-mode .lw-footer { background: transparent !important; }

/* Footer : liens bleu nuit, copyright quasi-noir (Safari-proof). */
body.landing-mode .lw-footer-links a { color: #063868 !important; -webkit-text-fill-color: #063868 !important; }
body.landing-mode .lw-footer-links span { color: #2B2417 !important; -webkit-text-fill-color: #2B2417 !important; }
body.landing-mode .lw-footer-copy { color: #111827 !important; -webkit-text-fill-color: #111827 !important; }
body.landing-mode .lw-copy-sign { color: #111827 !important; }
