/* ═══════════════════════════════════════
   BASE — Reset moderne + typographie
═══════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;          /* conteneur de scroll : indispensable en + de body */
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: var(--fw-bold);
}

/* Chiffres décoratifs — Funnel Display */
.how-number,
.real-number,
.niveau-number,
.dash-metric-value {
  font-family: var(--font-number);
}

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

ul[role="list"], ol[role="list"] {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection {
  background: rgba(var(--c-accent-rgb), 0.25);
  color: var(--c-text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Utilitaires de base */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.text-center { text-align: center; }
.text-accent  { color: var(--c-accent); }
.text-muted   { color: var(--c-text-muted); }

.label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  font-size: var(--t-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.label::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.section-title {
  font-size: var(--t-3xl);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-block: var(--s-sm) var(--s-md);
}

.section-lead {
  font-size: var(--t-md);
  color: var(--c-text-muted);
  max-width: 780px;
  line-height: 1.6;
}

.section-header {
  margin-bottom: var(--s-xl);
}

.section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
