/* ==========================================================================
   Pages légales (mentions légales, politique de confidentialité).
   Autonomes et sobres : mêmes couleurs et mêmes polices que le site, mais une
   mise en page pensée pour la LECTURE d'un texte long (colonne étroite,
   interligne généreux, hiérarchie nette). Aucune dépendance externe.
   ========================================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --lg-bg: #05080f;
  --lg-ink: #ffffff;
  --lg-soft: rgba(255, 255, 255, 0.7);
  --lg-faint: rgba(255, 255, 255, 0.46);
  --lg-line: rgba(255, 255, 255, 0.12);
  --lg-surface: rgba(255, 255, 255, 0.04);
  --lg-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lg-display: 'Schibsted Grotesk', system-ui, sans-serif;
  --lg-body: "Inter", system-ui, -apple-system, sans-serif;
  --lg-serif: "Playfair Display", Georgia, serif;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--lg-bg); color-scheme: dark; }

body {
  min-height: 100vh;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(27, 74, 143, 0.34) 0%, rgba(10, 28, 58, 0) 58%),
    var(--lg-bg);
  color: var(--lg-ink);
  font-family: var(--lg-body);
  font-size: 15.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 3px; border-radius: 4px; }

/* ---- En-tête : logo + retour ------------------------------------------- */
.lg-top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(20px, 5vw, 48px);
  background: rgba(5, 8, 15, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--lg-line);
}
.lg-top__logo { display: inline-flex; align-items: center; }
.lg-top__logo svg { width: 34px; height: auto; display: block; }
.lg-top__logo svg path { fill: #fff; }
.lg-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--lg-soft);
  text-decoration: none;
  transition: background 0.25s var(--lg-ease), color 0.25s var(--lg-ease), border-color 0.25s var(--lg-ease);
}
.lg-back:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.24); }
.lg-back svg { width: 15px; height: 15px; transition: transform 0.25s var(--lg-ease); }
.lg-back:hover svg { transform: translateX(-3px); }

/* ---- Corps -------------------------------------------------------------- */
.lg-wrap { max-width: 760px; margin: 0 auto; padding: clamp(44px, 8vh, 88px) clamp(20px, 5vw, 48px) clamp(64px, 10vh, 110px); }

.lg-head { margin-bottom: clamp(36px, 6vh, 60px); }
.lg-kicker {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--lg-faint);
  margin-bottom: 14px;
}
.lg-title {
  font-family: var(--lg-display);
  font-weight: 600;
  font-size: clamp(32px, 5.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.lg-title em { font-family: var(--lg-serif); font-style: italic; font-weight: 500; letter-spacing: 0; }
.lg-updated { margin-top: 14px; font-size: 13px; color: var(--lg-faint); }

/* ---- Sections ----------------------------------------------------------- */
.lg-sec { padding-top: clamp(26px, 4vh, 38px); margin-top: clamp(26px, 4vh, 38px); border-top: 1px solid var(--lg-line); }
.lg-sec:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.lg-sec__kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lg-faint);
  margin-bottom: 10px;
}
.lg-sec__title {
  font-family: var(--lg-display);
  font-weight: 600;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.lg-sec p { color: var(--lg-soft); margin-bottom: 12px; }
.lg-sec p:last-child { margin-bottom: 0; }
.lg-sec strong { color: var(--lg-ink); font-weight: 600; }
.lg-sec a { color: var(--lg-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.34); transition: text-decoration-color 0.25s var(--lg-ease); }
.lg-sec a:hover { text-decoration-color: rgba(255, 255, 255, 0.9); }
.lg-sec ul { list-style: none; margin: 0 0 12px; padding: 0; }
.lg-sec li { position: relative; padding-left: 18px; color: var(--lg-soft); margin-bottom: 7px; }
.lg-sec li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.34); }

/* Bloc de coordonnées mis en avant (identité, hébergeur) */
.lg-card {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  margin-bottom: 12px;
}
.lg-card p { margin-bottom: 4px; }
.lg-card p:last-child { margin-bottom: 0; }

/* ---- Pied : navigation entre pages légales ------------------------------ */
.lg-foot {
  max-width: 760px;
  margin: 0 auto;
  padding: 26px clamp(20px, 5vw, 48px) 44px;
  border-top: 1px solid var(--lg-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 13.5px;
  color: var(--lg-faint);
}
.lg-foot a { color: var(--lg-soft); text-decoration: none; transition: color 0.25s var(--lg-ease); }
.lg-foot a:hover { color: #fff; }
.lg-foot a[aria-current="page"] { color: #fff; font-weight: 500; }
.lg-foot__sep { flex: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
