/* Page de connexion : reprise à l'identique de celle de Helix (public/index.html, #login-page.hl) */
@keyframes helixFadeIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
#login-page.hl{position:fixed;inset:0;z-index:50;display:flex;align-items:center;background:#DCECE9;font-family:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif;color:#1F2933;overflow:auto;animation:helixFadeIn .35s ease both}
.hl-gauche{order:1;flex:0 0 470px;max-width:100%;align-self:stretch;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:32px 40px 24px 16px;box-sizing:border-box}
.hl-form{display:flex;flex-direction:column;gap:18px;width:100%;max-width:410px;box-sizing:border-box;background:#fff;border-radius:22px;padding:32px;box-shadow:0 1px 2px rgba(18,48,45,.06),0 24px 60px rgba(18,48,45,.14)}
.hl-marque{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.hl-logo-img{padding:0!important;object-fit:cover;display:block}
.hl-logo{width:40px;height:40px;border-radius:11px;background:#0F766E;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:23px;padding-bottom:3px;box-sizing:border-box}
.hl-marque b{display:block;font-weight:600;font-size:24px;letter-spacing:-.025em;line-height:1.1}
.hl-marque small{display:block;font-size:13px;color:#5F6B7A}
.hl h1{margin:0;font-size:28px;font-weight:600;letter-spacing:-.02em}
.hl-sous{margin:4px 0 0;font-size:14.5px;color:#5F6B7A}
.hl-champ{display:flex;flex-direction:column;gap:6px}
.hl-champ>span{font-size:13.5px;font-weight:500}
.hl-champ input{height:44px;padding:0 14px;border-radius:9px;background:#fff;border:1px solid #D5D9DE;font:inherit;font-size:15px;color:#1F2933;box-sizing:border-box;outline:none;transition:border-color .15s,box-shadow .15s}
.hl-champ input:focus{border:2px solid #0F766E!important;padding:0 13px;outline:none!important;box-shadow:0 0 0 4px rgba(15,118,110,.12)!important;background:#fff!important}
.hl-bouton{height:46px;border:0;border-radius:9px;background:#0F766E;color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:background .15s}
.hl-bouton:hover{background:#0B5F58}.hl-bouton:focus-visible{outline:2px solid #0F766E;outline-offset:3px}
.hl-err{padding:10px 12px;border-radius:9px;background:#FDECEC;color:#B42318;font-size:13.5px;font-weight:500}
.hl-attente{font-size:13px;color:#5F6B7A;text-align:center}
.hl-aide{margin:0;font-size:13px;color:#5F6B7A;line-height:1.5}
.hl-pied{display:flex;gap:18px;width:100%;max-width:410px;font-size:12.5px;color:#5F6B7A}
.hl-droite{order:0;position:relative;flex:1 1 auto;min-width:0;align-self:stretch;display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-items:center;row-gap:8px;padding:40px 0 32px;box-sizing:border-box;height:100vh;min-height:560px}
.hl-ping-intro{padding:0 48px;max-width:640px}
.hl-ping-intro .hl-titre{margin:0;font-size:30px;font-weight:700;letter-spacing:-.025em;line-height:1.15;color:#12302D;text-wrap:balance}
.hl-ping-intro p{margin:8px 0 0;font-size:15px;color:#4A5A66}
.hl-atouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 48px;max-width:880px}
.hl-atout{display:flex;gap:10px;align-items:flex-start;background:rgba(255,255,255,.7);border:1px solid #C6DED9;border-radius:14px;padding:14px 16px}
.hl-atout b{display:block;font-size:15px;font-weight:600;color:#12302D}.hl-atout span:not(.hl-puce){display:block;font-size:13px;color:#4A5A66;margin-top:2px;line-height:1.4}
.hl-puce{width:8px;height:8px;border-radius:2px;background:#0F766E;margin-top:7px;flex:none}
/* Pingouin soignant (public/img/pingouin/) : arrivée puis boucles de repos ; le décor reprend le fond des vidéos */
/* la scène occupe toute la hauteur disponible sans jamais déborder ; le pingouin entre par le bord gauche de l'écran */
.hl-ping-scene{position:relative;height:100%;max-height:62vh;max-width:100%;aspect-ratio:14/9;justify-self:start}
.hl-ping-scene video,.hl-ping-scene img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;
  -webkit-mask-image:linear-gradient(to right,#000 85%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 92%,transparent);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,#000 85%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 92%,transparent);mask-composite:intersect}
.hl-bulle{position:absolute;z-index:2;top:2%;left:60%;max-width:240px;margin:0;background:#fff;color:#12302D;border:2px solid #12302D;border-radius:18px 18px 18px 4px;padding:11px 15px;font-size:15px;font-weight:600;line-height:1.35;box-shadow:0 10px 30px rgba(18,48,45,.12);transform-origin:0 100%;animation:hl-pop .35s ease-out}
.hl-bulle.erreur{border-color:#B42318;color:#B42318}
@keyframes hl-pop{from{transform:scale(.85);opacity:0}to{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.hl-bulle{animation:none}}
.hl-bouton[disabled]{opacity:.75;cursor:progress}
@media (max-width:980px){#login-page.hl{flex-direction:column;align-items:stretch}.hl-droite{flex:none;display:flex;flex-direction:column;align-items:center;height:auto;min-height:0;padding:16px 0 0}.hl-ping-intro,.hl-atouts{display:none}.hl-ping-scene{height:auto;max-height:none;width:min(100%,460px);justify-self:auto}
  .hl-bulle{left:auto;right:2%;top:0;max-width:180px;font-size:13px;padding:8px 12px}.hl-gauche{flex:none;width:100%;padding:8px 16px 32px;align-items:center}.hl-pied{justify-content:center}}
@media (max-width:560px){.hl-form{padding:22px}}
