:root{font:16px system-ui,-apple-system,Segoe UI,sans-serif;color:#1b2b42;background:#edf1f7}*{box-sizing:border-box}body{margin:0}.auth-layout{min-height:100vh;display:grid;grid-template-columns:47% 53%}.brand-panel{background:#273779;color:#fff;padding:clamp(35px,7vw,100px);position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center}.brand{width:57px;height:57px;border-radius:14px;background:#ec7044;display:grid;place-items:center;font-size:2rem;font-weight:900;margin-bottom:26px}.brand-panel h1{font-size:clamp(2.5rem,5vw,4.5rem);margin:0}.brand-panel p{font-size:1.2rem;color:#d8e1ff;line-height:1.5;max-width:400px}.pipe-lines{position:absolute;border:35px solid #ffffff12;border-left:0;border-bottom:0;border-radius:0 140px 0 0;width:360px;height:320px;right:-90px;bottom:-70px}.form-panel{display:grid;place-items:center;padding:30px}.box{width:min(100%,420px)}.eyebrow{color:#6574aa;font-size:.77rem;letter-spacing:.13em;font-weight:800}.box h2{font-size:2rem;margin:12px 0 4px}.muted{color:#617187;line-height:1.5;margin:0 0 30px}label{display:block;font-weight:650;margin:17px 0 7px}input{width:100%;border:1px solid #b7c5d4;background:#fff;border-radius:9px;padding:14px;font:inherit}input:focus{outline:3px solid #f5be9a;border-color:#ec7044}button{width:100%;background:#3e4c98;border:0;color:#fff;font:inherit;font-weight:700;padding:15px;border-radius:9px;margin-top:25px;cursor:pointer}button:hover{background:#2f3d84}.error{background:#fff0e9;border:1px solid #edbea9;padding:12px;border-radius:8px;color:#8b3926}.small{font-size:.85rem;color:#66778a;line-height:1.5}@media(max-width:740px){.auth-layout{display:block}.brand-panel{min-height:210px;padding:25px;display:block}.brand{width:44px;height:44px;font-size:1.5rem;margin:0 0 10px}.brand-panel h1{font-size:1.8rem}.brand-panel p{font-size:.94rem;margin:4px 0}.pipe-lines{width:180px;height:130px;right:-55px;bottom:-25px;border-width:20px}.form-panel{display:block;padding:30px 22px}.box{margin:auto}}
/* ===== tela de entrada com imagem ===== */
body{background:#0a1d5c}
.auth-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#0a1d5c url("login-bg.jpg?v=2") right center/cover no-repeat;align-items:center}
.brand-panel{background:transparent;padding:clamp(30px,5vw,80px) clamp(24px,5vw,80px) 10px;justify-content:flex-end;grid-column:1;grid-row:1}
.brand-panel p{color:#c9d6ff}
.pipe-lines{display:none}
.form-panel{grid-column:1;grid-row:2;align-self:start;place-items:start;padding:10px clamp(24px,5vw,80px) clamp(30px,5vw,80px)}
.auth-layout{grid-template-rows:auto auto;align-content:center}
.box{background:rgba(255,255,255,.96);border-radius:16px;padding:28px 28px 30px;box-shadow:0 20px 60px rgba(0,0,20,.45)}
.box h2{margin-top:6px}
.muted{margin-bottom:18px}
@media(max-width:740px){
 .auth-layout{display:block;min-height:100vh;background:#0a1d5c url("login-bg-m.jpg?v=2") center 132px/100% auto no-repeat}
 .brand-panel{min-height:132px;height:132px;padding:22px 20px 0;background:#0a1d5c;display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-content:start}
 .brand-panel .brand{grid-row:1/3;margin:0}
 .brand-panel h1{font-size:1.7rem;line-height:1.1}
 .brand-panel p{font-size:.9rem;margin:4px 0 0}
 .form-panel{padding:calc(min(70vw,420px)) 16px 30px;display:block}
 .box{padding:22px 18px 24px}
}
