/* ============================================================
   PAGES LÉGALES — mentions, politique, RGPD
============================================================ */

/* ============================================================
   HERO
============================================================ */
.legal-hero {
  background: var(--white);
  padding: 140px 0 60px;
  border-bottom: 1px solid #EEE;
}
.legal-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,.45);
  margin-bottom: 16px;
}
.legal-hero__title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 22px;
}
.legal-hero__desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(0,0,0,.6);
  max-width: 720px;
  margin-bottom: 18px;
}
.legal-hero__updated {
  font-size: 13px;
  color: rgba(0,0,0,.45);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #F4F4F4;
  border-radius: 999px;
  margin-top: 4px;
}

/* ============================================================
   BODY — sommaire + contenu
============================================================ */
.legal-body {
  background: var(--white);
  padding: 72px 0 120px;
}
.legal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}

/* Sommaire sticky */
.legal-toc {
  position: sticky;
  top: 110px;
  font-size: 13.5px;
}
.legal-toc__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,.5);
  margin-bottom: 14px;
}
.legal-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-left: 1px solid #EEE;
  padding-left: 16px;
}
.legal-toc__list a {
  color: rgba(0,0,0,.55);
  font-weight: 500;
  line-height: 1.4;
  transition: color .2s var(--ease);
  text-decoration: none;
}
.legal-toc__list a:hover { color: var(--black); }

/* Contenu */
.legal-content {
  max-width: 760px;
}
.legal-section {
  padding: 28px 0;
  border-bottom: 1px solid #EEE;
  scroll-margin-top: 100px;
}
.legal-section:first-child { padding-top: 0; }
.legal-section:last-child { border-bottom: 0; }

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 18px;
}
.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-top: 18px;
  margin-bottom: 10px;
}
.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(0,0,0,.65);
  margin-bottom: 14px;
}
.legal-content p strong { color: var(--black); font-weight: 600; }
.legal-content a:not(.btn) {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0,0,0,.3);
  transition: text-decoration-color .2s var(--ease);
}
.legal-content a:not(.btn):hover { text-decoration-color: var(--black); }
.legal-content a.btn { text-decoration: none; color: var(--white); }
.legal-content a.btn.btn--primary { color: var(--white); }
.legal-content a.btn.btn--primary:hover { color: var(--white); }

.legal-content ul,
.legal-content ol {
  margin: 10px 0 18px;
  padding-left: 22px;
}
.legal-content li {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(0,0,0,.65);
  margin-bottom: 8px;
}

/* Info dictionnaire (Éditeur, Hébergeur) */
.legal-info {
  margin: 18px 0 6px;
  padding: 22px 26px;
  background: #FAFAFA;
  border: 1px solid #EEE;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-info > div {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px dashed #EAEAEA;
}
.legal-info > div:last-child { border-bottom: 0; }
.legal-info dt {
  font-size: 13px;
  font-weight: 500;
  color: rgba(0,0,0,.5);
}
.legal-info dd {
  font-size: 14.5px;
  color: var(--black);
  font-weight: 500;
  margin: 0;
}
.legal-info dd a { color: var(--black); }

/* Bouton CTA en fin */
.legal-section .btn {
  margin-top: 10px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .legal-hero { padding: 120px 0 50px; }
  .legal-body { padding: 56px 0 80px; }
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .legal-toc {
    position: static;
    padding: 20px 22px;
    background: #FAFAFA;
    border: 1px solid #EEE;
    border-radius: 14px;
  }
  .legal-toc__list {
    border-left: 0;
    padding-left: 0;
    gap: 10px;
  }
}
@media (max-width: 640px) {
  .legal-info > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .legal-info dt { font-size: 12px; }
  .legal-content h2 { font-size: 20px; }
  .legal-section { padding: 22px 0; }
}
