/* =========================================================
   EK — Design Tokens du site esykennenga.fr
   DS EK v1.3 · direction G « Nuit canard » · police Bricolage Grotesque
   Validé par Esy le 07/09/2026 (couleurs + police).
   Règles de charte (Esy) : une seule police, titres unicolores,
   pas de serif, pas de script, pas d'italique, pas de terracotta, pas de crème.
   Re-skin = ce fichier + site.css. Ne hardcoder aucune couleur ailleurs.
   — Cody, Assistant Tech IA d'Esy Kennenga
   ========================================================= */
/* Police auto-hébergée (14/09/2026) : Bricolage Grotesque variable (axes opsz 12-96, wght 300-800),
   woff2 récupérés depuis Google Fonts v9, sous-ensembles latin + latin-ext. Aucune requête vers Google. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-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: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-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;
}

:root {
  /* ---- Palette EK ---- */
  --ek-jaune:     #F2B705;
  --ek-jaune-h:   #FFC71F;
  --ek-sable:     #E8CBAB;
  --ek-canard:    #1E7F78;
  --ek-canard-d:  #125A55;
  --ek-canard-x:  #0E3B38;
  --ek-noir:      #121212;
  --ek-noir-2:    #1E1E1E;
  --ek-blanc:     #FFFFFF;

  /* ---- Rôles (fond noir par défaut) ---- */
  --bg:        var(--ek-noir);
  --bg-2:      var(--ek-noir-2);
  --txt:       var(--ek-blanc);
  --txt-2:     var(--ek-sable);
  --txt-3:     rgba(232,203,171,.6);
  --ligne:     rgba(255,255,255,.16);
  --primary:   var(--ek-jaune);
  --primary-h: var(--ek-jaune-h);
  --on-primary:var(--ek-noir);
  --accent:    var(--ek-canard);

  /* ---- Rôles des sections canard (class="alt") ---- */
  --alt-bg:    var(--ek-canard);
  --alt-bg-2:  var(--ek-canard-d);
  --alt-txt:   var(--ek-blanc);
  --alt-txt-2: #D9EAE7;
  --alt-ligne: rgba(255,255,255,.22);

  /* ---- Typographie : UNE police ---- */
  --font:      'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --w-display: 700;
  --w-text:    400;
  --w-strong:  600;
  --tracking-display: -.03em;
  --tracking-kicker:  .24em;

  /* ---- Espacements / layout ---- */
  --sp-1: 6px; --sp-2: 12px; --sp-3: 20px; --sp-4: 36px; --sp-5: 64px; --sp-6: 104px;
  --wrap: 1180px;
  --rail: 72px;         /* largeur de la tranche à onglets (desktop) */
  --radius: 0;
  --ease: .22s cubic-bezier(.2,.7,.2,1);

  /* ---- Alias hérités (pages EK TV / composants v0) ---- */
  --ek-bleu: var(--ek-canard-d);
  --ek-bleu-fonce: var(--ek-noir);
  --ek-bleu-clair: var(--ek-canard);
  --ek-camel: var(--ek-jaune);
  --ek-camel-h: var(--ek-jaune-h);
  --ek-camel-line: var(--ligne);
  --ek-cream: var(--ek-blanc);
  --ek-txt: var(--txt);
  --ek-txt-70: var(--txt-2);
  --ek-txt-55: var(--txt-3);
  --ek-txt-40: var(--txt-3);
  --ek-font-titre: var(--font);
  --ek-font-cursive: var(--font);
  --ek-font-corps: var(--font);
  --ek-sp-1: var(--sp-1); --ek-sp-2: var(--sp-2); --ek-sp-3: var(--sp-3); --ek-sp-4: var(--sp-4); --ek-sp-5: var(--sp-5); --ek-sp-6: var(--sp-6);
  --ek-wrap: var(--wrap); --ek-radius: var(--radius); --ek-ease: var(--ease);
}
