/* Access pages: login and maintenance */

.acesso {
  min-height: calc(100vh - 12rem);
  padding: 4rem 2rem 6rem;
  background:
    radial-gradient(circle at top left, rgba(56, 171, 107, 0.16), transparent 28rem),
    linear-gradient(180deg, #f6fbf8 0%, #eef3f0 52%, #f8faf9 100%);
}

.acesso__wrap {
  width: min(112rem, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(34rem, 0.88fr);
  gap: 2.4rem;
  align-items: stretch;
}

.acesso__wrap--single {
  width: min(64rem, 100%);
  grid-template-columns: minmax(0, 1fr);
}

.acesso__painel,
.acesso__card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 2.4rem;
  box-shadow: 0 2.4rem 5.6rem rgba(15, 23, 42, 0.08);
}

.acesso__painel {
  padding: 4rem;
  background:
    linear-gradient(145deg, rgba(18, 99, 58, 0.96), rgba(13, 44, 28, 0.96)),
    #163622;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3.2rem;
  overflow: hidden;
  position: relative;
}

.acesso__painel::after {
  content: "";
  position: absolute;
  inset: auto -8rem -10rem auto;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(0.4rem);
}

.acesso__painel-conteudo,
.acesso__card-topo,
.acesso__social-box {
  position: relative;
  z-index: 1;
}

.acesso__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.acesso__title {
  margin-top: 1.8rem;
  font-family: var(--font-secundaria);
  font-size: clamp(3.2rem, 4.6vw, 5.6rem);
  line-height: 1.02;
}

.acesso__text {
  margin-top: 1.6rem;
  max-width: 48rem;
  font-size: 1.6rem;
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.84);
}

.acesso__lista {
  list-style: none;
  display: grid;
  gap: 1.2rem;
  margin-top: 2.4rem;
}

.acesso__lista li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.5rem;
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.94);
}

.acesso__lista li::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: #8cf0b7;
  box-shadow: 0 0 0 0.5rem rgba(140, 240, 183, 0.14);
}

.acesso__meta {
  display: grid;
  gap: 0.8rem;
}

.acesso__meta-label {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.7);
}

.acesso__meta-value {
  font-size: 2rem;
  font-weight: 700;
}

.acesso__card {
  background: rgba(255, 255, 255, 0.98);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.acesso__card-topo {
  display: grid;
  gap: 1rem;
}

.acesso__card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: #e8f6ee;
  color: #1d6a44;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.acesso__card-titulo {
  font-family: var(--font-secundaria);
  font-size: clamp(2.8rem, 3.6vw, 4rem);
  line-height: 1.08;
  color: #0f172a;
}

.acesso__card-texto {
  font-size: 1.5rem;
  line-height: 1.7;
  color: #5f6c7b;
}

.acesso__alerta {
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: 1.6rem;
  background: rgba(254, 242, 242, 0.94);
  color: #b42318;
  padding: 1.4rem 1.6rem;
  font-size: 1.4rem;
  line-height: 1.5;
}

.acesso__alerta--sucesso {
  border-color: rgba(56, 171, 107, 0.2);
  background: rgba(236, 253, 245, 0.94);
  color: #166534;
}

.acesso__bloco {
  display: grid;
  gap: 1.6rem;
  padding: 2rem;
  border-radius: 1.8rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.acesso__bloco-topo {
  display: grid;
  gap: 0.8rem;
}

.acesso__subtitulo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f172a;
}

.acesso__ajuda {
  font-size: 1.42rem;
  line-height: 1.65;
  color: #5f6c7b;
}

.acesso__codigo-resumo {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.6rem 1.8rem;
  border-radius: 1.6rem;
  background: #ffffff;
  border: 1px solid #dbe4ea;
}

.acesso__codigo-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.3rem;
  background: #e8f6ee;
  color: #1d6a44;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.acesso__codigo-conteudo {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  flex: 1;
}

.acesso__codigo-label {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.acesso__codigo-email {
  font-size: 1.5rem;
  color: #0f172a;
  overflow-wrap: anywhere;
}

.acesso__codigo-trocar {
  color: #1d6a44;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.acesso__codigo-trocar:hover {
  text-decoration: underline;
}

.acesso__form {
  display: grid;
  gap: 1.8rem;
}

.acesso__form--inline {
  gap: 1.4rem;
}

.acesso__grid {
  display: grid;
  gap: 1.6rem;
}

.acesso__grid--codigo {
  grid-template-columns: minmax(0, 1fr) 16rem;
}

.acesso__field {
  display: grid;
  gap: 0.8rem;
}

.acesso__field label {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}

.acesso__field input {
  width: 100%;
  min-height: 5.4rem;
  border: 1px solid #d4dde5;
  border-radius: 1.4rem;
  padding: 0 1.6rem;
  background: #f8fafc;
  font-size: 1.5rem;
  color: #0f172a;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.acesso__field input:focus-visible {
  outline: none;
  border-color: rgba(56, 171, 107, 0.68);
  box-shadow: 0 0 0 0.4rem rgba(56, 171, 107, 0.14);
  background: #ffffff;
}

.acesso__submit {
  margin-top: 0.4rem;
}

.acesso__submit--secundario {
  margin-top: 0;
}

.acesso__acao-secundaria {
  justify-self: flex-start;
  border: 0;
  background: transparent;
  color: #1d6a44;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.acesso__divisor {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a97a6;
}

.acesso__divisor::before,
.acesso__divisor::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dbe3ea;
}

.acesso__google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  min-height: 5.4rem;
  border: 1px solid #d4dde5;
  border-radius: 1.4rem;
  background: #ffffff;
  color: #111827;
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.acesso__google:hover {
  transform: translateY(-1px);
  border-color: #c4d0da;
  background: #f8fafc;
}

.acesso__links {
  display: grid;
  gap: 1.2rem;
}

.acesso__links a {
  color: #1d6a44;
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
}

.acesso__links a:hover {
  text-decoration: underline;
}

.acesso__social-box {
  display: grid;
  gap: 1.4rem;
}

.acesso__social-titulo {
  font-size: 1.45rem;
  font-weight: 700;
}

.acesso__social-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.acesso__social {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.8rem;
  padding: 0 1.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.acesso__social:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.acesso__social i {
  font-size: 1.6rem;
}

.acesso__status {
  display: grid;
  gap: 1.4rem;
  padding: 2rem;
  border-radius: 1.8rem;
  background: #f5f8f7;
  border: 1px solid #dfe9e4;
}

.acesso__status-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

.acesso__status-label {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.acesso__status-valor {
  color: #0f172a;
  font-size: 1.55rem;
  font-weight: 700;
  text-align: right;
}

.acesso__status-valor--ok {
  color: #1d6a44;
}

.acesso--manutencao .acesso__card {
  justify-content: center;
}

@media (max-width: 68.75em) {
  .acesso__wrap {
    grid-template-columns: 1fr;
  }

  .acesso__painel,
  .acesso__card {
    padding: 3.2rem;
  }
}

@media (max-width: 30em) {
  .acesso {
    padding: 2rem 1.6rem 4rem;
  }

  .acesso__painel,
  .acesso__card {
    padding: 2.4rem;
    border-radius: 2rem;
  }

  .acesso__grid--codigo {
    grid-template-columns: 1fr;
  }

  .acesso__status-linha {
    flex-direction: column;
    align-items: flex-start;
  }

  .acesso__codigo-resumo {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .acesso__status-valor {
    text-align: left;
  }
}
