/* ============================================================
   BASE — reset + typographie + body
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--ff-body);
  background: var(--bg);
  /* TEX-3 : points radiaux discrets */
  background-image: radial-gradient(
    color-mix(in srgb, var(--text) 9%, transparent) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
  color: var(--text);
  line-height: 1.6;
  /* Clip l'horizontal sans bloquer le scroll vertical */
  overflow-x: clip;
  /* Jamais overscroll-behavior none/contain sur body */
}

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

a { color: inherit; text-decoration: none; }

button { font-family: var(--ff-ui); cursor: pointer; border: 0; background: transparent; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
}

p { color: var(--text-2); }

ul { list-style: none; }

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

/* — Séparateur texte -------------------------------------- */
.section-eyebrow {
  font-family: var(--ff-ui);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--text);
  margin-bottom: 12px;
}

.section-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-2);
  max-width: 54ch;
}

/* — Étoiles SVG ------------------------------------------- */
.stars {
  display: inline-flex;
  gap: 2px;
  color: #D4960A;
}
.stars svg { width: 16px; height: 16px; fill: currentColor; }

/* — Lien discret ------------------------------------------ */
.link-text {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .2s;
}
.link-text:hover { opacity: .75; }
