/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { overflow-x: hidden; max-width: 100vw; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, video, iframe { max-width: 100%; display: block; }
figure { margin: 0; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.005em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.5rem); }
p { color: var(--text-2); }

/* Micro-details propres */
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--accent-2); 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 { max-width: var(--container); margin: 0 auto; padding: 0 20px; width: 100%; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* Sections */
section { padding: 48px 0; }
@media (min-width: 768px) { section { padding: 80px 0; } }
.section-eyebrow {
  font-family: var(--ff-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 500;
}
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { font-size: 1.05rem; margin-top: 14px; }
