/* ==========================================================================
   users.centralaffiche — espace client Longue Conservation
   Charte issue des maquettes Illustrator (Materiel/) : palette, polices, composants.
   ========================================================================== */

/* --- Polices (fichiers livrés avec les maquettes) ----------------------- */
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-VariableItalic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter_18pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter_18pt-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  /* Seule la graisse Light est livrée ; la graisse RB de la maquette est une police Adobe non assemblée */
  font-family: "BC Alphapipe";
  src: url("/fonts/BCAlphapipeL-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Jetons de design --------------------------------------------------- */
:root {
  --teal: #155453;
  --teal-clair: #1f7170;
  --teal-pale: #a4d6d8;
  --orange: #ea7106;
  --orange-fonce: #d26404;
  --orange-vif: #ff931e;
  --menthe: #ecf5f2;
  --menthe-foncee: #d9ebe3;
  --fond: #f3f9f6;
  --blanc: #ffffff;
  --texte: #1d1d1b;
  --texte-doux: #3d3d3b;
  --gris: #6f6f6e;
  --bordure: #dbe6e1;
  --vert: #5fb030;
  --jaune: #eda209;
  --rouge: #e52a27;
  --bleu: #2eafe5;

  --police-titre: "Montserrat", "Segoe UI", Arial, sans-serif;
  --police-texte: "Montserrat", "Segoe UI", Arial, sans-serif;
  --police-ui: "Inter", "Segoe UI", Arial, sans-serif;
  --police-alpha: "BC Alphapipe", "Montserrat", "Segoe UI", Arial, sans-serif;

  --rayon: 10px;
  --ombre: 0 2px 8px rgba(21, 84, 83, 0.08);
  --marge-page: 40px;
  --hauteur-entete: 80px;
}

/* --- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--police-texte);
  font-size: 15px;
  line-height: 1.4;
  color: var(--texte);
  background: var(--fond);
}
img { max-width: 100%; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--police-titre); margin: 0; }
.contenu { flex: 1; }
.ico { width: 1.2em; height: 1.2em; flex: none; }

/* Pastilles de statut (aussi utilisées sur la carte via cartes.js) */
.pastille { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--gris); flex: none; }
.statut-actif { background: var(--vert); }
.statut-en-cours { background: var(--jaune); }
.statut-resilie { background: var(--rouge); }
.statut-preconisation { background: var(--bleu); }

/* --- Boutons ------------------------------------------------------------ */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--police-ui); font-weight: 600; font-size: 14px; line-height: 1.2;
  border: 0; border-radius: 8px; padding: 10px 18px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, box-shadow .15s;
}
.bouton .ico { width: 18px; height: 18px; }
.bouton-orange { background: var(--orange); color: var(--blanc); }
.bouton-orange:hover { background: var(--orange-fonce); }
.bouton-teal { background: var(--teal); color: var(--blanc); }
.bouton-teal:hover { background: var(--teal-clair); }
.bouton-retour { background: var(--teal); color: var(--blanc); font-size: 13px; padding: 6px 14px 6px 8px; border-radius: 6px; }
.bouton-retour:hover { background: var(--teal-clair); }
.bouton-retour .ico { width: 16px; height: 16px; }
.bouton-blanc { background: var(--blanc); color: var(--texte); font-size: 12px; padding: 7px 12px; border: 1px solid var(--bordure); box-shadow: var(--ombre); }
.bouton-blanc:hover { background: var(--menthe); }
.bouton-blanc .ico { width: 16px; height: 16px; color: var(--teal); }
.bouton-contour { background: var(--blanc); color: var(--orange); border: 2px solid var(--orange); text-align: left; padding: 8px 16px; }
.bouton-contour:hover { background: #fff5ec; }

/* --- En-tête ------------------------------------------------------------ */
.entete {
  display: flex; align-items: center;
  height: var(--hauteur-entete);
  background: var(--teal); color: var(--blanc);
}
.entete-logo {
  width: 240px; height: 100%; flex: none;
  background: var(--blanc);
  display: flex; align-items: center; justify-content: center;
}
.entete-logo img { width: 170px; height: auto; }
.entete-nav { display: flex; gap: 64px; margin-left: 48px; }
.entete-lien {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--police-ui); font-weight: 600; font-size: 15px; letter-spacing: .02em;
  text-transform: uppercase; color: var(--blanc); text-decoration: none;
}
.entete-lien:hover, .entete-lien.actif { color: var(--orange-vif); }
.cloche { position: relative; display: inline-flex; color: var(--blanc); }
.cloche .ico { width: 24px; height: 24px; }
.cloche .badge {
  position: absolute; top: -7px; right: -8px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--orange); color: var(--blanc);
  font-size: 10px; line-height: 16px; text-align: center;
}
.entete-droite { margin-left: auto; display: flex; align-items: center; gap: 40px; padding-right: 24px; }
.entete-utilisateur {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; color: var(--blanc); cursor: pointer;
  font-family: var(--police-ui); font-weight: 600; font-size: 15px;
}
.entete-utilisateur .ico-deconnexion { width: 24px; height: 24px; stroke-width: 2.2; }
.entete-utilisateur:hover { color: var(--orange-vif); }

