/* Reset basique */
body {
  margin: 0;
  font: normal 75% Arial, Helvetica, sans-serif;
  position: relative; /* Pour le contexte de z-index */
  background: #171415; /* fond général sombre */
  color: #fff; /* texte blanc pour contraste */
  z-index: 0;
}

/* Container des particules */
#particles-js {
  position: fixed;    /* Toujours visible à l'écran */
  top: 0;
  left: 0;
  width: 100vw;       /* largeur écran */
  height: 100vh;      /* hauteur écran */
  z-index: -1;        /* derrière tout le reste */
  background: transparent; /* pas de fond opaque */
}

/* Conteneur compteur particules, optionnel */
.count-particles {
  background: transparent; /* pas de fond opaque */
  position: fixed;
  top: 48px;
  left: 0;
  width: 100px;
  color: #13E8E9;
  font-size: 0.8em;
  text-align: left;
  padding-left: 8px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  z-index: 10; /* au-dessus de tout */
}

/* Canvas qui contient les particules */
canvas {
  display: block;
  vertical-align: bottom;
}


/* Refonte RIC - navigation et lisibilite mobile, 15/10/2026 */
#patrimoine, #courtage, #assurances, #dirigeants, #reprise-lbo, #honoraires { scroll-margin-top: 220px; }
@media (max-width: 781px) {
  header .is-style-header-fixed { padding-left: 20px !important; padding-right: 20px !important; }
  header .wp-block-site-logo { padding-left: 0 !important; padding-right: 0 !important; }
  header .wp-block-site-logo .custom-logo-link { width: 104px; max-width: 100%; }
  header .wp-block-site-logo img { width: 104px; height: auto; max-width: 100%; }
  footer .wp-block-columns { padding-left: 8px !important; padding-right: 8px !important; }
}

/* Boutons de mission : lisibles et accessibles sur ecran tactile */
.entry-content .wp-block-button__link { font-size: 17px; line-height: 1.35; padding: 12px 20px; min-height: 44px; box-sizing: border-box; font-weight: 700; text-decoration: none; display: inline-block; }
