/* ============================================
   BASE — reset, éléments, utilitaires globaux
   ============================================ */

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

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  height: 100%;
}

#programme {
  scroll-margin-top: var(--header-actual-height, 80px);
}

body {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-md);
  letter-spacing: var(--tracking);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.4;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1;
}

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

button {
  font-family: inherit;
  font-weight: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Typo display : H1 Regular, tracking -2% (base Medium partout ailleurs) --- */
.text-display {
  font-weight: 400;
  letter-spacing: var(--tracking-lg);
}

/* --- Placeholder média (image manquante) --- */
.placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-border);
}

.placeholder.-dark {
  background: #000;
}
