/* ============================================================
   LEGAL — pages politique de confidentialité, mentions légales
   Format long-form lisible, utilise les tokens du design system
============================================================ */

.ge-legal {
  padding: 4rem 0 120px;
  background: var(--color-white);
  position: relative;
}

.ge-legal__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- HEADER ---------- */
.ge-legal__header {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.ge-legal__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--color-blue-bg);
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.ge-legal__kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-blue);
  border-radius: 50%;
}

.ge-legal__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.ge-legal__updated {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ---------- INTRO ---------- */
.ge-legal__intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 24px;
}

.ge-legal__intro:last-of-type {
  margin-bottom: 56px;
}

/* ---------- SECTIONS ---------- */
.ge-legal__section {
  margin-bottom: 48px;
  scroll-margin-top: 100px;
}

.ge-legal__sectionNum {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ge-legal__h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 20px;
}

.ge-legal__section p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 16px;
}

.ge-legal__section p:last-child {
  margin-bottom: 0;
}

.ge-legal__section a {
  color: var(--color-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) var(--ease-out);
}
.ge-legal__section a:hover,
.ge-legal__section a:focus-visible {
  color: var(--color-blue-bright);
}

/* ---------- CONTACT CARD (dernière section) ---------- */
.ge-legal__contactCard {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 16px;
}

.ge-legal__contactCard p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--color-text);
}

.ge-legal__contactCard strong {
  display: inline-block;
  min-width: 90px;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .ge-legal {
    padding: 4rem 0 80px;
  }
  .ge-legal__header {
    margin-bottom: 40px;
    padding-bottom: 24px;
  }
  .ge-legal__section {
    margin-bottom: 36px;
  }
  .ge-legal__h2 {
    font-size: 1.25rem;
  }
  .ge-legal__contactCard {
    padding: 20px;
  }
}
/* Aligner le texte des pages légales (sections et introduction) en mode "Justifié" */
.ge-legal__section p,
p.ge-legal__intro {
  text-align: justify;
  hyphens: auto; /* Optionnel : permet de couper les mots proprement avec des tirets si besoin */
}

/* Revenir à un alignement à gauche sur téléphone pour éviter les gros "trous" blancs */
@media (max-width: 768px) {
  .ge-legal__section p,
  p.ge-legal__intro {
    text-align: left;
  }
}