/* ==========================================================
   FIX MODE CLAIR FORCÉ — RIVIERAclinic academy
   Empêche le navigateur / le système d'appliquer un fond noir
   la nuit (mode sombre auto, Samsung "Dark mode", Chrome
   "Auto dark theme", Safari iOS).
   À lier dans le <head> de CHAQUE page :
   <link rel="stylesheet" href="fix-mode-clair.css">
   + la balise meta juste après <meta charset="utf-8"> :
   <meta name="color-scheme" content="light only">
   ========================================================== */

:root{color-scheme:light only}
html,body{background:#ffffff!important;color:#1c1c1c!important;forced-color-adjust:none}

/* Chrome Android "Thème sombre automatique" et Samsung Internet
   inversent les couleurs : on redéclare les fonds essentiels */
@media (prefers-color-scheme:dark){
  :root{color-scheme:light only}
  html,body,header,.form,.mail,.choice,.step,.band-txt,.modal,.card{background:#ffffff!important;color:#1c1c1c!important}
  .ticket,.parcours,.gris{background:#f3f3f1!important}
  .hero-bg,.step.first,.choice:has(input:checked),.seq div.on{background:#cfd9c8!important}
  .choice:hover{background:#e6ecdf!important}
  .btn{background:#1c1c1c!important;color:#ffffff!important}
  .btn:hover,.btn.ghost{background:#ffffff!important;color:#1c1c1c!important}
  .btn.ghost:hover{background:#1c1c1c!important;color:#ffffff!important}
  input,select,textarea{background:transparent!important;color:#1c1c1c!important;-webkit-text-fill-color:#1c1c1c}
  img{filter:grayscale(1)!important}
}
