/* ============================================================
   De Bouche à Oreille — Page "Mentions légales & confidentialité"
   Reuses tokens, .container, .btn, .reveal, header/footer/loader
   ============================================================ */

/* ---------- HERO ---------- */
.lg-hero {
  position: relative;
  background: var(--cream);
  color: var(--text);
  padding: 186px 0 96px;
  overflow: hidden;
}
.lg-hero .pattern-wm { opacity: .38; }
.lg-hero__inner { position: relative; z-index: 2; max-width: 780px; }
.lg-hero__eyebrow { color: var(--cherry); }
.lg-hero__title {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(2.9rem, 5.6vw, 4.8rem);
  line-height: 0.92;
  color: var(--ink);
  margin: 14px 0 0;
}
.lg-hero__title em { color: var(--cherry); font-style: normal; }
.lg-hero__sub {
  margin: 28px 0 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 58ch;
  font-weight: 300;
}
.lg-hero__sub strong { font-weight: 500; color: var(--text); }

/* "dernière mise à jour" */
.lg-stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 10px 18px;
  border: 1px solid rgba(30,36,38,.14);
  border-radius: 100px;
  background: var(--cream-2);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-2);
}
.lg-stamp .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cherry);
  flex: none;
}

/* brindille décorative, en haut à droite du hero */
.lg-hero__sprig {
  position: absolute;
  right: 4%; top: 30%;
  width: 148px;
  z-index: 1;
  opacity: .75;
  pointer-events: none;
}

/* ---------- BODY : sommaire + contenu ---------- */
.lg-body {
  position: relative;
  background: var(--cream);
  padding: 0 0 110px;
}
.lg-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 72px;
  align-items: start;
}

/* ---------- sommaire ---------- */
.lg-toc {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding: 26px 22px 24px;
  background: var(--cream-2);
  border: 1px solid rgba(30,36,38,.08);
  border-radius: 8px;
  scrollbar-width: thin;
}
.lg-toc__title {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--ink);
  line-height: 1;
  margin: 0 0 16px;
}
.lg-toc__group {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 20px 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(30,36,38,.09);
}
.lg-toc__group:first-of-type { margin-top: 0; }
.lg-toc nav a {
  display: block;
  position: relative;
  font-size: 0.83rem;
  font-weight: 300;
  line-height: 1.35;
  color: var(--text-2);
  padding: 7px 0 7px 14px;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.lg-toc nav a::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cherry);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.lg-toc nav a:hover { color: var(--ink); padding-left: 18px; }
.lg-toc nav a.active {
  color: var(--cherry);
  font-weight: 500;
  padding-left: 18px;
}
.lg-toc nav a.active::before,
.lg-toc nav a:hover::before { opacity: 1; transform: scale(1); }

/* ---------- contenu ---------- */
.lg-content { max-width: 74ch; }

/* intertitre de partie */
.lg-part { margin: 0 0 40px; }
.lg-part__label {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  color: var(--ink);
  line-height: 1;
}
.lg-part .uline { width: 116px; margin-top: 12px; }
.lg-block + .lg-block { margin-top: 86px; }

/* article numéroté */
.lg-art {
  position: relative;
  padding: 34px 0;
  border-top: 1px solid rgba(30,36,38,.09);
  scroll-margin-top: 110px;
}
.lg-art:first-of-type { border-top: none; padding-top: 4px; }
.lg-art__h {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.28rem;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 18px;
}
.lg-art__num {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--cherry);
  flex: none;
  min-width: 34px;
}

/* corps de texte */
.lg-art p {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-2);
  font-weight: 300;
}
.lg-art p + p { margin-top: 15px; }
.lg-art strong { font-weight: 500; color: var(--text); }
.lg-art a:not(.btn) {
  color: var(--cherry);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .25s var(--ease);
}
.lg-art a:not(.btn):hover { color: var(--cherry-3); }

/* listes à puces maison */
.lg-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.lg-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-2);
  font-weight: 300;
}
.lg-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 16px;
  width: 7px; height: 7px;
  border-radius: 50% 50% 50% 0;
  background: var(--cherry);
  transform: rotate(-45deg);
  opacity: .7;
}

/* carte "identité" : éditeur, hébergeur, APD… */
.lg-card {
  margin-top: 20px;
  padding: 24px 26px;
  background: var(--cream-2);
  border: 1px solid rgba(30,36,38,.08);
  border-left: 3px solid var(--cherry);
  border-radius: 6px;
}
.lg-card__name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.35;
}
.lg-card__sub {
  font-size: 0.85rem;
  color: var(--text-mute);
  font-weight: 300;
  font-style: italic;
  margin-top: 3px;
}
.lg-card address {
  font-style: normal;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-2);
  font-weight: 300;
  margin-top: 14px;
}
.lg-card__rows {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(30,36,38,.09);
}
.lg-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
}
.lg-card__row dt {
  min-width: 128px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.lg-card__row dd {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 300;
  color: var(--text-2);
}
.lg-card__row dd a { color: var(--cherry); }

/* encart mis en avant (conseil, rappel) */
.lg-note {
  position: relative;
  margin-top: 22px;
  padding: 22px 26px 22px 60px;
  background: rgba(233,199,90,.13);
  border: 1px solid rgba(200,162,75,.34);
  border-radius: 6px;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-2);
  font-weight: 300;
}
.lg-note .ico {
  position: absolute;
  left: 22px; top: 22px;
  width: 22px; height: 22px;
  color: var(--gold);
}
.lg-note strong { font-weight: 500; color: var(--ink); }

/* bloc "aucun cookie" — signature visuelle */
.lg-cookie {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: 0 30px 60px -44px rgba(20,24,26,.9);
}
.lg-cookie__icon {
  flex: none;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(244,240,231,.08);
  color: var(--lemon);
}
.lg-cookie__txt .big {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.85rem;
  line-height: 1;
  color: var(--on-dark);
}
.lg-cookie__txt p {
  margin-top: 6px;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--on-dark-2);
  font-weight: 300;
}

/* ---------- bandeau contact (fin de page) ---------- */
.lg-cta {
  position: relative;
  background: var(--ink-2);
  color: var(--on-dark);
  padding: 118px 0 108px;
  overflow: hidden;
  text-align: center;
}
.lg-cta__inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.lg-cta__title {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  line-height: 1;
  color: var(--on-dark);
}
.lg-cta__txt {
  margin-top: 20px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--on-dark-2);
  font-weight: 300;
}
.lg-cta__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.lg-cta .blob { opacity: .24; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .lg-grid { grid-template-columns: 1fr; gap: 40px; }
  .lg-toc {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .lg-toc nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .lg-toc__group { grid-column: 1 / -1; }
  .lg-content { max-width: none; }
  .lg-hero__sprig { display: none; }
}
@media (max-width: 560px) {
  .lg-hero { padding: 150px 0 72px; }
  .lg-toc nav { grid-template-columns: 1fr; }
  .lg-art__h { font-size: 1.14rem; gap: 11px; }
  .lg-art__num { font-size: 1.8rem; min-width: 28px; }
  .lg-card { padding: 20px; }
  .lg-card__row { flex-direction: column; gap: 3px; }
  .lg-card__row dt { min-width: 0; }
  .lg-note { padding: 20px 20px 20px 54px; }
  .lg-cookie { flex-direction: column; text-align: center; gap: 14px; padding: 26px 22px; }
  .lg-cta { padding: 92px 0 84px; }
}