/* --- Boîte de dialogue (confirmation de déconnexion) -------------------- */
.dialogue {
  width: min(420px, calc(100vw - 32px)); padding: 28px;
  border: 0; border-radius: var(--rayon); background: var(--blanc); color: var(--texte);
  box-shadow: 0 12px 40px rgba(21, 84, 83, 0.25);
}
.dialogue::backdrop { background: rgba(21, 84, 83, 0.45); }
.dialogue h2 { font-size: 20px; color: var(--teal); margin-bottom: 10px; }
.dialogue p { margin: 0 0 24px; }
.dialogue-actions { display: flex; justify-content: flex-end; gap: 12px; }
.dialogue-actions .bouton { font-size: 14px; padding: 10px 18px; }
.entete-client {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--blanc); display: grid; place-items: center; overflow: hidden;
}
.entete-client img { width: 48px; height: 48px; object-fit: contain; }

/* --- Pied de page ------------------------------------------------------- */
.pied {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; padding: 0 var(--marge-page);
  background: var(--teal); color: var(--blanc);
  font-family: var(--police-ui); font-weight: 600; font-size: 14px;
}
.pied a { display: inline-flex; align-items: center; gap: 8px; color: var(--blanc); text-decoration: none; }
.pied .ico { width: 20px; height: 20px; }

/* ==========================================================================
   Tableau de bord
   ========================================================================== */
.accueil {
  position: relative; overflow: hidden;
  min-height: 290px;
  background: linear-gradient(90deg, #e4f1eb 0%, #eef6f2 60%);
}
.accueil-texte { position: relative; z-index: 1; width: 56%; padding: 38px var(--marge-page) 30px; }
.accueil-texte h1 { font-size: 30px; font-weight: 600; color: var(--teal); margin-bottom: 6px; }
.accueil-texte p { font-style: italic; font-weight: 500; font-size: 15px; color: var(--texte-doux); margin: 0 0 24px; }

.indicateurs { display: flex; flex-wrap: wrap; gap: 16px; }
.indicateur {
  display: grid; grid-template-columns: 56px auto; grid-template-rows: auto auto; column-gap: 14px;
  min-width: 150px; padding: 14px 20px 12px 14px;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: 14px; box-shadow: var(--ombre);
}
.indicateur-icone {
  grid-row: 1 / span 2; align-self: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--menthe); color: var(--teal);
  display: grid; place-items: center;
}
.indicateur-icone .ico { width: 30px; height: 30px; }
.indicateur-libelle { align-self: end; font-family: var(--police-ui); font-weight: 600; font-size: 11px; line-height: 1.2; text-transform: uppercase; }
.indicateur-valeur { font-family: var(--police-titre); font-weight: 700; font-size: 46px; line-height: 1; color: var(--teal); }

/* Visuel de droite : photo dans une forme à grand arrondi, liserés teal / orange / bleu pâle */
.accueil-visuel { position: absolute; top: 0; right: 0; bottom: 0; width: 45%; }
.bande { height: 100%; overflow: hidden; }
.bande-1 { background: var(--teal); border-bottom-left-radius: 270px; padding: 0 0 14px 14px; }
.bande-2 { background: var(--orange); border-bottom-left-radius: 256px; padding: 0 0 12px 12px; }
.bande-3 { background: var(--teal-pale); border-bottom-left-radius: 244px; padding: 0 0 14px 14px; }
.bande-3 img { display: block; width: 100%; height: 100%; object-fit: cover; border-bottom-left-radius: 230px; }

.magasins {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px;
  padding: 32px var(--marge-page) 40px;
}
.titre-section { font-family: var(--police-ui); font-weight: 600; font-size: 15px; text-transform: uppercase; color: var(--teal); margin-bottom: 20px; }

