/* Carte de couverture publique FLC LINK — mobile d'abord (2026-10-07). Charte de public/accueil. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #141637; color: #1b1b2b;
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
}
.entete {
  background: linear-gradient(160deg, #141637, #2a1140 70%); color: #fff;
  padding: 10px 16px 12px; padding-top: max(10px, env(safe-area-inset-top));
}
.marque { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .5px; font-size: .95rem; }
.marque svg { width: 22px; height: 22px; color: #e5306f; }
.entete h1 { font-size: 1.05rem; line-height: 1.3; margin-top: 4px; }

.carte-zone { position: relative; flex: 1; min-height: 52vh; }
#carte { position: absolute; inset: 0; background: #e8e8ee; }
.btn-localiser {
  position: absolute; z-index: 1000; right: 12px; bottom: 26px;
  border: 0; border-radius: 999px; padding: 12px 16px; font-size: .95rem; font-weight: 800;
  color: #fff; background: linear-gradient(135deg, #e5306f, #a51c93);
  box-shadow: 0 6px 18px rgba(0,0,0,.3); cursor: pointer;
}
.btn-localiser:disabled { opacity: .7; cursor: wait; }

.panneau {
  background: #fff; border-radius: 18px 18px 0 0; margin-top: -14px; position: relative; z-index: 1001;
  padding: 16px 16px 14px; padding-bottom: max(14px, env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(0,0,0,.18);
}
.resultat { border-radius: 12px; padding: 12px 14px; font-size: .95rem; line-height: 1.45; font-weight: 600; }
.resultat.info { background: #f1f1f6; color: #3a3a5c; }
.resultat.ok { background: #e6f6ec; color: #11602f; }
.resultat.non { background: #fff3e2; color: #8a4b00; }
.resultat.erreur { background: #fdeaea; color: #9b1c1c; }
.resultat .avertissement { display: block; margin-top: 6px; font-weight: 500; font-size: .86rem; }
.btn-whatsapp, .btn-reessayer {
  display: block; width: 100%; margin-top: 10px; border: 0; border-radius: 13px; padding: 14px;
  font-size: 1rem; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer;
}
.btn-whatsapp { background: #1fa855; color: #fff; }
.btn-reessayer { background: #3a3a5c; color: #fff; }
[hidden] { display: none !important; }
.aide { margin-top: 10px; font-size: .82rem; color: #70708a; line-height: 1.45; }
.mention { margin-top: 6px; font-size: .74rem; color: #a0a0b6; }

/* Ordinateur : carte à gauche, résultat dans un panneau à droite. */
@media (min-width: 900px) {
  body { display: grid; grid-template-columns: 1fr 380px; grid-template-rows: auto 1fr; }
  .entete { grid-column: 1 / -1; }
  .carte-zone { min-height: 0; }
  .panneau { margin-top: 0; border-radius: 0; box-shadow: none; overflow-y: auto; }
}

/* Noms des centrales (étiquettes permanentes, masquées en vue large) — 2026-10-08 */
.leaflet-tooltip.etiquette-centrale { background: rgba(255,255,255,.92); border: 1px solid #e3d6ee; color: #3a1d4f; font-weight: 700; font-size: .72rem; padding: 2px 6px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.leaflet-tooltip.etiquette-centrale::before { display: none; }
.sans-etiquettes .leaflet-tooltip.etiquette-centrale { display: none; }
