/* ============================================================
   VERT MyPGE - Surcharge de theme (jaune de marque -> vert)
   ------------------------------------------------------------
   A charger APRES bootstrap.min.css ET perso.css.
   Palette : #76c442 (base) / #8ed952 (clair, survol) / #5fa834 (fonce)
   Texte sur fond vert : #123 (vert tres fonce, lisible)

   IMPORTANT : on ne touche PAS a la variable "warning" globale de Bootstrap.
   -> Les VRAIS avertissements (alert-warning, validations de formulaire, etc.)
      gardent leur couleur JAUNE (semantique preservee).
   On recolore UNIQUEMENT les elements de MARQUE (boutons, textes, fonds,
   badges, bordures, accents) qui utilisaient le jaune comme couleur PGE.

   NE COUVRE PAS : les styles INLINE (style="...#ffc107...") des pages PHP
      -> voir outils-rebrand-vert.sh (optionnel).
   ============================================================ */

/* --- Boutons de marque : .btn-warning (valeurs codees en dur dans
       Bootstrap 5.1.3, surchargees explicitement, tous les etats) --- */
.btn-warning{
  --bs-btn-color:#123;
  --bs-btn-bg:#76c442;
  --bs-btn-border-color:#76c442;
  --bs-btn-hover-color:#123;
  --bs-btn-hover-bg:#8ed952;
  --bs-btn-hover-border-color:#8ed952;
  --bs-btn-focus-shadow-rgb:118,196,66;
  --bs-btn-active-color:#123;
  --bs-btn-active-bg:#8ed952;
  --bs-btn-active-border-color:#7fce45;
  --bs-btn-disabled-color:#123;
  --bs-btn-disabled-bg:#76c442;
  --bs-btn-disabled-border-color:#76c442;
  color:#123;
  background-color:#76c442;
  border-color:#76c442;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:focus-visible,
.btn-warning:active,
.btn-warning.active,
.btn-warning:disabled,
.btn-warning.disabled,
.show>.btn-warning.dropdown-toggle{
  color:#123;
  background-color:#8ed952;
  border-color:#8ed952;
}
.btn-warning:focus,
.btn-warning:focus-visible,
.btn-check:checked+.btn-warning:focus,
.btn-warning.active:focus,
.btn-warning:active:focus,
.show>.btn-warning.dropdown-toggle:focus{
  box-shadow:0 0 0 .25rem rgba(118,196,66,.5);
}
.btn-outline-warning{
  --bs-btn-color:#5fa834;
  --bs-btn-border-color:#76c442;
  --bs-btn-hover-color:#123;
  --bs-btn-hover-bg:#76c442;
  --bs-btn-hover-border-color:#76c442;
  --bs-btn-active-color:#123;
  --bs-btn-active-bg:#76c442;
  --bs-btn-active-border-color:#76c442;
  --bs-btn-focus-shadow-rgb:118,196,66;
  color:#5fa834;
  border-color:#76c442;
}

/* --- Textes / fonds / badges / bordures jaunes de marque -> vert
       (!important pour battre les utilitaires Bootstrap) --- */
.text-warning{ color:#76c442 !important; }
.bg-warning{ background-color:#76c442 !important; }   /* couvre aussi .badge.bg-warning */
.border-warning{ border-color:#76c442 !important; }

/* --- perso.css : les 5 points jaunes de marque (survol nav / offcanvas /
       footer, cercles timeline, encart avis mobile) --- */
.nav-canvas:hover{ border-bottom-color:#76c442; }
.offcanvas-body:hover{ border-bottom-color:#76c442; }
footer a:hover{ color:#76c442; }
.timeline > li .timeline-image{ background-color:#76c442 !important; }
.avis-mobile{ background-color:#76c442 !important; }

/* NB : les .alert-warning (encadres jaune clair) restent JAUNES volontairement,
   ce sont de vrais messages d'avertissement. On n'y touche pas. */
