/* Cogency-NET — page de connexion (05/12/2026) */
:root{--h:285;--mono:ui-monospace,"SFMono-Regular","JetBrains Mono",Menlo,Consolas,monospace;--sans:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--accent:hsl(var(--h) 80% 55%)}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{background:radial-gradient(ellipse at 50% -10%,hsla(var(--h),80%,35%,.25),transparent 60%),#05090a;color:#dfeee9;font:16px/1.55 var(--sans)}
[hidden]{display:none!important}
.cx{max-width:480px;margin:0 auto;padding:28px 20px 40px}
.cx-tete{display:flex;align-items:center;gap:16px;margin-bottom:28px}
.cx-nom{font:700 20px var(--sans);letter-spacing:.08em;text-transform:uppercase;color:#f1fbf8}
.logo-cogency{width:72px;height:72px;border-radius:50%;flex:none;display:block;box-shadow:0 0 0 1px rgba(201,162,92,.35),0 6px 20px -8px rgba(0,0,0,.6)}
.logo-lab{position:relative;display:inline-block;flex:none;line-height:0}
.tampon svg{width:22px;height:22px;fill:none;stroke:#f4fffb;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tampon{position:absolute;right:-6px;bottom:-4px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  transform:rotate(-14deg);background:radial-gradient(circle at 35% 30%,hsl(var(--h) 85% 58%),hsl(var(--h) 80% 34%));
  border:2px solid #0b1412;box-shadow:0 0 0 1px hsla(var(--h),90%,70%,.55),0 4px 12px -2px rgba(0,0,0,.55)}
.cx-carte{background:rgba(10,18,20,.92);border:1px solid #16252a;border-radius:18px;padding:26px 24px;box-shadow:0 30px 80px -40px hsla(var(--h),90%,40%,.6)}
.cx-sur{font:12px var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--accent);margin:0 0 6px}
h1{font-size:28px;margin:0 0 8px;color:#fff}
.cx-aide{color:#9fb5b0;margin:0 0 18px;font-size:15px}
.cx-champ{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#8ea59f;margin-bottom:18px}
.cx-champ input{height:48px;border-radius:10px;border:1px solid #3a2b57;background:#06100f;color:#effaf7;font:16px var(--sans);padding:0 14px}
.cx-champ input:focus,.canal input:focus-visible+span{outline:2px solid var(--accent);outline-offset:1px}
.cx-champ input.code{font:700 28px var(--mono);letter-spacing:.5em;text-align:center;height:60px}
.canaux{border:0;padding:0;margin:0 0 8px;display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.canaux legend{font-size:13px;color:#8ea59f;margin-bottom:6px;padding:0}
.canal{position:relative;cursor:pointer}
.canal input{position:absolute;opacity:0;pointer-events:none}
.canal span{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 2px;border-radius:10px;border:1px solid #2a2140;background:#08100f;font-size:12px;color:#b9ccc7;text-align:center}
.canal svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.canal input:checked+span{border-color:var(--accent);color:#fff;background:hsla(var(--h),80%,40%,.16);box-shadow:0 0 18px -6px var(--accent)}
.cx-note{font-size:12.5px;color:#6f8883;margin:0 0 20px}
.cx-btn{width:100%;height:50px;border:0;border-radius:12px;background:linear-gradient(110deg,hsl(var(--h) 90% 45%),hsl(calc(var(--h) + 30) 90% 52%));color:#03110c;font:700 16px var(--sans);cursor:pointer}
.cx-btn:disabled{opacity:.5;cursor:wait}
.cx-lien{display:block;margin:14px auto 0;background:none;border:0;color:#8ea59f;text-decoration:underline;font:14px var(--sans);cursor:pointer}
.cx-msg{min-height:22px;margin:14px 0 0;font-size:14px;color:#c9b6f0;text-align:center}
.cx-msg.err{color:#ff8f9a}
.cx-pied{font-size:12.5px;color:#6f8883;text-align:center;margin-top:22px}
.cx-pied a{color:#9fb5b0}
@media (max-width:420px){.canaux{grid-template-columns:repeat(3,1fr)}.cx-carte{padding:22px 16px}}

/* Bouton Home vers cogenix.ai (05/12/2026) */
.home{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:9px;border:1px solid #3a2b57;color:#dff4ef;background:transparent;text-decoration:none;font:600 13px system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;white-space:nowrap;line-height:1}
.home svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.home:hover{filter:brightness(1.25)}
.cx-tete .home{margin-left:auto}

/* Langues (05/12/2026) */
.langues{display:flex;border:1px solid #3a2b57;border-radius:8px;overflow:hidden}
.langues button{background:none;border:0;color:#c3b3e6;padding:5px 9px;font:600 12px system-ui,sans-serif;cursor:pointer}
.langues button[aria-pressed=true]{background:hsl(285 80% 62%);color:#fff}
.cx-tete .langues{margin-left:10px}
@font-face{font-family:"Noto Naskh Arabic";src:url(/assets/noto-naskh-arabic-Regular.woff2) format("woff2");font-weight:400 500;font-display:swap}
@font-face{font-family:"Noto Naskh Arabic";src:url(/assets/noto-naskh-arabic-Bold.woff2) format("woff2");font-weight:600 900;font-display:swap}
html[lang=ar] .cx-carte,html[lang=ar] .cx-carte *,html[lang=ar] .cx-pied{font-family:"Noto Naskh Arabic",system-ui,sans-serif;letter-spacing:0;text-transform:none}
html[dir=rtl] .cx-tete .home{margin-left:0;margin-right:auto}
html[dir=rtl] .cx-tete .langues{margin-left:0;margin-right:10px}
html[dir=rtl] #email,html[dir=rtl] #code,html[dir=rtl] .cx-nom{direction:ltr}
html[dir=rtl] #email{text-align:right}
.cx-tete{flex-wrap:wrap;row-gap:10px}
