/* ============================================================
   Pages légales (mentions-legales.html, politique-confidentialite.html)
   Layout sobre, cohérent avec la DA du proto.
   ============================================================ */

.lg-page {
  background: var(--rlg-ivoire);
  color: var(--rlg-encre);
}

/* ===== Hero ===== */
.lg__hero {
  padding: 140px 6% 60px;
  border-bottom: 1px solid rgba(168, 136, 75, 0.3);
}

.lg__hero-in {
  max-width: 1200px;
  margin: 0 auto;
}

.lg__hero-crumbs {
  font-family: var(--rlg-ff-sans, Manrope, system-ui, sans-serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rlg-encre);
  opacity: 0.6;
  margin-bottom: 20px;
}

.lg__hero-crumbs a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lg__hero-crumbs .sep { margin: 0 6px; }
.lg__hero-crumbs .cur { color: var(--rlg-or-deep); }

.lg__hero-eb {
  font-family: var(--rlg-ff-sans, Manrope, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rlg-or-deep);
  margin-bottom: 22px;
}

.lg__hero h1 {
  font-family: var(--rlg-ff-display, "DM Serif Display", serif);
  font-style: italic;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: var(--rlg-encre);
}

.lg__hero-lede {
  font-family: var(--rlg-ff-sans, Manrope, system-ui, sans-serif);
  font-size: 18px;
  line-height: 1.6;
  max-width: 70ch;
  color: var(--rlg-encre);
  opacity: 0.85;
  margin: 0;
}

/* ===== TOC (table des matières) ===== */
.lg__toc {
  max-width: 1200px;
  margin: 56px auto 0;
  padding: 0 6%;
}

.lg__toc-in {
  background: var(--rlg-casse, #FBF8F1);
  border: 1px solid rgba(168, 136, 75, 0.3);
  padding: 28px 32px;
}

.lg__toc-h {
  font-family: var(--rlg-ff-sans, Manrope, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rlg-or-deep);
  margin-bottom: 16px;
}

.lg__toc ol {
  font-family: var(--rlg-ff-sans, Manrope, system-ui, sans-serif);
  font-size: 14px;
  line-height: 1.9;
  padding-left: 0;
  margin: 0;
  list-style: none;
  counter-reset: toc-item;
  column-count: 2;
  column-gap: 32px;
}

.lg__toc ol li {
  counter-increment: toc-item;
  break-inside: avoid;
}

.lg__toc ol li::before {
  content: counter(toc-item, decimal-leading-zero) ". ";
  color: var(--rlg-or-deep);
  font-weight: 600;
}

.lg__toc a {
  color: var(--rlg-encre);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.lg__toc a:hover {
  color: var(--rlg-or-deep);
  border-bottom-color: var(--rlg-or-deep);
}

/* ===== Content ===== */
.lg__content {
  padding: 64px 6% 80px;
}

.lg__article {
  max-width: 760px;
  margin: 0 auto;
}

.lg__article section {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}

.lg__article section:last-of-type {
  margin-bottom: 0;
}

.lg__article h2 {
  font-family: var(--rlg-ff-display, "DM Serif Display", serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--rlg-encre);
}

.lg__article h2 .num {
  font-family: var(--rlg-ff-sans, Manrope, system-ui, sans-serif);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--rlg-or-deep);
  display: block;
  margin-bottom: 8px;
}

.lg__article h3 {
  font-family: var(--rlg-ff-sans, Manrope, system-ui, sans-serif);
  font-weight: 600;
  font-size: 15px;
  margin: 28px 0 12px;
  color: var(--rlg-encre);
  letter-spacing: 0.01em;
}

.lg__article p {
  font-family: var(--rlg-ff-sans, Manrope, system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px;
  color: var(--rlg-encre);
}

.lg__article ul {
  font-family: var(--rlg-ff-sans, Manrope, system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.7;
  padding-left: 1.4em;
  margin: 0 0 16px;
}

.lg__article ul li {
  margin-bottom: 8px;
}

.lg__article strong { font-weight: 600; }
.lg__article em { font-style: italic; }

.lg__article a {
  color: var(--rlg-or-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lg__article a:hover {
  color: var(--rlg-encre);
}

.lg__article .lg__note {
  background: var(--rlg-casse, #FBF8F1);
  border-left: 3px solid var(--rlg-or-deep);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14px;
  font-style: italic;
}

.lg__updated {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(168, 136, 75, 0.3);
  font-family: var(--rlg-ff-sans, Manrope, system-ui, sans-serif);
  font-size: 13px;
  color: var(--rlg-encre);
  opacity: 0.65;
  font-style: italic;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .lg__hero { padding: 120px 24px 40px; }
  .lg__toc { padding: 0 24px; margin-top: 40px; }
  .lg__toc-in { padding: 22px 24px; }
  .lg__toc ol { column-count: 1; }
  .lg__content { padding: 48px 24px 64px; }
  .lg__article section { margin-bottom: 44px; }
  .lg__hero-lede { font-size: 16px; }
  .lg__article p, .lg__article ul { font-size: 14px; }
}
