/* Pages légales (politique de confidentialité) — digimedia.be
   Feuille séparée du teaser : le teaser est une composition plein écran,
   ces pages sont de la lecture longue. Fond clair pour la lisibilité
   (contraste ×  texte sombre sur papier), accents reprenant la charte. */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-800.woff2') format('woff2');
}

:root {
  --paper: #f7f5f0;
  --ink: #24313d;
  --muted: #5d6b78;
  --rule: #d9d4c9;
  --teal: #046e89;
  --teal-dark: #03566c;
  --measure: 44rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 0.55vw + 0.82rem, 1.05rem);
  line-height: 1.68;
}

/* ---------- En-tete ---------- */

.top {
  border-bottom: 1px solid var(--rule);
  background: #ffffff;
}

.top__inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1rem clamp(1.1rem, 4vw, 2rem);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--teal);
  text-decoration: none;
}

.back {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.back:hover {
  color: var(--teal);
  text-decoration: underline;
}

/* ---------- Contenu ---------- */

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.1rem, 4vw, 2rem) 3rem;
}

h1 {
  font-weight: 800;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.5rem;
  color: var(--teal-dark);
}

.updated {
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: 0.86rem;
}

h2 {
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.3;
  margin: 2.4rem 0 0.6rem;
  color: var(--teal-dark);
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.45rem;
}

a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--teal-dark);
}

strong {
  font-weight: 600;
}

.note {
  margin: 2.5rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--rule);
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Pied ---------- */

.foot {
  border-top: 1px solid var(--rule);
  background: #ffffff;
  color: var(--muted);
  font-size: 0.82rem;
}

.foot__inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.25rem clamp(1.1rem, 4vw, 2rem);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.foot a {
  color: var(--muted);
}

/* ---------- Impression ---------- */

@media print {
  .top,
  .foot {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  main {
    max-width: none;
    padding: 0;
  }

  h1,
  h2 {
    color: #000;
  }

  a {
    color: #000;
  }

  a[href^='http']::after {
    content: ' (' attr(href) ')';
    font-size: 9pt;
  }
}
