/* Mise en page sobre pour les pages légales (mentions, confidentialité) */

.legal-scene {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  padding: clamp(1.5rem, 6vw, 4rem) 1rem;
  background: var(--ivoire);
}

.legal-sheet {
  width: min(92vw, 760px);
  color: var(--encre);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--pierre-dark);
  text-decoration: none;
}
.legal-back:hover,
.legal-back:focus-visible {
  color: var(--terracotta);
}

.legal-sheet h1 {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  color: var(--bois-dark);
  margin-top: 0;
}

.legal-sheet h2 {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--bois-dark);
  margin-top: 2rem;
}

.legal-sheet p,
.legal-sheet li {
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-sheet a {
  color: var(--bois-dark);
}
.legal-sheet a:hover,
.legal-sheet a:focus-visible {
  color: var(--terracotta);
}

.site-footer--light {
  color: var(--pierre-dark);
  background-color: var(--ivoire);
  /* Même hachure que .site-footer, adaptée au fond clair des pages légales
     (teinte partagée avec .stat-tile / .file-drop). Le raccourci `background`
     de la règle précédente aurait par ailleurs réinitialisé le motif hérité
     de .site-footer : on passe donc par background-color + background-image
     séparément. */
  background-image: repeating-linear-gradient(
    45deg,
    var(--hachure-teinte) 0,
    var(--hachure-teinte) 1px,
    transparent 1px,
    transparent 8px
  );
}
.site-footer--light a {
  color: var(--bois-dark);
}
