/* OPJUS V3.4 — identité graphique globale
   - retire uniquement le liseré tricolore FIXE placé au-dessus des pages
   - conserve les bandeaux et liserés intégrés aux pages
   - restaure le fond institutionnel bleu/blanc/rouge autour des contenus
   - ne modifie pas les palettes internes NATINF/AFD
*/
html{max-width:100%;overflow-x:hidden;background:#071b3f!important}
html::before{content:none!important;display:none!important;height:0!important;box-shadow:none!important;background:none!important}

body{
  min-height:100vh;
  background-color:#eef3f9!important;
  background-image:url('/assets/img/opjus-bg-carte-pro.png')!important;
  background-repeat:no-repeat!important;
  background-position:center top!important;
  background-size:cover!important;
  background-attachment:fixed!important;
}

/* Le fond doit rester visible autour des grands conteneurs, sans recolorer leur contenu. */
.d2-shell{background:transparent!important}
.v3-page{background:transparent!important}

/* Les consoles et cartes centrales conservent leur surface propre. */
.admin-v2,.v3-wrap{position:relative}

/* Pas de bandeau supérieur recréé par les anciennes feuilles globales. */
body::before{content:none!important}

@media(max-width:900px){
  body{
    background-attachment:scroll!important;
    background-position:center top!important;
    background-size:auto 100vh!important;
  }
}

@media(prefers-reduced-motion:reduce){
  body{background-attachment:scroll!important}
}

/* V1.5 : suppression des anciens liserés supérieurs redondants. */
.tricolor,.v3-tricolor,#opjus-global-tricolor{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
