/* MAIN FORTE — base element defaults (opt-in reset) */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font: var(--body-base);
  color: var(--text-body);
  background-color: var(--bg-page);
  background-image: var(--texture-paper);
  background-size: var(--texture-paper-size);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-heading);
  margin: 0 0 var(--space-3);
  line-height: var(--lh-snug);
  text-wrap: balance;
}
h1 { font: var(--title-h1); }
h2 { font: var(--title-h2); }
h3 { font: var(--title-h3); }
h4 { font-weight: var(--fw-semibold); font-size: var(--text-xl); }

p { margin: 0 0 var(--space-4); text-wrap: pretty; }
a { color: var(--blue-600); text-underline-offset: 3px; }

/* Uppercase kicker — the guide's section labels (e.g. "IDENTIFIER SES PILIERS") */
.mf-kicker {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Handwritten headline — "Équilibre vie pro, vie perso" */
.mf-hand {
  font-family: var(--font-hand);
  font-weight: var(--fw-bold);
  color: var(--text-hand);
  line-height: 1;
}

/* Annotation text — peer-to-peer notes */
.mf-annotate {
  font-family: var(--font-annotate);
  font-size: var(--text-sm);
  color: var(--green-700);
}

::selection { background: var(--ochre-300); color: var(--green-900); }

:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
