/* Pages légales — documents institutionnels (Chapitres 6 à 9) */

.legal-page {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
}

.legal-section {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-bottom: 1px solid var(--glass-border);
}

.legal-section:first-of-type {
  padding-top: 0;
}

.legal-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-section__title {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
}

.legal-section__paragraph {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.8vw, 1.02rem);
  line-height: 1.75;
  margin: 0 0 0.75rem;
}

.legal-section__paragraph:last-child {
  margin-bottom: 0;
}

.legal-section__list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-section__bullet {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.8vw, 1.02rem);
  line-height: 1.7;
}

.legal-section__bullet::before {
  content: '';
  position: absolute;
  left: 0.4rem;
  top: 0.65rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(32, 195, 102, 0.16);
}

/* ─── Reveal ─── */
.legal-section.reveal-on-scroll {
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}

.legal-section.reveal-on-scroll.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .legal-section.reveal-on-scroll {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
