/* ==================================================================
   SOFT RECOUVREMENT — feuille de style
   Société Nationale de Recouvrement · Soft Solutions SARL
   Palette reprise du portail : bleu de l'emblème, orange du site SNR.
   ================================================================== */

:root {
  --bleu:        #1B4B8F;
  --bleu-nuit:   #0B2545;
  --bleu-encre:  #061729;
  --orange:      #F28022;
  --orange-clair:#F7A94B;
  --sn-vert:     #00853F;
  --sn-jaune:    #FDEF42;
  --sn-rouge:    #E31B23;
  --ivoire:      #F4F7FA;
  --ligne:       #DDE4EC;
  --gris:        #5B6B82;
}

body {
  background: var(--ivoire);
  color: #12263F;
  font-size: 15px;
}

/* ------------------------------------------------------- tricolore */
.tricolore { display: flex; height: 4px; }
.tricolore span { flex: 1; }
.tricolore span:nth-child(1) { background: var(--sn-vert); }
.tricolore span:nth-child(2) { background: var(--sn-jaune); }
.tricolore span:nth-child(3) { background: var(--sn-rouge); }


/* ==================================================================
   VOLET LATÉRAL
   ================================================================== */
:root { --volet-l: 262px; --volet-r: 74px; --barre-h: 62px; }

.avec-volet { min-height: 100vh; }

