:root{--navy:#0c2950;--navy-deep:#071b36;--green:#33d0a1;--ink:#172033;--muted:#697386;--line:#dce4ee}*{box-sizing:border-box}body{margin:0;min-height:100vh;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:#f5f8fc}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.05fr) minmax(460px,.95fr)}.login-brand{position:relative;overflow:hidden;display:flex;flex-direction:column;padding:48px clamp(42px,6vw,96px);color:#fff;background:radial-gradient(circle at 80% 15%,rgba(51,208,161,.32),transparent 28%),linear-gradient(145deg,var(--navy-deep),var(--navy) 65%,#10456c)}.logo,.mobile-logo{font-size:28px;font-weight:800;letter-spacing:-1px;color:var(--green);text-decoration:none}.logo span,.mobile-logo span{color:#fff}.brand-copy{position:relative;z-index:2;margin:auto 0;max-width:660px}.eyebrow{display:inline-block;margin-bottom:18px;color:var(--green);font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.brand-copy h1{margin:0;font-size:clamp(42px,4.3vw,68px);line-height:1.02;letter-spacing:-.045em}.brand-copy p{max-width:590px;margin:26px 0;color:#d7e4f1;font-size:18px;line-height:1.7}.benefits{display:flex;flex-wrap:wrap;gap:12px}.benefits span{padding:10px 14px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.08);font-size:13px}.brand-orbit{position:absolute;right:-140px;bottom:-160px;width:460px;height:460px;border:1px solid rgba(51,208,161,.25);border-radius:50%}.brand-orbit i{position:absolute;inset:50%;width:12px;height:12px;border-radius:50%;background:var(--green);box-shadow:0 0 32px var(--green)}.brand-orbit i:nth-child(1){transform:translate(-150px,-115px)}.brand-orbit i:nth-child(2){transform:translate(68px,-180px)}.brand-orbit i:nth-child(3){transform:translate(158px,20px)}.login-panel{display:grid;place-items:center;padding:40px}.login-card{width:min(100%,460px);padding:48px;border:1px solid rgba(220,228,238,.9);border-radius:28px;background:rgba(255,255,255,.94);box-shadow:0 30px 80px rgba(12,41,80,.12)}.mobile-logo{display:none;margin-bottom:36px}.mobile-logo span{color:var(--navy)}.login-card h2{margin:0;font-size:38px;letter-spacing:-.035em}.subtitle{margin:10px 0 34px;color:var(--muted)}label{display:block;margin:0 0 9px;font-size:14px;font-weight:700}input{width:100%;height:54px;padding:0 16px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);font:inherit;transition:.2s}input:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 4px rgba(51,208,161,.13)}.password-heading{display:flex;justify-content:space-between;align-items:center;margin-top:22px}.password-heading a,.signup a{color:#137c68;font-size:13px;font-weight:700;text-decoration:none}.password-field{position:relative}.password-field input{padding-right:82px}.password-field button{position:absolute;right:12px;top:50%;transform:translateY(-50%);border:0;background:none;color:#137c68;font-weight:700;cursor:pointer}.form-error{min-height:22px;margin:14px 0 4px;color:#c9364f;font-size:13px}.submit-button{position:relative;width:100%;height:56px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--green),#22b98e);color:#052b23;font-weight:800;cursor:pointer;box-shadow:0 14px 30px rgba(51,208,161,.25);transition:.2s}.submit-button:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(51,208,161,.32)}.submit-button:disabled{cursor:wait;opacity:.75}.signup{text-align:center;margin:26px 0 18px;color:var(--muted);font-size:14px}.secure-note{padding-top:18px;border-top:1px solid #edf1f5;color:#7b8493;text-align:center;font-size:12px}@media(max-width:900px){.login-shell{grid-template-columns:1fr}.login-brand{display:none}.login-panel{min-height:100vh;padding:24px}.mobile-logo{display:block}.login-card{padding:38px 30px}.login-card h2{font-size:32px}}@media(max-width:480px){.login-panel{padding:0}.login-card{min-height:100vh;border:0;border-radius:0;padding:34px 22px;box-shadow:none}.mobile-logo{margin-bottom:70px}}

/* Ajuste exclusivo de altura: preserva o layout original e elimina a barra da página. */
html,
body {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.login-shell {
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.login-brand,
.login-panel {
  min-height: 0;
}

.login-card {
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  scrollbar-width: none;
}

.login-card::-webkit-scrollbar {
  display: none;
}

@media (max-height: 720px) and (min-width: 901px) {
  .login-brand { padding-top: 30px; padding-bottom: 30px; }
  .login-card { padding-top: 30px; padding-bottom: 30px; }
  .subtitle { margin-bottom: 22px; }
  .password-heading { margin-top: 16px; }
  .signup { margin-top: 18px; margin-bottom: 12px; }
  .secure-note { padding-top: 12px; }
}

@media (max-width: 900px) {
  .login-panel {
    height: 100dvh;
    min-height: 0;
  }
  .login-card { max-height: calc(100dvh - 48px); }
}

@media (max-width: 480px) {
  .login-card {
    width: 100%;
    height: 100dvh;
    min-height: 0;
    max-height: 100dvh;
  }
}

@media (max-width: 480px) and (max-height: 700px) {
  .login-card { padding-top: 24px; padding-bottom: 18px; }
  .mobile-logo { margin-bottom: 34px; }
  .subtitle { margin-bottom: 22px; }
  input { height: 50px; }
  .password-heading { margin-top: 16px; }
  .form-error { margin-top: 8px; min-height: 17px; }
  .submit-button { height: 50px; }
  .signup { margin-top: 16px; margin-bottom: 12px; }
  .secure-note { padding-top: 12px; }
}
