/* Base — DPC */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100vw; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  /* TEX-5 papier chaud */
  background-image: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 5%, var(--bg)) 0%, var(--bg) 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reset */
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
figure { margin: 0; }
img, picture, svg, video, iframe { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }

/* [hidden] surcharge */
[hidden] { display: none !important; }

/* Typo */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; color: var(--accent); }
strong { font-weight: 600; }

/* Micro details */
::selection { background: var(--accent); color: #fff; }
::-moz-selection { background: var(--accent); color: #fff; }

::-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); }

: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: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

section { padding: var(--sp-section-mobile) 0; position: relative; }
@media (min-width: 768px) { section { padding: var(--sp-section) 0; } }

/* Eyebrow + section header */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-ui);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--fs-eyebrow);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--accent);
}

.section-head { max-width: 720px; margin: 0 0 36px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { color: var(--text-2); font-size: 1.05rem; margin-top: 14px; }
