/* Pages légales et d'information (mentions légales, CGU, confidentialité, règles, suppression de compte).
   Complète css/style.css sans le modifier. */
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.6rem;
}

.legal-nav a {
  padding: 6px 12px;
  border: 1.5px solid rgba(13, 35, 24, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
}

.legal-nav a[aria-current='page'] {
  background: #c1272d;
  border-color: #c1272d;
  color: #ffffff;
  opacity: 1;
}

.legal-page h3 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.05rem;
}

.legal-page table {
  width: 100%;
  max-width: 68ch;
  border-collapse: collapse;
  margin: 0.6rem 0 1rem;
  font-size: 0.92rem;
}

.legal-page th,
.legal-page td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(13, 35, 24, 0.12);
  text-align: start;
  vertical-align: top;
}

.legal-page th {
  font-weight: 700;
  opacity: 0.8;
}

/* Informations à compléter avant publication (bien visibles, à retirer une fois remplies). */
.todo {
  background: #f2b134;
  color: #1d1f2b;
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 700;
}

.legal-box {
  max-width: 68ch;
  margin: 1rem 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(242, 177, 52, 0.45);
  background: rgba(242, 177, 52, 0.08);
}

.legal-steps {
  counter-reset: step;
  list-style: none;
  padding-inline-start: 0 !important;
}

.legal-steps li {
  position: relative;
  padding-inline-start: 2.4rem;
  margin-bottom: 0.9rem;
}

.legal-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: #c1272d;
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-links {
  flex-wrap: wrap;
}