.volet {
  position: fixed; top: 4px; left: 0; bottom: 0;
  width: var(--volet-l);
  background: linear-gradient(180deg, #0B2545 0%, #0A2040 55%, #061729 100%);
  color: #CBD9EC;
  display: flex; flex-direction: column;
  z-index: 1040;
  box-shadow: 4px 0 24px rgba(6, 23, 41, .22);
  transition: width .25s ease, transform .25s ease;
}

/* ---- marque et anneaux orbitaux */
.volet-marque {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  padding: 1.35rem 1rem 1.1rem; text-decoration: none; color: inherit;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.orbite { position: relative; width: 108px; height: 108px; display: grid; place-items: center; flex: 0 0 auto;
          transition: width .25s ease, height .25s ease; }
.anneau { position: absolute; inset: 0; width: 100%; height: 100%; }
.anneau--1 { animation: tourne 30s linear infinite; }
.anneau--2 { animation: tourne 48s linear infinite reverse; }
.anneau--3 { animation: tourne 22s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }

.orbite-pastille {
  width: 62%; aspect-ratio: 1; border-radius: 50%; background: #fff;
  display: grid; place-items: center; padding: 9%;
  box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 5px rgba(255,255,255,.06);
  animation: respire 6s ease-in-out infinite;
}
.orbite-pastille img { width: 100%; height: 100%; object-fit: contain; }
.orbite-pastille span { font-weight: 800; color: var(--bleu); font-size: 15px; }
@keyframes respire {
  0%,100% { box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 5px rgba(255,255,255,.06); }
  50%     { box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 9px rgba(242,128,34,.14); }
}
.volet-marque:hover .anneau--1 { animation-duration: 8s; }
.volet-marque:hover .anneau--3 { animation-duration: 6s; }

.volet-marque-txt { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.25; }
.vm-pays { font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: #8FA9CB; }
.vm-nom  { font-size: 13.5px; font-weight: 700; color: #fff; margin-top: .15rem; }
.vm-app  { font-size: 11px; color: var(--orange-clair); letter-spacing: .06em; margin-top: .2rem; }

/* ---- navigation */
.volet-nav { flex: 1; overflow-y: auto; padding: .7rem .75rem 1rem; }
.volet-nav::-webkit-scrollbar { width: 5px; }
.volet-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }

.volet-section {
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: #6F8AAE; margin: .9rem .6rem .35rem;
}
.volet-lien {
  display: flex; align-items: center; gap: .8rem;
  padding: .6rem .8rem; margin-bottom: 2px;
  border-radius: 9px; color: #CBD9EC; text-decoration: none; font-size: 14.5px;
  position: relative; transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.volet-lien i { font-size: 17px; width: 20px; text-align: center; flex: 0 0 auto; }
.volet-lien:hover { background: rgba(255,255,255,.07); color: #fff; }
.volet-lien.est-actif { background: rgba(242,128,34,.14); color: #fff; font-weight: 600; }
.volet-lien.est-actif::before {
  content: ""; position: absolute; left: -.75rem; top: 8px; bottom: 8px; width: 4px;
  background: var(--orange); border-radius: 0 3px 3px 0;
}
.volet-lien--alerte i { color: var(--orange-clair); }

/* ---- utilisateur */
.volet-user {
  display: flex; align-items: center; gap: .7rem;
  padding: .85rem .9rem; border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.vu-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--orange), var(--orange-clair));
  color: #22160A; font-weight: 800; font-size: 13px;
  display: grid; place-items: center;
}
.vu-avatar--petit { width: 30px; height: 30px; font-size: 11px; }
.vu-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.vu-nom  { font-size: 13.5px; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vu-role { font-size: 11.5px; color: #8FA9CB; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vu-sortie { margin-left: auto; color: #8FA9CB; font-size: 18px; text-decoration: none; }
.vu-sortie:hover { color: var(--orange-clair); }

/* ---- bouton réduire */
.volet-reduire {
  position: absolute; right: -13px; top: 118px;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--ligne); background: #fff; color: var(--bleu);
  display: grid; place-items: center; cursor: pointer; font-size: 12px;
  box-shadow: 0 2px 8px rgba(11,37,69,.18);
  transition: transform .25s ease;
}
.volet-reduire:hover { color: var(--orange); }

/* ---- état réduit (bureau) */
.volet-reduit .volet { width: var(--volet-r); }
.volet-reduit .orbite { width: 48px; height: 48px; }
.volet-reduit .volet-marque { padding: .9rem .4rem .7rem; }
.volet-reduit .volet-marque-txt,
.volet-reduit .volet-section,
.volet-reduit .volet-lien span,
.volet-reduit .vu-txt,
.volet-reduit .vu-sortie { display: none; }
.volet-reduit .volet-lien { justify-content: center; padding: .7rem 0; }
.volet-reduit .volet-lien.est-actif::before { left: 0; }
.volet-reduit .volet-user { justify-content: center; padding: .8rem 0; }
.volet-reduit .volet-reduire { transform: rotate(180deg); }
.volet-reduit .zone { margin-left: var(--volet-r); }

/* ---- zone principale */
.zone { margin-left: var(--volet-l); min-height: calc(100vh - 4px); display: flex; flex-direction: column;
        transition: margin-left .25s ease; }

.barre-haut {
  position: sticky; top: 4px; z-index: 1020;
  height: var(--barre-h);
  display: flex; align-items: center; gap: 1rem;
  padding: 0 1.4rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ligne);
}
.barre-burger { display: none; background: none; border: 0; font-size: 24px; color: var(--bleu-nuit); padding: 0 .3rem; }
.barre-titre h1 { font-size: 17px; font-weight: 700; color: var(--bleu-nuit); margin: 0; }
.barre-droite { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; }
.barre-date { font-size: 13px; color: var(--gris); white-space: nowrap; }
.barre-compte {
  display: flex; align-items: center; gap: .55rem;
  background: none; border: 1px solid var(--ligne); border-radius: 999px;
  padding: .28rem .8rem .28rem .3rem; font-size: 14px; color: var(--bleu-nuit); cursor: pointer;
}
.barre-compte:hover { border-color: var(--bleu); }

.contenu { flex: 1; padding: 1.5rem 1.4rem; }

.pied-snr {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  padding: .8rem 1.4rem; font-size: 12.5px; color: var(--gris);
  border-top: 1px solid var(--ligne); background: #fff;
}
.pied-snr a { color: var(--bleu); text-decoration: none; }

.volet-voile { display: none; position: fixed; inset: 0; background: rgba(6,23,41,.55); z-index: 1035; }
.volet-voile.est-visible { display: block; }
.sans-defilement { overflow: hidden; }

/* ---- mobile : volet en tiroir */
@media (max-width: 991px) {
  .volet { transform: translateX(-100%); width: var(--volet-l) !important; }
  .volet.est-ouvert { transform: translateX(0); }
  .volet-reduire { display: none; }
  .zone, .volet-reduit .zone { margin-left: 0; }
  .barre-burger { display: inline-block; }
  .barre-date { display: none; }
  .volet-reduit .volet-marque-txt, .volet-reduit .volet-section, .volet-reduit .volet-lien span,
  .volet-reduit .vu-txt, .volet-reduit .vu-sortie { display: initial; }
  .volet-reduit .orbite { width: 108px; height: 108px; }
  .volet-reduit .volet-lien { justify-content: flex-start; padding: .6rem .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .anneau, .orbite-pastille { animation: none !important; }
}

/* ------------------------------------------------------- boutons */
.btn-snr { background: var(--orange); border-color: var(--orange); color: #22160A; font-weight: 600; }
.btn-snr:hover, .btn-snr:focus { background: var(--orange-clair); border-color: var(--orange-clair); color: #22160A; }
.btn-outline-snr { border-color: var(--bleu); color: var(--bleu); font-weight: 600; }
.btn-outline-snr:hover { background: var(--bleu); color: #fff; }
.text-snr { color: var(--bleu) !important; }

/* --------------------------------------------------------- cartes */
.carte {
  background: #fff;
  border: 1px solid var(--ligne);
  border-radius: 12px;
  overflow: hidden;
}
.carte-tete {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1rem; border-bottom: 1px solid var(--ligne); background: #FAFCFE;
}
.carte-tete h2 { font-size: 15px; font-weight: 700; margin: 0; color: var(--bleu-nuit); }

/* ------------------------------------------------------ indicateurs */
.kpi {
  background: #fff; border: 1px solid var(--ligne); border-radius: 12px;
  padding: 1rem 1.1rem; border-left: 4px solid var(--bleu); height: 100%;
}
.kpi--orange { border-left-color: var(--orange); }
.kpi--vert   { border-left-color: var(--sn-vert); }
.kpi-lib { font-size: 12.5px; color: var(--gris); margin: 0 0 .35rem; }
.kpi-val { font-size: 25px; font-weight: 800; color: var(--bleu-nuit); margin: 0; letter-spacing: -.5px; }
.kpi-val small { font-size: 13px; font-weight: 600; color: var(--gris); margin-left: .35rem; }

/* ------------------------------------------- bandeau de prescription */
.presc {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1rem 1.3rem; border-radius: 12px; border: 1px solid var(--ligne);
  background: #fff; border-left: 6px solid var(--gris);
}
.presc-lib { font-size: 12.5px; letter-spacing: .05em; color: var(--gris); }
.presc-txt { font-size: 15px; }
.presc-compteur { font-size: 30px; font-weight: 800; line-height: 1; white-space: nowrap; }
.presc-compteur small { font-size: 13px; font-weight: 600; }

.presc--forclos   { border-left-color: #212529; background: #F1F1F2; }
.presc--forclos   .presc-compteur { color: #212529; }
.presc--critique  { border-left-color: #DC3545; background: #FDF2F3; }
.presc--critique  .presc-compteur { color: #DC3545; }
.presc--urgent    { border-left-color: #F0A202; background: #FFF9EC; }
.presc--urgent    .presc-compteur { color: #B4670B; }
.presc--vigilance { border-left-color: #0DCAF0; background: #F0FBFE; }
.presc--vigilance .presc-compteur { color: #0A7C91; }
.presc--normal    { border-left-color: var(--sn-vert); background: #F1FAF4; }
.presc--normal    .presc-compteur { color: var(--sn-vert); }
.presc--inconnu   .presc-compteur { color: var(--gris); }

/* ------------------------------------------------- cartes d'alerte */
.alerte-carte {
  display: block; background: #fff; border: 1px solid var(--ligne); border-radius: 11px;
  padding: .85rem .9rem; text-decoration: none; color: inherit; height: 100%;
  transition: border-color .15s ease, transform .15s ease;
}
.alerte-carte:hover { border-color: var(--bleu); transform: translateY(-1px); }
.alerte-carte.est-actif { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(242,128,34,.18); }
.pastille { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-bottom: .4rem; }
.alerte-n   { display: block; font-size: 24px; font-weight: 800; line-height: 1; color: var(--bleu-nuit); }
.alerte-lib { display: block; font-size: 12.5px; color: var(--gris); }
.alerte-enc { display: block; font-size: 11.5px; color: #9AA8BC; margin-top: .2rem; }

/* ---------------------------------------------------------- tables */
.table > thead th {
  font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--gris); font-weight: 600; border-bottom-width: 1px;
}
.table td { font-size: 14px; }
.ligne-alerte { background: #FEF6F6 !important; }

.fiche-dl { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; margin: 0; }
.fiche-dl dt { font-weight: 500; color: var(--gris); font-size: 13.5px; }
.fiche-dl dd { margin: 0; font-size: 14px; }

.bloc-saisie {
  background: #FAFCFE; border: 1px dashed var(--ligne);
  border-radius: 10px; padding: .85rem; margin: 0;
}

.nav-tabs .nav-link { font-size: 14px; color: var(--gris); border: 0; border-bottom: 2px solid transparent; }
.nav-tabs .nav-link.active { color: var(--bleu); border-bottom-color: var(--orange); background: transparent; font-weight: 600; }

@media (max-width: 767px) {
  .presc { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .kpi-val { font-size: 21px; }
}

@media print {
  .nav-snr, .pied-snr, .bloc-saisie, .btn, .nav-tabs { display: none !important; }
  body { background: #fff; }
  .carte { border: 1px solid #ccc; }
}

/* ------------------------------------------------- paramètres */
.param-onglet {
  display: flex; align-items: center; gap: .6rem;
  padding: .65rem .8rem; border-radius: 9px; text-decoration: none;
  color: var(--texte); font-size: 14.5px;
}
.param-onglet:hover { background: var(--ivoire); }
.param-onglet.est-actif { background: rgba(27,75,143,.08); color: var(--bleu); font-weight: 600; }

/* ------------------------------------------------ statistiques */
.stat-carte {
  display: flex; flex-direction: column; gap: .35rem; height: 100%;
  background: #fff; border: 1px solid var(--ligne); border-radius: 14px;
  padding: 1.25rem 1.2rem; text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.stat-carte:hover { transform: translateY(-3px); border-color: var(--bleu); box-shadow: 0 12px 28px rgba(11,37,69,.10); }
.stat-ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(27,75,143,.09); color: var(--bleu); font-size: 22px; margin-bottom: .4rem;
}
.stat-carte:nth-child(odd) .stat-ic { background: rgba(242,128,34,.12); color: #C25F0B; }
.stat-lib  { font-weight: 700; color: var(--bleu-nuit); font-size: 15.5px; }
.stat-desc { font-size: 13px; color: var(--gris); flex: 1; }
.stat-lien { font-size: 13px; color: var(--orange); font-weight: 600; margin-top: .5rem; }

/* ------------------------------------------------------- IA */
.ia-texte { font-size: 14.5px; line-height: 1.7; }
.ia-editeur { font-family: Georgia, "Times New Roman", serif; font-size: 14.5px; line-height: 1.65; }

@media print {
  .modal-header, .modal-footer, #ia-type, #ia-ton, #ia-generer, .form-text, .form-check { display: none !important; }
  .modal { position: static; display: block !important; }
  .modal-dialog { max-width: 100%; margin: 0; }
  .modal-content { border: 0; }
  .ia-editeur { border: 0; resize: none; height: auto; min-height: 90vh; }
}

/* ------------------------------------------------- cloche */
.barre-cloche {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--ligne); background: #fff; color: var(--bleu-nuit);
  font-size: 18px; display: grid; place-items: center; cursor: pointer;
}
.barre-cloche:hover { border-color: var(--bleu); color: var(--bleu); }
.cloche-badge {
  position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--sn-rouge); color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid #fff; animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }

.notif-menu { width: 380px; max-width: 92vw; padding: 0; border: 1px solid var(--ligne); border-radius: 12px; overflow: hidden; }
.notif-tete { padding: .75rem 1rem; font-weight: 700; font-size: 13.5px; color: var(--bleu-nuit); background: #FAFCFE; border-bottom: 1px solid var(--ligne); }
.notif-vide { padding: 1.2rem 1rem; margin: 0; font-size: 13.5px; color: var(--gris); }
.notif-item {
  display: flex; gap: .75rem; align-items: flex-start; padding: .65rem 1rem;
  text-decoration: none; color: var(--texte); border-bottom: 1px solid var(--ligne);
  border-left: 3px solid transparent;
}
.notif-item:hover { background: var(--ivoire); }
.notif-item i { font-size: 17px; margin-top: 2px; }
.notif-item span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.notif-item strong { font-size: 13.5px; }
.notif-item small { font-size: 12px; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-item--danger  { border-left-color: var(--sn-rouge); } .notif-item--danger i  { color: var(--sn-rouge); }
.notif-item--warning { border-left-color: var(--orange); }   .notif-item--warning i { color: var(--orange); }
.notif-item--info    { border-left-color: var(--bleu-clair); } .notif-item--info i  { color: var(--bleu-clair); }
.notif-pied { display: block; padding: .65rem 1rem; font-size: 13px; text-align: center; text-decoration: none; color: var(--bleu); background: #FAFCFE; }

.compte-menu { min-width: 260px; border-radius: 12px; border: 1px solid var(--ligne); padding: .4rem 0; }
.compte-entete { display: flex; gap: .7rem; align-items: center; padding: .7rem 1rem .4rem; }
.compte-entete span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.compte-entete strong { font-size: 14px; color: var(--bleu-nuit); }
.compte-entete small { font-size: 12px; color: var(--gris); }
.compte-menu .dropdown-item { padding: .55rem 1rem; font-size: 14px; display: flex; gap: .6rem; align-items: center; }

/* ==================================================================
   CONNEXION — scène en deux panneaux
   ================================================================== */
.page-login { margin: 0; background: #fff; }
.lg-scene { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(420px, .95fr); min-height: calc(100vh - 4px); }

.lg-panneau {
  position: relative; overflow: hidden; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 3rem 2rem;
  background:
    radial-gradient(900px 520px at 78% 12%, rgba(78,134,214,.35), transparent 60%),
    radial-gradient(700px 480px at 8% 92%, rgba(242,128,34,.22), transparent 60%),
    linear-gradient(160deg, #0B2545 0%, #123262 48%, #061729 100%);
}
.lg-grille {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.lg-panneau-in { position: relative; text-align: center; max-width: 560px; }

.orbite--grand { width: 150px; height: 150px; margin: 0 auto 1.4rem; }
.orbite--grand .orbite-pastille { width: 64%; }

.lg-pays { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #BFD3EE; margin: 0 0 .5rem; }
.lg-institution {
  font-family: Georgia, "Times New Roman", serif; font-weight: 700;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; margin: 0 0 .35rem; letter-spacing: -.3px;
}
.lg-devise { font-style: italic; color: var(--orange-clair); margin: 0 0 1.4rem; font-size: 15.5px; }
.lg-cartouche {
  display: inline-block; padding: .55rem 1.6rem; border: 1.5px solid var(--orange-clair);
  border-radius: 999px; color: var(--orange-clair); letter-spacing: .18em; font-size: 13px; font-weight: 600;
}
.lg-accroche { margin: 1.5rem auto 1.4rem; color: #CBD9EC; font-size: 16px; max-width: 52ch; }
.lg-atouts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; }
.lg-atouts li { font-size: 13.5px; color: #DCE6F4; display: flex; align-items: center; gap: .4rem; }
.lg-atouts i { color: var(--orange-clair); }
.lg-mention { position: absolute; bottom: 1.2rem; font-size: 12px; color: #6F8AAE; margin: 0; }

.lg-form { position: relative; display: flex; align-items: center; justify-content: center; padding: 3rem 2rem;
           border-top: 4px solid var(--orange); background: #fff; }
.lg-retour { position: absolute; top: 1.4rem; right: 1.6rem; font-size: 14px; color: var(--bleu-nuit); text-decoration: none;
             background: var(--ivoire); border: 1px solid var(--ligne); border-radius: 999px; padding: .5rem 1rem; }
.lg-retour:hover { border-color: var(--bleu); color: var(--bleu); }
.lg-form-in { width: 100%; max-width: 420px; }
.lg-eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--bleu-clair); margin: 0 0 .5rem; font-weight: 600; }
.lg-titre { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(30px, 3vw, 40px);
            line-height: 1.12; color: var(--bleu-nuit); margin: 0 0 .5rem; }
.lg-sous { color: var(--gris); margin: 0; font-size: 15px; }
.lg-label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
            color: var(--bleu-nuit); margin-bottom: .45rem; }
.lg-champ { border: 1.5px solid var(--ligne); border-radius: 12px; background: #F7F9FC; font-size: 16px; padding: .8rem 1rem; }
.lg-champ:focus { background: #fff; border-color: var(--bleu); box-shadow: 0 0 0 4px rgba(27,75,143,.12); }
.lg-mdp { position: relative; }
.lg-oeil { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0;
           color: var(--gris); font-size: 18px; padding: .4rem; }
.lg-securite { display: flex; align-items: center; gap: .8rem; margin: 1.8rem 0 .9rem; color: #9AA8BC; font-size: 12.5px; }
.lg-securite::before, .lg-securite::after { content: ""; flex: 1; height: 1px; background: var(--ligne); }
.lg-pastilles { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; }
.lg-pastilles span { font-size: 12px; color: var(--gris); background: var(--ivoire); border: 1px solid var(--ligne);
                     border-radius: 999px; padding: .3rem .7rem; }
.lg-pied { margin: 2rem 0 0; text-align: center; font-size: 12px; color: #9AA8BC; }
.lg-pied a { color: var(--orange); text-decoration: none; font-weight: 600; }

@media (max-width: 991px) {
  .lg-scene { grid-template-columns: 1fr; }
  .lg-panneau { padding: 2.4rem 1.4rem 3rem; min-height: auto; }
  .lg-mention { position: static; margin-top: 1.6rem; }
  .lg-form { padding: 2.4rem 1.4rem 3rem; }
  .lg-retour { position: static; display: inline-block; margin-bottom: 1.4rem; }
}
