/* ─────────────────────────────────────────────
   01-base.css — Reset & base + Typographie globale
───────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
}

body {
  /* Garde-fou pour les éléments full-bleed (100vw) de la galerie, dont le
     stage est en plus zoomé (--stage-scale) : sans ça, le débordement
     horizontal créerait une scrollbar sur toute la page. */
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}

h3 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
}
