/* ============================================================
   EASY HEALTH (EH) — Page de connexion premium
   ------------------------------------------------------------
   Reproduction de la maquette de référence en composants réels
   (HTML/CSS/Bootstrap). Aucune image de maquette n'est utilisée
   comme fond : la photo médicale est un asset optimisé et tous
   les éléments sont accessibles au clavier et aux lecteurs
   d'écran.

   Sommaire
     1.  Jetons de couleur & thèmes
     2.  Ossature (grille 2 zones)
     3.  Zone gauche — identité & univers médical
     4.  Zone droite — barre d'outils
     5.  Carte d'authentification
     6.  Sélecteur d'environnement
     7.  Champs de formulaire
     8.  Boutons & alertes
     9.  Pied de page
     10. Responsive
     11. Accessibilité & mouvements réduits
   ============================================================ */

/* ------------------------------------------------------------
   1. JETONS DE COULEUR & THÈMES
   ------------------------------------------------------------ */
:root {
  --ehl-navy:        #071B33;   /* bleu nuit      */
  --ehl-deep:        #0B2C52;   /* bleu profond   */
  --ehl-blue:        #168BFF;   /* bleu électrique*/
  --ehl-teal:        #16C7B7;   /* turquoise      */
  --ehl-green:       #67D43D;   /* vert santé     */
  --ehl-white:       #FFFFFF;

  --ehl-radius:      22px;
  --ehl-radius-sm:   14px;
  --ehl-speed:       220ms;
  --ehl-ease:        cubic-bezier(.4, 0, .2, 1);
}

/* --- Thème sombre (défaut, fidèle à la maquette) ----------- */
html[data-theme="dark"] {
  --ehl-bg:          #04101F;
  --ehl-bg-2:        #071B33;
  --ehl-surface:     rgba(11, 34, 60, .62);
  --ehl-surface-2:   rgba(9, 28, 51, .78);
  --ehl-border:      rgba(90, 150, 220, .20);
  --ehl-border-soft: rgba(90, 150, 220, .12);
  --ehl-text:        #EAF2FB;
  --ehl-text-soft:   #9FB4CC;
  --ehl-text-mute:   #6F869F;
  --ehl-field:       rgba(6, 22, 41, .72);
  --ehl-field-focus: rgba(8, 30, 55, .92);
  --ehl-shadow:      0 24px 70px rgba(0, 0, 0, .55);
  --ehl-veil-1:      rgba(4, 14, 28, .96);
  --ehl-veil-2:      rgba(6, 24, 45, .74);
  --ehl-veil-3:      rgba(7, 27, 51, .34);
}

/* --- Thème clair (médical, premium, très lisible) ---------- */
html[data-theme="light"] {
  --ehl-bg:          #EEF4FB;
  --ehl-bg-2:        #FFFFFF;
  --ehl-surface:     rgba(255, 255, 255, .94);
  --ehl-surface-2:   #FFFFFF;
  --ehl-border:      rgba(11, 44, 82, .16);
  --ehl-border-soft: rgba(11, 44, 82, .09);
  --ehl-text:        #0A2138;
  --ehl-text-soft:   #4A6076;
  --ehl-text-mute:   #7189A0;
  --ehl-field:       #F5F8FC;
  --ehl-field-focus: #FFFFFF;
  --ehl-shadow:      0 20px 55px rgba(11, 44, 82, .14);
  --ehl-veil-1:      rgba(4, 16, 32, .92);
  --ehl-veil-2:      rgba(7, 30, 56, .70);
  --ehl-veil-3:      rgba(9, 38, 70, .30);
}

/* ------------------------------------------------------------
   2. OSSATURE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }

/* L attribut hidden doit primer sur tout affichage (flex/grid) local. */
[hidden] { display: none !important; }

body.ehl-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Inter', 'Manrope', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ehl-text);
  background: var(--ehl-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.ehl-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 640px);
  min-height: 100vh;
  min-height: 100dvh;
}

/* ------------------------------------------------------------
   3. ZONE GAUCHE — IDENTITÉ & UNIVERS MÉDICAL
   ------------------------------------------------------------ */
.ehl-stage {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.4vw, 56px) clamp(28px, 4vw, 68px);
  background: var(--ehl-navy);
  overflow: hidden;
}

/* --- Photo médicale (équipe soignante) --------------------- */
.ehl-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.ehl-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 22%;
  display: block;
}

/* --- Voile bleu nuit garantissant la lisibilité ------------- */
.ehl-veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(100deg, var(--ehl-veil-1) 0%, var(--ehl-veil-2) 42%, var(--ehl-veil-3) 72%, rgba(7, 27, 51, .55) 100%),
    linear-gradient(180deg, rgba(4, 14, 28, .55) 0%, rgba(4, 14, 28, 0) 28%, rgba(4, 14, 28, .72) 100%);
}
/* Raccord invisible avec le panneau de droite */
.ehl-veil::after {
  content: '';
  position: absolute;
  top: 0; right: -1px; bottom: 0;
  width: 22%;
  background: linear-gradient(90deg, rgba(4, 16, 31, 0) 0%, var(--ehl-bg) 100%);
}

/* --- Éléments médicaux discrets (ECG, grille, halos) -------- */
.ehl-decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.ehl-ecg {
  position: absolute;
  left: -4%;
  top: 26%;
  width: 46%;
  height: 130px;
  opacity: .55;
}
.ehl-ecg path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: ehlTrace 5.5s var(--ehl-ease) infinite;
}
@keyframes ehlTrace {
  0%   { stroke-dashoffset: 1400; opacity: 0; }
  12%  { opacity: 1; }
  60%  { stroke-dashoffset: 0; opacity: 1; }
  92%  { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 1400; opacity: 0; }
}

.ehl-grid {
  position: absolute;
  right: 4%;
  bottom: 26%;
  width: 42%;
  height: 240px;
  opacity: .16;
  background-image:
    linear-gradient(rgba(22, 199, 183, .8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 199, 183, .8) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 72%);
}

.ehl-dots {
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: 56%;
  height: 46%;
  opacity: .35;
  background-image: radial-gradient(circle, rgba(22, 139, 255, .55) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 70% 90%, #000 10%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 90%, #000 10%, transparent 68%);
}

.ehl-halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.ehl-halo.a { left: -12%; top: -14%; width: 420px; height: 420px; background: rgba(22, 139, 255, .28); }
.ehl-halo.b { left: 6%;  bottom: -18%; width: 380px; height: 380px; background: rgba(22, 199, 183, .18); }

/* --- Marque --------------------------------------------------- */
.ehl-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  animation: ehlFadeDown .6s var(--ehl-ease) both;
}
.ehl-brand-logo {
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .10);
}
.ehl-brand-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

.ehl-wordmark {
  font-size: clamp(30px, 3.1vw, 46px);
  font-weight: 800;
  letter-spacing: .5px;
  line-height: 1;
  margin: 0;
  color: #fff;
}
.ehl-wordmark .easy   { color: var(--ehl-blue); }
.ehl-wordmark .health { color: var(--ehl-green); }

.ehl-tagline {
  margin: 10px 0 0;
  font-size: clamp(11px, .92vw, 14px);
  font-weight: 700;
  letter-spacing: 2.6px;
  color: rgba(226, 238, 250, .82);
  text-transform: uppercase;
}

/* --- Accroche ------------------------------------------------- */
.ehl-headline { max-width: 620px; animation: ehlFadeUp .7s .06s var(--ehl-ease) both; }

.ehl-headline h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 66px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .45);
}
.ehl-headline h1 .hl { color: var(--ehl-green); }

