*{box-sizing:border-box}body{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:#f2f7fa;color:#102b3e}a{color:inherit;text-decoration:none}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-story{background:linear-gradient(130deg,#041827,#0b4d70);color:#fff;padding:42px clamp(25px,5vw,100px);display:flex;flex-direction:column}.auth-logo{width:240px;height:auto;align-self:flex-start;margin:8vh 0 6vh}.back-link{font-size:14px;font-weight:700;color:#c4e7f7}.story-copy{max-width:600px;margin:auto 0}.kicker,.tag{font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#ff9f72}.auth-story h1{font-size:clamp(36px,4.6vw,72px);line-height:1.04;letter-spacing:-.04em;margin:20px 0}.auth-story p{font-size:18px;color:#c7e0ee;line-height:1.7}.highlights{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.highlights span{font-size:13px;border:1px solid #ffffff30;padding:11px 14px;border-radius:50px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:clamp(24px,5vw,70px)}.auth-card{width:100%;max-width:510px;background:#fff;border:1px solid #dce8ee;border-radius:28px;padding:clamp(28px,4vw,54px);box-shadow:0 26px 80px #0e39501a}.tag{display:inline-block;background:#fff0e6;color:#d74c15;border-radius:30px;padding:7px 12px}.auth-card h2{font-size:clamp(29px,3vw,40px);line-height:1.08;letter-spacing:-.04em;margin:22px 0 12px}.auth-card p{font-size:15px;line-height:1.7;color:#627f8e}.auth-card label{display:block;margin-top:20px;margin-bottom:8px;font-size:13px;font-weight:800}.auth-card input{width:100%;border:1.5px solid #cfdee7;padding:15px 16px;border-radius:13px;background:#f8fbfd;font-size:15px;color:#102b3e}.auth-card input:focus{outline:3px solid #beeafd;border-color:#1686bc}.primary,.recover button{width:100%;background:#f45f21;color:white;border:none;padding:16px;border-radius:13px;font-weight:900;display:flex;justify-content:space-between;margin-top:24px;font-size:15px;cursor:pointer}.recover{padding:15px 0;border-bottom:1px solid #e0e9ef}.recover summary{cursor:pointer;color:#136c9b;font-size:13px;font-weight:800}.recover button{background:#0b526f;margin-top:12px}.feedback{border-radius:12px;padding:13px 16px;background:#edf8ff;color:#0b567b;font-size:14px;margin:18px 0}.feedback.error{background:#fff0eb;color:#a43116}.support{font-size:13px!important;margin-top:22px}.support a{font-weight:900;color:#c84b1d}a:focus-visible,button:focus-visible{outline:3px solid #ff8c35;outline-offset:3px}@media(max-width:860px){.auth-layout{grid-template-columns:1fr}.auth-story{padding:28px 24px}.auth-logo{width:168px;margin:24px 0}.story-copy h1{font-size:32px}.story-copy p{font-size:15px}.highlights{display:none}.auth-card{padding:28px}.auth-panel{padding:20px}}


/* Portal E-ADTC — credenciais, refinamento visual desktop e mobile */
html,body{margin:0;overflow-x:hidden}
.auth-layout{min-height:100svh;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.auth-story{position:relative;isolation:isolate;justify-content:center;overflow:hidden;padding:22px clamp(28px,4.5vw,68px);background:linear-gradient(135deg,#041928 0%,#07354e 64%,#0c4b68 100%)}
.auth-story:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(87,192,229,.08) 1px,transparent 1px),linear-gradient(rgba(87,192,229,.07) 1px,transparent 1px);background-size:52px 52px;mask-image:linear-gradient(135deg,#000,transparent 85%)}
.auth-story:after{content:"";position:absolute;right:-150px;bottom:-160px;z-index:-1;width:450px;height:450px;border-radius:50%;background:radial-gradient(circle,rgba(41,182,224,.23),transparent 72%);pointer-events:none}
.back-link{display:inline-flex;align-items:center;position:relative;align-self:flex-start;margin:0 0 25px;font-size:13px;color:#d8eaf6}
.auth-logo{align-self:flex-start;width:clamp(196px,19vw,260px);max-width:100%;height:auto;margin:0 0 24px}
.story-copy{position:relative;max-width:610px;margin:0}
.auth-story h1{font-size:clamp(33px,4.15vw,60px);line-height:1.07;margin:13px 0 16px;letter-spacing:-.045em}
.auth-story p{font-size:clamp(14px,1.2vw,17px);line-height:1.55;margin:0}
.highlights{gap:8px;margin:18px 0 0}
.highlights span{font-size:11px;padding:9px 11px;background:rgba(255,255,255,.05)}
.auth-panel{position:relative;isolation:isolate;overflow:hidden;padding:clamp(12px,2.3vw,32px);background:linear-gradient(135deg,#fff2e8 0%,#ffbd91 22%,#ff8c4c 46%,#f36326 76%,#ed541b 100%)}
.auth-panel:before{content:"";position:absolute;inset:-10%;z-index:-1;pointer-events:none;transform:rotate(-7deg);background:linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px),radial-gradient(circle at 18% 20%,rgba(255,255,255,.35),transparent 25%),radial-gradient(circle at 90% 78%,rgba(255,255,255,.18),transparent 24%);background-size:48px 48px,48px 48px,auto,auto;opacity:.55}
.auth-panel:after{content:"";position:absolute;right:-170px;top:-150px;z-index:-1;width:420px;height:420px;border:56px solid rgba(255,255,255,.14);border-radius:50%;pointer-events:none}
.auth-card{width:100%;max-width:500px;background:#fff;border-radius:27px;border:1px solid rgba(211,225,231,.8);padding:clamp(20px,2.7vw,38px);box-shadow:0 26px 75px rgba(46,51,58,.18)}
.auth-card h2{font-size:clamp(29px,2.55vw,38px);line-height:1.08;margin:17px 0 9px}
.auth-card>p{font-size:14px;line-height:1.55;margin:0;color:#526e7f}
.auth-card label{margin-top:15px;margin-bottom:6px}
.auth-card input{padding:13px 15px}
.primary{margin-top:19px;padding:14px 16px;min-height:48px}
.recover{padding:12px 0 0;margin-top:10px}
.support{font-size:12px!important;line-height:1.5!important;margin:15px 0 0!important}
@media(min-width:901px) and (max-height:720px){
 .auth-layout{height:100svh;min-height:0;overflow:hidden}
 .auth-story{padding-top:17px;padding-bottom:17px}
 .back-link{margin-bottom:18px}
 .auth-logo{width:200px;margin-bottom:18px}
 .auth-story h1{font-size:clamp(34px,3.6vw,51px);line-height:1.04;margin:10px 0 13px}
 .auth-story p{font-size:14px;line-height:1.5}
 .highlights{margin-top:12px;gap:7px}
 .highlights span{font-size:10px;padding:8px 9px}
 .auth-panel{padding:14px 22px}
 .auth-card{padding:20px 27px;max-width:480px}
 .auth-card h2{font-size:31px;margin:14px 0 8px}
 .auth-card>p{font-size:13px;line-height:1.42}
 .auth-card label{margin-top:12px;margin-bottom:5px;font-size:12px}
 .auth-card input{padding:11px 14px;font-size:14px}
 .primary{margin-top:15px;min-height:44px;padding:12px 14px}
 .recover{margin-top:9px;padding-top:10px}
 .support{margin-top:10px!important;font-size:12px!important}
}
@media(max-width:900px){
 .auth-layout{display:flex;flex-direction:column;min-height:100svh;height:auto}
 .auth-story{padding:25px 25px 22px}
 .back-link{margin-bottom:14px}
 .auth-logo{width:165px;margin:0 0 14px}
 .auth-story h1{font-size:clamp(29px,5.1vw,38px);line-height:1.07;margin:10px 0}
 .auth-story p{font-size:14px}
 .highlights{display:none}
 .auth-panel{padding:22px 18px 33px;min-height:0}
 .auth-card{max-width:560px;padding:26px;border-radius:22px}
 .auth-card h2{font-size:30px}
}
@media(max-width:480px){
 .auth-story{padding:18px 17px}
 .auth-logo{width:148px}
 .auth-story h1{font-size:30px;max-width:365px}
 .auth-panel{padding:16px 12px 26px}
 .auth-card{padding:21px 20px}
 .auth-card h2{font-size:27px}
 .auth-card>p{font-size:13px}
 .auth-card label{margin-top:14px}
 .auth-card input{font-size:14px}
}

/* E-ADTC — seleção visual de perfis, sem autenticação ou credenciais de produção */
.auth-card-preview .preview-form{margin-top:24px}
.auth-card-preview .preview-form label{margin:0 0 9px;font-size:13px;display:block;font-weight:850;color:#12344a}
.auth-card-preview .profile-select-wrap{position:relative;isolation:isolate}
.auth-card-preview .profile-select-wrap::after{content:"";position:absolute;z-index:1;right:20px;top:50%;width:9px;height:9px;border-right:2px solid #155b7e;border-bottom:2px solid #155b7e;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.auth-card-preview select{display:block;appearance:none;-webkit-appearance:none;width:100%;min-height:54px;border:1.5px solid #cddfea;border-radius:13px;background:linear-gradient(180deg,#fff,#f6fbff);font:750 15px/1.3 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#183f54;padding:15px 44px 15px 16px;cursor:pointer;box-shadow:0 6px 14px #0b34530a}
.auth-card-preview select:focus-visible{outline:3px solid #ff9444;outline-offset:2px}
.auth-card-preview .preview-hint{display:flex;align-items:flex-start;gap:9px;margin:14px 0 0;color:#547083;font-size:12px;line-height:1.6}
.auth-card-preview .preview-hint>span:first-child{color:#ee6727;font-size:17px;line-height:1}
.auth-card-preview .preview-form .primary{margin-top:24px;align-items:center;box-shadow:0 10px 20px #f45f2130}
.auth-card-preview .preview-notice{border:1px solid #dcebf3;background:#f2f8fc;border-radius:14px;margin-top:20px;padding:15px 17px}
.auth-card-preview .preview-notice strong{display:block;color:#164965;font-size:12px;letter-spacing:.012em}
.auth-card-preview .preview-notice p{margin:6px 0 0;font-size:12px;line-height:1.55;color:#547181}
.auth-card-preview .support{font-size:12px!important;margin-top:18px!important;color:#637b88}
.auth-card-preview .support strong{color:#185e80}
@media(min-width:901px) and (max-height:720px){
 .auth-card-preview .preview-form{margin-top:18px}
 .auth-card-preview select{min-height:49px;padding:12px 40px 12px 14px}
 .auth-card-preview .preview-hint{margin-top:10px}
 .auth-card-preview .preview-form .primary{margin-top:17px}
 .auth-card-preview .preview-notice{padding:12px 14px;margin-top:15px}
 .auth-card-preview .support{margin-top:12px!important}
}
@media(max-width:480px){.auth-card-preview .preview-form{margin-top:19px}.auth-card-preview select{min-height:52px;font-size:14px}.auth-card-preview .preview-notice{margin-top:16px}}
