/* =============================================================================
   Base — typographie, rythme vertical, resets globaux
   Plein Sud child theme. N'utiliser QUE les tokens (var(--ps-*) / var(--rt-*)).
   ============================================================================= */

/* --- Garde anti-débordement horizontal (mobile) ---------------------------- */
html, body { max-width: 100%; overflow-x: hidden; }

/* --- Préloader Blusho : désactivé (branding « Blusho... » + FOUC inutile) --- */
#preloader, .rt-loader { display: none !important; }

/* --- Typographie de base --------------------------------------------------- */
body,
.blusho-body,
button,
input,
select,
textarea {
  font-family: var(--ps-font-body);
  font-size: var(--ps-fs-base);
  line-height: var(--ps-lh-base);
  color: var(--ps-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Titres en Marcellus (serif) ------------------------------------------ */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--ps-font-heading);
  color: var(--ps-ink);
  font-weight: 400; /* Marcellus n'a qu'une graisse */
  letter-spacing: var(--ps-ls-heading);
  line-height: 1.15;
}

h1, .h1 { font-size: var(--ps-fs-h1); }
h2, .h2 { font-size: var(--ps-fs-h2); }
h3, .h3 { font-size: var(--ps-fs-h3); }

/* --- Eyebrow / suptitre (Hanken Grotesk uppercase bronze) ------------------ */
.ps-eyebrow,
.sec-head .ttl > p:first-child {
  font-family: var(--ps-font-body);
  font-weight: 600;
  font-size: var(--ps-fs-eyebrow);
  letter-spacing: var(--ps-ls-eyebrow);
  text-transform: uppercase;
  color: var(--ps-gold-dark);
}

/* --- Liens ----------------------------------------------------------------- */
a {
  color: var(--ps-ink);
  transition: color 0.2s ease;
}
a:hover {
  color: var(--ps-gold);
}

/* --- Conteneur ------------------------------------------------------------- */
.container,
.blusho-container {
  max-width: var(--ps-container);
}

/* --- Accessibilité : focus visibles --------------------------------------- */
:focus-visible {
  outline: 2px solid var(--ps-gold);
  outline-offset: 2px;
}

/* --- Sélection ------------------------------------------------------------- */
::selection {
  background: rgba(var(--ps-gold-rgb), 0.25);
  color: var(--ps-ink);
}
