/* =========================================================
   Fiveswix — base : reset, typographie, utilitaires
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-text);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--b0);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--gold); color: #120b1c; }

a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: inline-block; vertical-align: middle; }
b, strong { font-weight: 500; }

h1, h2, h3 { font-family: var(--font-title); font-weight: 300; line-height: 1.05; letter-spacing: -.02em; }
h3 { font-weight: 400; }

/* Lien d'évitement */
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 14px; border-radius: var(--r-pill);
  background: var(--gold); color: #120b1c; font-weight: 500; text-decoration: none;
  transition: top var(--t-fast) var(--ease);
}
.skip:focus { top: 16px; }

/* Focus visible : anneau or de 2 px en contour, jamais écrasé par les ombres du verre */
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Utilitaires typographiques */
.eyebrow, .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.label { color: var(--ink-3); letter-spacing: .22em; margin-bottom: 14px; }

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  text-align: center;
  margin-top: 10px;
}
.section-title em { font-style: italic; font-weight: 400; color: var(--gold-2); }
.section-title--left { text-align: left; }
.section-lead {
  max-width: 620px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.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;
}

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Mouvement réduit : tout s'arrête, tout est visible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    animation-delay: 0s !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
