/* Accès Arcadia Ops — écrans de connexion et d’inscription */
.login.auth-surface{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);min-height:100dvh;background:#f7f9fa;color:#112b40;overflow:clip}
.login.auth-surface .login-art{min-width:0;min-height:100dvh;height:100dvh;position:sticky;top:0;display:flex;flex-direction:column;justify-content:space-between;gap:32px;padding:clamp(30px,5vw,80px);background:#071e30;color:#f5f9fc;isolation:isolate}
.login.auth-surface .login-art::before{content:'';position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 82% 75%,#15537c8c 0,#0b355463 22%,transparent 48%),linear-gradient(150deg,#092438 0%,#071b2b 72%);pointer-events:none}
.login.auth-surface .login-art::after{content:none}
.login.auth-surface .auth-brand{display:flex;justify-content:flex-start;padding:0;gap:12px;color:#f5f9fc;font-family:'Barlow','DM Sans',sans-serif;font-size:1.15rem;letter-spacing:.035em}
.login.auth-surface .auth-brand > span{display:inline}
.login.auth-surface .auth-brand > .brandmark{display:grid}
.login.auth-surface .auth-brand .brandmark{width:42px;height:42px}
.auth-story{max-width:760px;padding-bottom:clamp(12px,4vh,50px)}
.login.auth-surface .auth-story h1{font-family:'Barlow','DM Sans',sans-serif;font-size:clamp(3rem,5.35vw,6rem);font-weight:700;line-height:.99;letter-spacing:-.034em;text-wrap:balance;max-width:11ch}
.auth-story h1 span{color:#9acfff}
.login.auth-surface .auth-story p{max-width:44ch;margin-top:28px;color:#c1d7e5;font-size:clamp(1rem,1.35vw,1.24rem);line-height:1.55}
.auth-route{display:flex;align-items:start;justify-content:space-between;gap:16px;position:relative;max-width:510px;margin-top:clamp(36px,6vh,78px);font-size:.9rem;font-weight:700;color:#e3eef7}
.auth-route::before{content:'';position:absolute;left:7px;right:7px;top:6px;height:1px;background:linear-gradient(90deg,#77c6f5 0%,#5ca7d8 54%,#56758d 100%)}
.auth-route span{display:grid;gap:15px;min-width:0;position:relative}
.auth-route span:nth-child(2){text-align:center;justify-items:center}
.auth-route span:nth-child(3){text-align:right;justify-items:end}
.auth-route span::before{content:'';display:block;width:13px;height:13px;border:3px solid #b2ddf7;border-radius:50%;background:#0b2c45;box-shadow:0 0 0 4px #113b5b}
.auth-route span:nth-child(2)::before{background:#4faff2;border-color:#e9f8ff;animation:authBeacon 3.4s ease-in-out infinite}
.auth-art-foot{display:flex;align-items:center;gap:11px;color:#bfd5e3;font-size:.86rem;font-weight:600;letter-spacing:.005em}
.auth-signal{flex:none;width:7px;height:7px;border-radius:50%;background:#89d7ef;box-shadow:0 0 0 5px #89d7ef24}
.login.auth-surface .login-card{min-width:0;align-items:center;justify-content:center;padding:clamp(28px,4.8vw,78px);background:#f7f9fa}
.auth-card-shell{width:min(100%,505px);min-width:0;margin:auto;animation:authEnter .52s cubic-bezier(.16,1,.3,1) both}
.auth-mobile-brand{display:none!important}
.login.auth-surface .login-form{width:100%;gap:18px}
.auth-heading{margin-bottom:18px}
.login.auth-surface .auth-heading h2{font-family:'Barlow','DM Sans',sans-serif;font-size:clamp(2.25rem,3.5vw,3.45rem);font-weight:700;line-height:1.02;letter-spacing:-.03em;text-wrap:balance;color:#102b42}
.auth-heading p{max-width:43ch;margin-top:16px;color:#5a7081;font-size:1.02rem;line-height:1.55}
.login.auth-surface .auth-field{gap:8px;color:#294356;font-size:.87rem;font-weight:700;letter-spacing:.01em}
.login.auth-surface .auth-field b{margin-left:3px;color:#bc3049;font-size:1rem}
.login.auth-surface .auth-field .field{display:block;width:100%;min-height:54px;padding:13px 15px;border:1px solid #c9d8e3;border-radius:10px;background:#fff;color:#0b2639;font-size:1rem;box-shadow:0 2px 5px #193c5710;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.login.auth-surface .auth-field .field::placeholder{color:#63798a;opacity:1}
.login.auth-surface .auth-field .field:hover{border-color:#9fb6c7}
.login.auth-surface .auth-field .field:focus{border-color:#2c82d6;box-shadow:0 0 0 4px #2c82d624}
.login.auth-surface .auth-field .password-wrap .field{padding-right:80px}
.login.auth-surface .password-toggle{right:7px;min-height:36px;padding:8px 10px;background:#ebf2f7;color:#17486d;border-radius:7px;font-size:.81rem}
.login.auth-surface .password-toggle:hover{background:#dcebf6}
.auth-utility{display:flex;justify-content:flex-end;margin-top:-7px}
.login.auth-surface .auth-text-link{display:inline-flex;align-items:center;gap:7px;width:auto;padding:0;border:0;background:transparent;color:#0759b1;font:inherit;font-size:.88rem;font-weight:800;line-height:1.35;text-decoration:none;text-underline-offset:4px;text-align:left;white-space:normal;transition:color .2s ease,transform .2s ease}
.login.auth-surface .auth-text-link:hover{color:#003e85;text-decoration:underline}
.login.auth-surface .auth-text-link:active{transform:translateY(1px)}
.login.auth-surface .auth-text-link svg{width:17px;height:17px;flex:none}
.login.auth-surface .auth-submit{display:flex;justify-content:space-between;width:100%;min-height:58px;margin-top:7px;padding:8px 11px 8px 19px;border-radius:10px;background:#1166cf;color:#fff;box-shadow:0 11px 26px -17px #064eab;font-size:1.01rem;font-weight:800;text-align:left;transition:background .2s ease,box-shadow .2s ease,transform .2s cubic-bezier(.16,1,.3,1)}
.login.auth-surface .auth-submit:hover:not(:disabled){background:#0755b5;box-shadow:0 15px 27px -16px #064eab;transform:translateY(-2px)}
.login.auth-surface .auth-submit:active:not(:disabled){transform:translateY(0) scale(.99)}
.auth-submit>span:last-child{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:8px;background:#ffffff25}
.auth-submit svg{width:19px;height:19px}
.auth-join{display:grid;gap:10px;margin-top:19px;padding-top:22px;border-top:1px solid #d7e3eb;color:#617789;font-size:.9rem;line-height:1.45}
.auth-join .auth-text-link{justify-self:start}
.auth-card-foot{margin-top:clamp(36px,6vh,80px);color:#7a8f9f;font-size:.8rem;font-weight:600;letter-spacing:.01em}
.auth-card-foot span{padding:0 5px}
.auth-back{display:inline-flex;align-items:center;gap:11px;margin:0 0 34px;padding:4px 0;border:0;background:transparent;color:#29536f;font-size:.9rem;font-weight:800;transition:color .2s ease,transform .2s ease}
.auth-back:hover{color:#0759b1;transform:translateX(-3px)}
.auth-back span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #ccdae5;border-radius:8px}
.auth-back span svg{width:17px;height:17px;transform:rotate(180deg)}
.auth-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.auth-form-grid>*{min-width:0}
.auth-form-grid .auth-wide{grid-column:1/-1}
.auth-info{padding:15px 17px;border-radius:10px;background:#e8f1f7;color:#35536a;font-size:.88rem;line-height:1.55}
.auth-invited-email{padding:14px 16px;border:1px solid #cbdce9;border-radius:10px;color:#486174;font-size:.91rem;line-height:1.45;overflow-wrap:anywhere}
.auth-invited-email strong{display:block;margin-top:2px;color:#163d59}
.login.auth-surface .notice.error{font-size:.91rem;font-weight:700;line-height:1.45}
body.dark .login.auth-surface,body.dark .login.auth-surface .login-card{background:#0b2233;color:#e6f1f7}
body.dark .login.auth-surface .auth-heading h2{color:#f2f8fb}
body.dark .login.auth-surface .auth-heading p,body.dark .auth-join,body.dark .auth-card-foot{color:#b5cad7}
body.dark .login.auth-surface .auth-field{color:#d5e7f0}
body.dark .login.auth-surface .auth-field .field{background:#123249;border-color:#3a6079;color:#f3f8fb;box-shadow:none}
body.dark .login.auth-surface .auth-field .field::placeholder{color:#adc3d1}
body.dark .login.auth-surface .auth-field .field:focus{border-color:#81c6f1;box-shadow:0 0 0 4px #65b7ed38}
body.dark .login.auth-surface .password-toggle{background:#244962;color:#edf7fc}
body.dark .auth-join{border-color:#315168}
body.dark .login.auth-surface .auth-text-link,body.dark .auth-back{color:#8ecbfa}
body.dark .auth-back span,body.dark .auth-invited-email{border-color:#3a6079}
body.dark .auth-info{background:#173b53;color:#d0e4ef}
body.dark .auth-invited-email{color:#c8dbe5}
body.dark .auth-invited-email strong{color:#f2f8fb}
@keyframes authEnter{from{opacity:.86;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes authBeacon{0%,100%{box-shadow:0 0 0 4px #113b5b}45%{box-shadow:0 0 0 12px #3d9bd42a}}
@media(max-width:960px){.login.auth-surface{display:block;overflow:visible}.login.auth-surface .login-art{position:relative;top:auto;min-height:230px;height:auto;padding:24px clamp(20px,5vw,34px) 36px;gap:22px}.login.auth-surface .auth-story{padding:0}.login.auth-surface .auth-story h1{max-width:none;font-size:clamp(2.1rem,5.8vw,3.2rem)}.login.auth-surface .auth-story p{display:none}.auth-route,.auth-art-foot{display:none}.login.auth-surface .login-card{display:block;min-height:calc(100dvh - 230px);margin-top:-15px;padding:30px clamp(20px,5vw,40px) calc(30px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;position:relative}.auth-card-shell{width:min(100%,540px)}.auth-card-foot{margin-top:36px}}
@media(max-width:560px){.login.auth-surface .login-art{min-height:192px;padding:19px 20px 31px}.login.auth-surface .auth-brand{font-size:.96rem}.login.auth-surface .auth-brand .brandmark{width:34px;height:34px}.login.auth-surface .auth-story h1{font-size:clamp(1.86rem,8vw,2.5rem);line-height:1.02}.login.auth-surface .login-card{min-height:calc(100dvh - 192px);padding:27px 20px calc(30px + env(safe-area-inset-bottom))}.login.auth-surface .auth-heading h2{font-size:clamp(2rem,7vw,2.7rem)}.auth-heading{margin-bottom:10px}.auth-heading p{margin-top:11px;font-size:.94rem}.login.auth-surface .login-form{gap:15px}.auth-form-grid{grid-template-columns:1fr;gap:15px}.auth-form-grid .auth-wide{grid-column:auto}.auth-card-foot{font-size:.76rem}}
@media(max-width:370px){.login.auth-surface .login-art{min-height:166px}.login.auth-surface .auth-story h1{font-size:1.75rem}.login.auth-surface .login-card{min-height:calc(100dvh - 166px);padding-inline:16px}.login.auth-surface .auth-submit{font-size:.94rem}.auth-join{font-size:.86rem}}
@media(prefers-reduced-motion:reduce){.auth-card-shell,.auth-route span:nth-child(2)::before{animation:none!important}.login.auth-surface .auth-submit,.login.auth-surface .auth-text-link,.auth-back{transition:none!important}}
