  /* =====================================================================
     CHARTE 8 FABLAB — variables CSS
     ===================================================================== */
  :root {
    --prune: #4b2a46;
    --prune-clair: #e4dfe3;
    --rouge: #eb0a4b;
    --rouge-clair: #fbdae3;
    --rose: #faa0cd;
    --rose-clair: #fdebf5;
    --formation: #1ebe96;
    --formation-clair: #ddf5ef;
    --servicepro: #ffe600;
    --servicepro-clair: #fff7b2;
    --coworking: #7d64d2;
    --coworking-clair: #ebe7f8;

    --bg: #ffffff;
    --fg: var(--prune);
    --muted: #7a6b76;
    --line: #ece6ea;

    --font-title: "Bebas Neue", "Arial Narrow", sans-serif;
    --font-body: "Karla", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

    --max-width: 1080px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  /* ===== En-tête fixe ===== */
  header.top {
    position: fixed; top: 0; left: 0; right: 0;
    padding: 1rem 2.5rem;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    z-index: 10;
  }
  .logo {
    display: flex; align-items: center; gap: 0.6rem;
    color: var(--prune); text-decoration: none;
  }
  .logo .num {
    font-family: var(--font-title);
    font-size: 2.4rem; line-height: 0.9;
    letter-spacing: -0.04em; font-weight: 400;
  }
  .logo .label {
    font-family: var(--font-body); font-weight: 800;
    font-size: 0.95rem; line-height: 1; letter-spacing: 0.02em;
  }
  .logo .label small {
    display: block; font-weight: 500;
    font-size: 0.7rem; letter-spacing: 0.1em; margin-top: 2px;
  }
  header.top nav {
    font-family: var(--font-title);
    font-size: 1rem; letter-spacing: 0.05em;
  }
  header.top nav a {
    margin-left: 1.5rem; color: var(--prune); text-decoration: none;
    opacity: 0.6; transition: opacity 0.2s;
  }
  header.top nav a:hover { opacity: 1; }

  /* ===== Hero ===== */
  .hero {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 6rem 2.5rem 3rem;
    max-width: var(--max-width); margin: 0 auto;
    position: relative;
  }
  .hero::before {
    content: ""; position: absolute;
    left: 2.5rem; right: 2.5rem; top: 50%;
    border-top: 1px dashed var(--line); z-index: -1;
  }
  .hero .eyebrow {
    font-family: var(--font-title);
    font-size: 1rem; letter-spacing: 0.2em;
    color: var(--rouge); margin-bottom: 1.5rem;
  }
  .hero h1 {
    font-family: var(--font-title);
    font-size: clamp(3rem, 9vw, 7rem);
    font-weight: 400; line-height: 0.95;
    letter-spacing: -0.01em; text-transform: uppercase;
    color: var(--prune); margin-bottom: 2rem;
  }
  .hero h1 .accent { color: var(--rouge); }
  .hero p.lead {
    font-size: 1.15rem; color: var(--muted);
    max-width: 620px; margin-bottom: 4rem;
  }
  .hero .scroll-hint {
    font-family: var(--font-title);
    font-size: 0.95rem; letter-spacing: 0.25em;
    color: var(--prune);
  }
  .hero .scroll-hint::after {
    content: " ↓"; animation: bounce 2s infinite; display: inline-block;
  }
  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
  }

  /* ===== Sections d'indicateurs ===== */
  section.indicator {
    min-height: 100vh;
    padding: 7rem 2.5rem 5rem;
    max-width: var(--max-width); margin: 0 auto;
    display: flex; flex-direction: column; justify-content: center;
    position: relative;
  }
  section.indicator + section.indicator { border-top: 1px solid var(--line); }

  .pill {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.85rem; letter-spacing: 0.18em;
    padding: 0.35rem 0.9rem 0.25rem;
    border-radius: 999px; margin-bottom: 1.5rem;
    color: #fff; background: var(--prune);
  }

  .indicator h2 {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400; line-height: 1;
    letter-spacing: 0.005em; text-transform: uppercase;
    margin-bottom: 1.25rem; color: var(--prune);
  }
  .indicator .description {
    color: var(--muted); margin-bottom: 2.5rem;
    max-width: 640px; font-size: 1.05rem;
  }

  /* Légende discrète sous le graphique pour indiquer un prévisionnel */
  .forecast-note {
    display: flex; align-items: center; gap: 0.6rem;
    margin-top: 0.75rem;
    font-family: var(--font-body); font-weight: 500;
    font-size: 0.78rem; letter-spacing: 0.06em;
    color: var(--muted); text-transform: uppercase;
  }
  .forecast-note::before {
    content: "";
    display: inline-block;
    width: 36px; height: 0;
    border-top: 2px dashed var(--prune);
  }

  /* ===== Rangée KPI ===== */
  .kpi-row {
    display: flex; flex-wrap: wrap;
    gap: 2.5rem 3.5rem; margin-bottom: 3rem;
    padding-bottom: 2rem; border-bottom: 2px dotted var(--line);
  }
  .kpi { flex: 1; min-width: 150px; }
  .kpi .label {
    font-family: var(--font-body); font-weight: 700;
    font-size: 0.72rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--muted);
    margin-bottom: 0.5rem;
  }
  .kpi .value {
    font-family: var(--font-title);
    font-size: 2.4rem; line-height: 1;
    letter-spacing: 0.01em; color: var(--prune);
  }
  .kpi .delta {
    font-family: var(--font-body); font-weight: 700;
    font-size: 0.85rem; margin-top: 0.4rem; color: var(--muted);
  }
  .kpi .delta.positive { color: var(--formation); }
  .kpi .delta.negative { color: var(--rouge); }

  /* ===== Container chart ===== */
  .chart-wrap {
    position: relative; height: 360px; width: 100%;
  }
  .chart-wrap.is-pie { height: 420px; }
  .chart-wrap.is-stacked { height: 420px; }

  /* ===== Commentaire sous le graphique ===== */
  .commentary {
    margin-top: 2.5rem;
    padding: 1.75rem 2rem;
    background: var(--prune-clair);
    border-left: 4px solid var(--prune);
    position: relative;
  }
  .commentary .com-title {
    font-family: var(--font-body); font-weight: 800;
    font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--prune); margin-bottom: 0.6rem;
  }
  .commentary p {
    color: var(--prune); font-size: 1rem; line-height: 1.65;
  }
  .commentary p + p { margin-top: 0.7rem; }

  /* ===== Variantes de couleur par section ===== */
  section.theme-rouge .pill { background: var(--rouge); }
  section.theme-rouge .commentary { background: var(--rouge-clair); border-left-color: var(--rouge); }
  section.theme-rouge .commentary .com-title,
  section.theme-rouge .commentary p { color: var(--prune); }

  section.theme-prune .pill { background: var(--prune); }
  section.theme-prune .commentary { background: var(--prune-clair); border-left-color: var(--prune); }

  section.theme-formation .pill { background: var(--formation); }
  section.theme-formation .commentary { background: var(--formation-clair); border-left-color: var(--formation); }
  section.theme-formation .commentary .com-title { color: var(--formation); }

  section.theme-servicepro .pill { background: var(--servicepro); color: var(--prune); }
  section.theme-servicepro .commentary { background: var(--servicepro-clair); border-left-color: var(--servicepro); }

  section.theme-coworking .pill { background: var(--coworking); }
  section.theme-coworking .commentary { background: var(--coworking-clair); border-left-color: var(--coworking); }
  section.theme-coworking .commentary .com-title { color: var(--coworking); }

  section.theme-rose .pill { background: var(--rose); }
  section.theme-rose .commentary { background: var(--rose-clair); border-left-color: var(--rose); }
  section.theme-rose .commentary .com-title { color: var(--rose); }

  /* ===== Pied de page ===== */
  footer {
    padding: 4rem 2.5rem 3rem;
    max-width: var(--max-width); margin: 0 auto;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: flex-end;
    flex-wrap: wrap; gap: 2rem;
  }
  footer .logo .num { font-size: 3.5rem; }
  footer .logo .label { font-size: 1.2rem; }
  footer .infos {
    text-align: right; color: var(--muted);
    font-size: 0.85rem; line-height: 1.6;
  }
  footer .infos strong { color: var(--prune); }

  @media (max-width: 700px) {
    header.top { padding: 0.75rem 1.25rem; }
    header.top nav a { margin-left: 0.85rem; font-size: 0.85rem; }
    .hero, section.indicator, footer { padding-left: 1.25rem; padding-right: 1.25rem; }
    .kpi-row { gap: 1.5rem; }
    .kpi .value { font-size: 1.8rem; }
    footer { flex-direction: column; align-items: flex-start; }
    footer .infos { text-align: left; }
  }