/* Hydra Scale: mascot, sign-in and the installed app's opening sequence. */
.login-fundo {
  background: radial-gradient(ellipse at 20% 10%, #2b0a10 0, transparent 50%), #070709;
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; overflow-y: auto;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
.login-centro { max-width: 1040px; margin: auto; }
.login-card { grid-template-columns: 1fr 1fr; border: 1px solid #ffffff20; border-radius: 30px; background: #f5f7fb; box-shadow: 0 36px 120px #0007; animation: studio-chegada .65s ease both; }
.login-visual { padding: 36px 40px 28px; gap: 22px; background: radial-gradient(ellipse at 45% 42%, #11274b, transparent 65%), #080f20; }
.login-visual::after { width: 380px; height: 380px; top: 15%; right: -260px; background: #2676f014; filter: blur(50px); }
.login-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 600; letter-spacing: -.04em; }
.login-brand img { width: 44px; height: 44px; border-radius: 13px; }
.login-brand span { display: block; margin-top: 2px; color: #8c9bb3; font-size: 8px; letter-spacing: .22em; font-weight: 500; }
.login-visual-corpo { gap: 14px; }
.login-mascote { position: relative; width: 278px; height: 263px; align-self: center; display: grid; place-items: center; margin: 4px 0 22px; }
.login-mascote > img { position: relative; width: 242px; height: 242px; border-radius: 50%; animation: studio-flutua 5s ease-in-out infinite; }
.studio-orbita { position: absolute; width: 100%; aspect-ratio: 1; border: 1px solid #79adff26; border-radius: 50%; transform: rotate(-25deg) scaleY(.72); }
.studio-orbita::before { content: ""; position: absolute; inset: 24px -18px; border: 1px solid #79adff12; border-radius: 50%; transform: rotate(70deg); }
.studio-orbita::after { content: ""; position: absolute; top: 16%; left: 12%; width: 6px; height: 6px; background: #76d4ff; border-radius: 50%; box-shadow: 0 0 18px #53c6ff; }
.login-selo { position: absolute; z-index: 2; bottom: -7px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid #91baff2b; border-radius: 99px; background: #101e33; color: #b8cce5; font-size: 10px; white-space: nowrap; box-shadow: 0 12px 30px #0004; }
.login-selo i { width: 5px; height: 5px; background: #7edfc7; border-radius: 50%; }
.login-visual-frase { font-size: 36px; line-height: 1.15; letter-spacing: -.055em; font-weight: 400; }
.login-visual-frase b { color: #a5d8ff; font-weight: 600; }
.login-visual-descricao { margin: 0; max-width: 310px; font-size: 13px; line-height: 1.7; color: #93a4bc; }
.login-visual-pe { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 26px; color: #8b9bb2; font-size: 10px; }
.login-visual-pe span:first-child { font-size: 8px; letter-spacing: .16em; }
.login-form-lado { padding: 54px 48px 36px; color: #14223b; --texto: #14223b; --texto-2: #5b687c; --texto-3: #7c889a; --marca: #e11d2e; --superficie-2: #edf1f7; color-scheme: light; }
.login-eyebrow { color: #577297; font-size: 9px; font-weight: 700; letter-spacing: .18em; margin-bottom: 16px; }
.login-logo { font-size: 35px; line-height: 1.15; letter-spacing: -.055em; font-weight: 600; margin-bottom: 14px; color: #14223b; }
.login-sub { font-size: 13px; color: #69768b; margin-bottom: 30px; }
.login-campo { margin-bottom: 18px; }
.login-campo label { font-size: 11px; color: #43526b; font-weight: 600; margin-bottom: 8px; }
.login-campo input { height: 49px; background: #fff; border: 1px solid #dce2ec; border-radius: 11px; color: #14223b; padding: 12px 14px; font-size: 16px; box-shadow: 0 2px 3px #11274803; }
.login-campo input::placeholder { color: #929cad; font-size: 13px; }
.login-ver { color: #63738d; top: 50%; }
.login-btn { height: 49px; margin-top: 4px; border-radius: 11px; background: #e11d2e; color: #fff; font-size: 13px; box-shadow: 0 6px 15px #e11d2e22; }
.login-troca { margin-top: 24px; font-size: 11px; color: #69768b; }
.login-troca button { font-size: 11px; }
.login-assinatura { display: flex; align-items: center; justify-content: center; gap: 10px; color: #7c889a; font-size: 9px; margin-top: 42px; }
.login-assinatura span { height: 1px; width: 26px; background: #dce2ec; }
.login-mobile-brand { display: none; }
.login-erro { color: #a61f37; border-color: #f3c4cb; background: #fff0f2; }
.login-aviso { color: #176447; border-color: #b6dfca; background: #edf9f2; }
.marca-logo { background: #0b0b0e; }

#appSplash { background: radial-gradient(ellipse at 50% 40%, #2a0a10, #070709 68%); gap: 0; pointer-events: auto; animation: studio-splash-fim .4s 3s forwards; }
#appSplash .splash-scene { position: relative; width: 206px; height: 206px; display: grid; place-items: center; margin-bottom: 28px; animation: studio-chegada .7s ease both; }
#appSplash img { width: 174px; height: 174px; border-radius: 50%; box-shadow: none; animation: studio-flutua 3s ease-in-out infinite; z-index: 1; }
#appSplash .studio-orbita { animation: studio-orbita 7s linear infinite; }
.splash-wordmark { color: #f0f6ff; font-size: 29px; font-weight: 500; letter-spacing: -.06em; animation: studio-chegada .7s .12s ease both; }
#appSplash p { font-size: 8px; color: #8ca5c7; letter-spacing: .24em; margin: 10px 0 30px; animation: studio-chegada .7s .2s ease both; }
.splash-progresso { width: 92px; height: 2px; border-radius: 4px; overflow: hidden; background: #ffffff10; }
.splash-progresso i { display: block; width: 100%; height: 100%; background: #68c6ff; transform-origin: left; animation: studio-progresso 1.2s ease-out both; }
#appSplash.saindo { pointer-events: none; }
@keyframes studio-chegada { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes studio-flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes studio-orbita { from { transform: rotate(-25deg) scaleY(.72); } to { transform: rotate(335deg) scaleY(.72); } }
@keyframes studio-progresso { from { transform: scaleX(.05); } to { transform: scaleX(1); } }
@keyframes studio-splash-fim { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (max-width: 760px) {
  .login-centro { max-width: 430px; }
  .login-card { grid-template-columns: 1fr; border-radius: 24px; }
  .login-visual { display: none; }
  .login-form-lado { padding: 28px 28px 26px; }
  .login-mobile-brand { display: flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 600; letter-spacing: -.03em; margin-bottom: 30px; }
  .login-mobile-brand img { width: 52px; height: 52px; border-radius: 16px; }
  .login-logo { font-size: 33px; }
  .login-eyebrow { font-size: 8px; }
  .login-sub { margin-bottom: 26px; }
  .login-assinatura { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .login-card, .login-mascote > img, #appSplash .splash-scene, #appSplash img, #appSplash .studio-orbita, .splash-wordmark, #appSplash p, .splash-progresso i { animation: none; }
  #appSplash { transition: none; }
}
