/* Reset + base */
*, *::before, *::after{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
html{
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-mobile) + 12px);
}
@media (min-width: 900px){
  html{ scroll-padding-top: calc(var(--header-h) + 12px); }
}
body{
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  /* TEX-4 grille fine discrète */
  background-image:
    linear-gradient(rgba(42,42,38,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,42,38,.045) 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe{ max-width: 100%; height: auto; display: block; }
img{ border-style:none; }
figure{ margin: 0; }
[hidden]{ display: none !important; }

h1, h2, h3, h4{
  font-family: var(--ff-display);
  color: var(--text);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
}
h1{ font-weight: 500; }
p{ margin: 0 0 1em; color: var(--text-2); }
a{ color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover{ color: var(--text); }
strong{ color: var(--text); font-weight: 600; }
em{ font-style: italic; }
ul, ol{ margin: 0; padding-left: 1.2em; }
small{ font-size: .85em; color: var(--text-mute); }

button{
  font-family: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

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

/* Scrollbar fine rebrandée */
*::-webkit-scrollbar{ width: 8px; height: 8px; }
*::-webkit-scrollbar-track{ background: transparent; }
*::-webkit-scrollbar-thumb{ background: var(--accent-2); border-radius: 4px; }
*::-webkit-scrollbar-thumb:hover{ background: var(--accent); }

/* Container & section */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
section{
  padding: 48px 0;
  position: relative;
}
@media (min-width: 768px){
  section{ padding: 80px 0; }
}

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

.section-head{
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head h2{
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 14px;
}
.section-head h2 em{
  color: var(--accent);
  font-weight: 500;
}
.section-head p{
  font-size: 1.05rem;
  max-width: 60ch;
  color: var(--text-2);
}

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