/* app.camynergia.net (27/10/2026, demande de Yann) : quand CAMYnergie sert ses écrans de connexion sous le nom de domaine de
   CAMYnergía, ils portent le nom et la charte de CAMYnergía — vert sapin #1d4b3a / #123226, jaune safran #e2b13c / #e8c25a,
   fond crème — et non le bleu et or de CAMYnergie. Chargé par _Layout.cshtml seulement sur ce domaine (DomaineCamynergia.Hote). */
:root {
  --camy-bleu: #1d4b3a;
  --camy-bleu-clair: #24583f;
  --camy-bleu-fonce: #123226;
  --camy-or: #b8860b;
  --p-accent: #1d4b3a;
  --p-accent-clair: #e7efe9;
  --p-fond: #f7f5ef;
}
body.theme-camynergia { background: #f7f5ef; }
.theme-camynergia .p-bandeau {
  background: linear-gradient(120deg, #123226 0%, #1d4b3a 60%, #24583f 100%) !important;
  border-bottom: 3px solid #e2b13c; color: #fff;
}
.theme-camynergia .p-identite-nom { color: #fff; font-size: 1.25rem; letter-spacing: .02em; }
.theme-camynergia .p-identite-nom b { color: #e8c25a; font-weight: 700; }
.theme-camynergia .p-identite-societe { color: rgba(255, 255, 255, .85); }
/* Sur ce domaine, CAMYnergie ne sert que la connexion : pas de menu ni de boutons de l'application */
.theme-camynergia .p-menu, .theme-camynergia .p-bandeau-actions, .theme-camynergia .p-bandeau-droite { display: none !important; }
.theme-camynergia .p-cadre { grid-template-columns: 1fr !important; }
.theme-camynergia h1, .theme-camynergia h2, .theme-camynergia .h3, .theme-camynergia .h4 { color: #1d4b3a; }
.theme-camynergia a { color: #1d4b3a; }
.theme-camynergia a:hover { color: #123226; }
.theme-camynergia .btn-primary, .theme-camynergia .btn-camy, .theme-camynergia button[type=submit].btn {
  background: linear-gradient(120deg, #123226, #1d4b3a) !important; border-color: #1d4b3a !important; color: #fff !important;
  box-shadow: inset 0 -2px 0 #e2b13c;
}
.theme-camynergia .btn-outline-primary, .theme-camynergia .btn-outline-secondary {
  color: #1d4b3a !important; border-color: #1d4b3a !important; background: #fff;
}
.theme-camynergia .btn-outline-primary:hover, .theme-camynergia .btn-outline-secondary:hover { background: #e7efe9 !important; }
.theme-camynergia .form-control:focus, .theme-camynergia .form-check-input:focus {
  border-color: #e2b13c; box-shadow: 0 0 0 .2rem rgba(226, 177, 60, .3);
}
.theme-camynergia .form-check-input:checked { background-color: #1d4b3a; border-color: #1d4b3a; }
.camynergia-sous-titre { text-align: center; color: #5f6b63; font-size: .92rem; margin: -6px 0 18px; }
.camynergia-sous-titre::after { content: ""; display: block; width: 56px; height: 3px; background: #e2b13c; border-radius: 2px; margin: 8px auto 0; }
/* Les clés d'accès sont liées à app.camynergie.net : pas proposées ici */
.theme-camynergia #bloc-cle { display: none !important; }
/* Le nom reste visible sur téléphone (CAMYnergie le masque en écran étroit) */
@media (max-width: 991.98px) { .theme-camynergia .p-identite { display: flex !important; } .theme-camynergia .p-bandeau { display: flex !important; align-items: center; } }
.theme-camynergia .p-identite { background: transparent !important; border-right: 0 !important; }
/* Logo CAMYnergía (27/10/2026) : sur plaque crème dans le bandeau vert */
.theme-camynergia .logo-camynergia { height: 50px; width: auto; display: block; align-self: flex-start; flex: none; max-width: 100%; object-fit: contain; background: #fbf8ef; border-radius: 9px; padding: 3px 10px; box-shadow: inset 0 -2px 0 #e2b13c; }
