/* legal.css — les pages de textes legaux.
 *
 * ADDITIF a styles.css, jamais en remplacement : styles.css est le CSS de
 * la landing, recopie octet pour octet depuis le projet Figma Make, et il
 * porte le degrade, Nunito et le reset. Ne rien y ecrire.
 *
 * Palette : les valeurs de CLAUDE_HANDOFF.md, pas des approximations.
 *   turquoise #04A3B2 · rose #FA5B91 · texte #153F43
 */

.legal-body .page-shell {
  display: block;
}

.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 4.5rem;
  color: #153f43;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.legal h1 {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 1.5rem 0 2rem;
}

.legal h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 3rem 0 0.875rem;
  padding-top: 0.25rem;
  color: #04a3b2;
}

.legal h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 2rem 0 0.5rem;
}

.legal p { margin: 0 0 1.125rem; }
.legal strong { font-weight: 700; }
.legal em { font-style: italic; }

.legal ul {
  margin: 0 0 1.25rem;
  padding-left: 1.125rem;
  list-style: none;
}

.legal li {
  position: relative;
  margin: 0 0 0.625rem;
  padding-left: 0.875rem;
}

.legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #fa5b91;
}

.legal hr {
  height: 1px;
  background: rgba(21, 63, 67, 0.12);
  margin: 2.5rem 0;
}

.legal code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9375em;
  padding: 0.1em 0.375em;
  border-radius: 0.3125rem;
  background: rgba(4, 163, 178, 0.09);
  color: #04a3b2;
  overflow-wrap: anywhere;
}

/* Les tableaux : lisibles, et ils doivent tenir a 320 px. */
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0.875rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(21, 63, 67, 0.05);
}

.legal thead th {
  text-align: left;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #04a3b2;
  padding: 0.75rem 0.875rem;
  background: rgba(4, 163, 178, 0.06);
}

.legal tbody td {
  padding: 0.75rem 0.875rem;
  vertical-align: top;
  border-top: 1px solid rgba(21, 63, 67, 0.08);
  overflow-wrap: anywhere;
}

/* Lien de retour : la nav de la landing n'a pas de .brand en <a>. */
.legal-body .nav .brand { cursor: pointer; }

@media (max-width: 480px) {
  .legal { font-size: 1rem; padding: 0.5rem 1rem 3.5rem; }
  .legal h2 { margin-top: 2.25rem; }
  .legal table { font-size: 0.875rem; }
  .legal thead th, .legal tbody td { padding: 0.625rem 0.6875rem; }
}
