/* ── AUTH SCREEN ─────────────────────────────────── */
.auth-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-brand {
  background: var(--ink);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-brand::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,82,42,0.15) 0%, transparent 70%);
}

.auth-brand::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,144,42,0.1) 0%, transparent 70%);
}

.brand-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--white);
  letter-spacing: -0.5px;
}

.brand-logo span { color: var(--accent); }

.brand-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin-top: 6px;
  font-weight: 300;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.brand-headline {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

.brand-headline em {
  font-style: italic;
  color: var(--accent);
}

.brand-features {
  list-style: none;
  position: relative;
  z-index: 1;
}

.brand-features li {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-features li:last-child { border-bottom: none; }

.feat-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.auth-form-side {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

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

.auth-title {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 36px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,82,42,0.1);
}

.auth-error {
  background: #fdf0ec;
  border: 1px solid #f5c5b5;
  color: var(--accent);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 16px;
}

.forgot-link {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.forgot-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 900px) {
  .auth-screen { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
}

/* ── Premiere connexion / reinitialisation ─────────────────────────────── */
.auth-success {
  background: #f2fbf4;
  border: 1px solid #bfe3c9;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  font-size: .92rem;
  line-height: 1.6;
  color: #1f4d2b;
  margin-bottom: 1rem;
}
.auth-success strong { display: block; margin-bottom: .3rem; }

.pwd-rules {
  list-style: none;
  margin: -.2rem 0 1.1rem;
  padding: 0;
  font-size: .82rem;
  color: #8a8a93;
}
.pwd-rules li { display: flex; align-items: center; gap: .5rem; padding: .15rem 0; }
.pwd-rules li.ok { color: #1f7a3a; }
.rule-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #d9d9e0; flex: none;
}
.pwd-rules li.ok .rule-dot { background: #2ea44f; }