/* Carrousel générique (magasins et faces) */
.carrousel { display: flex; align-items: center; gap: 16px; min-width: 0; }
.carrousel-piste {
  flex: 1; min-width: 0;
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 12px;
  scrollbar-width: thin; scrollbar-color: #c9d6d0 transparent;
}
.carrousel-piste::-webkit-scrollbar { height: 6px; }
.carrousel-piste::-webkit-scrollbar-thumb { background: #c9d6d0; border-radius: 3px; }
.carrousel-fleche {
  flex: none; width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: 10px;
  color: var(--teal); cursor: pointer; box-shadow: var(--ombre);
}
.carrousel-fleche:hover { background: var(--menthe); }
.carrousel-fleche .ico { width: 22px; height: 22px; }

.carte-magasin {
  flex: 0 0 300px; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 10px;
  padding: 8px;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: 12px; box-shadow: var(--ombre);
}
.carte-magasin-corps { display: flex; gap: 14px; }
.carte-magasin-photo { width: 110px; height: 180px; object-fit: cover; border-radius: 10px; flex: none; }
.carte-magasin-infos { display: flex; flex-direction: column; padding-top: 10px; font-family: var(--police-ui); font-weight: 600; }
.carte-magasin-infos .enseigne { font-size: 13px; text-transform: uppercase; color: var(--teal); }
.carte-magasin-infos .ville { font-size: 13px; margin-top: 4px; }
.carte-magasin-infos .nombre { font-family: var(--police-titre); font-weight: 700; font-size: 40px; line-height: 1; color: var(--teal); margin-top: 14px; }
.carte-magasin-infos .unite { font-size: 12px; margin-top: 8px; }
.carte-magasin .bouton { width: 100%; }

.magasins-carte { min-height: 380px; }
.carte-france { height: 100%; min-height: 380px; border-radius: 12px; background: var(--menthe); border: 1px solid var(--bordure); }

/* ==========================================================================
   Parc magasin
   ========================================================================== */
.parc { padding: 28px var(--marge-page) 40px; }
.parc-entete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin: 20px 0 14px; }
.parc-titre h1, .panneau-entete h1 {
  display: flex; align-items: center; gap: 10px;
  font-size: 30px; font-weight: 600; color: var(--teal);
}
.parc-titre h1 .ico, .panneau-entete h1 .ico { width: 30px; height: 30px; }
.parc-resume { margin: 2px 0 0 40px; font-style: italic; font-weight: 500; font-size: 21px; color: var(--vert); }
.parc-resume em { color: var(--orange); }
.parc-outils { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.parc-outils .bouton-teal { padding: 7px 14px 7px 10px; font-size: 14px; border-radius: 6px; }

.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtre {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: 6px;
  font-family: var(--police-ui); font-weight: 600; font-size: 13px; color: var(--texte);
  cursor: pointer;
}
.filtre:hover { background: var(--menthe); }
/* Sélection en camaïeu clair : un filtre coché ne doit pas se confondre avec un bouton d'action (teal plein) */
.filtre.actif { background: color-mix(in srgb, var(--teal-pale) 60%, var(--menthe-foncee)); border-color: var(--teal); color: var(--teal); }
.filtre.actif:hover { background: var(--teal-pale); }

.carrousel-faces .carrousel-fleche { width: 56px; height: 56px; }
.carte-face {
  flex: 0 0 190px; scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding-bottom: 10px; overflow: hidden;
  background: var(--blanc); border: 2px solid var(--bordure); border-radius: 8px;
  color: var(--texte); text-decoration: none;
  transition: box-shadow .15s, border-color .15s;
}
.carte-face:hover { box-shadow: 0 4px 14px rgba(21, 84, 83, 0.18); }
.carte-face.selectionnee { border-color: var(--orange); }
.carte-face.masquee { display: none; }
.carte-face-photo { width: 100%; height: 130px; object-fit: cover; }
.carte-face-code, .carte-face-commune { font-family: var(--police-ui); font-weight: 600; font-size: 11px; text-transform: uppercase; padding: 0 10px; }
.carte-face-code { padding-top: 10px; }
.carte-face-format { font-size: 11px; padding: 8px 10px 0; color: var(--texte-doux); }
.carte-face-statut { display: flex; align-items: center; gap: 6px; font-size: 11px; padding: 4px 10px 0; }
.carrousel-vide { padding: 30px; color: var(--gris); font-style: italic; }

/* Cartes Leaflet */
.carte-cadre { position: relative; margin-top: 20px; border: 1px solid var(--bordure); border-radius: var(--rayon); overflow: hidden; background: var(--menthe); }
.carte { width: 100%; }
.carte-parc { height: 420px; }
.carte-legende {
  position: absolute; z-index: 500; top: 16px; left: 16px;
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px 16px;
  background: var(--blanc); border-radius: 8px; box-shadow: var(--ombre);
  font-family: var(--police-ui); font-weight: 600; font-size: 11px;
}
.carte-legende span { display: inline-flex; align-items: center; gap: 8px; }
.carte-recentrer { position: absolute; z-index: 500; top: 16px; right: 16px; }
.carte-streetview { position: absolute; z-index: 500; top: 16px; left: 16px; width: 44px; height: 44px; padding: 0; }
.carte-streetview .ico { width: 26px; height: 26px; color: #e5a100; }

.leaflet-container { font-family: var(--police-ui); background: var(--fond); }
.leaflet-bar { border: 1px solid var(--bordure) !important; box-shadow: var(--ombre) !important; border-radius: 8px !important; overflow: hidden; }
.leaflet-bar a { width: 32px !important; height: 32px !important; line-height: 32px !important; color: var(--teal) !important; font-size: 20px; }
.leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, .7) !important; }
.leaflet-tooltip.info-carte { padding: 6px 10px; border: 1px solid var(--bordure); border-radius: 6px; box-shadow: var(--ombre); font-size: 12px; font-weight: 600; color: var(--texte); }
.leaflet-tooltip.info-carte small { display: block; font-weight: 400; color: var(--gris); }
.marqueur-face, .marqueur-magasin { background: none; border: 0; }
.marqueur-face svg { display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); cursor: pointer; }
.marqueur-magasin .epingle {
  width: 44px; height: 44px; margin: 4px auto 0;
  background: var(--teal); border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid; place-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .35);
}
.marqueur-magasin .epingle img {
  width: 32px; height: 32px; padding: 3px;
  background: var(--blanc); border-radius: 50%; object-fit: contain;
  transform: rotate(45deg);
}

