/* Page authentification : split fond + carte */

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.auth-shell__panel {
  background: linear-gradient(160deg, var(--color-primary) 0%, #1f5359 100%);
  color: #fff;
  padding: var(--space-12) var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-shell__panel::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(194,208,153,0.18), transparent 60%),
    radial-gradient(600px 400px at 0% 90%, rgba(125,167,140,0.20), transparent 60%);
  pointer-events: none;
}
.auth-shell__brand {
  /* Brand TAN Whistling — chargé via tokens.css */
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}
.auth-shell__brand span { color: var(--color-accent); }
.auth-shell__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.2;
  max-width: 22ch;
  position: relative;
}
.auth-shell__quote-author {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  opacity: 0.7;
}

.auth-shell__form-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-12) var(--space-6);
}
.auth-card {
  width: 100%;
  max-width: 460px;
}
.auth-card h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}
.auth-card .lead { margin-bottom: var(--space-8); }
.auth-card form { display: flex; flex-direction: column; gap: var(--space-4); }
.auth-card .field { margin-bottom: 0; }

.auth-card__sublink {
  text-align: center;
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-ink-soft);
}

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