/* reset doux + base */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100vw; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body{
  margin:0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.12; margin: 0; color: var(--text); letter-spacing: -.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* micro-details signature anti-IA */
::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); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::placeholder { color: var(--text-mute); opacity: 1; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.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; }

section { padding: 56px 0; position: relative; }
@media (min-width: 768px) { section { padding: 88px 0; } }

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

.h-sec { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 14px 0 14px; }
.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-2); max-width: 56ch; }

/* underline accent translucide derriere un mot du H1 (signature anti-IA) */
.acc-under{
  position: relative; display: inline-block; padding: 0 .12em;
}
.acc-under::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .42em;
  background: rgba(46, 91, 62, .26);
  transform: skewX(-8deg);
  z-index: -1;
  border-radius: 2px;
}