.ehl-rule {
  width: 92px;
  height: 5px;
  margin: 26px 0 22px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ehl-blue), var(--ehl-teal) 55%, var(--ehl-green));
}

.ehl-headline p {
  margin: 0;
  max-width: 460px;
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.55;
  color: rgba(214, 229, 244, .86);
}

/* --- Atouts --------------------------------------------------- */
.ehl-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
  animation: ehlFadeUp .7s .14s var(--ehl-ease) both;
}
.ehl-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 10px 16px;
  border-radius: 18px;
  text-align: center;
  background: rgba(10, 32, 57, .52);
  border: 1px solid rgba(120, 175, 235, .16);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  transition: transform var(--ehl-speed) var(--ehl-ease),
              border-color var(--ehl-speed) var(--ehl-ease),
              background var(--ehl-speed) var(--ehl-ease);
}
.ehl-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 199, 183, .42);
  background: rgba(12, 40, 70, .62);
}
.ehl-feature i {
  font-size: 27px;
  line-height: 1;
  color: var(--ehl-teal);
}
.ehl-feature.is-blue i  { color: var(--ehl-blue); }
.ehl-feature.is-green i { color: var(--ehl-green); }
.ehl-feature span {
  font-size: 14px;
  font-weight: 600;
  color: #E6F0FA;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   4. ZONE DROITE — BARRE D'OUTILS
   ------------------------------------------------------------ */
.ehl-pane {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(20px, 2.4vw, 34px) clamp(20px, 2.6vw, 48px) clamp(18px, 2vw, 28px);
  background: var(--ehl-bg);
}
html[data-theme="dark"] .ehl-pane {
  background:
    radial-gradient(1000px 620px at 80% -10%, rgba(22, 139, 255, .14), transparent 62%),
    radial-gradient(760px 520px at 10% 110%, rgba(22, 199, 183, .10), transparent 60%),
    var(--ehl-bg);
}

.ehl-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin-bottom: clamp(14px, 2vw, 26px);
}

.ehl-lang {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--ehl-surface);
  border: 1px solid var(--ehl-border);
}
.ehl-lang button {
  min-width: 46px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ehl-text-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  cursor: pointer;
  transition: background var(--ehl-speed) var(--ehl-ease), color var(--ehl-speed) var(--ehl-ease);
}
.ehl-lang button[aria-pressed="true"] {
  background: var(--ehl-blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(22, 139, 255, .38);
}

.ehl-icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--ehl-border);
  background: var(--ehl-surface);
  color: var(--ehl-text-soft);
  font-size: 17px;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--ehl-speed) var(--ehl-ease),
              border-color var(--ehl-speed) var(--ehl-ease),
              transform var(--ehl-speed) var(--ehl-ease);
}
.ehl-icon-btn:hover {
  color: var(--ehl-teal);
  border-color: rgba(22, 199, 183, .45);
  transform: translateY(-1px);
}
.ehl-theme .bi { transition: transform var(--ehl-speed) var(--ehl-ease); }
.ehl-theme:hover .bi { transform: rotate(18deg); }
.ehl-theme .ehl-sun  { display: none; }
.ehl-theme .ehl-moon { display: inline-block; }
html[data-theme="light"] .ehl-theme .ehl-sun  { display: inline-block; }
html[data-theme="light"] .ehl-theme .ehl-moon { display: none; }

/* ------------------------------------------------------------
   5. CARTE D'AUTHENTIFICATION
   ------------------------------------------------------------ */
.ehl-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2.4vw, 36px) clamp(24px, 2.2vw, 32px);
  border-radius: var(--ehl-radius);
  background: var(--ehl-surface);
  border: 1px solid var(--ehl-border);
  box-shadow: var(--ehl-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: ehlCardIn .55s var(--ehl-ease) both;
}
/* Bordure lumineuse très discrète */
.ehl-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--ehl-radius) + 1px);
  padding: 1px;
  background: linear-gradient(150deg, rgba(22, 139, 255, .45), rgba(22, 199, 183, .28) 45%, rgba(103, 212, 61, .22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: .8;
}

.ehl-card-logo {
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(4, 20, 40, .35);
}
.ehl-card-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

.ehl-welcome { text-align: center; margin-bottom: 20px; }
.ehl-welcome h1 {
  margin: 0 0 6px;
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 700;
  letter-spacing: -.5px;
  color: var(--ehl-text);
}
.ehl-welcome p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ehl-text-soft);
}
.ehl-welcome p b { color: var(--ehl-blue); font-weight: 600; }

/* ------------------------------------------------------------
   6. SÉLECTEUR D'ENVIRONNEMENT
   ------------------------------------------------------------ */
.ehl-envs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
  border: 0;
  padding: 0;
}
.ehl-envs legend {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ehl-env { position: relative; margin: 0; }
.ehl-env input {
  position: absolute;
  top: 12px; left: 12px;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
}
.ehl-env-box {
  display: flex;
  gap: 11px;
  height: 100%;
  padding: 13px 13px 12px;
  border-radius: var(--ehl-radius-sm);
  border: 1.5px solid var(--ehl-border);
  background: var(--ehl-surface-2);
  cursor: pointer;
  transition: border-color var(--ehl-speed) var(--ehl-ease),
              background var(--ehl-speed) var(--ehl-ease),
              transform var(--ehl-speed) var(--ehl-ease),
              box-shadow var(--ehl-speed) var(--ehl-ease);
}
.ehl-env-box:hover { transform: translateY(-2px); }

.ehl-env-ico {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 19px;
  color: var(--ehl-blue);
  background: #fff;
  box-shadow: 0 3px 10px rgba(10, 37, 64, .16);
  transition: transform var(--ehl-speed) var(--ehl-ease),
              box-shadow var(--ehl-speed) var(--ehl-ease);
}
/* L'emblème remplit la pastille : il porte déjà son propre anneau. */
.ehl-env-ico img { width: 100%; height: 100%; display: block; border-radius: 50%; }
.ehl-env--training .ehl-env-ico { color: var(--ehl-teal); }
.ehl-env-box:hover .ehl-env-ico { transform: scale(1.06); }
.ehl-env input:checked ~ .ehl-env-box .ehl-env-ico,
.ehl-env-box:has(~ .ehl-env-check) .ehl-env-ico { box-shadow: 0 5px 16px rgba(10, 37, 64, .22); }

.ehl-env-txt { min-width: 0; }
.ehl-env-title {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .55px;
  text-transform: uppercase;
  color: var(--ehl-text);
  margin-bottom: 3px;
}
.ehl-env-desc {
  display: block;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ehl-text-soft);
}
.ehl-env-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #0A2B22;
  background: var(--ehl-green);
}

/* Indicateur de sélection */
.ehl-env-check {
  position: absolute;
  top: -9px; right: -8px;
  width: 25px; height: 25px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 13px;
  color: #fff;
  background: var(--ehl-blue);
  border: 2px solid var(--ehl-bg);
  opacity: 0;
  transform: scale(.6);
  transition: opacity var(--ehl-speed) var(--ehl-ease), transform var(--ehl-speed) var(--ehl-ease);
}
.ehl-env--training .ehl-env-check { background: var(--ehl-teal); }

/* État sélectionné : contour bleu (réel) / turquoise (formation) */
.ehl-env input:checked + .ehl-env-box {
  border-color: var(--ehl-blue);
  background: color-mix(in srgb, var(--ehl-blue) 10%, var(--ehl-surface-2));
  box-shadow: 0 0 0 4px rgba(22, 139, 255, .14);
}
.ehl-env--training input:checked + .ehl-env-box {
  border-color: var(--ehl-teal);
  background: color-mix(in srgb, var(--ehl-teal) 10%, var(--ehl-surface-2));
  box-shadow: 0 0 0 4px rgba(22, 199, 183, .16);
}
.ehl-env input:checked ~ .ehl-env-check { opacity: 1; transform: scale(1); }

