/* =====================================================================
   VELYON — BASE : reset, typographie, layout, utilitaires
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-corps);
  background: var(--noir);
  color: var(--gris-clair);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-titre);
  color: var(--blanc);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: .01em;
}

::selection { background: rgba(212, 175, 55, .3); color: #fff; }

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

/* ---- Layout ---- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.wrap-large { max-width: var(--max-large); }

.section { padding-block: clamp(64px, 10vw, 128px); position: relative; }
/* Décalage pour que les ancres ne passent pas sous la nav fixe */
section[id] { scroll-margin-top: calc(var(--nav-h-scroll) + 16px); }

/* En-tête de section */
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-eyebrow {
  font-family: var(--font-corps);
  font-size: 13px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--or);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--grad-or);
}
.section-title { font-size: clamp(2rem, 5vw, 3.4rem); }
.section-sub { margin-top: 16px; color: var(--gris); font-size: 1.05rem; max-width: 60ch; }

/* Texte doré */
.or-text {
  background: var(--grad-or-texte);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--or);
}

/* Utilitaires */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.hidden { display: none !important; }
.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;
}

/* Grain / texture très subtile de fond */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(212,175,55,.06), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(212,175,55,.05), transparent 60%);
}
