/* RESET + BASE */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, picture, svg, video, iframe { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
button { font: inherit; cursor: pointer; background: transparent; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
blockquote { quote: none; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
@media (max-width: 768px) {
  html { scroll-padding-top: var(--header-h-mobile); }
}

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  /* TEX-3 Points discrets */
  background-image: radial-gradient(color-mix(in srgb, var(--text) 8%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -0.01em;
}

p { color: var(--text-2); }

::selection {
  background: var(--accent);
  color: var(--on-dark);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::placeholder { color: var(--text-mute); }

/* Scrollbar fine */
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 4px; }
*::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

section { padding: 48px 0; }
@media (min-width: 768px) {
  section { padding: 80px 0; }
}

/* Eyebrow recurrent */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 14px 0 18px;
  max-width: 28ch;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 56ch;
  margin-bottom: 32px;
}