/* Focus clavier bien visible */
.ehl-env input:focus-visible + .ehl-env-box {
  outline: 3px solid var(--ehl-green);
  outline-offset: 2px;
}

/* Option indisponible (Centre de formation non configuré) */
.ehl-env.is-disabled .ehl-env-box { opacity: .5; cursor: not-allowed; }
.ehl-env.is-disabled .ehl-env-box:hover { transform: none; }

.ehl-env-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0 0 18px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ehl-text-mute);
}
.ehl-env-note i { color: var(--ehl-blue); font-size: 15px; margin-top: 1px; flex-shrink: 0; }

/* ------------------------------------------------------------
   7. CHAMPS DE FORMULAIRE
   ------------------------------------------------------------ */
.ehl-field { margin-bottom: 15px; }
.ehl-field > label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ehl-text);
}

.ehl-input {
  position: relative;
  display: flex;
  align-items: center;
  height: 52px;
  border-radius: var(--ehl-radius-sm);
  border: 1.5px solid var(--ehl-border);
  background: var(--ehl-field);
  transition: border-color var(--ehl-speed) var(--ehl-ease),
              box-shadow var(--ehl-speed) var(--ehl-ease),
              background var(--ehl-speed) var(--ehl-ease);
}
.ehl-input > .bi:first-child {
  width: 46px;
  text-align: center;
  font-size: 16px;
  color: var(--ehl-text-mute);
  flex-shrink: 0;
  transition: color var(--ehl-speed) var(--ehl-ease);
}
.ehl-input input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 12px 0 0;
  border: 0;
  background: transparent;
  color: var(--ehl-text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.ehl-input input::placeholder { color: var(--ehl-text-mute); opacity: .85; }
.ehl-input:focus-within {
  border-color: var(--ehl-blue);
  background: var(--ehl-field-focus);
  box-shadow: 0 0 0 4px rgba(22, 139, 255, .16);
}
.ehl-input:focus-within > .bi:first-child { color: var(--ehl-blue); }

.ehl-eye {
  flex: 0 0 48px;
  width: 48px;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ehl-text-mute);
  font-size: 16px;
  cursor: pointer;
  border-radius: 0 var(--ehl-radius-sm) var(--ehl-radius-sm) 0;
  transition: color var(--ehl-speed) var(--ehl-ease);
}
.ehl-eye:hover { color: var(--ehl-blue); }

/* --- Ligne « se souvenir » / « mot de passe oublié » -------- */
.ehl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 18px;
  flex-wrap: wrap;
}
.ehl-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--ehl-text);
  cursor: pointer;
  min-height: 46px;   /* cible tactile confortable (>= 44 px) */
  padding: 2px 0;
}
.ehl-check input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.ehl-check .box {
  width: 20px; height: 20px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 6px;
  border: 1.5px solid var(--ehl-border);
  background: var(--ehl-field);
  color: transparent;
  font-size: 12px;
  transition: all var(--ehl-speed) var(--ehl-ease);
}
.ehl-check input:checked + .box {
  background: var(--ehl-blue);
  border-color: var(--ehl-blue);
  color: #fff;
}
.ehl-check input:focus-visible + .box {
  outline: 3px solid var(--ehl-green);
  outline-offset: 2px;
}

.ehl-forgot {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ehl-blue);
  text-decoration: none;
  min-height: 46px;   /* cible tactile confortable (>= 44 px) */
  padding: 2px 0;
  display: inline-flex;
  align-items: center;
}
.ehl-forgot:hover { text-decoration: underline; }

/* ------------------------------------------------------------
   8. BOUTONS & ALERTES
   ------------------------------------------------------------ */
.ehl-submit {
  position: relative;
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  border-radius: var(--ehl-radius-sm);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(97deg, var(--ehl-blue) 0%, #12A8DC 48%, var(--ehl-teal) 100%);
  box-shadow: 0 12px 28px rgba(22, 139, 255, .30);
  transition: transform var(--ehl-speed) var(--ehl-ease),
              box-shadow var(--ehl-speed) var(--ehl-ease),
              filter var(--ehl-speed) var(--ehl-ease);
}
.ehl-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(22, 139, 255, .40); }
.ehl-submit:active:not(:disabled) { transform: translateY(0); }
.ehl-submit:disabled { cursor: progress; filter: saturate(.75) brightness(.94); }
/* Variante « Centre de formation » */
.ehl-form.is-training .ehl-submit {
  background: linear-gradient(97deg, var(--ehl-teal) 0%, #35C77E 52%, var(--ehl-green) 100%);
  box-shadow: 0 12px 28px rgba(22, 199, 183, .30);
}

.ehl-demo {
  width: 100%;
  min-height: 52px;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: var(--ehl-radius-sm);
  border: 1.5px solid rgba(22, 199, 183, .5);
  background: transparent;
  color: var(--ehl-teal);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--ehl-speed) var(--ehl-ease),
              border-color var(--ehl-speed) var(--ehl-ease),
              transform var(--ehl-speed) var(--ehl-ease);
}
.ehl-demo:hover { background: rgba(22, 199, 183, .10); border-color: var(--ehl-teal); transform: translateY(-2px); }
.ehl-demo:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.ehl-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ehl-teal);
}
.ehl-secure .dot { color: var(--ehl-text-mute); }

