/* login.css */

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  background:
    radial-gradient(circle at top left, rgba(59,130,246,.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(99,102,241,.14), transparent 20%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
}

.auth-hero {
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  border-right: 1px solid var(--line);
  background: rgba(7,11,23,.52);
  backdrop-filter: blur(14px);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.auth-brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-strong), var(--primary-light));
  box-shadow: 0 12px 32px rgba(37,99,235,.34);
  flex: 0 0 auto;
}

.auth-brand-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.auth-brand-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.auth-copy {
  max-width: 560px;
}

.auth-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: .98;
  letter-spacing: -.05em;
}

.auth-copy p {
  margin: 0;
  color: #bfd2ff;
  font-size: clamp(15px, 2vw, 16px);
  line-height: 1.7;
}

.auth-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.auth-metric {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}

.auth-metric span {
  display: block;
  color: #9fb6e8;
  font-size: 12px;
  margin-bottom: 8px;
}

.auth-metric strong {
  font-size: 22px;
  letter-spacing: -.03em;
}

.auth-panel {
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 32px);
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-actions {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.auth-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  flex-wrap: wrap;
}

.auth-links a {
  color: #93c5fd;
}

.auth-links a:hover {
  color: #bfdbfe;
}

.auth-logo {
  width: clamp(120px, 20vw, 180px);
  height: auto;
}

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

  .auth-hero {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .auth-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .auth-panel,
  .auth-hero {
    padding: 20px 16px;
  }

  .auth-copy h1 {
    font-size: 32px;
  }

  .auth-brand {
    align-items: flex-start;
  }
}

.auth-hero-image {
  background: url('/assets/img/fundo-login.webp') center center / cover no-repeat;
  position: relative;
  border-right: 1px solid var(--line);
}

/* overlay premium (efeito escuro elegante) */
.auth-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2,6,23,.4),
    rgba(2,6,23,.7)
  );
}