.legal-body {
  background: var(--soft);
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

.legal-header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand {
  display: block;
  width: 205px;
  height: 72px;
  overflow: hidden;
}

.legal-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.legal-return {
  color: var(--navy);
  font-size: .88rem;
  font-weight: 800;
}

.legal-main {
  padding: clamp(44px, 7vw, 90px) 0 clamp(80px, 10vw, 140px);
}

.legal-shell {
  width: min(1040px, calc(100% - 48px));
  margin-inline: auto;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 90px);
  border-radius: 24px;
  background: var(--navy);
  box-shadow: 0 24px 60px rgba(7, 26, 74, .18);
  color: var(--white);
}

.legal-hero::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -250px;
  width: 520px;
  height: 520px;
  border: 34px solid rgba(255, 255, 255, .05);
  border-radius: 50%;
}

.legal-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: #ff6b79;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.legal-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: .9;
  overflow-wrap: anywhere;
}

.legal-hero h1 span {
  color: #ff5064;
}

.legal-update {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: .86rem;
}

.legal-content {
  margin-top: 28px;
  padding: clamp(26px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-content section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.legal-content section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-content h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  margin: 18px 0;
  padding-left: 22px;
}

.legal-content li {
  margin: 8px 0;
}

.legal-content strong {
  color: var(--ink);
}

.legal-content a,
.legal-back {
  color: var(--red-bright);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-source {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 4px solid var(--red-bright);
  border-radius: 0 10px 10px 0;
  background: var(--soft);
  font-size: .9rem;
}

.legal-source p {
  margin: 0;
}

.legal-back {
  display: inline-block;
  margin-top: 34px;
}

@media (max-width: 720px) {
  .legal-header-inner {
    min-height: 72px;
  }

  .legal-brand {
    width: 164px;
    height: 62px;
  }

  .legal-return {
    font-size: 0;
  }

  .legal-return::after {
    content: "Retour →";
    font-size: .78rem;
  }

  .legal-shell {
    width: min(100% - 24px, 1040px);
  }

  .legal-hero {
    padding: 44px 24px 48px;
    border-radius: 18px;
  }

  .legal-hero h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 12vw, 4rem);
    line-height: .94;
    letter-spacing: -.045em;
  }

  .legal-content {
    padding: 34px 22px 42px;
    border-radius: 18px;
  }
}