/* --- Alertes --------------------------------------------------- */
.ehl-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: var(--ehl-radius-sm);
  font-size: 13.5px;
  line-height: 1.45;
  border: 1px solid transparent;
  animation: ehlFadeDown .35s var(--ehl-ease) both;
}
.ehl-alert i { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.ehl-alert.is-error {
  color: #FFC9C9;
  background: rgba(220, 53, 69, .13);
  border-color: rgba(220, 53, 69, .38);
}
.ehl-alert.is-ok {
  color: #B6F3D6;
  background: rgba(25, 168, 110, .13);
  border-color: rgba(25, 168, 110, .38);
}
html[data-theme="light"] .ehl-alert.is-error { color: #8E1B24; background: #FCE9EB; border-color: #F1B4BB; }
html[data-theme="light"] .ehl-alert.is-ok    { color: #0B5A3C; background: #E6F7EF; border-color: #A9E2C8; }

/* ------------------------------------------------------------
   9. PIED DE PAGE
   ------------------------------------------------------------ */
.ehl-legal {
  margin: auto 0 0;
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--ehl-text-mute);
  text-align: center;
}
.ehl-legal a { color: inherit; text-decoration: none; }
.ehl-legal a:hover { color: var(--ehl-blue); text-decoration: underline; }
.ehl-legal .sep { opacity: .55; margin: 0 8px; }

/* ------------------------------------------------------------
   10. RESPONSIVE
   ------------------------------------------------------------ */

/* --- Grands écrans : on borne la largeur du panneau ---------- */
@media (min-width: 1600px) {
  .ehl-shell { grid-template-columns: minmax(0, 1fr) 660px; }
  .ehl-card, .ehl-tools { max-width: 540px; }
}

/* --- Petits portables / tablettes paysage -------------------- */
@media (max-width: 1200px) {
  .ehl-shell { grid-template-columns: minmax(0, 1fr) minmax(390px, 470px); }
  .ehl-features { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 400px; }
  .ehl-ecg { display: none; }
}

/* --- Tablette portrait & mobile : formulaire en premier ------ */
@media (max-width: 991.98px) {
  .ehl-shell {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }
  /* Le formulaire passe en premier (ordre visuel), l'ordre DOM
     reste logique pour les lecteurs d'écran grâce à la bannière
     d'identité conservée au-dessus. */
  .ehl-stage {
    order: 2;
    min-height: 320px;
    padding: 34px 26px 40px;
    gap: 26px;
  }
  .ehl-pane { order: 1; padding: 22px 20px 26px; }
  .ehl-photo img { object-position: 62% 20%; }
  .ehl-headline h1 { font-size: clamp(28px, 6.2vw, 40px); }
  .ehl-features { max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ehl-feature { padding: 15px 6px 13px; }
  .ehl-feature i { font-size: 22px; }
  .ehl-feature span { font-size: 12px; }
  .ehl-grid, .ehl-dots { display: none; }
  .ehl-legal { padding-top: 18px; }
}

/* --- Mobile -------------------------------------------------- */
@media (max-width: 767.98px) {
  /* Cibles tactiles : 44 px minimum sur tous les contrôles */
  .ehl-lang button { height: 44px; min-width: 56px; font-size: 14px; }
  .ehl-lang        { padding: 0; }
  .ehl-icon-btn    { width: 46px; height: 46px; }
  .ehl-eye         { flex-basis: 52px; width: 52px; }
  .ehl-brand-logo { width: 64px; height: 64px; flex-basis: 64px; }
  .ehl-tagline { letter-spacing: 1.8px; }
  .ehl-rule { margin: 18px 0 16px; }
  .ehl-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ehl-card { padding: 22px 18px 24px; }
  .ehl-tools { max-width: none; }
  .ehl-card  { max-width: none; }
}

/* --- Très petits écrans (320 px) ----------------------------- */
@media (max-width: 575.98px) {
  .ehl-envs { grid-template-columns: 1fr; }
  .ehl-env-check { top: 50%; right: 10px; transform: translateY(-50%) scale(.6); }
  .ehl-env input:checked ~ .ehl-env-check { transform: translateY(-50%) scale(1); }
  .ehl-stage { padding: 28px 18px 32px; }
  .ehl-pane  { padding: 18px 14px 22px; }
  .ehl-row { gap: 4px; }
  .ehl-check, .ehl-forgot { font-size: 13.5px; }
  .ehl-welcome h1 { font-size: 26px; }
  .ehl-legal { font-size: 11.5px; }
  .ehl-legal .sep { margin: 0 5px; }
}

/* --- Écran bas (clavier virtuel ouvert) ---------------------- */
@media (max-height: 700px) and (min-width: 992px) {
  .ehl-stage { justify-content: center; gap: 26px; }
  .ehl-features { display: none; }
}

/* ------------------------------------------------------------
   11. ACCESSIBILITÉ & MOUVEMENTS RÉDUITS
   ------------------------------------------------------------ */
.ehl-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ehl-blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.ehl-skip:focus { left: 8px; }

.ehl-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--ehl-green);
  outline-offset: 2px;
  border-radius: 6px;
}

.ehl-spin {
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ehlSpin .7s linear infinite;
}

@keyframes ehlSpin { to { transform: rotate(360deg); } }
@keyframes ehlCardIn {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
@keyframes ehlFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ehlFadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .ehl-feature:hover,
  .ehl-env-box:hover,
  .ehl-submit:hover,
  .ehl-demo:hover { transform: none; }
}

/* Le bouton « Accéder à la démo » devient un lien vers le choix de profil. */
a.ehl-demo { text-decoration: none; }
a.ehl-demo:hover { color: var(--ehl-teal); }

/* ============================================================
   12. CARROUSEL DE PHOTOS RÉELLES (zone gauche)
   ------------------------------------------------------------
   Six clichés d'univers hospitalier défilent en fondu enchaîné,
   en transparence sur le bleu nuit. Purement décoratif : le
   contenu reste lisible même si les images ne chargent pas.
   ============================================================ */
.ehl-photos {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: var(--ehl-navy);
}
.ehl-shot {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity, transform;
  animation: ehlShots 48s cubic-bezier(.4, 0, .2, 1) infinite;
  animation-delay: calc(var(--i) * 8s);
}
/* 6 clichés × 8 s = 48 s ; chacun apparaît, respire, puis s'efface. */
@keyframes ehlShots {
  0%   { opacity: 0;   transform: scale(1.06); }
  3%   { opacity: .58; }
  14%  { opacity: .58; }
  18%  { opacity: 0;   transform: scale(1.15); }
  100% { opacity: 0;   transform: scale(1.06); }
}
/* Image de premier rendu (LCP) : masquée dès que le carrousel prend le relais. */
.ehl-lcp {
  position: absolute; inset: 0; z-index: -4;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .58;
  animation: ehlLcpOut 3s linear forwards;
}
@keyframes ehlLcpOut { to { opacity: 0; } }

/* Mouvement réduit : une seule image fixe, aucune animation. */
@media (prefers-reduced-motion: reduce) {
  .ehl-shot { animation: none; }
  .ehl-shot:first-child { opacity: .5; }
  .ehl-lcp { animation: none; opacity: 0; }
}

/* ============================================================
   13. DRAPEAUX DU SÉLECTEUR DE LANGUE
   ============================================================ */
.ehl-lang button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 66px;
  padding: 0 12px;
}
.ehl-lang button img {
  width: 22px; height: 15px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 2px 5px rgba(4, 20, 40, .38);
  transition: transform var(--ehl-speed) var(--ehl-ease), filter var(--ehl-speed) var(--ehl-ease);
  filter: saturate(.55) opacity(.72);
}
.ehl-lang button[aria-pressed="true"] img {
  filter: none;
  transform: scale(1.1);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9), 0 3px 8px rgba(4, 20, 40, .5);
}
.ehl-lang button:hover img { filter: saturate(1) opacity(1); }

/* ============================================================
   14. TENUE EN UN ÉCRAN — AUCUN DÉFILEMENT
   ------------------------------------------------------------
   La page occupe exactement la hauteur de la fenêtre. La densité
   se resserre par paliers de hauteur : sur un portable 768 px,
   tout tient sans jamais rogner un champ. En dessous de 640 px
   (fenêtre très basse), la colonne de droite reprend un
   défilement interne — mieux vaut défiler que rendre le bouton
   de connexion inatteignable.
   ============================================================ */
html { height: 100%; }
body.ehl-body {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}
.ehl-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}
.ehl-stage { min-height: 0; }
.ehl-pane {
  min-height: 0;
  justify-content: center;
  overflow: hidden;
}
.ehl-pane > .ehl-card { flex: 0 1 auto; }

/* --- Palier 1 : écrans ≤ 900 px de haut --------------------- */
@media (max-height: 900px) {
  .ehl-pane { padding-top: 22px; padding-bottom: 18px; }
  .ehl-tools { margin-bottom: 10px; }
  .ehl-card { padding: 19px 26px 19px; }
  .ehl-card-logo { width: 56px; height: 56px; margin-bottom: 9px; }
  .ehl-welcome { margin-bottom: 13px; }
  .ehl-welcome h1 { font-size: 1.42rem; }
  .ehl-env-tag { display: none; }
  .ehl-field { margin-bottom: 12px; }
  .ehl-legal { margin-top: 9px; }
}

