/* ============================================================
   Clickprint — CHARTE
   Palette et polices, déclarées UNE SEULE FOIS pour tout le site.
   Créé le 2026-09-16 (refonte visuelle, étape 1).

   Le rouge et l'encre sont RELEVÉS SUR LE LOGO, pas choisis :
     #c10a27  et  #1d1d1b.

   Les pages gardent leurs noms de variables locaux (--blue,
   --brand, --clr-primary) : elles les font simplement pointer
   ici. Une bascule de teinte se refait donc à un seul endroit.

   Polices auto-hébergées (aucun CDN depuis le lot A) :
     Archivo (titres) · Source Sans 3 (texte).
   Fichiers variables, sous-ensembles latin + latin-ext.
   Servi immutable : incrémenter ?v= si cette feuille change.
   ============================================================ */

/* ── Archivo — titres ───────────────────────────────────── */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/assets/fonts/archivo-500-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/assets/fonts/archivo-500-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Source Sans 3 — texte ──────────────────────────────── */

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── La palette ─────────────────────────────────────────── */

:root {
  /* Rouge — relevé sur le logo */
  --c-primary     : #c10a27;   /* boutons, liens, icônes        6,29:1 sur blanc */
  --c-primary-d   : #8e0a1e;   /* survol, promotions            9,49:1 sur blanc */
  --c-primary-l   : #fdeaec;   /* pastilles d'icônes, fonds doux */

  /* ⚠️ Le rouge principal ne tient PAS sur une bande sombre (2,69:1).
     Sur fond --c-ink ou --c-footer, utiliser celui-ci (6,01:1). */
  --c-primary-on-dark : #e8797f;

  /* Encre et bandes sombres — relevé sur le logo */
  --c-ink         : #1d1d1b;   /* texte principal, bandes sombres */
  --c-footer      : #151413;   /* pied de page */
  --c-on-dark     : #cdbfc0;   /* texte courant sur bande sombre   9,49:1 */

  /* Neutres */
  --c-bg          : #faf8f8;   /* fond de page */
  --c-surface     : #ffffff;   /* cartes, panneaux */
  --c-border      : #e8e3e4;
  --c-muted       : #6f6a6b;   /* gris texte                       5,32:1 sur blanc */

  /* États — inchangés, ils ne sont pas de l'identité */
  --c-danger      : #dc2626;
  --c-success     : #16a34a;
  --c-warning     : #b45309;

  /* Polices */
  --c-font-titre  : 'Archivo', system-ui, -apple-system, sans-serif;
  --c-font-texte  : 'Source Sans 3', system-ui, -apple-system, sans-serif;
}
