/*
 * HomeBe — mur de connexion des outils.
 *
 * Feuille autonome : le mur s'affiche aussi sur /recherche/, qui n'utilise
 * pas homebe-mvp.css mais sa propre feuille. Isoler ces règles évite de
 * charger 200 Ko de CSS pour afficher une fenêtre de connexion.
 *
 * Les variables de charte sont redéclarées en repli, au cas où style.css du
 * thème ne serait pas encore chargé.
 */
:root{
  --hb-navy:#1B2A4E; --hb-navy2:#0F1A33; --hb-amber:#D9A441; --hb-amber2:#B8852B;
  --hb-cream:#F1EDE5; --hb-mist:#F4F5F7; --hb-line:#D7DBE3;
  --hb-sub:#5B6577; --hb-mid:#8C95A6;
}

/* ============================================================
   MUR DE CONNEXION — aperçu flouté + fenêtre centrée
   L'aperçu est purement décoratif : aucune donnée réelle, rien à
   déverrouiller en retirant le filtre.
   ============================================================ */
.hb-mur-wrap { background: var(--hb-cream); }

.hb-mur-scene {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 128px 20px 72px;   /* dégage le header fixe */
  overflow: hidden;
}

/* ---- Silhouette floutée ---- */
.hb-mur-apercu {
  position: absolute;
  inset: 88px 0 0;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  filter: blur(7px);
  opacity: .5;
  pointer-events: none;
  user-select: none;
}
.hb-mur-apercu-col { display: flex; flex-direction: column; gap: 18px; }

.hb-mur-faux-carte,
.hb-mur-faux-navy {
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hb-mur-faux-carte { background: #fff; border: 1px solid var(--hb-line); }
.hb-mur-faux-navy  { background: var(--hb-navy); gap: 14px; }

.hb-mur-faux-titre   { height: 13px; width: 45%; border-radius: 4px; background: var(--hb-navy); opacity: .8; }
.hb-mur-faux-ligne   { height: 10px; width: 62%; border-radius: 4px; background: var(--hb-line); }
.hb-mur-faux-piste   { height: 6px;  width: 100%; border-radius: 999px; background: var(--hb-line); }
.hb-mur-faux-rang    { height: 11px; width: 100%; border-radius: 4px; background: var(--hb-mist); }
.hb-mur-faux-rang:nth-child(odd) { width: 82%; }
.hb-mur-faux-eyebrow { height: 9px;  width: 32%; border-radius: 4px; background: rgba(255,255,255,.35); }
.hb-mur-faux-chiffre { height: 40px; width: 58%; border-radius: 8px; background: rgba(255,255,255,.9); }
.hb-mur-faux-sub     { height: 10px; width: 44%; border-radius: 4px; background: rgba(255,255,255,.3); }

/* ---- Voile ---- */
.hb-mur-voile {
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 45%, rgba(241,237,229,.72), rgba(241,237,229,.94) 70%);
  pointer-events: none;
}

/* ---- Fenêtre ---- */
.hb-mur-modale {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--hb-line);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(27, 42, 78, .18);
  padding: 34px 32px 28px;
  text-align: center;
}
.hb-mur-cadenas {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(217,164,65,.12); border: 1px solid rgba(217,164,65,.32);
  margin-bottom: 16px;
}
.hb-mur-titre {
  font-size: clamp(23px, 3.2vw, 30px); font-weight: 700; letter-spacing: -.025em;
  line-height: 1.12; color: var(--hb-navy); margin: 0 0 8px;
}
.hb-mur-accroche { font-size: 14.5px; line-height: 1.5; color: var(--hb-mid); margin: 0 0 16px; }
.hb-mur-sub { font-size: 15px; line-height: 1.55; color: var(--hb-sub); margin: 0 0 22px; }

.hb-mur-liste {
  list-style: none; margin: 0 0 24px; padding: 0;
  display: flex; flex-direction: column; gap: 9px; text-align: left;
}
.hb-mur-liste li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 14px; line-height: 1.45; color: var(--hb-navy);
}
.hb-mur-liste svg { flex: 0 0 14px; margin-top: 3px; }

.hb-mur-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hb-mur-actions .hb-pill { flex: 1 1 190px; justify-content: center; }
.hb-mur-note { margin: 14px 0 0; font-size: 12.5px; color: var(--hb-mid); }

@media (max-width: 900px) {
  .hb-mur-apercu { grid-template-columns: 1fr; inset: 80px 0 0; }
  .hb-mur-apercu-col:first-child { display: none; }
}
@media (max-width: 600px) {
  .hb-mur-scene { padding: 104px 16px 56px; min-height: 88vh; }
  .hb-mur-modale { padding: 26px 20px 22px; border-radius: 18px; }
  .hb-mur-actions .hb-pill { flex: 1 1 100%; }
}