/* --- Palier 2 : portables 13-15" (≈ 768 px) ----------------- */
@media (max-height: 820px) {
  .ehl-pane { padding-top: 16px; padding-bottom: 13px; }
  .ehl-stage { padding: 26px clamp(24px, 3vw, 48px); }
  .ehl-card { padding: 16px 24px 18px; }
  .ehl-card-logo { width: 46px; height: 46px; margin-bottom: 7px; }
  .ehl-welcome { margin-bottom: 11px; }
  .ehl-welcome h1 { font-size: 1.32rem; }
  .ehl-welcome p { font-size: .82rem; }
  .ehl-envs { gap: 8px; }
  .ehl-env-box { padding: 9px 11px; }
  .ehl-env-ico { flex-basis: 32px; width: 32px; height: 32px; }
  .ehl-env-title { font-size: .84rem; }
  .ehl-env-desc { font-size: .72rem; }
  .ehl-env-tag { display: none; }
  .ehl-env-note { font-size: .72rem; margin: 7px 0; }
  .ehl-field { margin-bottom: 10px; }
  .ehl-field label { margin-bottom: 4px; font-size: .78rem; }
  .ehl-input input { height: 42px; }
  .ehl-row { margin: 8px 0 12px; }
  .ehl-submit { min-height: 46px; margin-bottom: 8px; }
  .ehl-demo { min-height: 42px; }
  .ehl-secure { margin-top: 9px; font-size: .72rem; }
  .ehl-legal { margin-top: 8px; font-size: .7rem; }
  /* La colonne de gauche se concentre sur l'essentiel. */
  .ehl-features { gap: 8px; }
  .ehl-feature { padding: 8px 11px; font-size: .78rem; }
  .ehl-headline h1 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
}

/* --- Palier 3 : fenêtres basses (≈ 700 px) ------------------ */
@media (max-height: 730px) {
  .ehl-tools { margin-bottom: 7px; }
  .ehl-card { padding: 13px 22px 15px; }
  .ehl-card-logo { display: none; }
  .ehl-welcome { margin-bottom: 9px; }
  .ehl-welcome h1 { font-size: 1.2rem; }
  .ehl-env-desc { display: none; }
  .ehl-env-box { padding: 8px 10px; }
  .ehl-env-ico { flex-basis: 28px; width: 28px; height: 28px; box-shadow: 0 2px 6px rgba(10, 37, 64, .18); }
  .ehl-env-note { display: none; }
  .ehl-field { margin-bottom: 8px; }
  .ehl-input input { height: 40px; }
  .ehl-submit { min-height: 44px; }
  .ehl-demo { min-height: 40px; }
  .ehl-secure { display: none; }
  .ehl-ecg, .ehl-dots { display: none; }
  .ehl-features { display: none; }
}

/* --- Palier 4 : très bas — défilement interne de secours ---- */
@media (max-height: 640px) {
  .ehl-pane { justify-content: flex-start; overflow-y: auto; }
  .ehl-pane::-webkit-scrollbar { width: 6px; }
  .ehl-pane::-webkit-scrollbar-thumb { background: rgba(127, 154, 190, .45); border-radius: 3px; }
}

/* En disposition empilée (mobile), la page redevient défilante :
   deux zones l'une sous l'autre ne peuvent pas tenir en un écran. */
@media (max-width: 1024px) {
  body.ehl-body { height: auto; min-height: 100dvh; overflow: auto; }
  .ehl-shell { height: auto; min-height: 100dvh; }
  .ehl-pane { overflow: visible; }
}

/* ============================================================
   15. MAQUETTE 2026 — libellés de langue complets & médaillons
       hexagonaux des atouts (Sécurisé · Intelligent · Accessible · 24/7)
   ============================================================ */
.ehl-lang button { min-width: 0; padding: 0 14px 0 10px; }
.ehl-lang-short { display: none; }
@media (max-width: 1180px) {
  .ehl-lang-full { display: none; }
  .ehl-lang-short { display: inline; }
}

.ehl-feature { gap: 10px; padding: 16px 10px 14px; }
.ehl-hex {
  position: relative;
  width: 58px; height: 64px;
  display: grid; place-items: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(160deg, rgba(22,139,255,.55), rgba(22,199,183,.55));
  transition: transform var(--ehl-speed) var(--ehl-ease), filter var(--ehl-speed) var(--ehl-ease);
}
.ehl-hex::before {
  content: ""; position: absolute; inset: 2px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(180deg, #0B2A4E, #071B36);
}
.ehl-hex i { position: relative; font-size: 24px; line-height: 1; color: var(--ehl-teal); }
.ehl-feature.is-blue  .ehl-hex i { color: var(--ehl-blue); }
.ehl-feature.is-green .ehl-hex i { color: var(--ehl-green); }
.ehl-feature.is-green .ehl-hex { background: linear-gradient(160deg, rgba(22,199,183,.55), rgba(103,212,61,.55)); }
.ehl-feature.is-blue  .ehl-hex { background: linear-gradient(160deg, rgba(22,139,255,.65), rgba(22,199,183,.45)); }
.ehl-feature:hover .ehl-hex { transform: translateY(-2px) scale(1.05); filter: drop-shadow(0 8px 16px rgba(22,199,183,.35)); }
.ehl-feature span:not(.ehl-hex) { font-size: 13.5px; letter-spacing: .2px; }
@media (max-width: 1180px) { .ehl-hex { width: 48px; height: 54px; } .ehl-hex i { font-size: 20px; } }

/* ============================================================
   16. REFONTE SEPTEMBRE 2026 — en-tête simple & premium, pied de
       page fluide, sélecteur de langue à drapeaux, carrousel de
       16 clichés (bloc opératoire, soins, maternité, visites).
   ============================================================ */
.ehl-page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}
.ehl-shell { height: auto; min-height: 0; }
.ehl-stage { padding-top: clamp(22px, 3vw, 44px); }
.ehl-pane { padding-top: clamp(16px, 2vw, 28px); padding-bottom: clamp(14px, 1.6vw, 24px); }

/* --- En-tête --------------------------------------------------- */
.ehl-top {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px clamp(18px, 2.6vw, 40px);
  background: var(--ehl-bg-2);
  border-bottom: 1px solid var(--ehl-border-soft);
  box-shadow: 0 8px 30px rgba(2, 12, 28, .25);
}
html[data-theme="dark"] .ehl-top {
  background: linear-gradient(90deg, #061A33 0%, #0A2A52 55%, #061A33 100%);
}
html[data-theme="light"] .ehl-top { background: #FFFFFF; box-shadow: 0 6px 24px rgba(11, 44, 82, .08); }
.ehl-top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--ehl-blue), var(--ehl-teal) 55%, var(--ehl-green));
  opacity: .9;
}
.ehl-top-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.ehl-top-brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.ehl-top-name { display: flex; flex-direction: column; line-height: 1; font-weight: 800; font-size: 19px; letter-spacing: .4px; color: var(--ehl-text); }
.ehl-top-name .easy { color: var(--ehl-blue); } .ehl-top-name .health { color: var(--ehl-green); }
.ehl-top-name small { font-size: 9.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ehl-text-soft); margin-top: 4px; }
.ehl-top-trust { display: flex; justify-content: center; gap: 22px; font-size: 12.5px; font-weight: 600; color: var(--ehl-text-soft); }
.ehl-top-trust span { display: inline-flex; align-items: center; gap: 7px; }
.ehl-top-trust i { color: var(--ehl-teal); font-size: 13px; }
.ehl-top .ehl-tools { margin: 0; max-width: none; width: auto; }

