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

html {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-mobile) + 12px);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px){
  html { scroll-padding-top: calc(var(--header-h) + 16px); }
}

body{
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
}

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

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

::selection { background: var(--accent); color: #fff; }

/* Scrollbar (desktop) */
@media (min-width: 768px){
  *::-webkit-scrollbar { width: 8px; height: 8px; }
  *::-webkit-scrollbar-track { background: var(--bg-alt); }
  *::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 768px){
  .container { padding-left: 32px; padding-right: 32px; }
}

/* Texte utilitaires */
.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 1px;
  background: var(--accent);
  margin-right: 10px;
  transform: translateY(-2px);
}

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  margin-top: 14px;
  max-width: 22ch;
}
.section-lead {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--text-2);
  margin-top: 18px;
  max-width: 60ch;
  line-height: 1.6;
}

section { padding: var(--space-section) 0; }
section + section { padding-top: var(--space-section); }
