/* ===== Pages légales : mentions légales, CGV, confidentialité ===== */
main,
.page-section {
  background: #f7f8fa !important;
}
.lg {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #f7f8fa;
  color: #063b5c;
  font-family: Inter, system-ui, sans-serif;
}
.lg * {
  box-sizing: border-box;
}
.lg h1,
.lg h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  margin: 0;
  font-weight: 800;
}
.lg p,
.lg ul,
.lg ol {
  margin: 0;
}
.lg-w {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.lg-head {
  padding: 72px 0 40px;
}
.lg-head .lg-w {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lg-pill {
  align-self: flex-start;
  background: #daf3f0;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.lg h1 {
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.lg-maj {
  font-size: 15px;
  color: #3e5a6c;
}
.lg-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 96px;
}
.lg-toc {
  position: sticky;
  top: 110px;
  background: #fff;
  border: 1px solid #e3ecf2;
  border-radius: 18px;
  padding: 22px;
}
.lg-toc-t {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #0a7ea3;
  margin-bottom: 12px !important;
}
.lg-toc ol {
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #3e5a6c;
}
.lg-toc ol a {
  color: #3e5a6c;
  text-decoration: none;
}
.lg-toc ol a:hover {
  color: #084d71;
  text-decoration: underline;
}
.lg-other {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e3ecf2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lg-other a {
  font-size: 14px;
  font-weight: 600;
  color: #084d71;
  text-decoration: none;
}
.lg-other a:hover {
  color: #0a7ea3;
}
.lg-txt {
  background: #fff;
  border: 1px solid #e3ecf2;
  border-radius: 24px;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.lg-txt section {
  scroll-margin-top: 110px;
}
.lg-txt h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.lg-txt p,
.lg-txt li {
  font-size: 16px;
  line-height: 1.7;
  color: #3e5a6c;
}
.lg-txt p + p {
  margin-top: 10px;
}
.lg-txt ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lg-txt strong {
  color: #063b5c;
}
.lg-txt a {
  color: #0a7ea3;
  font-weight: 600;
}
/* champs à compléter par l'éditeur */
.lg-todo {
  background: #fff4cf;
  color: #7a5a00;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.92em;
}
@media (max-width: 900px) {
  .lg-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lg-toc {
    position: static;
  }
  .lg-txt {
    padding: 28px 22px;
  }
  .lg h1 {
    font-size: 34px;
  }
}

/* ===== Téléphone ===== */
@media (max-width: 600px) {
  .lg h1 { font-size: 28px; }
  .lg-txt { padding: 20px 16px; font-size: 15px; }
  .lg-txt h2 { font-size: 20px; }
  .lg-body { gap: 16px; }
}

/* =====================================================================
   Finitions (refonte visuelle) : textes inchangés, rendu plus soigné
   ===================================================================== */
.lg-toc,
.lg-txt {
  border-color: rgba(6, 59, 92, 0.08);
  box-shadow: var(--shadow-sm);
}
.lg-pill {
  box-shadow: inset 0 0 0 1px rgba(10, 126, 163, 0.12);
}
.lg-toc a {
  transition: color 0.2s;
}