/* --- Sélecteur de langue à drapeaux ---------------------------- */
.ehl-lang { padding: 4px; gap: 3px; background: var(--ehl-surface); border: 1px solid var(--ehl-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.ehl-lang button {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  height: 38px; min-width: 0; padding: 0 14px 0 6px; border-radius: 999px;
  color: var(--ehl-text-soft); font-size: 13px; font-weight: 700; letter-spacing: .2px;
  transition: background var(--ehl-speed) var(--ehl-ease), color var(--ehl-speed) var(--ehl-ease), box-shadow var(--ehl-speed) var(--ehl-ease);
}
.ehl-lang button:hover { color: var(--ehl-text); background: rgba(22, 139, 255, .12); }
.ehl-lang button[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(135deg, var(--ehl-blue), #0F6FE0 60%, var(--ehl-teal));
  box-shadow: 0 6px 18px rgba(22, 139, 255, .38);
}
.ehl-lang .ehl-flag {
  width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .55), 0 2px 6px rgba(4, 20, 40, .4);
  transition: transform var(--ehl-speed) var(--ehl-ease), filter var(--ehl-speed) var(--ehl-ease);
  filter: saturate(.6) opacity(.8);
}
.ehl-lang .ehl-flag img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; filter: none; transform: none; }
.ehl-lang button:hover .ehl-flag, .ehl-lang button[aria-pressed="true"] .ehl-flag { filter: none; }
.ehl-lang button[aria-pressed="true"] .ehl-flag { transform: scale(1.08); box-shadow: 0 0 0 2px #fff, 0 3px 8px rgba(4, 20, 40, .45); }
.ehl-lang .ehl-lang-ok { display: none; font-size: 13px; }
.ehl-lang button[aria-pressed="true"] .ehl-lang-ok { display: inline-block; }
.ehl-lang-short { display: none; }

/* --- Pied de page ---------------------------------------------- */
.ehl-foot {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 10px clamp(18px, 2.6vw, 40px);
  font-size: 12px; color: var(--ehl-text-soft);
  background: var(--ehl-bg-2);
  border-top: 1px solid var(--ehl-border-soft);
}
html[data-theme="dark"] .ehl-foot { background: linear-gradient(90deg, #04101F, #071B33 50%, #04101F); }
html[data-theme="light"] .ehl-foot { background: #FFFFFF; }
.ehl-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, var(--ehl-green), var(--ehl-teal) 45%, var(--ehl-blue)); opacity: .8; }
.ehl-foot-brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.ehl-foot-brand img { border-radius: 50%; }
.ehl-foot-brand b { color: var(--ehl-text); }
.ehl-foot-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.ehl-foot-links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  color: var(--ehl-text-soft); text-decoration: none; font-weight: 600;
  border: 1px solid transparent; transition: all var(--ehl-speed) var(--ehl-ease);
}
.ehl-foot-links a i { color: var(--ehl-teal); }
.ehl-foot-links a:hover { color: var(--ehl-text); background: var(--ehl-surface); border-color: var(--ehl-border); transform: translateY(-1px); }
.ehl-foot-meta { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.ehl-foot-meta .sep { opacity: .5; }
.ehl-foot-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ehl-green); }
.ehl-foot-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ehl-green); box-shadow: 0 0 0 0 rgba(103, 212, 61, .6); animation: ehlBeat 2s infinite; }
@keyframes ehlBeat { 0% { box-shadow: 0 0 0 0 rgba(103, 212, 61, .6); } 70% { box-shadow: 0 0 0 8px rgba(103, 212, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(103, 212, 61, 0); } }
.ehl-foot-ver { padding: 2px 9px; border-radius: 999px; background: var(--ehl-surface); border: 1px solid var(--ehl-border); font-weight: 700; }

/* --- Carrousel : 16 clichés × 6 s = 96 s ----------------------- */
.ehl-shot { animation: ehlShots 96s cubic-bezier(.4, 0, .2, 1) infinite; animation-delay: calc(var(--i) * 6s); }
@keyframes ehlShots {
  0%    { opacity: 0;   transform: scale(1.06); }
  1.5%  { opacity: .6; }
  6.25% { opacity: .6; }
  8.5%  { opacity: 0;   transform: scale(1.14); }
  100%  { opacity: 0;   transform: scale(1.06); }
}
.ehl-lcp { opacity: .6; animation: ehlLcpOut 2.5s linear forwards; }
.ehl-stage .ehl-headline { margin-top: auto; }

/* --- Responsive ----------------------------------------------- */
@media (max-width: 1180px) { .ehl-top-trust { display: none; } .ehl-top { grid-template-columns: auto auto; justify-content: space-between; } }
@media (max-width: 1024px) {
  .ehl-page { height: auto; min-height: 100dvh; }
  .ehl-foot { grid-template-columns: 1fr; text-align: center; gap: 10px; }
  .ehl-foot-meta { justify-content: center; flex-wrap: wrap; white-space: normal; }
}
@media (max-width: 640px) {
  .ehl-top { padding: 8px 14px; gap: 10px; }
  .ehl-top-name small { display: none; }
  .ehl-lang button { padding: 0 8px 0 5px; height: 34px; }
  .ehl-lang .ehl-lang-full { display: none; }
  .ehl-lang .ehl-lang-short { display: inline; }
  .ehl-lang .ehl-lang-ok { display: none !important; }
  .ehl-icon-btn { width: 38px; height: 38px; }
  .ehl-foot-links a { padding: 5px 9px; }
}
@media (max-height: 820px) and (min-width: 1025px) {
  .ehl-top { padding-top: 6px; padding-bottom: 6px; }
  .ehl-top-brand img { width: 36px; height: 36px; }
  .ehl-top-name { font-size: 16px; }
  .ehl-foot { padding-top: 6px; padding-bottom: 6px; font-size: 11px; }
}
@media (max-height: 700px) and (min-width: 1025px) {
  .ehl-top-name small, .ehl-foot-brand span { display: none; }
  .ehl-foot-links { display: none; }
}

/* Ajustements : wordmark sur une ligne, tenue en un écran avec en-tête + pied */
.ehl-top-name .wm { white-space: nowrap; }
.ehl-foot-links { gap: 2px; }
.ehl-foot-links a { padding: 5px 10px; }
@media (max-height: 980px) and (min-width: 1025px) {
  .ehl-pane { padding-top: 14px; padding-bottom: 12px; }
  .ehl-card { padding: 18px 26px 18px; }
  .ehl-card-logo { width: 54px; height: 54px; margin-bottom: 8px; }
  .ehl-welcome { margin-bottom: 12px; }
  .ehl-welcome h1 { font-size: 1.4rem; }
  .ehl-env-tag { display: none; }
  .ehl-env-note { margin: 6px 0; font-size: .74rem; }
  .ehl-field { margin-bottom: 11px; }
  .ehl-row { margin: 8px 0 12px; }
  .ehl-submit { min-height: 46px; margin-bottom: 8px; }
  .ehl-demo { min-height: 42px; }
  .ehl-secure { margin-top: 8px; }
}
@media (max-height: 900px) and (min-width: 1025px) {
  .ehl-env-desc { font-size: .7rem; }
  .ehl-env-box { padding: 9px 11px; }
  .ehl-env-note { display: none; }
  .ehl-field label { margin-bottom: 3px; }
  .ehl-input input { height: 42px; }
}
@media (max-width: 1560px) and (min-width: 1025px) {
  .ehl-foot { grid-template-columns: auto auto; justify-content: space-between; row-gap: 4px; }
  .ehl-foot-links { grid-column: 1 / -1; order: 3; justify-content: center; }
}
@media (max-width: 640px) {
  .ehl-top { grid-template-columns: 1fr; justify-items: center; gap: 8px; }
  .ehl-top .ehl-tools { justify-content: center; }
  .ehl-top-brand img { width: 34px; height: 34px; }
  .ehl-top-name { font-size: 16px; }
  .ehl-page, body.ehl-body { overflow-x: hidden; }
}

/* ==================================================================
   GUIDE DU LOGICIEL — fenêtre modale centrée (bouton « ? »)
   Jamais plein écran : largeur ≤ 1080 px, hauteur ≤ 86 vh.
   ================================================================== */
.ehg { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 24px; }
.ehg[hidden] { display: none; }
.ehg-backdrop {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(22,139,255,.18), transparent 60%), rgba(3, 12, 26, .72);
  backdrop-filter: blur(10px) saturate(130%); -webkit-backdrop-filter: blur(10px) saturate(130%);
  opacity: 0; transition: opacity 260ms var(--ehl-ease);
}
.ehg.is-open .ehg-backdrop { opacity: 1; }
.ehg-dialog {
  position: relative; width: min(1080px, 100%); max-height: min(86vh, 860px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--ehl-bg-2); color: var(--ehl-text);
  border: 1px solid var(--ehl-border); border-radius: 26px;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(22,199,183,.08), inset 0 1px 0 rgba(255,255,255,.06);
  opacity: 0; transform: translateY(18px) scale(.965);
  transition: opacity 300ms var(--ehl-ease), transform 340ms cubic-bezier(.22,1,.36,1);
  outline: none;
}
.ehg.is-open .ehg-dialog { opacity: 1; transform: none; }
html[data-theme="light"] .ehg-backdrop { background: radial-gradient(120% 90% at 50% 0%, rgba(22,139,255,.14), transparent 60%), rgba(7, 27, 51, .55); }
html[data-theme="light"] .ehg-dialog { box-shadow: 0 40px 110px rgba(11,44,82,.32), 0 0 0 1px rgba(11,44,82,.04); }

