/* Reset & base — jardinier-proprete-du-jardin */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  overflow-x: clip;
  /* overscroll-behavior: auto (défaut — jamais none sur body) */
}

/* Reset éléments courants */
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }  /* Reset marge UA obligatoire (PIÈGE PROD #5) */
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
select { min-width: 0; width: 100%; } /* anti-scroll-X (PIÈGE PROD #10) */

/* Micro-détails propres */
::selection {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--text);
}

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

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

/* Scrollbar rebrandée */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent) 40%, var(--bg)); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Typographie de base */
h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--text);
}

h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 500;
  color: var(--text);
}

/* Utilitaires */
.container {
  width: var(--container);
  margin-inline: auto;
}

.section-pad {
  padding: clamp(48px, 7vw, 96px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-head {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head h2 { margin-top: 8px; }
