/* ============ RESET ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.01em;
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ============ UTILITIES ============ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: var(--space-8) 32px; border-top: 1px solid var(--border); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============ ICON SYSTEM ============ */
.ico {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  display: inline-block; vertical-align: middle; flex-shrink: 0;
}
.ico-lg { width: 28px; height: 28px; }
.ico-xl { width: 40px; height: 40px; }

/* ============ SECTION HEAD (réutilisable) ============ */
.section-head {
  margin-bottom: var(--space-6);
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 60px;
}
.section-tag {
  font-size: var(--fs-tag); font-weight: 600;
  color: var(--accent); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: var(--space-3);
}
.section-h {
  font-size: var(--fs-h2); font-weight: 700;
  line-height: 1; letter-spacing: -2px;
  max-width: 560px;
}
.section-h-sub { color: var(--text-3); }
.section-desc {
  font-size: 15px; line-height: 1.55;
  color: var(--text-2); max-width: 380px;
}

/* ============ LIGHT THEME (par section) ============ */
.section.light {
  background: var(--bg-light);
  color: var(--ink);
  border-top: 1px solid var(--border-l);
}
.section.light .section-h { color: var(--ink); background: none; -webkit-text-fill-color: initial; }
.section.light .section-h-sub { color: var(--muted-l); }
.section.light .section-desc { color: var(--muted); }

/* ============ ACCESSIBILITY ============ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 1000px) {
  .section { padding: var(--space-7) 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .container { padding: 0 24px; }
}
@media (max-width: 560px) {
  .section { padding: 56px 18px; }
  .section-head { margin-bottom: 32px; gap: 16px; }
  .section-h { font-size: 32px !important; letter-spacing: -1px; }
  .section-desc { font-size: 14px; }
  .hero { padding: 56px 18px 72px !important; }
  .hero h1 { font-size: 40px !important; letter-spacing: -1.5px !important; line-height: 1 !important; }
  .hero-lead { font-size: 15.5px !important; }
}
