.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* LADO DO FORMULÁRIO */

.auth-form-side {
  display: flex;
  flex-direction: column;
  padding: 36px clamp(24px, 6vw, 96px) 48px;
}

.auth-form-side .logo {
  align-self: flex-start;
  color: var(--navy);
}

.auth-form-side .logo span em {
  color: var(--yellow-600);
}

.auth-box {
  width: 100%;
  max-width: 480px;
  margin: auto;
  padding: 48px 0;
}

.auth-box h1 {
  font-family: var(--font-title);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.auth-box > p {
  margin-bottom: 36px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.auth-form {
  padding: 36px;
  border-radius: var(--radius-card);
  background: var(--white);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.form-group input {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border: 2px solid var(--line);
  border-radius: 18px;
  outline: none;
  background-color: var(--cream);
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  transition: 0.2s ease;
}

.form-group input::placeholder {
  color: #9a8f82;
}

.form-group input:focus {
  border-color: var(--blue-500);
  background-color: var(--white);
  box-shadow: 0 0 0 5px rgba(47, 123, 242, 0.15);
}

.auth-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 8px;
  font-size: 18px;
}

.auth-switch {
  margin-top: 28px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.auth-switch a {
  font-weight: 800;
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.auth-switch a:hover {
  color: var(--blue-500);
}

/* LADO VISUAL */

.auth-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 64px 48px 0;
  background: var(--gradient-blue);
  border-radius: 64px 0 0 64px;
  color: var(--white);
  text-align: center;
}

.auth-visual::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -200px;
  right: -160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.auth-visual::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  bottom: -140px;
  left: -100px;
  border-radius: 50%;
  background: rgba(255, 190, 61, 0.18);
}

.auth-visual-text {
  position: relative;
  z-index: 2;
  max-width: 460px;
  margin-bottom: 32px;
}

.auth-visual-text h2 {
  font-family: var(--font-title);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 14px;
}

.auth-visual-text p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.auth-visual img {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
}

.auth-visual .illustration {
  width: min(78%, 400px);
  margin-bottom: 0;
  padding: 24px 24px 0;
  border-radius: 200px 200px 0 0;
  background: var(--cream);
  filter: none;
}

@media (max-width: 960px) {
  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    display: none;
  }
}

@media (max-width: 640px) {
  .auth-form-side {
    padding: 24px 16px 40px;
  }

  .auth-form {
    padding: 24px 20px;
  }
}

/* VER SENHA */

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 60px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: none;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s ease;
}

.password-toggle:hover {
  background: var(--blue-100);
  color: var(--blue-600);
}

.password-toggle:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 1px;
}

.password-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
