/* =====================================================
   LOGIN
   ===================================================== */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
}

.login-brand {
  padding: 56px 64px;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border);
}

.brand-top h1 {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.brand-top p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
}

.brand-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.badge {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

.brand-footer {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: var(--ink-2);
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border);
  position: relative;
  animation: pageIn 0.45s cubic-bezier(.2,.8,.4,1) both;
  animation-delay: 0.05s;
}

.login-card::before,
.login-card::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.45;
}
.login-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-radius: 3px 0 0 0; }
.login-card::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-radius: 0 0 3px 0; }

.login-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.login-card .subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.5;
}

/* =====================================================
   IMAGEM LOGIN
   ===================================================== */
.login-image {
  margin-top: 48px;
  max-width: 600px;
}

.login-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--border);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}

.login-image img:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 60px 100px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(59, 130, 246, 0.1),
    0 0 0 1px var(--border-2);
}

/* =====================================================
   LOGO NO CARD
   ===================================================== */
.login-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.login-card-header h2 {
  margin-bottom: 6px;
}

.login-card-header .subtitle {
  margin-bottom: 0;
}

.login-logo img {
  height: 52px;
  width: auto;
  opacity: 0.85;
  flex-shrink: 0;
}
