/* =============================================================================
   kw-ds-police.css — Inter, police du site public et de l'espace client (lot TYPO, 15/10/2026).
   Dirigeant : « revoir la police des textes […] pour qu'ils soient lus modernes et clairs » ; choix sur maquette :
   Inter (texte et titres), espace client ET site public.
   · Remplace Instrument Sans (texte) et Archivo (titres) en redéfinissant les variables --corps et --titre partout
     où elles sont posées : kw-ds.css (.kw-ds), kw-ds-client.css (body.kw-client), kw-caisse.css (#kw-checkout),
     kw-commande.css et kw-produit.css (#kw-cart, #order-standard_cart.*). Rien d'autre n'est réécrit.
   · Noms de domaine, adresses, extensions : plus en police de machine à écrire (--mono = police du texte) ;
     elle reste sur les valeurs techniques (code de transfert, serveurs DNS, blocs de code) via --code.
   · Arabe : Noto Sans Arabic reste en tête.
   · Fichiers : assets/fonts/kheweul/inter.woff2 (latin, 48 Ko) et inter-ext.woff2 (latin étendu, chargé seulement
     si un caractère l'exige). Police variable 400 → 800.
   Retour : retirer cette feuille ; les anciennes polices sont toujours déclarées.
   ============================================================================= */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../../../assets/fonts/kheweul/inter.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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../../../assets/fonts/kheweul/inter-ext.woff2") format("woff2");
  /* Lot POIDS (16/10/2026) : plage SANS les 7 caractères déjà dans inter.woff2 (ı, Œ, œ, 3 diacritiques, †). Un caractère
     couvert par les deux fichiers fait télécharger le dernier déclaré : le « œ » de « coup d'œil » coûtait 84 Ko à l'accueil. */
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Repli aux mêmes mesures qu'Inter pendant le chargement : la page ne saute pas quand la police arrive. */
@font-face { font-family: "Inter repli"; src: local("Arial"), local("ArialMT"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; }

html body.kw-ds, html body.kw-client, html body #kw-checkout:is(#kw-checkout), html body #kw-cart:is(#kw-cart), html body #order-standard_cart:is(#order-standard_cart) {
  --corps: "Inter", "Inter repli", system-ui, sans-serif;
  --titre: "Inter", "Inter repli", system-ui, sans-serif;
  --mono: "Inter", "Inter repli", system-ui, sans-serif;
  --code: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
html body.kw-ds.kw-rtl, html body.kw-client.kw-rtl, html body.kw-rtl #kw-checkout:is(#kw-checkout), html body.kw-rtl #kw-cart:is(#kw-cart), html body.kw-rtl #order-standard_cart:is(#order-standard_cart) {
  --corps: "Noto Sans Arabic", "Inter", "Inter repli", system-ui, sans-serif;
  --titre: "Noto Sans Arabic", "Inter", "Inter repli", system-ui, sans-serif;
  --mono: "Noto Sans Arabic", "Inter", "Inter repli", system-ui, sans-serif;
}

/* Valeurs techniques : chasse fixe gardée (on y compare des caractères un à un). */
html body.kw-client .kw-dd-page code, html body.kw-client .kw-dd-page .kw-dd-ns-input, html body.kw-client #kwEppCodeDisplay,
html body.kw-ds code, html body.kw-ds pre, html body.kw-ds kbd { font-family: var(--code); }

/* Inter est plus large qu'Archivo étroit à graisse égale : titres resserrés d'un cran. */
html body.kw-ds :is(h1, h2), html body.kw-client :is(h1, h2) { letter-spacing: -0.022em; }
/* Espace client : chiffres de même largeur (montants, dates et échéances s'alignent en colonne). */
html body.kw-client { font-variant-numeric: tabular-nums; }
