/* Accès communs : formulaire centré et orbites inspirées de la référence. */
body.auth-centered{position:relative;isolation:isolate;min-height:100vh;overflow-x:hidden;background:radial-gradient(ellipse at 50% 8%,#383836 0%,#232322 42%,#1c1c1a 100%);background-attachment:fixed;color:#fbfbfb}
.auth-centered header{max-width:1000px;padding:20px 28px;margin:0 auto;position:relative;z-index:2}.auth-centered header img{width:150px}.auth-centered header>a:last-child{font-size:11px;color:#b6b6b4}
.auth-centered .access-layout{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;max-width:620px;gap:21px;margin:6px auto 0;padding:10px 24px 50px}
.auth-centered .access-story{position:relative;top:auto;text-align:center;display:flex;align-items:center;flex-direction:column;padding:4px 0 0;width:100%}
.auth-lock{position:relative;width:38px;height:49px;margin:0 auto 24px;filter:drop-shadow(0 0 11px #ea868b77)}.auth-lock::before{content:"";position:absolute;width:19px;height:25px;left:9px;top:0;border:3px solid #ea868b;border-radius:13px 13px 0 0}.auth-lock::after{content:"";position:absolute;left:3px;bottom:0;width:32px;height:27px;border:2px solid #ea868b;border-radius:7px;background:#262625}.auth-lock span{position:absolute;z-index:1;left:17px;bottom:8px;width:4px;height:9px;border-radius:4px;background:#ea868b}.auth-lock span::before{content:"";position:absolute;top:-2px;left:-1px;width:6px;height:6px;border-radius:50%;background:#ea868b}
.auth-orbit-label{font-size:10px;font-weight:800;letter-spacing:2.6px;color:#ea868b}.auth-security{list-style:none;padding:0;margin:10px 0 0;text-align:left;color:#afafab;font-size:9px;letter-spacing:1px;text-transform:uppercase;line-height:1.65}.auth-security li{position:relative;padding-left:13px}.auth-security li::before{content:"";position:absolute;left:0;top:5px;width:6px;height:6px;border-radius:50%;background:#93938e;box-shadow:0 0 8px #93938ecc}
.auth-centered .access-card{position:relative;width:100%;max-width:400px;background:#fff;color:#2C2C2A;border:1px solid #ffffffa3;border-radius:15px;padding:28px 30px 25px;box-shadow:0 30px 70px #0C0C0B66}
.auth-register .access-card{max-width:520px}.auth-centered .access-card>.eyebrow{display:none}.auth-centered .access-card>h2{text-align:center;font-size:23px;line-height:1.3;letter-spacing:-.45px;margin:2px 0 4px}.auth-centered .access-card>p:first-of-type{text-align:center;font-size:12px;line-height:1.55;color:#898985;margin:0 0 23px}.auth-centered label{font-size:12px;color:#30302e;margin-top:17px}.auth-centered input,.auth-centered select{background:#fff;border-color:#dddddc;min-height:43px;padding:9px 11px;border-radius:8px;font-size:13px}.auth-centered input:focus,.auth-centered select:focus{outline:0;border-color:#ea868b;box-shadow:0 0 0 3px #ea868b1b}.auth-centered .password-row{gap:6px}.auth-centered .password-row button{font-size:10px;border-color:#dddddc;background:#f7f7f6;border-radius:8px;padding:7px 10px}.auth-centered .primary{position:relative;overflow:hidden;background:#2D2D2C;border-radius:8px;font-size:13px;min-height:43px;padding:11px 14px;margin-top:24px;transition:translate .2s,box-shadow .2s,background .2s}.auth-centered .primary:hover{background:#454543;translate:0 -2px;transform:none;box-shadow:0 8px 20px #2c2c2a2b}.auth-centered .primary::before{content:"";position:absolute;inset:-30% auto -30% -45%;width:28%;transform:skewX(-24deg);background:linear-gradient(90deg,transparent,#ffffff45,transparent);pointer-events:none}.auth-centered .session-note{font-size:10px;padding:10px 12px;background:#f6f6f5;margin-top:18px}.auth-centered .access-card>p:last-of-type{font-size:12px;text-align:center;margin-bottom:8px}.auth-centered small{font-size:10px;line-height:1.6;color:#878783}.auth-centered .consent{font-size:11px;line-height:1.6}.auth-centered .consent input{min-height:18px;width:18px}.auth-centered .profile-help{font-size:11px;padding:10px 12px}.auth-centered .field-pair{gap:13px}.auth-centered footer{font-size:10px;color:#9b9b97;padding:8px 20px 20px}
.auth-atmosphere{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}.auth-grand-orbit{position:absolute;left:50%;top:51%;width:min(105vw,880px);aspect-ratio:1;translate:-50% -50%;border:1px solid #ea868b26;border-radius:50%}.auth-grand-orbit::before{content:"";position:absolute;top:13%;left:14%;width:4px;height:4px;border-radius:50%;background:#f48086;box-shadow:0 0 8px #ea868b66}.auth-grand-orbit::after{content:"";position:absolute;top:3%;left:54%;width:17px;height:2px;background:#f3f3f3;border-radius:2px;rotate:24deg;box-shadow:0 0 6px #ffffff44}.auth-inner-orbit{position:absolute;left:50%;top:51%;width:min(80vw,660px);aspect-ratio:1;translate:-50% -50%;border:1px solid #4545433b;border-radius:50%;background:#13131380;box-shadow:inset 0 0 90px #0d0d0d33}.auth-inner-orbit::before{content:"";position:absolute;inset:15%;border:2px dashed #ea868b12;border-radius:50%}.auth-small-orbit{position:absolute;left:calc(50% - 205px);top:130px;width:118px;height:118px;border:2px dashed #ea868b70;border-radius:50%}.auth-small-orbit::after{content:"";position:absolute;top:16px;right:13px;width:5px;height:5px;background:#ea878c;border-radius:50%;box-shadow:0 0 10px #ea868b44}.auth-small-orbit.cyan{left:calc(50% - 171px);top:162px;width:107px;height:107px;border-color:#8f8f8a70}.auth-small-orbit.cyan::after{background:#b2b2ae;top:auto;bottom:12px}.auth-particle{position:absolute;left:calc(50% + 165px);top:165px;width:3px;height:13px;background:#e3e3e2aa;border-radius:3px;rotate:-18deg}.auth-particle.p2{left:calc(50% - 115px);top:108px;height:5px;width:5px;background:#ef8c91;border-radius:50%}.auth-particle.p3{left:calc(50% + 265px);top:64%;height:4px;width:4px;background:#acaca9}.auth-particle.p4{left:calc(50% - 260px);top:70%;height:8px;opacity:.3}
@keyframes centered-orbit{to{rotate:360deg}}@keyframes centered-orbit-back{to{rotate:-360deg}}@keyframes centered-drift{50%{translate:4px -12px;opacity:.45}}@keyframes centered-lock{50%{translate:0 -5px;filter:drop-shadow(0 0 17px #ea868b99)}}@keyframes centered-card{from{opacity:0;transform:translateY(22px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes centered-glow{50%{box-shadow:0 25px 80px #0C0C0B88,0 0 38px #70706b1a}}@keyframes centered-sweep{to{left:125%}}@keyframes centered-status{50%{opacity:.6;box-shadow:0 0 13px #93938e}}
@media(prefers-reduced-motion:no-preference){.auth-grand-orbit{animation:centered-orbit 75s linear infinite}.auth-inner-orbit::before{animation:centered-orbit-back 55s linear infinite}.auth-small-orbit{animation:centered-orbit 20s linear infinite}.auth-small-orbit.cyan{animation:centered-orbit-back 25s linear infinite}.auth-particle{animation:centered-drift 8s ease-in-out infinite}.auth-particle.p2{animation-delay:-3s}.auth-particle.p3{animation-delay:-5s}.auth-lock{animation:centered-lock 4s ease-in-out infinite}.auth-security li::before{animation:centered-status 3s ease-in-out infinite}.auth-security li:nth-child(2)::before{animation-delay:.4s}.auth-security li:nth-child(3)::before{animation-delay:.8s}.auth-centered .access-card{animation:centered-card .7s ease both,centered-glow 6s ease-in-out 1s infinite}.auth-centered .primary::before{animation:centered-sweep 4s ease-in-out 2s infinite}}
@media(max-width:600px){.auth-centered header{padding:16px 20px}.auth-centered header img{width:125px}.auth-centered header>a:last-child{font-size:10px}.auth-centered .access-layout{padding:10px 20px 35px;gap:18px}.auth-centered .access-card{max-width:400px;padding:26px 26px 24px}.auth-register .access-card{max-width:520px}.auth-small-orbit{left:calc(50% - 170px);top:95px;width:95px;height:95px}.auth-small-orbit.cyan{left:calc(50% - 143px);top:129px;width:85px;height:85px}.auth-lock{margin-bottom:21px}.auth-centered .field-pair{grid-template-columns:1fr;gap:0}.auth-grand-orbit{width:115vw}.auth-inner-orbit{width:90vw}.auth-particle.p3{left:85%}.auth-particle.p4{left:10%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.auth-centered .primary:hover{translate:none}.button-ripple{display:none}}

/* Finition des orbites : lumière, étoiles et interactions du formulaire. */
.auth-centered .access-card::before{content:"";position:absolute;left:22px;right:22px;top:0;height:3px;border-radius:0 0 12px 12px;background:linear-gradient(100deg,transparent,#ea868b,#acaca8,#ec9196,transparent);background-size:250% 100%;box-shadow:0 0 13px #ea868b44;pointer-events:none}.auth-centered .access-card{transition:border-color .3s,box-shadow .3s}.auth-centered .access-card:focus-within{border-color:#ea868b;box-shadow:0 28px 80px #0C0C0B80,0 0 35px #76767233}.auth-centered input,.auth-centered select{transition:border-color .25s,box-shadow .25s,background .25s}.auth-centered input:hover,.auth-centered select:hover{border-color:#bbbbb9;background:#fefefd}.auth-centered .auth-inner-orbit{box-shadow:inset 0 0 90px #0d0d0d33,0 0 100px #58585422}.auth-inner-orbit::after{content:"";position:absolute;inset:6%;border:1px solid #a1a19d1c;border-radius:50%;transform:rotateX(62deg) rotate(-25deg)}.auth-small-orbit.gold{filter:drop-shadow(0 0 7px #ea868b33)}.auth-small-orbit.cyan{filter:drop-shadow(0 0 7px #9c9c9833)}
.auth-particle.p3::before,.auth-particle.p3::after{content:"";position:absolute;background:#cececd;border-radius:3px;left:50%;top:50%;translate:-50% -50%}.auth-particle.p3::before{width:2px;height:15px}.auth-particle.p3::after{width:15px;height:2px}.auth-particle.p4::before{content:"";position:absolute;top:-6px;left:-5px;width:15px;height:1px;background:#f4a3a7;rotate:30deg}.auth-orbit-label{text-shadow:0 0 18px #ea868b44}.auth-centered .password-row button{transition:background .2s,color .2s}.auth-centered .password-row button:hover{background:#40403d;color:#fff}.button-ripple{position:absolute;pointer-events:none;width:18px;height:18px;border-radius:50%;background:#ffffff55;left:calc(50% - 9px);top:calc(50% - 9px);animation:access-ripple .65s ease-out forwards}
@keyframes access-ripple{to{transform:scale(28);opacity:0}}@keyframes orbit-edge-shine{50%{background-position:100% 0}}@keyframes orbit-lens-turn{50%{transform:rotateX(62deg) rotate(155deg)}}@keyframes orbit-twinkle{0%,100%{opacity:.25;filter:drop-shadow(0 0 2px #d3d3d2)}50%{opacity:1;filter:drop-shadow(0 0 8px #d3d3d2)}}@keyframes orbit-label-glow{50%{text-shadow:0 0 25px #ea868b99}}
@media(prefers-reduced-motion:no-preference){.auth-centered .access-card::before{animation:orbit-edge-shine 5s ease-in-out infinite}.auth-inner-orbit::after{animation:orbit-lens-turn 32s ease-in-out infinite}.auth-particle.p3,.auth-particle.p4{animation:centered-drift 9s ease-in-out infinite,orbit-twinkle 4s ease-in-out infinite}.auth-particle.p4{animation-delay:-3s,-2s}.auth-orbit-label{animation:orbit-label-glow 4s ease-in-out infinite}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.button-ripple{display:none}}

/* Connexion validée : cadenas vert qui s’ouvre avant la redirection. */
.auth-unlocked .auth-lock{animation:none!important;filter:drop-shadow(0 0 17px #40d58a88);transition:filter .35s}.auth-unlocked .auth-lock::before{border-color:#3cd890;transform:translate(10px,-5px) rotate(-28deg);transform-origin:80% 90%;transition:transform .65s cubic-bezier(.18,.9,.32,1.2),border-color .3s}.auth-unlocked .auth-lock::after{border-color:#3cd890;background:#0b332b;transition:background .35s,border-color .35s}.auth-unlocked .auth-lock span,.auth-unlocked .auth-lock span::before{background:#7af0b4;transition:background .35s}.auth-unlocked .auth-orbit-label{color:#7af0b4;text-shadow:0 0 22px #3cd89088;animation:none}.auth-unlocked .auth-security{color:#9eeac3}.auth-unlocked .auth-security li::before{background:#3cd890;box-shadow:0 0 10px #3cd890}.auth-unlocked .access-card{border-color:#70d6a2;box-shadow:0 25px 80px #0C0C0B88,0 0 45px #3cd89033;animation:unlock-card .75s ease both}.auth-unlocked .primary{background:#167044;color:#fff;pointer-events:none}.auth-unlocked .auth-small-orbit{border-color:#3cd89088;transition:border-color .4s}.auth-success-notice{color:#176341;font-weight:700;font-size:12px;text-align:center;margin:15px 0 0}.auth-unlocked .auth-lock::after{animation:unlock-pulse .9s ease-out both}@keyframes unlock-pulse{50%{box-shadow:0 0 0 13px #3cd89020,0 0 30px #3cd89055}100%{box-shadow:0 0 0 22px #3cd89000}}@keyframes unlock-card{50%{transform:translateY(-4px)}100%{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.auth-unlocked .access-card,.auth-unlocked .auth-lock::after{animation:none!important}.auth-unlocked .auth-lock::before{transition:none!important}}
