/* mentions-legales.php — règles propres à cette page.
   L'habillage commun vient de fichiers-partages-des-jeux/css/jeu.css. */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  background: var(--surface-0);
  color: var(--texte);
  padding: 32px 16px;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--color-mid);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--color-light);
}

.legal-card {
  background: var(--surface-1);
  border: 1px solid var(--line-forte);
  border-radius: 8px;
  padding: 40px 32px;
}

h1 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
  font-family: var(--font-display);
  color: #f0f3f6;
}

h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 32px 0 12px;
}

p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--texte-doux);
  margin-bottom: 16px;
}

ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

li {
  font-size: 0.92rem;
  color: var(--texte-doux);
  padding: 4px 0 4px 20px;
  position: relative;
  line-height: 1.6;
}

li::before {
  content: '\2022';
  color: var(--color-mid);
  position: absolute;
  left: 4px;
}

strong {
  color: var(--texte);
}

a {
  color: var(--color-mid);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--color-mid) 40%, transparent);
  text-underline-offset: 2px;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-light);
}

footer {
  text-align: center;
}

@media (max-width: 480px) {

  .legal-card {
    padding: 28px 18px;
    border-radius: 8px;
  }

  h1 {
    font-size: 1.5rem;
  }
}

/* --- Utilitaires (remplacent d'anciens attributs style=) ---------------- */
.u-petit {
  font-size: 0.82rem;
}

.u-texte-faible {
  color: var(--texte-faible);
}

/* --- Regles ponctuelles issues d'anciens attributs style= --------------- */
.mentio-s1 {
  margin-top: 32px;
}
