.auth {
  --hp-dark: #160B10;
  --hp-light: #DCCDD3;
  --hp-brand: #C81E4E;
  --hp-ink: #211219;
  --hp-muted: #756570;
  --hp-soft: #FAF5F7;
  --hp-border: #E9DBE1;
  --hp-grade: rgba(200,30,78,.06);

  margin: 0;
  background: var(--hp-dark);
  font-family: 'DM Sans', var(--fonte-corpo);
}

.auth-tela {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
}
.auth-tela-invertida {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.auth-visual {
  position: sticky;
  top: 0;
  order: -1;
  display: grid;
  align-content: center;
  gap: 48px;
  height: 100vh;
  height: 100dvh;
  padding: 48px 64px;
  overflow: hidden;
  background-color: var(--hp-dark);
  background-image:
    linear-gradient(var(--hp-grade) 1px, transparent 1px),
    linear-gradient(90deg, var(--hp-grade) 1px, transparent 1px);
  background-size: 32px 32px;
  color: #fff;
}
.auth-tela-invertida .auth-visual {
  order: 0;
}
.auth-visual > * {
  position: relative;
  z-index: 1;
}
.auth-visual > .auth-brilho {
  position: absolute;
  z-index: 0;
  width: 468px;
  height: 468px;
  border-radius: 50%;
  background: var(--hp-brand);
  filter: blur(180px);
  opacity: .8;
  pointer-events: none;
}

.auth-logo {
  justify-self: start;
  display: block;
}
.auth-logo img {
  display: block;
  width: auto;
  height: 120px;
}

.auth-chamada {
  display: grid;
  gap: 12px;
  max-width: 520px;
}
.auth-eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
  color: var(--hp-light);
}
.auth-chamada-titulo {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
}
.auth-chamada-titulo span {
  color: var(--hp-brand);
}
.auth-chamada-nota {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--hp-light);
}

.auth-form {
  display: grid;
  place-items: center;
  padding: 56px 24px;
  background: #fff;
  color: var(--hp-ink);
}
.auth-form-caixa {
  display: grid;
  gap: 24px;
  width: min(420px, 100%);
}
.auth-tela-invertida .auth-form-caixa {
  width: min(460px, 100%);
}
.auth-cabecalho {
  display: grid;
  gap: 6px;
}
.auth-cabecalho h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--hp-ink);
}
.auth-cabecalho p {
  margin: 0;
  font-size: 16px;
  color: var(--hp-muted);
}
.auth-form .alert {
  margin: 0;
}
.auth-form .field {
  margin: 0;
}
.auth-form .field label {
  color: var(--hp-ink);
}
.auth-form .field input {
  border-color: var(--hp-border);
  border-radius: 12px;
  background: var(--hp-soft);
}
.auth-form .field input:focus {
  border-color: var(--hp-brand);
  background: #fff;
}
.auth-form .btn {
  border-radius: 14px;
  min-height: 52px;
  font-weight: 700;
}
.auth-campo-rotulo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: .35rem;
}
.auth-form .auth-campo-rotulo label {
  margin: 0;
}
.auth-dica {
  display: inline-flex;
}
.auth-dica-botao {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: transparent;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: var(--hp-muted);
  cursor: help;
  transition: color .15s ease, background .15s ease;
}
.auth-dica-botao:hover,
.auth-dica-botao:focus-visible,
.auth-dica.aberta .auth-dica-botao {
  border-color: var(--hp-brand);
  background: var(--hp-brand);
  color: #fff;
}
.auth-dica-balao {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  z-index: 2;
  display: grid;
  gap: 8px;
  width: min(300px, 100vw - 32px);
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--hp-dark);
  box-shadow: 0 12px 32px rgba(22,11,16,.28);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--hp-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  pointer-events: none;
}
.auth-dica-balao::after {
  content: '';
  position: absolute;
  top: 100%;
  left: var(--seta, 18px);
  border: 7px solid transparent;
  border-top-color: var(--hp-dark);
}
.auth-dica-balao strong {
  font-weight: 700;
  color: #fff;
}
.auth-dica-exemplo {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  font-size: 12px;
  color: #fff;
  overflow-wrap: anywhere;
}
.auth-dica-exemplo b {
  color: #FF7D9F;
}
.auth-dica:hover .auth-dica-balao,
.auth-dica:focus-within .auth-dica-balao,
.auth-dica.aberta .auth-dica-balao {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.auth-campos {
  display: grid;
  gap: 16px;
}
.auth-dupla {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.auth-rodape {
  margin: 0;
  font-size: 15px;
  text-align: center;
  color: var(--hp-muted);
}
.auth-rodape-legal {
  font-size: 13px;
}
.auth-form a:not(.btn) {
  color: var(--hp-brand);
  font-weight: 600;
}
.auth-form .auth-rodape-legal a {
  font-weight: 500;
}

@media (max-width: 1100px) {
  .auth-visual {
    padding: 40px;
  }
  .auth-chamada-titulo {
    font-size: 38px;
  }
}

@media (max-width: 900px) {
  .auth-tela,
  .auth-tela-invertida {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 0;
  }
  .auth-visual,
  .auth-tela-invertida .auth-visual {
    position: relative;
    order: -1;
    gap: 24px;
    height: auto;
    padding: 24px 16px 40px;
  }
  .auth-logo img {
    height: 64px;
  }
  .auth-chamada {
    gap: 8px;
  }
  .auth-chamada-titulo {
    font-size: 26px;
  }
  .auth-chamada-nota {
    font-size: 14px;
  }
  .auth-visual > .auth-brilho {
    width: 260px;
    height: 260px;
    filter: blur(110px);
  }
  .auth-form {
    align-items: start;
    padding: 32px 16px 40px;
    border-radius: 32px 32px 0 0;
  }
  .auth-cabecalho h1 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .auth-campos {
  display: grid;
  gap: 16px;
}
.auth-dupla {
    grid-template-columns: minmax(0, 1fr);
  }
}

