@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════
   09 — PAGES SECONDAIRES
   Mentions légales, CGV, confidentialité, 404. Un seul objectif :
   se lire. Pas d'animation, pas de décor, une colonne de texte.
   Chargée uniquement par ces pages, jamais par index.html.
   ═══════════════════════════════════════════════════════════ */

/* ══ EN-TÊTE SIMPLIFIÉ ══════════════════════════════════ */
.page-head {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  padding-block: 16px;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 1px 0 var(--line);
}
.page-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.page-head img { height: 30px; width: auto; }


/* ══ CORPS ══════════════════════════════════════════════ */
.page {
  padding-block: clamp(56px, 8vw, 96px) clamp(72px, 9vw, 120px);
}
.page .shell { max-width: 760px; }

.page__title {
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem);
  margin-bottom: 18px;
}
.page__meta {
  color: var(--gray-500);
  padding-bottom: 34px;
  margin-bottom: 44px;
  box-shadow: 0 1px 0 var(--line);
}

/* Sommaire */
.toc {
  padding: 22px 24px;
  margin-bottom: 48px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  box-shadow: var(--hairline);
}
.toc p {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 14px;
}
.toc ol { display: flex; flex-direction: column; gap: 9px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: inline-flex;
  gap: 10px;
  font-size: .95rem;
  color: var(--gray-700);
  transition: color var(--t) var(--ease);
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  color: var(--accent-text);
  padding-top: .28em;
}
.toc a:hover { color: var(--ink); }

/* Prose */
.prose h2 {
  font-size: clamp(1.28rem, 1.1rem + .7vw, 1.6rem);
  letter-spacing: -.028em;
  margin-top: 52px;
  margin-bottom: 14px;
  scroll-margin-top: 96px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.04rem;
  margin-top: 30px;
  margin-bottom: 10px;
}
.prose p, .prose li {
  color: var(--gray-700);
  line-height: 1.75;
  font-size: .97rem;
}
.prose p + p { margin-top: 15px; }
.prose ul, .prose ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 16px 4px;
}
.prose li { position: relative; padding-left: 22px; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: .72em;
  width: 5px; height: 5px;
  border-radius: 99px;
  background: var(--accent);
}
.prose ol { counter-reset: p; }
.prose ol li { counter-increment: p; }
.prose ol li::before {
  content: counter(p) '.';
  position: absolute;
  left: 0; top: 0;
  font-variant-numeric: tabular-nums;
  color: var(--accent-text);
  font-weight: 600;
}
.prose a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(194,70,8,.35);
  transition: text-decoration-color var(--t) var(--ease);
}
.prose a:hover { text-decoration-color: var(--accent); }
.prose strong { color: var(--ink); }

/* Encart : ce qui reste à compléter par l'éditeur du site */
.todo {
  padding: 18px 20px;
  margin: 22px 0;
  border-radius: var(--radius);
  background: var(--accent-tint);
  box-shadow: inset 0 0 0 1px rgba(255,107,26,.3);
}
.todo p { color: var(--gray-800); font-size: .93rem; }
.todo b { color: var(--accent-text); }

/* Tableau simple */
.page-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: .93rem;
}
.page-table th, .page-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  box-shadow: 0 1px 0 var(--line);
}
.page-table th { color: var(--ink); font-weight: 600; }
.page-table td { color: var(--gray-700); }
.table-scroll { overflow-x: auto; }


/* ══ 404 ════════════════════════════════════════════════ */
.lost {
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  min-height: 72vh;
  padding-block: clamp(60px, 10vw, 120px);
}
.lost__code {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 20px;
}
.lost__title { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.8rem); margin-bottom: 20px; }
.lost__lead { max-width: 46ch; color: var(--gray-600); margin-bottom: 34px; }
.lost__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (max-width: 640px) {
  .lost__row { width: 100%; flex-direction: column; }
  .lost__row .btn { width: 100%; }
}

/* Liens du bandeau de bas de page (pages secondaires) */
.footer__bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.25);
  transition: color var(--t) var(--ease), text-decoration-color var(--t) var(--ease);
}
.footer__bottom a:hover { color: #fff; text-decoration-color: var(--accent); }