/* --- en-tête --- */
.ehg-head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 20px 22px 16px 24px; border-bottom: 1px solid var(--ehl-border-soft);
  background: linear-gradient(180deg, rgba(22,139,255,.10), transparent);
}
.ehg-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ehg-brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 6px 18px rgba(22,139,255,.35); flex: 0 0 46px; }
.ehg-title { margin: 0; font-size: 1.28rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; white-space: nowrap; }
.ehg-sub { margin: 3px 0 0; color: var(--ehl-text-soft); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehg-search {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  background: var(--ehl-field); border: 1px solid var(--ehl-border); border-radius: 14px; padding: 0 12px 0 14px; height: 46px;
  transition: border-color var(--ehl-speed), box-shadow var(--ehl-speed), background var(--ehl-speed);
}
.ehg-search:focus-within { border-color: var(--ehl-blue); background: var(--ehl-field-focus); box-shadow: 0 0 0 4px rgba(22,139,255,.18); }
.ehg-search .bi { color: var(--ehl-text-mute); font-size: 15px; }
.ehg-search input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: 0; color: var(--ehl-text); font: inherit; font-size: .92rem; }
.ehg-search input::placeholder { color: var(--ehl-text-mute); }
.ehg-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ehg kbd {
  display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px;
  font: 600 .7rem/1 Inter, ui-monospace, monospace; color: var(--ehl-text-soft);
  background: var(--ehl-surface); border: 1px solid var(--ehl-border); border-bottom-width: 2px; border-radius: 6px;
}
.ehg-close {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--ehl-border); background: var(--ehl-surface); color: var(--ehl-text-soft); font-size: 15px; cursor: pointer;
  transition: color var(--ehl-speed), border-color var(--ehl-speed), transform var(--ehl-speed), background var(--ehl-speed);
}
.ehg-close:hover { color: #fff; background: #e11d48; border-color: #e11d48; transform: rotate(90deg); }

/* --- corps : navigation verticale + panneaux --- */
.ehg-body { display: grid; grid-template-columns: 250px 1fr; min-height: 0; flex: 1; }
.ehg-nav {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 10px 14px 14px;
  border-right: 1px solid var(--ehl-border-soft); background: var(--ehl-surface); overflow-y: auto;
}
.ehg-tab {
  --c: var(--ehl-blue);
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px;
  padding: 9px 10px 9px 8px; border-radius: 13px; border: 1px solid transparent;
  background: transparent; color: var(--ehl-text-soft); font: inherit; font-size: .86rem; font-weight: 600; text-align: left; cursor: pointer;
  transition: background var(--ehl-speed), color var(--ehl-speed), border-color var(--ehl-speed), transform var(--ehl-speed);
}
.ehg-tab-ico {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-size: 15px;
  color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent);
  transition: transform var(--ehl-speed), background var(--ehl-speed), color var(--ehl-speed);
}
.ehg-tab-lbl { min-width: 0; line-height: 1.2; }  /* libellé complet, sur deux lignes si besoin */
.ehg-tab-n { font-size: .68rem; font-weight: 800; color: var(--ehl-text-mute); background: var(--ehl-field); border-radius: 999px; padding: 2px 7px; }
.ehg-tab:hover { background: var(--ehl-field); color: var(--ehl-text); transform: translateX(2px); }
.ehg-tab.is-active { background: var(--ehl-bg-2); color: var(--ehl-text); border-color: var(--ehl-border); box-shadow: 0 6px 18px -10px rgba(0,0,0,.5); }
.ehg-tab.is-active .ehg-tab-ico { background: var(--c); color: #fff; transform: scale(1.04); }
.ehg-tab.is-active .ehg-tab-n { color: var(--c); }
.ehg-panels { min-height: 0; overflow-y: auto; padding: 22px 26px 26px; scroll-behavior: smooth; outline: none; }
.ehg-panels::-webkit-scrollbar, .ehg-nav::-webkit-scrollbar { width: 8px; }
.ehg-panels::-webkit-scrollbar-thumb, .ehg-nav::-webkit-scrollbar-thumb { background: var(--ehl-border); border-radius: 8px; }
.ehg-panel { display: none; animation: ehg-in 320ms var(--ehl-ease); }
.ehg-panel.is-active { display: block; }
@keyframes ehg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --- bandeau d'introduction d'une famille --- */
.ehg-hero {
  --c: var(--ehl-blue);
  display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: center;
  padding: 18px 20px; border-radius: 18px; margin-bottom: 18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 18%, transparent), color-mix(in srgb, var(--c) 5%, transparent));
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.ehg-hero-ico { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; font-size: 26px; color: #fff; background: var(--c); box-shadow: 0 10px 24px -8px var(--c); }
.ehg-hero h3 { margin: 0 0 4px; font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.ehg-hero p { margin: 0; color: var(--ehl-text-soft); font-size: .88rem; line-height: 1.5; }

/* --- cartes de fonctionnalités --- */
.ehg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ehg-card {
  --c: var(--ehl-blue);
  display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start;
  padding: 14px 15px; border-radius: 16px; background: var(--ehl-surface); border: 1px solid var(--ehl-border-soft);
  transition: transform var(--ehl-speed) var(--ehl-ease), border-color var(--ehl-speed), box-shadow var(--ehl-speed), background var(--ehl-speed);
}
.ehg-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--c) 70%, #000); background: var(--ehl-bg-2); }
.ehg-card-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; font-size: 18px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); transition: background var(--ehl-speed), color var(--ehl-speed); }
.ehg-card:hover .ehg-card-ico { background: var(--c); color: #fff; }
.ehg-card b { display: block; font-size: .9rem; font-weight: 700; margin-bottom: 3px; }
.ehg-card p { margin: 0; color: var(--ehl-text-soft); font-size: .8rem; line-height: 1.45; }
.ehg-card .ehg-fam { display: inline-block; margin-top: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c); }
.ehg-card mark { background: color-mix(in srgb, var(--ehl-teal) 30%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.ehg-empty { display: flex; align-items: center; gap: 10px; padding: 26px; border-radius: 16px; border: 1px dashed var(--ehl-border); color: var(--ehl-text-soft); font-size: .9rem; }
.ehg-empty .bi { font-size: 22px; }

/* --- démarrage --- */
.ehg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.ehg-stat { text-align: center; padding: 14px 8px; border-radius: 16px; background: var(--ehl-surface); border: 1px solid var(--ehl-border-soft); }
.ehg-stat b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(90deg, var(--ehl-blue), var(--ehl-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ehg-stat span { font-size: .76rem; color: var(--ehl-text-soft); }
.ehg-h4 { margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ehl-text-mute); }
.ehg-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ehg-step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 16px 14px 14px; border-radius: 16px; background: var(--ehl-surface); border: 1px solid var(--ehl-border-soft); }
.ehg-step-n { position: absolute; top: -9px; left: 12px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: .7rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--ehl-blue), var(--ehl-teal)); box-shadow: 0 4px 10px rgba(22,139,255,.4); }
.ehg-step-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 18px; color: var(--ehl-teal); background: rgba(22,199,183,.14); }
.ehg-step b { display: block; font-size: .88rem; margin-bottom: 3px; }
.ehg-step p { margin: 0; font-size: .78rem; color: var(--ehl-text-soft); line-height: 1.45; }
.ehg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ehg-keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ehg-keys li { display: flex; align-items: center; gap: 12px; font-size: .84rem; color: var(--ehl-text-soft); }
.ehg-keys kbd { min-width: 64px; }
.ehg-links { display: grid; gap: 8px; }
.ehg-links a {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px; background: var(--ehl-surface); border: 1px solid var(--ehl-border-soft);
  color: var(--ehl-text); text-decoration: none; font-size: .86rem; font-weight: 600;
  transition: border-color var(--ehl-speed), transform var(--ehl-speed), background var(--ehl-speed);
}
.ehg-links a .bi:first-child { color: var(--ehl-blue); font-size: 16px; }
.ehg-links a .ehg-arrow { color: var(--ehl-text-mute); transition: transform var(--ehl-speed), color var(--ehl-speed); }
.ehg-links a:hover { border-color: rgba(22,199,183,.5); background: var(--ehl-bg-2); transform: translateX(2px); }
.ehg-links a:hover .ehg-arrow { transform: translateX(3px); color: var(--ehl-teal); }

