:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #17352f;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid #6cc3a4; outline-offset: 3px; }
.login-layout { position: relative; display: flex; flex-direction: column; min-height: 100vh; overflow: hidden; background: radial-gradient(ellipse at 100% 0%, #eff8f2, transparent 38%), #fff; }
.login-layout::before, .login-layout::after { position: absolute; border: 1px solid #dceee3; border-radius: 50%; content: ""; pointer-events: none; }
.login-layout::before { top: -270px; right: -200px; width: 520px; height: 520px; box-shadow: 0 0 0 55px #e9f5ed80, 0 0 0 110px #f1f8f380; }
.login-layout::after { bottom: -180px; left: -180px; width: 300px; height: 300px; box-shadow: 0 0 0 48px #f1f8f380; }
.cabecalho { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 36px clamp(24px, 5vw, 74px); }
.marca { display: flex; align-items: center; gap: 10px; color: #173d36; }
.marca-simbolo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #19634f; background: #b9e8d0; font-size: 28px; line-height: 1; }
.marca strong, .marca small { display: block; }
.marca strong { font-size: 21px; line-height: 1; letter-spacing: -.06em; }
.marca small { margin-top: 5px; font-size: 8px; font-weight: 750; letter-spacing: .14em; }
.acesso-ambiente { margin: 0; padding: 8px 12px; border: 1px solid #dcebe1; border-radius: 999px; color: #486b5b; background: #ffffffb3; text-align: right; font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.acesso { position: relative; z-index: 1; display: flex; flex: 1; align-items: center; justify-content: center; padding: 28px 24px 60px; }
.acesso-conteudo { position: relative; width: min(100%, 440px); padding: clamp(26px, 4vw, 36px); border: 1px solid #e4eee7; border-radius: 20px; background: #fff; box-shadow: 0 20px 60px #214e3510, 0 3px 12px #214e3508; animation: surgir .5s ease both; transition: border-color .2s, box-shadow .2s; }
.acesso-conteudo:focus-within { border-color: #c6e4d2; box-shadow: 0 20px 60px #214e3518, 0 3px 12px #214e350a; }
.acesso-icone { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 28px; border: 1px solid #d9eee0; border-radius: 50%; color: #2f9472; background: #eaf6ef; font-size: 29px; }
.sobretitulo { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #3d8b72; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.sobretitulo::before { width: 18px; height: 2px; border-radius: 2px; background: #6ebd97; content: ""; }
.acesso h1 { margin: 0; color: #142e2c; font-size: clamp(30px, 3vw, 38px); font-weight: 650; letter-spacing: -.05em; }
.acesso h1 span { color: #45a17c; }
.acesso-descricao { margin: 12px 0 34px; color: #62766d; font-size: 14px; line-height: 1.65; }
.formulario { display: grid; }
.formulario label { margin-bottom: 9px; color: #314940; font-size: 13px; font-weight: 700; }
.formulario input { width: 100%; height: 54px; border: 1px solid #d6e1d9; border-radius: 9px; padding: 0 15px; color: #19382e; background: #fff; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.formulario input::placeholder { color: #83958c; }
.formulario input:focus { border-color: #69b294; box-shadow: 0 0 0 4px #dcefe5; outline: none; }
#email { margin-bottom: 23px; }
.campo-senha { position: relative; }
.campo-senha input { padding-right: 85px; }
#mostrar-senha { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); padding: 4px; border: 0; background: transparent; color: #216d52; font-size: 12px; font-weight: 700; }
#mostrar-senha:hover { text-decoration: underline; }
.botao-entrar { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; margin-top: 26px; border: 0; border-radius: 9px; color: #fff; background: #1d4238; box-shadow: 0 7px 18px #1c745c23; font-size: 14px; font-weight: 700; transition: transform .2s, background .2s, box-shadow .2s; }
.botao-entrar:hover:not(:disabled) { transform: translateY(-2px); background: #2c6c56; box-shadow: 0 10px 22px #1c745c32; }
.botao-entrar:disabled { opacity: .65; cursor: wait; }
.botao-entrar:disabled::before { width: 16px; height: 16px; border: 2px solid #ffffff80; border-top-color: #fff; border-radius: 50%; content: ""; animation: girar .8s linear infinite; }
.botao-entrar:disabled .botao-seta { display: none; }
.botao-seta { font-size: 19px; font-weight: 400; transition: transform .2s; }
.botao-entrar:hover:not(:disabled) .botao-seta { transform: translateX(4px); }
#mensagem { min-height: 20px; margin: 12px 0 0; color: #9e332b; font-size: 13px; line-height: 1.5; }
.botao-sair { padding: 0; border: 0; background: none; color: #216d52; font-size: 13px; font-weight: 700; text-decoration: underline; }
.ajuda { margin: 25px 0 0; color: #687b72; font-size: 12px; line-height: 1.6; }
.ajuda strong { color: #286d53; }
.acesso-rodape { position: relative; z-index: 1; padding: 24px clamp(24px, 5vw, 74px); border-top: 1px solid #e4ece7; color: #71847b; font-size: 11px; }
.acesso-rodape span { padding: 0 4px; }
@keyframes surgir { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes girar { to { transform: rotate(360deg); } }
@media (max-width: 480px) {
  .cabecalho { align-items: flex-start; padding-top: 26px; }
  .acesso-ambiente { max-width: 140px; line-height: 1.5; }
  .acesso { padding-top: 30px; }
  .acesso-conteudo { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .botao-entrar:disabled::before { animation: none; }
}
