/* Pages auth (login, inscription, erreur) — charte v22 */

.v22-site.v22-auth::before {
  display: none !important;
}

.v22-site.v22-auth {
  background: var(--paper);
  min-height: 100vh;
}

.v22-site .auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px - 120px);
  padding: 48px 32px;
}

.v22-site .auth-card {
  width: min(100%, 440px);
  padding: 36px 32px;
  border: 1px solid var(--line);
  background: #fff;
}

.v22-site .auth-card h1 {
  font-family: Georgia, serif;
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--ink);
}

.v22-site .auth-card .muted {
  color: var(--muted);
  margin: 0 0 8px;
}

.v22-site .auth-context-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #faf6ee;
  font-size: 14px;
  color: var(--ink);
}

.v22-site .auth-dev-hint {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}

.v22-site .auth-dev-hint code {
  font-size: 12px;
  background: #f0f1f3;
  padding: 2px 6px;
}

.v22-site .auth-card .form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.v22-site .auth-card .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v22-site .auth-card .field span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.v22-site .auth-card .field input,
.v22-site .auth-card .field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  font: inherit;
  font-size: 15px;
  background: #fff;
}

.v22-site .auth-card .field input:focus,
.v22-site .auth-card .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.v22-site .auth-card .btn {
  display: inline-block;
  padding: 14px 26px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
}

.v22-site .auth-card .btn.primary,
.v22-site .auth-card .btn.solid {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.v22-site .auth-card .btn.primary:hover,
.v22-site .auth-card .btn.solid:hover {
  background: var(--accent2);
  border-color: var(--accent2);
}

.v22-site .auth-card .btn.block {
  width: 100%;
}

.v22-site .auth-card .center {
  text-align: center;
}

.v22-site .auth-card a {
  color: var(--accent);
}

.v22-site .auth-card a:hover {
  text-decoration: underline;
}

/* Page contenu simple (à propos) */
.v22-site .v22-content-page {
  padding-top: 48px;
  padding-bottom: 88px;
}

.v22-site .v22-content-page .wrap.content-wrap {
  max-width: 720px;
}

.v22-site .v22-content-page .back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.v22-site .v22-content-page .back-link:hover {
  color: var(--accent);
}

.v22-site .v22-content-page .page-title {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 24px;
  color: var(--ink);
}

.v22-site .v22-content-page .prose {
  font-size: 17px;
  line-height: 1.7;
  color: #33373f;
}

.v22-site .v22-content-page .prose p {
  margin: 0 0 18px;
}

.v22-site .v22-content-page .prose a {
  color: var(--accent);
}

@media (max-width: 720px) {
  .v22-site .auth-main {
    padding: 32px 20px;
  }

  .v22-site .v22-content-page .wrap.content-wrap {
    padding: 0 20px;
  }
}