/* ==========================================================================
   Fiche panneau
   ========================================================================== */
.panneau { padding: 28px var(--marge-page) 40px; }
.panneau-entete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.panneau-grille {
  display: grid; grid-template-columns: 1.35fr 1.1fr 1.7fr 1fr; gap: 28px;
  margin-top: 26px;
}
.panneau-photo { margin: 0; min-height: 560px; border-radius: var(--rayon); overflow: hidden; background: var(--menthe-foncee); }
.panneau-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.panneau-infos { min-width: 0; }
.panneau-code { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.panneau-code .code { font-family: var(--police-titre); font-weight: 600; font-size: 28px; color: var(--teal); }
.etiquette-statut {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: 6px;
  font-family: var(--police-ui); font-weight: 600; font-size: 13px;
}
.panneau-afficheur { font-family: var(--police-ui); font-weight: 600; font-size: 17px; color: var(--teal); margin: 14px 0 6px; }
.panneau-adresse { font-style: normal; font-family: var(--police-ui); font-weight: 600; font-size: 15px; line-height: 1.7; }
.panneau-infos h3 { font-family: var(--police-ui); font-weight: 600; font-size: 15px; color: var(--teal); margin: 14px 0 8px; }
.gps { display: flex; gap: 10px; }
.gps input {
  width: 100%; min-width: 0;
  padding: 6px 10px;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: 6px;
  font-family: var(--police-ui); font-weight: 600; font-size: 13px; color: var(--texte);
}
.bouton-copier { margin-top: 10px; padding: 6px 12px; font-size: 13px; border-radius: 6px; }
.bouton-copier.copie { background: var(--vert); }

.montants { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 22px 0; font-family: var(--police-titre); font-weight: 600; font-size: 20px; color: var(--teal); }
.montants dd { margin: 0; text-align: right; }

.historique-titre { text-align: center; text-transform: uppercase; border-top: 2px solid var(--teal); padding-top: 14px; }
.panneau-infos h3.historique-titre { font-size: 17px; margin: 0 0 14px; }
.historique {
  position: relative; list-style: none; margin: 0 0 0 6px; padding: 4px 0 0;
  max-height: 200px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: #c9d6d0 transparent;
}
.historique::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 16px; width: 3px; background: var(--teal); }
.historique li { position: relative; display: flex; gap: 22px; padding: 0 0 14px 28px; font-family: var(--police-ui); font-weight: 600; font-size: 14px; }
.historique li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 13px; height: 13px; border-radius: 50%; background: var(--teal);
}
.historique li.en-cours::before { background: var(--vert); box-shadow: inset 0 0 0 3px var(--blanc); }
.historique-date { flex: none; width: 88px; }

.panneau-carte { margin-top: 0; height: 560px; }
.carte-panneau { height: 100%; }

