/* BASE — Reset + typographie + base globale */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip; /* clip sans créer de scroll container — PIÈGE PROD #11 */
  max-width: 100vw;
}

/* Masque hidden — PIÈGE PROD #8 */
[hidden] { display: none !important; }

/* Reset figure — PIÈGE PROD #5 */
figure { margin: 0; }

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
}

p { margin: 0; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }

/* Typographie de base */
strong { font-weight: 700; }
em { font-style: italic; }

/* Selection aux couleurs de la marque */
::selection {
  background: var(--accent);
  color: var(--on-dark);
}

/* Scrollbar fine rebrandée */
::-webkit-scrollbar { width: 6px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--accent-2); border-radius: 3px; }

/* Focus visible stylisé */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Placeholder */
::placeholder { color: var(--text-mute); opacity: .8; }

/* Container */
.container {
  width: var(--container);
  margin-inline: auto;
}

/* Section spacing */
section { padding: 48px 20px; }

/* Eyebrow text */
.eyebrow {
  font-family: var(--ff-ui);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent-2);
  display: block;
  margin-bottom: 14px;
}

/* Section lead */
.section-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-2);
  max-width: 54ch;
  margin-top: 14px;
}

/* Chip / tag */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-ui);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid var(--accent-soft);
}
.chip--strong {
  background: var(--accent);
  color: var(--on-dark);
  border-color: var(--accent);
}