/* --- pied --- */
.ehg-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 22px; border-top: 1px solid var(--ehl-border-soft); background: var(--ehl-surface); }
.ehg-foot-hint { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--ehl-text-mute); }
.ehg-foot-hint .dot { margin: 0 4px; }
.ehg-foot-actions { display: flex; gap: 8px; }
.ehg-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; font: inherit; font-size: .84rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform var(--ehl-speed), box-shadow var(--ehl-speed), background var(--ehl-speed), color var(--ehl-speed); }
.ehg-btn-ghost { color: var(--ehl-text-soft); background: transparent; border: 1px solid var(--ehl-border); }
.ehg-btn-ghost:hover { color: var(--ehl-text); border-color: var(--ehl-teal); }
.ehg-btn-solid { color: #fff; border: 0; background: linear-gradient(135deg, var(--ehl-blue), var(--ehl-teal)); box-shadow: 0 8px 22px -8px rgba(22,139,255,.7); }
.ehg-btn-solid:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(22,199,183,.7); }

/* --- verrou de défilement de la page pendant l'ouverture --- */
body.ehg-lock { overflow: hidden; }

/* --- responsive --- */
@media (max-width: 900px) {
  .ehg { padding: 14px; }
  .ehg-dialog { max-height: 92vh; border-radius: 20px; }
  .ehg-head { grid-template-columns: 1fr auto; gap: 12px; padding: 14px 14px 12px 16px; }
  .ehg-brand { grid-row: 1; grid-column: 1; }
  .ehg-close { grid-row: 1; grid-column: 2; align-self: start; }
  .ehg-search { grid-row: 2; grid-column: 1 / -1; height: 42px; }
  .ehg-sub { white-space: normal; }
  .ehg-body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .ehg-nav { flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--ehl-border-soft); }
  .ehg-tab { grid-template-columns: 30px auto; flex: 0 0 auto; padding: 6px 10px 6px 6px; }
  .ehg-tab-lbl { white-space: nowrap; }
  .ehg-tab-n { display: none; }
  .ehg-tab-ico { width: 30px; height: 30px; font-size: 14px; }
  .ehg-panels { padding: 16px; }
  .ehg-grid, .ehg-two { grid-template-columns: 1fr; }
  .ehg-steps { grid-template-columns: 1fr; gap: 14px; }
  .ehg-stats { grid-template-columns: repeat(2, 1fr); }
  .ehg-foot { flex-wrap: wrap; justify-content: center; }
  .ehg-foot-hint { display: none; }
}
@media (max-width: 480px) {
  .ehg-title { font-size: 1.1rem; }
  .ehg-hero { grid-template-columns: 1fr; }
  .ehg-hero-ico { width: 46px; height: 46px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ehg-backdrop, .ehg-dialog, .ehg-panel, .ehg-card, .ehg-tab, .ehg-close { transition: none; animation: none; }
}

/* ============================================================
   IDENTITÉ DE L'ENTREPRISE — logo configuré (Paramètres → Structure)
   Place d'honneur sur la carte, distinct de la marque Easy Health.
   ============================================================ */
.ehl-org { --org: var(--ehl-blue); text-align: center; margin: 2px auto 14px; }
.ehl-org-frame { position: relative; width: 112px; height: 112px; margin: 0 auto 12px; }
.ehl-org-orbit {
  position: absolute; inset: -7px; border-radius: 34px;
  background: conic-gradient(from 0deg, var(--org), var(--ehl-teal), var(--ehl-green), var(--org));
  filter: blur(.2px); opacity: .9;
  animation: ehl-orbit 9s linear infinite;
}
.ehl-org-orbit::after {
  content: ""; position: absolute; inset: 3px; border-radius: 31px;
  background: var(--ehl-surface);
}
@keyframes ehl-orbit { to { transform: rotate(360deg); } }
.ehl-org-logo {
  position: relative; width: 100%; height: 100%; border-radius: 28px; overflow: hidden;
  background: #fff; display: grid; place-items: center;
  box-shadow: 0 16px 36px rgba(4, 20, 40, .35), inset 0 0 0 1px rgba(11, 44, 82, .08);
  animation: ehl-org-in .7s var(--ehl-ease) both;
}
.ehl-org-logo img { width: 84%; height: 84%; object-fit: contain; display: block; }
@keyframes ehl-org-in { from { opacity: 0; transform: scale(.85) translateY(6px); } to { opacity: 1; transform: none; } }
.ehl-org-name {
  font-size: clamp(17px, 1.5vw, 21px); font-weight: 800; letter-spacing: -.3px; color: var(--ehl-text);
  line-height: 1.15;
}
.ehl-org-meta { margin-top: 3px; font-size: 12.5px; color: var(--ehl-text-soft); font-weight: 500; }
.ehl-org + .ehl-welcome h1 { font-size: clamp(20px, 1.8vw, 24px); }
html[data-theme="dark"] .ehl-org-orbit::after { background: #0B223C; }
@media (max-height: 900px) { .ehl-org-frame { width: 92px; height: 92px; } .ehl-org { margin-bottom: 10px; } }
@media (max-height: 820px) { .ehl-org-frame { width: 78px; height: 78px; margin-bottom: 8px; } .ehl-org-logo { border-radius: 22px; } .ehl-org-orbit { border-radius: 27px; } .ehl-org-orbit::after { border-radius: 24px; } .ehl-org-name { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .ehl-org-orbit, .ehl-org-logo { animation: none; } }