.documents {
  display: flex; flex-direction: column;
  padding: 24px 20px;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--rayon); box-shadow: var(--ombre);
}
.documents h2 { font-family: var(--police-ui); font-weight: 600; font-size: 20px; text-transform: uppercase; color: var(--teal); margin-bottom: 20px; }
.documents-liste { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.documents-liste li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--bordure); border-radius: 8px; }
.documents-icone { width: 36px; height: 36px; border-radius: 50%; background: var(--menthe); color: var(--teal); display: grid; place-items: center; flex: none; }
.documents-icone .ico { width: 20px; height: 20px; }
.documents-texte { min-width: 0; }
.documents-libelle { display: block; font-family: var(--police-ui); font-weight: 600; font-size: 14px; color: var(--teal); }
.documents-meta { display: block; font-size: 11px; font-style: italic; color: var(--gris); }
.documents-telecharger { margin-left: auto; color: var(--teal); display: inline-flex; }
.documents-telecharger .ico { width: 22px; height: 22px; }
.documents .bouton-contour { margin-top: auto; align-self: center; }

/* ==========================================================================
   Connexion
   ========================================================================== */
.page-connexion { background: var(--blanc); }
.connexion { display: grid; grid-template-columns: minmax(400px, 28%) 1fr; min-height: 100vh; }
.connexion-formulaire { padding: 40px 40px 40px clamp(40px, 5vw, 90px); }
.connexion-logo { width: 250px; margin-bottom: 36px; }
.connexion-titre {
  font-family: var(--police-alpha); font-weight: 400; font-size: clamp(36px, 2.9vw, 46px); line-height: 1.12;
  color: var(--teal-clair);
  -webkit-text-stroke: .9px var(--teal-clair); /* compense la graisse Light, seule livrée */
  margin-bottom: 14px;
}
.connexion-sous-titre { font-family: var(--police-alpha); font-size: 15px; color: var(--texte); margin: 0 0 40px; }
.connexion-form label { display: block; font-family: var(--police-alpha); font-size: 22px; text-transform: uppercase; margin: 0 0 8px; }
.connexion-form input {
  width: 100%; height: 44px; padding: 0 18px; margin-bottom: 22px;
  border: 2px solid var(--orange-vif); border-radius: 22px; outline: none;
  font-family: var(--police-texte); font-size: 16px; color: var(--texte); background: var(--blanc);
}
.connexion-form input:focus { box-shadow: 0 0 0 4px rgba(255, 147, 30, .22); }
.champ-mdp { position: relative; }
.champ-mdp input { padding-right: 52px; }
.bouton-oeil { position: absolute; right: 14px; top: 10px; background: none; border: 0; color: var(--texte); cursor: pointer; padding: 0; }
.bouton-oeil .ico { width: 24px; height: 24px; }
.bouton-oeil.visible { color: var(--orange); }
.bouton-connexion {
  margin-top: 16px; padding: 12px 36px; border-radius: 14px;
  background: var(--orange-vif); color: var(--texte);
  font-family: var(--police-alpha); font-weight: 400; font-size: 24px;
}
.bouton-connexion:hover { background: var(--orange); }
.connexion-illustration { position: relative; display: flex; align-items: center; padding: 40px 40px 40px 0; overflow: hidden; }
.connexion-illustration::before { content: ""; position: absolute; left: 0; top: 200px; bottom: 0; width: 1px; background: #e3ece8; }
.connexion-illustration img { width: 100%; max-height: 100%; object-fit: contain; }

/* --- Erreur ------------------------------------------------------------- */
.erreur { padding: 60px var(--marge-page); text-align: center; }
.erreur h1 { color: var(--teal); margin-bottom: 12px; }

/* ==========================================================================
   Adaptatif
   ========================================================================== */
@media (max-width: 1280px) {
  .panneau-grille { grid-template-columns: 1fr 1fr; }
  .panneau-photo { min-height: 420px; }
  .panneau-carte { height: 420px; }
}
@media (max-width: 1100px) {
  :root { --marge-page: 24px; }
  .entete-nav { gap: 32px; margin-left: 24px; }
  .entete-droite { gap: 20px; }
  .accueil-texte { width: 100%; }
  .accueil-visuel { display: none; }
  .magasins { grid-template-columns: 1fr; }
  .connexion { grid-template-columns: 1fr; }
  .connexion-formulaire { padding: 40px 32px; max-width: 520px; }
  .connexion-illustration { display: none; }
}
@media (max-width: 760px) {
  .entete-logo { width: 150px; }
  .entete-logo img { width: 120px; }
  .entete-utilisateur span { display: none; }
  .panneau-grille { grid-template-columns: 1fr; }
  .pied { flex-direction: column; gap: 8px; padding: 12px var(--marge-page); }
}
