
/* =====================================================
   HELL OPTIMIZER — FIX MOBILE FOND BLANC
   AJOUT SANS SUPPRESSION DU CSS ORIGINAL
   À placer EN FIN DE styles.css
===================================================== */

/* 1️⃣ Fond de secours GLOBAL (évite le blanc si classe absente) */
html, body {
  min-height: 100%;
}

body {
  background-color: #0a0a0f;
  background-image:
    linear-gradient(rgba(10, 10, 15, 0.85), rgba(26, 26, 46, 0.85)),
    url('../images/pixelcut-export.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* 2️⃣ Sécurisation des pages spécifiques */
body.index,
body.articles,
body.products,
body.support {
  background-image:
    linear-gradient(rgba(10, 10, 15, 0.85), rgba(26, 26, 46, 0.85)),
    url('../images/pixelcut-export.webp');
}

/* 3️⃣ Fix MOBILE (iOS / Android) */
@media (max-width: 1024px) {
  body {
    background-attachment: scroll !important;
  }

  body::before {
    position: absolute;
  }
}

/* 4️⃣ Sécurité si le pseudo-element ne se rend pas */
body::before {
  pointer-events: none;
}

/* === FIN DU FIX — AUCUN STYLE SUPPRIMÉ === */
