/* 00 · Login — tela dividida */

.auth {
  height: 100vh;
  overflow: hidden;
}

.auth-hero {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-right: 1px solid var(--border);
}

.auth-collage {
  position: absolute;
  inset: -40px -40px -40px 36%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  transform: rotate(-6deg);
  opacity: 0.9;
}

.collage-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: drift 40s linear infinite;
  animation-delay: var(--d);
}

.collage-col:nth-child(2) {
  margin-top: -80px;
  animation-direction: reverse;
}

.collage-col .thumb {
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@keyframes drift {
  to {
    transform: translateY(-50%);
  }
}

.auth-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--surface) 30%, rgba(18, 18, 23, 0.85) 52%, rgba(18, 18, 23, 0.1) 100%),
    linear-gradient(0deg, var(--surface) 0%, transparent 30%);
  pointer-events: none;
}

.auth-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 48px 48px;
  max-width: 520px;
}

.auth-hero-content .brand {
  padding: 0;
}

.auth-title {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}

.auth-highlights {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-highlights strong {
  display: block;
  font-size: var(--fs-md);
}

.auth-highlights small {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.hl-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}

.auth-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  overflow-y: auto;
}

.auth-form-wrap {
  width: 100%;
  max-width: 380px;
}

.auth-head {
  margin-bottom: 22px;
}

.auth-head h2 {
  font-size: 26px;
  letter-spacing: -0.025em;
  margin-top: 4px;
}

.auth-form-wrap .stack {
  gap: 14px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-subtle);
  font-size: var(--fs-sm);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-foot {
  position: absolute;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-subtle);
  font-size: var(--fs-xs);
}

@media (max-height: 760px) {
  .auth-form-wrap .stack {
    gap: 11px;
  }

  .auth-head {
    margin-bottom: 16px;
  }
}
