/* ============================================
   BLAFA — legal.css
   Pages /mentions-legales & /confidentialite
   ============================================ */

.lg-hero {
  padding-top: calc(var(--space-10) + 48px);
  padding-bottom: var(--space-6);
}

.lg-hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--stone-light);
}

.lg-hero__meta-right {
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

.lg-hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 88px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.lg-hero__date {
  font-size: 14px;
  color: var(--stone);
}

/* ========== CONTENT ========== */
.lg-content {
  padding-block: var(--space-7) var(--space-10);
}

.lg-content__inner {
  max-width: 65ch;
}

.lg-content__section {
  margin-bottom: var(--space-7);
}

.lg-content__section h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--stone-light);
}

.lg-content__section h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.lg-content__section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.lg-content__section ul {
  margin-bottom: var(--space-3);
  padding-left: 0;
}

.lg-content__section li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
  position: relative;
}

.lg-content__section li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--seal);
  font-weight: 500;
}

.lg-content__section a {
  color: var(--seal);
  border-bottom: 1px solid currentColor;
  transition: opacity var(--dur-fast);
}

.lg-content__section a:hover {
  opacity: 0.7;
}

.lg-content__section strong {
  font-weight: 500;
  color: var(--ink);
}

/* Back link */
.lg-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--stone);
  margin-bottom: var(--space-6);
  transition: color var(--dur-fast);
}

.lg-back:hover {
  color: var(--ink);
}

.lg-back__arrow {
  display: inline-block;
  width: 16px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out-quart);
}

.lg-back__arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 5px;
  height: 1px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: left center;
}

.lg-back__arrow::after {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 5px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.lg-back:hover .lg-back__arrow {
  transform: translateX(-4px);
}

/* ========== ALIAS — markup actuel legal-* ========== */
.legal-hero {
  padding-top: calc(var(--space-10) + 48px);
  padding-bottom: var(--space-6);
}

.legal-hero .section-number {
  display: block;
  margin-bottom: var(--space-4);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.legal-hero__title {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 10vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}

.legal-content {
  padding-block: var(--space-5) var(--space-10);
}

.legal-body {
  max-width: 68ch;
}

.legal-body h2 {
  padding-top: var(--space-5);
  margin-bottom: var(--space-3);
  border-top: 1px solid var(--stone-light);
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.legal-body p,
.legal-body li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.legal-body p + p,
.legal-body ul + p,
.legal-body p + ul {
  margin-top: var(--space-3);
}

.legal-body ul {
  margin-block: var(--space-3);
}

.legal-body li {
  position: relative;
  padding-left: var(--space-4);
}

.legal-body li + li {
  margin-top: var(--space-2);
}

.legal-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--seal);
}

.legal-body a {
  color: var(--seal);
  overflow-wrap: anywhere;
  border-bottom: 1px solid currentColor;
}

@media (max-width: 900px) {
  .legal-hero {
    padding-top: calc(var(--nav-h) + var(--space-7));
    padding-bottom: var(--space-5);
  }

  .legal-content {
    padding-top: var(--space-3);
  }
}

@media (max-width: 480px) {
  .legal-hero__title {
    max-width: 100%;
    font-size: clamp(2rem, 11vw, 3.5rem);
  }
}
