/* === PAGES SIMPLES (mentions légales, page introuvable) ===
   Complète shared/css/base.css : police, barre du haut et contenu en cartes. */

html { font-size: clamp(13px, 1.1vw, 19px); }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
}

.top-bar { position: sticky; top: 0; z-index: 100; }
.top-bar-right { gap: 0.75rem; }

a { color: var(--accent); }
.back-button { text-decoration: none; display: inline-block; }

/* ---- Mentions légales ---- */
.legal-wrap {
  flex: 1;
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.legal-card {
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(170, 190, 215, 0.18);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
}
.legal-card h2 { font-size: 1.15rem; font-weight: 800; color: var(--accent); margin-bottom: 0.75rem; }
.legal-card p,
.legal-card li { font-size: 0.92rem; line-height: 1.7; color: var(--text-secondary); }
.legal-card p + p { margin-top: 0.6rem; }
.legal-card strong { color: var(--text-primary); }
.legal-card ul { margin: 0.4rem 0 0.8rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; }

/* ---- Page introuvable (404) ---- */
.notfound-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 1.5rem 4rem;
}
.notfound-code {
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
  text-shadow: 0 8px 32px rgba(182, 216, 242, 0.25);
}
.notfound-title { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); }
.notfound-text { font-size: 0.95rem; line-height: 1.6; color: var(--text-secondary); max-width: 32rem; }
.notfound-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 0.5rem; }
.notfound-links a {
  padding: 0.6rem 1.1rem;
  border: 1px solid #334155;
  border-radius: 0.6rem;
  background: rgba(10, 22, 40, 0.5);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.notfound-links a:hover { border-color: var(--accent); background: rgba(182, 216, 242, 0.1); }
.notfound-links a.notfound-home { background: var(--accent); color: #0f172a; border-color: var(--accent); }
.notfound-links a.notfound-home:hover { background: var(--accent-hover); }

@media (max-width: 700px) {
  .legal-wrap { padding: 1.25rem 0.75rem 3rem; }
  .legal-card { padding: 1.1rem 1.1rem; }
  .notfound-code { font-size: 5rem; }
}
