/* Teeshoop, direction F (03/11/2026, « Le Cordeau » avant elle) : les composants partagés, une racine
   de classe chacun. Le dessin de chaque composant et de ses états est celui de la maquette F
   (docs/design/refonte/maquette/f/structure.css), décrit dans docs/design/refonte/DESIGN.md §3.
   Règles tenues partout ici :
   - rien ne bouge au survol sauf le contraste (couleur, bord, épaisseur de trait), en --d-survol ;
   - tout mouvement passe par transform, translate, scale, opacity ou clip-path, et par les jetons de durée,
     si bien que le mouvement réduit donne l'état final dès la première image ;
   - un SVG ne reçoit jamais la propriété translate animée (non composée, mesuré) : transform ou opacité ;
   - [data-force~="survol"|"focus"|"appui"] reproduit un état d'interaction pour la galerie des composants,
     avec les règles mêmes du composant, pour qu'elle ne puisse pas mentir sur lui.
   Un numéro de section est une adresse, que d'autres fichiers citent (motion.js, inc/chrome.php,
   pages/consentement.css, scripts/lib/cordeau-svg.mjs) : une section retirée laisse son numéro vide
   plutôt que de décaler les suivantes. */

/* =====================================================================================================
   0. En-tête et 1. Pied de page : déplacés dans chrome.css le 17/11/2026, sous les mêmes numéros. La
   feuille est chargée juste après celle-ci sur chaque page (functions.php, assets()).
   ===================================================================================================== */

/* =====================================================================================================
   2. Bouton
   ===================================================================================================== */
/* Fil (16/11/2026, planche 02, « Boutons » ; Fil 2.0 et proto.css, « Survols ») : une pilule de 52 px,
   Nunito 800 à 16 px, et des rôles. Le principal est le violet de la marque, en dégradé, blanc dessus
   (5,53:1 en haut, 6,90:1 en bas), son ombre violette : un seul par écran. L'encre est le bouton plein
   par défaut. L'orange (encre dessus, 8,55:1) appelle un devis ou une offre. Le second est un contour de
   la couleur du texte à 50 % (3,75:1 sur blanc), le blanc sert sur un fond de couleur.
   LE SURVOL : le bouton se soulève de 2 px, un reflet le balaie de gauche à droite et la flèche avance
   de 4 px ; à l'appui il se pose (scale .98). Que du transform et de l'opacité, rien d'autre ne bouge
   autour ; en mouvement réduit, ni levée ni reflet.
   LA FLÈCHE OCCUPE SA PLACE EN PERMANENCE. Elle suit tout lien et le principal ; un bouton qui ne mène
   nulle part (ajouter, enregistrer) ne la porte que s'il la demande (data-fleche).
   ÉCRIT DANS CET ORDRE EXPRÈS : .btn--orange avant .btn--principal. Les gabarits d'avant écrivent
   « btn--orange btn--principal » pour l'action principale ; c'est le violet qui doit gagner. */
.btn {
  --btn-fond: var(--encre);
  --btn-image: none;
  --btn-texte: var(--blanc);
  --btn-bord: transparent;
  --btn-ombre: var(--sh-encre);
  --btn-fond-survol: var(--violet-900);
  --btn-image-survol: none;
  --btn-bord-survol: transparent;
  --btn-ombre-survol: var(--sh-encre);
  --btn-fond-appui: var(--violet-900);
  --btn-reflet: var(--balaye);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 3.25rem;
  max-width: 100%;
  padding: .625rem 1.625rem;
  border: 1.5px solid var(--btn-bord);
  border-radius: var(--pill);
  background: var(--btn-image), var(--btn-fond);
  color: var(--btn-texte);
  box-shadow: var(--btn-ombre);
  font: 800 1rem / 1.2 var(--f);
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color var(--d-survol) linear, border-color var(--d-survol) linear, color var(--d-survol) linear, box-shadow var(--d-leve) var(--ease), transform var(--d-leve) var(--ease);
}
/* Le reflet : une bande claire inclinée, hors du bouton à gauche, qui le traverse au survol. */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, var(--btn-reflet) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform var(--d-reflet) var(--ease);
  pointer-events: none;
}
.btn:is(:hover, [data-force~="survol"]) {
  background: var(--btn-image-survol), var(--btn-fond-survol);
  border-color: var(--btn-bord-survol);
  box-shadow: var(--btn-ombre-survol);
  transform: translateY(-2px);
}
.btn:is(:hover, [data-force~="survol"])::before { transform: translateX(120%); }
.btn:is(:focus-visible, [data-force~="focus"]) { box-shadow: 0 0 0 var(--focus-ecart) var(--focus-lisere), var(--btn-ombre); }
.btn:is(:focus-visible, [data-force~="focus"]):is(:hover, [data-force~="survol"]) { box-shadow: 0 0 0 var(--focus-ecart) var(--focus-lisere), var(--btn-ombre-survol); }
.btn:is(:active, [data-force~="appui"]) { background: var(--btn-fond-appui); transform: translateY(0) scale(.98); transition-duration: var(--d-appui); }
.btn--orange {
  --btn-fond: var(--orange);
  --btn-texte: var(--encre);
  --btn-ombre: var(--sh-orange), var(--reflet-fort);
  --btn-fond-survol: var(--orange-survol);
  --btn-ombre-survol: var(--sh-orange), var(--reflet-fort);
  --btn-fond-appui: var(--orange);
}
.btn--principal,
.btn--violet {
  --btn-fond: var(--violet);
  --btn-image: linear-gradient(180deg, var(--violet-haut) 0%, var(--violet-bas) 100%);
  --btn-texte: var(--blanc);
  --btn-ombre: var(--sh-v), var(--reflet);
  --btn-fond-survol: var(--violet-700);
  --btn-image-survol: linear-gradient(180deg, var(--violet-survol) 0%, var(--violet-700) 100%);
  --btn-ombre-survol: var(--sh-v-survol), var(--reflet);
  --btn-fond-appui: var(--violet-700);
}
.btn--ink {
  --btn-fond: var(--encre);
  --btn-texte: var(--blanc);
}
.btn--plein,
.btn--block { width: 100%; }
.btn--petit,
.btn--sm { min-height: 2.625rem; padding: .4375rem 1.125rem; gap: .5rem; font-size: var(--t-1); }
.btn--grand,
.btn--lg { min-height: 3.75rem; padding: .875rem 2rem; font-size: 1.125rem; }
@media (max-width: 47.99rem) {
  .btn { min-height: 3.125rem; }
  .btn:is(.btn--petit, .btn--sm) { min-height: 2.625rem; }
  .btn:is(.btn--grand, .btn--lg) { min-height: 3.5rem; font-size: 1.0625rem; }
}
/* Le second : un contour de la couleur du texte, à 50 % (3,75:1 sur blanc, 5,43:1 en blanc sur la
   nuit), plein au survol avec un lavis de 7 %. Il suit la surface où il est posé. */
.btn--secondaire,
.btn--line {
  --btn-fond: transparent;
  --btn-texte: var(--encre);
  --btn-bord: color-mix(in srgb, currentColor 50%, transparent);
  --btn-ombre: none;
  --btn-fond-survol: color-mix(in srgb, currentColor 7%, transparent);
  --btn-bord-survol: currentColor;
  --btn-ombre-survol: var(--sh-leve);
  --btn-fond-appui: color-mix(in srgb, currentColor 12%, transparent);
  --btn-reflet: color-mix(in srgb, currentColor 12%, transparent);
}
.btn--white {
  --btn-fond: var(--blanc);
  --btn-texte: var(--encre);
  --btn-ombre: var(--sh-1);
  --btn-fond-survol: var(--lilas);
  --btn-ombre-survol: var(--sh-leve);
  --btn-fond-appui: var(--lilas);
  --btn-reflet: color-mix(in srgb, currentColor 12%, transparent);
}
/* Sur la nuit : le second garde son contour, en blanc. Le principal reste violet (blanc dessus). */
.btn--sur-marine,
:is(.nuit, .s-nuit, .bande-marine, .s-violet) .btn--secondaire {
  --btn-texte: var(--sur-nuit);
}
.btn--wa {
  --btn-fond: var(--wa);
  --btn-texte: var(--wa-ink);
  --btn-ombre: var(--sh-wa), var(--reflet-fort);
  --btn-fond-survol: var(--wa-2);
  --btn-ombre-survol: var(--sh-wa), var(--reflet-fort);
  --btn-fond-appui: var(--wa-2);
}
.btn--discret {
  --btn-fond: transparent;
  --btn-texte: var(--encre);
  --btn-bord: transparent;
  --btn-ombre: none;
  --btn-fond-survol: transparent;
  --btn-bord-survol: transparent;
  --btn-ombre-survol: none;
  --btn-fond-appui: transparent;
  min-height: var(--cible-min);
  padding-inline: var(--esp-1);
  font: 600 var(--t0) / 1.3 var(--f-texte);
  text-decoration: underline 1.5px color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 4px;
}
.btn--discret::before { content: none; }
.btn--discret:is(:hover, [data-force~="survol"]) { transform: none; text-decoration-color: var(--orange); }
:is(.nuit, .s-nuit, .bande-marine, .statut, .pied, .s-violet) .btn--discret { --btn-texte: var(--sur-nuit); }
.btn--destructif {
  --btn-fond: var(--blanc);
  --btn-texte: var(--err);
  --btn-bord: var(--champ);
  --btn-ombre: none;
  --btn-fond-survol: var(--err-bg);
  --btn-bord-survol: var(--err);
  --btn-ombre-survol: none;
  --btn-fond-appui: var(--err-bg);
  --btn-reflet: transparent;
}
.btn--discret.btn--destructif { --btn-fond: transparent; --btn-bord: transparent; --btn-fond-survol: transparent; --btn-bord-survol: transparent; }
/* [data-sans-fleche] sits inside the link's :not() because a later `content: none` cannot win there:
   a.btn:not(…)::after weighs 0,2,2 and .btn[data-sans-fleche]::after 0,2,1, so every link-button kept
   its arrow and nine page sheets redid the rule under their own scope. Excluded here, it never
   matches, at no change of weight for the links it does draw. */
.btn--principal::after,
.btn--orange::after,
a.btn:not(.btn--discret, .btn--destructif, [data-sans-fleche])::after,
.btn[data-fleche]::after {
  content: "";
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  background: currentColor;
  -webkit-mask: var(--fleche) center / contain no-repeat;
  mask: var(--fleche) center / contain no-repeat;
  transition: transform var(--d-fleche) var(--ease);
}
.btn:is(.btn--petit, .btn--sm)::after { width: 1rem; height: 1rem; }
.btn:is(:hover, [data-force~="survol"])::after { transform: translateX(4px); }
.btn[data-sans-fleche]::after { content: none; }
.btn > svg { flex: none; width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--d-fleche) var(--ease); }
.btn:is(:hover, [data-force~="survol"]) > svg:last-child:not(:first-child) { transform: translateX(4px); }
/* Désactivé : lisible (le gris sur son fond, 6,43:1), jamais seulement grisé, sa raison est écrite à
   côté, sans flèche, sans levée ni reflet.
   `.disabled` : la classe que le script des déclinaisons de WooCommerce pose tant qu'aucun article
   n'est choisi (le bouton reste cliquable et le script dit quoi choisir). */
.btn:is(:disabled, [aria-disabled="true"], .single_add_to_cart_button.disabled) {
  --btn-fond: var(--desactive);
  --btn-image: none;
  --btn-fond-survol: var(--desactive);
  --btn-image-survol: none;
  --btn-fond-appui: var(--desactive);
  --btn-texte: var(--gris);
  --btn-bord: transparent;
  --btn-bord-survol: transparent;
  --btn-ombre: inset 0 0 0 1px var(--ligne-2);
  --btn-ombre-survol: inset 0 0 0 1px var(--ligne-2);
  cursor: not-allowed;
  transform: none;
}
.btn:is(:disabled, [aria-disabled="true"], .single_add_to_cart_button.disabled)::before,
.btn:is(:disabled, [aria-disabled="true"], .single_add_to_cart_button.disabled)::after { content: none; }
.btn--discret:is(:disabled, [aria-disabled="true"]) { --btn-fond: transparent; --btn-fond-survol: transparent; --btn-ombre: none; --btn-ombre-survol: none; text-decoration: none; }
/* Occupé : le libellé reste, aucune roue ; il ne s'estompe qu'après 200 ms d'attente */
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"] > :is(.btn__libelle, .btn__libelles) { opacity: .62; transition: opacity var(--d-entree) linear var(--d-delai-attente); }
@media (prefers-reduced-motion: reduce) {
  .btn::before { content: none; }
  .btn:is(:hover, :active) { transform: none; }
}
:root[data-mouvement="reduit"] .btn::before { content: none; }
:root[data-mouvement="reduit"] .btn:is(:hover, :active) { transform: none; }
.raison { display: block; margin-block-start: var(--esp-2); color: var(--gris); font-size: var(--t-1); }

/* Bouton icône (l'.iconbtn de Fil) : 44 px, une pilule ; le fond se teinte de brume au survol et
   l'icône monte de 2 px. Son nom accessible est toujours écrit (aria-label ou texte masqué). Le bord
   reste, à --champ (3,27:1), là où l'icône seule ne dirait pas qu'il se presse. */
.btn-icone {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1.5px solid var(--champ);
  border-radius: var(--pill);
  background: var(--papier);
  color: var(--encre);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--d-survol) linear, border-color var(--d-survol) linear;
}
.btn-icone:is(:hover, [data-force~="survol"]) { border-color: var(--encre); background: var(--brume); }
.btn-icone > svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--d-leve) var(--ease); }
.btn-icone:is(:hover, [data-force~="survol"]) > svg { transform: translateY(-2px); }
.btn-icone:is(:disabled, [aria-disabled="true"]) { color: var(--gris); background: var(--desactive); border-color: var(--ligne-2); cursor: not-allowed; }
.btn-icone:is(:disabled, [aria-disabled="true"]) > svg { transform: none; }

/* Le lien fort (le .link.arrow de Fil) : Nunito Sans 600, le trait fin puis l'orange qui se dessine
   (base.css), la flèche qui avance de 5 px. Pour « Voir tout », « Comparer », jamais pour une action. */
.lien-fort {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.5rem;
  color: var(--encre);
  font-weight: 700;
  text-decoration: none;
  background-image: linear-gradient(var(--trait-survol, var(--orange)), var(--trait-survol, var(--orange))), linear-gradient(color-mix(in srgb, currentColor 30%, transparent), color-mix(in srgb, currentColor 30%, transparent));
  background-size: 0% 2px, 100% 1.5px;
  background-position: 0 calc(100% - .5rem), 0 calc(100% - .5rem);
  background-repeat: no-repeat;
  transition: background-size var(--d-trait) var(--ease);
}
.lien-fort:is(:hover, :focus-visible, [data-force~="survol"]) { background-size: 100% 2px, 100% 1.5px; }
.lien-fort::after { content: ""; flex: none; width: 1rem; height: 1rem; background: currentColor; -webkit-mask: var(--fleche) center / contain no-repeat; mask: var(--fleche) center / contain no-repeat; transition: transform var(--d-fleche) var(--ease); }
.lien-fort:is(:hover, [data-force~="survol"])::after { transform: translateX(5px); }

/* Libellés qui partagent une cellule : la largeur du plus long est réservée, rien ne bouge autour.
   button[data-libelle="fait"] montre le second ; le changement roule (sortie 180 ms, entrée 240 ms). */
.btn__libelles { display: inline-grid; overflow: clip; overflow-clip-margin: 2px; white-space: nowrap; }
.btn__libelles > * { grid-area: 1 / 1; }
.btn:not([data-libelle="fait"]) .btn__libelle--fait,
.btn[data-libelle="fait"] .btn__libelle:not(.btn__libelle--fait) { visibility: hidden; }
.btn[data-libelle="fait"] .btn__libelle:not(.btn__libelle--fait) { animation: libelle-sort var(--d-sortie) var(--courbe-sortie); }
.btn[data-libelle="fait"] .btn__libelle--fait { animation: libelle-entre var(--d-entree) var(--courbe-geste); }
.btn[data-libelle="repos"] .btn__libelle--fait { animation: libelle-sort var(--d-sortie) var(--courbe-sortie); }
.btn[data-libelle="repos"] .btn__libelle:not(.btn__libelle--fait) { animation: libelle-entre var(--d-entree) var(--courbe-geste); }
@keyframes libelle-sort { from { visibility: visible; translate: 0 0; opacity: 1; } to { visibility: visible; translate: 0 -100%; opacity: 0; } }
@keyframes libelle-entre { from { translate: 0 100%; opacity: 0; } }

/* =====================================================================================================
   3. Champ
   ===================================================================================================== */
.champ { display: grid; gap: .375rem; align-content: start; min-width: 0; }
.champ__etiquette { font: 600 .9375rem / 1.35 var(--f-texte); }
.champ__mention { color: var(--gris); font-weight: 400; }
/* Un champ (planche 02, « Formulaires » ; Fil 2.0 et révision 3) : 52 px, bord de 1,5 px en --champ
   (3,27:1 sur blanc, la limite de 3:1 d'un contrôle), 12 px de rayon, Nunito Sans 400. Au focus le bord
   passe au violet (6,37:1) et l'anneau doux de Fil l'entoure, hors du bord : la saisie ne bouge pas d'un
   pixel. En erreur, le bord et un lavis rouges, et le message lié au champ par aria-describedby. */
.champ__saisie {
  width: 100%;
  min-height: 3.25rem;
  padding: .625rem 1rem;
  border: 1.5px solid var(--champ);
  border-radius: var(--r-champ);
  background: var(--blanc);
  color: var(--encre);
  font: 400 max(16px, var(--t0)) / 1.4 var(--f-texte);
  transition: border-color var(--d-survol) linear, box-shadow var(--d-survol) linear, background-color var(--d-survol) linear;
  -webkit-appearance: none;
  appearance: none;
}
.champ__saisie::placeholder { color: var(--indice); opacity: 1; }
.champ__saisie:is(:hover, [data-force~="survol"]):not(:disabled, :focus) { border-color: var(--champ-survol); }
.champ__saisie:is(:focus-visible, :focus, [data-force~="focus"]) { outline: 0; border-color: var(--violet); box-shadow: var(--ring); }
.champ__saisie[aria-invalid="true"] { border-color: var(--err); background-color: var(--err-champ); box-shadow: var(--ring-err); }
.champ__saisie[aria-invalid="true"]:is(:focus-visible, :focus) { border-color: var(--err); box-shadow: var(--ring-err), 0 0 0 1.5px var(--err); }
.champ__saisie:read-only:not(select) { border-color: transparent; background: var(--brume); }
.champ__saisie:disabled { border-color: var(--ligne-2); background: var(--desactive); color: var(--gris); cursor: not-allowed; }
.champ__saisie--chiffres { font-variant-numeric: tabular-nums; }
textarea.champ__saisie { min-height: 8.75rem; padding: .875rem 1rem; resize: vertical; }
select.champ__saisie {
  padding-inline-end: 2.75rem;
  background: var(--blanc) var(--chevron) no-repeat right 1rem center / 1rem;
}
select.champ__saisie[aria-invalid="true"] { background-color: var(--err-champ); }
/* La recherche : un champ pilule et son bouton accolé. */
.champ__groupe { position: relative; display: flex; align-items: center; }
.champ__groupe .champ__saisie { padding-inline-end: 3rem; }
.champ__unite { position: absolute; inset-inline-end: 1rem; color: var(--gris); pointer-events: none; }
.champ__aide { color: var(--gris); font-size: .84375rem; line-height: 1.45; }
.champ__erreur { display: flex; gap: .5rem; color: var(--err); font-size: var(--t-1); line-height: 1.45; font-weight: 700; }
.champ__erreur:empty { display: none; }

/* =====================================================================================================
   4. Choix : cases et boutons radio natifs, groupe segmenté
   ===================================================================================================== */
.choix { display: inline-flex; align-items: flex-start; gap: var(--esp-3); min-height: var(--cible-min); padding-block: .6875rem; cursor: pointer; line-height: 1.4; }
.choix > input:is([type="checkbox"], [type="radio"]) {
  flex: none;
  display: grid;
  place-content: center;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0;
  border: 1.5px solid var(--champ);
  border-radius: var(--r-case);
  background: var(--papier) center / 14px 14px no-repeat;
  cursor: pointer;
  transition: background-color var(--d-survol) linear, border-color var(--d-survol) linear;
  -webkit-appearance: none;
  appearance: none;
}
.choix > input[type="radio"] { border-radius: 50%; background-size: 100% 100%; }
/* Coché : le violet de la marque (la case de Fil, accent-color violet), la coche blanche (6,37:1). */
.choix:is(:hover, [data-force~="survol"]) > input:not(:disabled, :checked) { border-color: var(--violet); }
.choix:is(:hover, [data-force~="survol"]) { color: var(--violet-900); }
.choix > input:checked { border-color: var(--violet); background-color: var(--violet); }
.choix > input[type="checkbox"]:checked { background-image: var(--coche); }
.choix > input[type="radio"]:checked { background-image: radial-gradient(circle, var(--blanc) 0 4px, transparent 4.5px); }
.choix > input:disabled { border-color: var(--ligne-2); background-color: var(--desactive); cursor: not-allowed; }
.choix:has(> input:disabled) { cursor: not-allowed; color: var(--gris); }
.choix__texte { display: grid; gap: 2px; }
.choix__compte { color: var(--gris); font-variant-numeric: tabular-nums; }

/* Segmenté : « 1. Créer », « 2. Choisir » */
/* Le .seg de Fil : une pilule de brume au contour de la couleur du texte à 40 %, le choix plein d'encre. */
.choix--segmente { display: inline-flex; gap: 2px; min-height: 0; padding: 3px; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: var(--pill); background: color-mix(in srgb, currentColor 6%, transparent); cursor: auto; }
.choix__segment { position: relative; display: inline-flex; align-items: center; min-height: 2.375rem; padding: 0 var(--esp-4); border-radius: var(--pill); color: var(--gris); font: 800 .875rem / 1.2 var(--f); white-space: nowrap; cursor: pointer; transition: background-color var(--d-survol) linear, color var(--d-survol) linear; }
.choix__segment > input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choix__segment:is(:hover, [data-force~="survol"]) { color: var(--encre); }
.choix__segment:has(> input:checked) { background: var(--encre); color: var(--papier); }
/* Dans un conteneur qui rogne, l'anneau se dessine à l'intérieur, de la couleur du texte (proto.css). */
.choix__segment:has(> input:is(:focus-visible, [data-force~="focus"])) { outline: 3px solid currentColor; outline-offset: -5px; }
.choix__segment:has(> input:disabled) { color: var(--champ); cursor: not-allowed; }

/* Groupe de tailles (la fiche, fiche-zones.php) : fieldset.tailles > label.tailles__choix
   (input radio, .tailles__nom « M », .tailles__cm « 30,5 »). Le .tz de Fil (planche 05) : une pilule de
   brume, et une pastille blanche qui glisse sous la taille cochée (ressort-interface), sa mesure en
   violet ; le groupe est un radiogroup natif, les flèches le parcourent. */
.tailles {
  --i: 0;
  --n: 6;
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 4px;
  border: 0;
  border-radius: var(--pill);
  background: var(--brume);
}
.tailles::after {
  content: "";
  position: absolute;
  inset: 4px auto 4px 4px;
  z-index: 0;
  width: calc((100% - 8px - (var(--n) - 1) * 4px) / var(--n));
  border-radius: var(--pill);
  background: var(--blanc);
  box-shadow: var(--sh-1);
  translate: calc(var(--i) * (100% + 4px)) 0;
  transition: translate var(--d-ressort-interface) var(--ressort-critique);
}
.tailles:not(:has(input:checked))::after { opacity: 0; }
.tailles:not(:has(> label:nth-of-type(6))) { --n: 5; }
.tailles:not(:has(> label:nth-of-type(5))) { --n: 4; }
.tailles:not(:has(> label:nth-of-type(4))) { --n: 3; }
.tailles:has(> label:nth-of-type(7)) { --n: 7; }
.tailles:has(> label:nth-of-type(8)) { --n: 8; }
.tailles:has(> label:nth-of-type(2) input:checked) { --i: 1; }
.tailles:has(> label:nth-of-type(3) input:checked) { --i: 2; }
.tailles:has(> label:nth-of-type(4) input:checked) { --i: 3; }
.tailles:has(> label:nth-of-type(5) input:checked) { --i: 4; }
.tailles:has(> label:nth-of-type(6) input:checked) { --i: 5; }
.tailles:has(> label:nth-of-type(7) input:checked) { --i: 6; }
.tailles:has(> label:nth-of-type(8) input:checked) { --i: 7; }
.tailles__choix {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1px;
  z-index: 1;
  min-height: 3.625rem;
  padding: var(--esp-2) 2px;
  border-radius: var(--pill);
  color: var(--gris);
  cursor: pointer;
  transition: color var(--d-survol) linear;
}
.tailles__choix > input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.tailles__nom { color: var(--encre); font: 800 1rem / 1.25 var(--f); }
.tailles__cm { font-size: var(--t-petit-taille); line-height: 1.2; font-variant-numeric: tabular-nums; }
.tailles__choix:is(:hover, [data-force~="survol"]) { color: var(--encre); }
.tailles__choix:has(> input:checked) { color: var(--encre); }
.tailles__choix:has(> input:checked) .tailles__cm { color: var(--violet); }
.tailles__choix:has(> input:is(:focus-visible, [data-force~="focus"])) { outline: 3px solid var(--violet); outline-offset: -3px; box-shadow: none; }
.tailles__choix > input[data-force~="focus"] { outline: none; box-shadow: none; }
.tailles__choix:has(> input:disabled) { color: var(--gris); background: none; cursor: not-allowed; }
.tailles__choix:has(> input:disabled) .tailles__nom { color: var(--gris); text-decoration: line-through 1px; }

/* =====================================================================================================
   Pastilles de coloris : la teinte mesurée, le nom du fabricant au survol et en étiquette lisible
   ===================================================================================================== */
.pastilles-coloris { position: relative; display: flex; flex-wrap: wrap; gap: 2px; padding-block-end: 1.75rem; }
.pastille-coloris { position: relative; display: grid; place-items: center; width: var(--cible-min); height: var(--cible-min); cursor: pointer; }
.pastille-coloris > input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pastilles-coloris .pastille-coloris > input { position: relative; grid-area: 1 / 1; }
.pastilles-coloris .pastille-coloris__puce { grid-area: 1 / 1; pointer-events: none; }
.pastille-coloris__puce {
  width: 2rem;
  height: 2rem;
  border-radius: var(--r-rond);
  background: var(--teinte, var(--brume));
  box-shadow: inset 0 0 0 1px var(--contour-teinte);
  transition: box-shadow var(--d-survol) linear;
}
/* La pastille de Fil (.sw) : un contour d'encre à 28 % dedans, et cochée un liseré blanc puis un
   anneau d'encre de 2 px (19,03:1 sur blanc). */
.pastille-coloris:is(:hover, [data-force~="survol"]) .pastille-coloris__puce { box-shadow: inset 0 0 0 1px var(--contour-teinte), 0 0 0 3px var(--papier), 0 0 0 4px var(--champ); }
.pastille-coloris:has(> input:checked) .pastille-coloris__puce { box-shadow: inset 0 0 0 1px var(--contour-teinte), 0 0 0 3px var(--papier), 0 0 0 5px var(--encre); }
.pastille-coloris:has(> input:is(:focus-visible, [data-force~="focus"])) { outline: var(--focus-anneau); outline-offset: -1px; border-radius: 50%; }
.pastille-coloris--non-mesure .pastille-coloris__puce {
  background: repeating-linear-gradient(45deg, var(--champ) 0 1px, var(--papier) 1px 6px);
}
.pastille-coloris:has(> input:disabled) { cursor: not-allowed; }
.pastille-coloris:has(> input:disabled) .pastille-coloris__puce { opacity: .5; background-image: linear-gradient(135deg, transparent calc(50% - .75px), var(--encre) calc(50% - .75px) calc(50% + .75px), transparent calc(50% + .75px)); }
.pastille-coloris__nom {
  position: absolute;
  inset: auto auto 0 0;
  color: var(--encre);
  font-size: var(--t-petit-taille);
  white-space: nowrap;
  visibility: hidden;
  pointer-events: none;
}
/* Dans un groupe, le nom prend une ligne réservée sous les pastilles : il ne recouvre jamais rien (1.4.13) */
.pastilles-coloris .pastille-coloris { position: static; }
.pastilles-coloris .pastille-coloris > input { width: var(--cible-min); height: var(--cible-min); inset: auto; }
.pastilles-coloris .pastille-coloris__nom { inset: auto auto 0 2px; }
.pastilles-coloris:not(:has(.pastille-coloris:is(:hover, [data-force~="survol"]))) .pastille-coloris:has(> input:checked) .pastille-coloris__nom,
.pastilles-coloris .pastille-coloris:is(:hover, [data-force~="survol"]) .pastille-coloris__nom { visibility: visible; }
.pastille-coloris__nom-mention { color: var(--gris); }
/* Le nom du fabricant suit le nom français (réponse 44), en second plan : c'est celui de l'étiquette */
.pastille-coloris__fabricant { color: var(--gris); }

/* =====================================================================================================
   5. Pas-à-pas
   ===================================================================================================== */
/* Le .qty de Fil : une pilule bordée, ses deux boutons de 44 px qui se teintent de brume. La maquette
   le borde de --trait (2,14:1) ; il garde --champ (3,27:1), la limite d'un contrôle (WCAG 1.4.11). */
.pas-a-pas {
  display: inline-grid;
  justify-self: start;
  grid-template-columns: var(--cible-min) minmax(3rem, 4rem) var(--cible-min);
  align-items: stretch;
  border: 1.5px solid var(--champ);
  border-radius: var(--pill);
  background: var(--papier);
  transition: border-color var(--d-survol) linear;
}
.pas-a-pas:has(:focus-visible) { border-color: var(--violet); }
.pas-a-pas__bouton {
  display: grid;
  place-items: center;
  min-height: var(--cible-min);
  padding: 0;
  border: 0;
  background: none;
  color: var(--encre);
  font: 900 1.125rem / 1 var(--f);
  transition: background-color var(--d-survol) linear, color var(--d-survol) linear;
}
.pas-a-pas__bouton:first-child { border-radius: var(--pilule) 0 0 var(--pilule); }
.pas-a-pas__bouton:last-child { border-radius: 0 var(--pilule) var(--pilule) 0; }
.pas-a-pas__bouton:is(:hover, [data-force~="survol"]) { background: var(--brume); }
.pas-a-pas__bouton:focus-visible { outline: 3px solid var(--violet); outline-offset: -4px; }
.pas-a-pas__bouton:is(:disabled, [aria-disabled="true"]) { color: var(--champ); background: none; cursor: not-allowed; }
.pas-a-pas__valeur {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-inline: 1px solid var(--ligne);
  background: none;
  color: var(--encre);
  font: 900 max(16px, var(--t0)) / 1 var(--f);
  font-variant-numeric: tabular-nums;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.pas-a-pas__valeur::-webkit-inner-spin-button,
.pas-a-pas__valeur::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pas-a-pas__valeur:focus-visible { outline: 3px solid var(--violet); outline-offset: -4px; box-shadow: none; }
.pas-a-pas--compact { grid-template-columns: 2.25rem minmax(2.5rem, 3rem) 2.25rem; }
.pas-a-pas--compact .pas-a-pas__bouton { min-height: 2.25rem; }

/* =====================================================================================================
   6. Carte produit : une tuile photo, des faits, le nom pour lien ; le cœur et le devis au-dessus
   ===================================================================================================== */
/* Le .pc de Fil (planche 03, « Cartes-etats ») : la plaque teintée, l'étiquette et le cœur posés dessus, la
   marque en petites capitales, le nom en 800, une rangée de faits en gris, la zone, puis le prix en bas de
   carte, sans filet. */
/* THE CARD IS A GRID WITH A SPRING ROW. Its rows are named by what they hold, so an absent fact leaves an
   empty row of no height; the seventh row takes what is left of the cell, which puts every price of a
   row of cards on the same line (the board), whatever the length of the names above. The card is also a
   size container: the colours and the weight share a line when the card is wide enough, and the long
   label of the tag shows only where it fits beside the heart, at any page width and in any list. */
.carte {
  container-type: inline-size;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  grid-template-rows: auto auto auto auto auto auto 1fr auto auto;
  column-gap: .75rem;
  min-width: 0;
  color: var(--encre);
  text-decoration: none;
  border-radius: var(--r-1);
}
.carte > :is(.carte__photo, .carte__marque, .carte__nom, .carte__faits, .carte__zone, .carte__prix, .carte__devis, .carte__perso) { grid-column: 1 / -1; }
.carte:is(:focus-visible, [data-force~="focus"]) { outline-offset: 4px; box-shadow: none; }
/* LA PLAQUE DE FIL (#F3EFF6, --plaque), POSÉE EN MULTIPLY PAR-DESSUS LES PHOTOGRAPHIES et non sous elles.
   Les vues de la boutique et les JPEG du fournisseur sont sur blanc : un multiply de l'image sur la plaque
   les y fond, mais la suite des photos (plus bas) se pose SUR la première, et une image fondue laisserait
   voir l'autre au travers. Le voile multiplie tout ce qui est dessous, une fois : le blanc devient la
   plaque, le vêtement garde sa couleur à 6,3 % près (le vert, 1 - 0xEF/255 ; le rouge 4,7 %, le bleu
   3,5 %), et l'image montrée couvre toujours la précédente. */
.carte__photo {
  grid-row: 1;
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  margin-block-end: .875rem;
  border-radius: var(--r-photo);
  background: var(--blanc);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow var(--d-leve) var(--ease);
}
.carte__photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--plaque); mix-blend-mode: multiply; pointer-events: none; }
/* LE SURVOL N'EXISTE QUE SOUS UN POINTEUR QUI SURVOLE (CAT-07). Au doigt, :hover reste collé à la carte
   touchée : un appui sur le cœur agrandissait les photos de la bande, chacune autour de son centre, et
   3,33 px de la suivante paraissaient au bord droit (mesuré à 375 px sur /categorie/polos/, le nom resté
   souligné jusqu'au toucher suivant). La galerie des composants force l'état par [data-force]. */
.carte[data-force~="survol"] .carte__photo { box-shadow: var(--sh-2); }
.carte__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform var(--d-fleche) var(--ease); }
.carte[data-force~="survol"] .carte__photo:not(.carte__photo--defile) img { transform: scale(1.04); }
@media (hover: hover) and (pointer: fine) {
  .carte:hover .carte__photo { box-shadow: var(--sh-2); }
  .carte:hover .carte__photo:not(.carte__photo--defile) img { transform: scale(1.04); }
  .carte:hover .carte__nom a { text-decoration: underline 2px var(--orange); text-underline-offset: .2em; }
}
/* « Sans photo » : la plaque nue, le mot au milieu, sans voile (il la doublerait). */
.carte__photo--vide { background: var(--plaque); color: var(--gris); font: 700 var(--t-1) / 1.3 var(--f-texte); padding: var(--esp-4); text-align: center; }
.carte__photo--vide::after { content: none; }
/* LES AUTRES PHOTOGRAPHIES (data-suite, ds/cartes.js). Sous une souris, posées sur la première, sur un blanc
   qui la couvre toute, et montrées sans fondu : la bande que le pointeur traverse dit laquelle. Au doigt,
   une bande qui défile d'une image à l'autre, au-dessus du lien étiré du nom pour recevoir le geste ; elle
   est elle-même un lien vers la fiche, si bien qu'un appui ouvre le produit comme ailleurs sur la carte. */
.carte__photo .carte__suite { background: var(--blanc); opacity: 0; }
.carte__photo .carte__suite.carte__montree { opacity: 1; }
/* La photographie portée est une photo sur son propre fond, posée par la vue dans un carré blanc : en contain,
   elle flottait en boîte grise dans la plaque (revue du 16/11/2026, 14 cartes sur 47). En cover, elle couvre
   98 % de la plaque au lieu de 69 % (médiane de 21 portées mesurées) ; la coupe, 10 % du carré de chaque
   côté, tombe sur le blanc ajouté autour d'un portrait. */
.carte__photo .carte__portee { object-fit: cover; }
.carte__photo--defile { z-index: 2; }
.carte__defile { position: absolute; inset: 0; display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carte__defile::-webkit-scrollbar { display: none; }
.carte__photo .carte__defile img { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
/* Les repères : un trait par image, en bas de la plaque, qui ne paraît que sous le pointeur ; des points au
   doigt, toujours là puisque rien d'autre ne dit qu'il y a une suite. Aucun ne se touche. Au-dessus du voile. */
.carte__reperes { position: absolute; inset: auto .75rem .625rem; z-index: 2; display: flex; gap: 3px; pointer-events: none; opacity: 0; transition: opacity var(--d-survol) linear; }
/* Un liseré blanc : la portée remplit la plaque, et ses repères tombent sur la photo, souvent sombre, où le
   trait et le point d'encre disparaissaient (relevé à 375 px sur 28480, porté noir). */
.carte__reperes i { flex: 1; height: 2px; border-radius: 1px; background: var(--filet); box-shadow: 0 0 0 1px color-mix(in srgb, var(--blanc) 70%, transparent); }
.carte__reperes i.carte__montree { background: var(--encre); }
.carte__photo[data-survol] .carte__reperes { opacity: 1; }
.carte__photo--defile .carte__reperes { inset-inline: 0; justify-content: center; gap: 5px; opacity: 1; }
.carte__photo--defile .carte__reperes i { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--gris); opacity: .35; }
.carte__photo--defile .carte__reperes i.carte__montree { background: var(--encre); opacity: 1; }
/* L'étiquette (la .tag de Fil) : en haut à gauche à 12 px, son ombre, son pictogramme (le crayon de ce qui se
   personnalise, le sac de ce qui se commande nu, la feuille du devis), dessinés en masque de la couleur du
   texte. Le mot ne se coupe nulle part (« PERSONNALISA / BLE », revue du 04/11/2026) et ne sort jamais de
   sa pilule : elle n'a pas de largeur maximale, ce sont les paliers de la carte, mesurés, qui la font
   tenir à côté du cœur (40 px à 10 px du bord, et 6 px d'écart, soit la carte moins 68 px). Mesuré le
   17/11/2026 : « Personnalisable en ligne » 232 px, « Sur devis » 109, « En ligne » 102 ; sans
   pictogramme et serrées, 80 et 73. Une carte trop étroite dit « EN LIGNE » face à « SUR DEVIS », et un
   lecteur d'écran lit toujours « Personnalisable en ligne ». */
.carte__badge { position: absolute; inset: .75rem auto auto .75rem; z-index: 2; overflow-wrap: normal; box-shadow: var(--sh-1); }
/* « Commandable en ligne » : un article vendu nu, sans marquage. Cadre d'encre sur blanc et le sac
   (planche « Cartes-etats », C6), pour qu'il ne se lise plus comme le violet de ce qui se personnalise.
   Le cadre est un contour rentré et non une ombre : la vue Liste retire l'ombre de l'étiquette. */
.carte__badge.tisse--nu { background: var(--blanc); color: var(--encre); outline: 1.5px solid var(--encre); outline-offset: -1.5px; }
.carte__badge.tisse--nu::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12H6.2zM9 8a3 3 0 0 1 6 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12H6.2zM9 8a3 3 0 0 1 6 0'/%3E%3C/svg%3E");
}
.carte__badge::before {
  content: "";
  flex: none;
  width: .875rem;
  height: .875rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l4-1L19 8l-3-3L5 16zM14 7l3 3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l4-1L19 8l-3-3L5 16zM14 7l3 3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.carte__badge.badge-devis::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zM14 3v5h5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zM14 3v5h5'/%3E%3C/svg%3E");
}
/* « Personnalisable en ligne » (232 px) tient à côté du cœur à partir de 300 px de carte. */
@container (max-width: 18.75rem) {
  .carte__badge .tisse__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* Le cœur de la carte (le .pc-fav de Fil) : 40 px, blanc à 86 % flouté sur la plaque, son ombre, sans bord ;
   pressé, plein de violet, le cœur blanc. Sa cible reste de 44 px (.coeur::before, §30). La tuile de
   /personnaliser/ (pages/personnaliser.css) porte le même. */
:is(.carte, .perso-tuile) .coeur { inset: .625rem .625rem auto auto; width: 2.5rem; height: 2.5rem; border: 0; background: color-mix(in srgb, var(--blanc) 86%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--sh-1); transition: background-color var(--d-survol) linear, color var(--d-survol) linear; }
:is(.carte, .perso-tuile) .coeur::before { inset: -2px; border-radius: 50%; }
:is(.carte, .perso-tuile) .coeur:is(:hover, [data-force~="survol"]) { background: var(--blanc); color: var(--violet-900); }
:is(.carte, .perso-tuile) .coeur[aria-pressed="true"] { background: var(--violet); color: var(--blanc); }
:is(.carte, .perso-tuile) .coeur:focus-visible { outline-offset: 2px; }
/* THE PHONE'S CARDS, BY STEPS MEASURED ON 17/11/2026 (the widths above). Each step keeps the whole word
   inside its pill and 6 px or more before the heart; the review found « SUR DEVIS » 11 px out of its pill
   at 320 px and under the heart at 360, with a max-width that clipped the pill instead of the word.
   Up to 180 px (two columns at 414 px and below) the pill closes up: « Sur devis » 101 px, so 11 px
   from the heart at 390, as the board « Rayon-390 » draws it with its icon. */
@container (max-width: 11.25rem) {
  :is(.carte, .perso-tuile) .carte__badge { gap: 4px; padding-inline: .5rem; }
}
/* Up to 172 px (375 and 360 px): the icon goes, « Sur devis » is 83 px, 21 px from the heart at 375. */
@container (max-width: 10.75rem) {
  :is(.carte, .perso-tuile) .carte__badge { gap: 0; }
  :is(.carte, .perso-tuile) .carte__badge::before { content: none; }
}
/* Up to 152 px (340 and 320 px, 139 px of card): the letters close up (80 px), the tag and the heart move
   to 8 px from the edges, and the heart comes to 36 px (its target stays above WCAG 2.5.8's 24 px):
   7 px between them at 320. These steps name the card or the tile: the tag's own rule (§29, later in
   this sheet) would otherwise win on the padding, the gap and the spacing. */
@container (max-width: 9.5rem) {
  :is(.carte, .perso-tuile) .carte__badge { inset: .5rem auto auto .5rem; letter-spacing: .03em; }
  :is(.carte, .perso-tuile) .coeur { inset: .5rem .5rem auto auto; width: 2.25rem; height: 2.25rem; }
  /* « Prix sur demande » and its arrow are 144 px at 15 px, five more than the card: at 14 px they keep
     one line instead of leaving « demande » alone under the arrow. */
  .carte .carte__devis { font-size: .875rem; }
}
.carte__marque { grid-row: 2; margin-block-end: .25rem; color: var(--gris); font: 900 .75rem / 1.3 var(--f); letter-spacing: .1em; text-transform: uppercase; }
/* The name is written whole, however many lines it takes (board « Rayon-390 », three lines at 390 px): two
   lines and an ellipsis hid the end of the name, which is often what tells two neighbouring references
   apart (« … 190 à personnaliser », review of 17/11/2026). The spring row below keeps the prices of a row
   of cards on one line whatever the names' lengths. */
.carte__nom { grid-row: 3; margin-block-end: .25rem; font: 800 1.0625rem / 1.2 var(--f); letter-spacing: -.01em; text-wrap: pretty; overflow-wrap: break-word; }
.carte__nom a { color: inherit; text-decoration: none; background-image: none; padding-bottom: 0; }
/* Toute la carte mène à la fiche par le lien du nom ; l'étiquette, le cœur et le bouton passent au-dessus. */
.carte__nom a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.carte__nom a:focus-visible { outline: 0; box-shadow: none; }
.carte:has(.carte__nom a:focus-visible) { outline: var(--focus-anneau); outline-offset: 4px; }
.carte[data-force~="survol"] .carte__nom a { text-decoration: underline 2px var(--orange); text-underline-offset: .2em; }
/* La rangée des faits (.pc-meta) : les coloris et le grammage côte à côte, l'un sous l'autre sur une carte
   étroite ; puis la zone, d'encre. */
.carte__coul { grid-row: 4; grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; min-width: 0; margin-block-end: .25rem; color: var(--gris); font: 400 .84375rem / 1.4 var(--f-texte); font-variant-numeric: tabular-nums; }
.carte__faits { grid-row: 4; margin-block-end: .25rem; color: var(--gris); font: 400 .84375rem / 1.4 var(--f-texte); font-variant-numeric: tabular-nums; }
.carte__coul + .carte__faits { grid-column: 2; }
/* On a narrow card the colours take the whole width and the weight goes under them: in one column of
   its own, six swatches and « 12 coloris » were wider than a 139 px card at 320 px, and pushed the
   second column of the grid out of the page (measured 334 px of page for 320). */
@container (max-width: 16.5rem) {
  .carte__coul { grid-column: 1 / -1; }
  .carte__coul + .carte__faits { grid-row: 5; grid-column: 1 / -1; }
}
.carte__puces { display: flex; gap: 3px; }
.carte__puces i { width: 13px; height: 13px; border-radius: 50%; background: var(--e); box-shadow: inset 0 0 0 1px var(--contour-teinte); }
.carte__zone { grid-row: 6; color: var(--encre-2); font: 400 .84375rem / 1.4 var(--f-texte); font-variant-numeric: tabular-nums; }
.carte__zone--polo { color: var(--gris); }
/* Le prix, en bas de carte et sans filet : « Dès 26,52 € TTC la pièce (22,10 € HT) à partir de 50 pièces »,
   le montant en 900, la suite en gris, sur une seule coulée. */
.carte__prix { grid-row: 8; margin-block-start: .625rem; font: 400 .90625rem / 1.4 var(--f-texte); font-variant-numeric: tabular-nums; }
.carte__prix :is(b, strong) { font: 900 1.1875rem / 1.2 var(--f); letter-spacing: -.01em; }
.carte__ht { color: var(--gris); }
/* « Prix sur demande » : le devis ouvert sur cette référence, au-dessus du lien de la carte, en lien fort ;
   sans lien (le bouton dessous y mène déjà), le mot seul. */
/* The words stand on the link's 32 px in both forms: each card is a grid of its own, and a 20 px paragraph
   put « Prix sur demande » 12 px below its neighbours' in a row (measured at 1440, 17/11/2026). */
.carte__devis { grid-row: 8; position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 2rem; justify-self: start; margin-block-start: .625rem; color: var(--encre); font: 700 .9375rem / 1.3 var(--f-texte); }
a.carte__devis { gap: .375rem; text-decoration: none; background-image: linear-gradient(var(--orange), var(--orange)), linear-gradient(color-mix(in srgb, currentColor 30%, transparent), color-mix(in srgb, currentColor 30%, transparent)); background-size: 0% 2px, 100% 1.5px; background-position: 0 100%, 0 100%; background-repeat: no-repeat; transition: background-size var(--d-trait) var(--ease); }
a.carte__devis::after { content: ""; flex: none; width: 1rem; height: 1rem; background: currentColor; -webkit-mask: var(--fleche) center / contain no-repeat; mask: var(--fleche) center / contain no-repeat; transition: transform var(--d-fleche) var(--ease); }
a.carte__devis:is(:hover, :focus-visible, [data-force~="survol"]) { background-size: 100% 2px, 100% 1.5px; }
a.carte__devis:is(:hover, [data-force~="survol"])::after { transform: translateX(4px); }
@container (max-width: 16.5rem) {
  .carte__nom { font-size: .96875rem; }
  .carte__prix { font-size: .8125rem; }
  .carte__prix :is(b, strong) { font-size: 1rem; }
  .carte__coul, .carte__faits, .carte__zone { font-size: .78125rem; }
}
/* « Personnaliser » : le bouton de chaque carte (`Atelier::entree()`), au-dessus du lien étiré du nom comme le
   cœur, en bas de la carte et sur toute sa largeur pour qu'une carte étroite de téléphone le garde sur une ligne.
   Sa cible fait 42 px de haut (`btn--petit`), au-dessus des 24 px de WCAG 2.5.8. */
.carte__perso { grid-row: 9; position: relative; z-index: 2; justify-self: stretch; margin-block-start: .625rem; padding-inline: .625rem; white-space: normal; text-align: center; line-height: 1.2; }
.carte__perso::after { display: none; }
/* SOUS UNE SOURIS, LE BOUTON PASSE SUR LA PLAQUE (le .pc-quick de Fil) : une pilule d'encre à 82 % floutée,
   en bas de la photo, qui paraît au survol et au focus de la carte (250 ms, transform et opacité). Il est
   posé dans la rangée de la photo : son bloc conteneur est cette rangée, si bien qu'il suit la plaque en 4:5
   comme en 3:4 (le portant). Au clavier il paraît dès qu'un élément de la carte a le focus, et son anneau
   se dessine dedans, de sa couleur. Au doigt et dans la vue Liste, il reste le bouton sous le prix.
   THE ROW IS CLOSED, `1 / 2`, NOT `1`: for an absolutely positioned grid child an `auto` end line is the
   container's padding edge, so `grid-row: 1` made the block run from the photo's top to the card's foot
   and the button sat on « Prix sur demande » (verify:a11y, 2.5.8, 21 px left of that link on /favoris/). */
@media (hover: hover) and (pointer: fine) {
  .liste__grille:not([data-vue="liste"]) .carte__perso,
  .favoris__liste .carte__perso,
  .voisins__grille .carte__perso {
    grid-row: 1 / 2;
    position: absolute;
    inset: auto .75rem calc(.875rem + .75rem) .75rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: var(--cible-min);
    margin: 0;
    padding: 0 1rem;
    border: 0;
    border-radius: var(--pill);
    background: color-mix(in srgb, var(--encre) 82%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: none;
    color: var(--blanc);
    font: 800 var(--t-1) / 1.2 var(--f);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--d-leve) var(--ease), transform var(--d-leve) var(--ease), background-color var(--d-survol) linear;
  }
  .liste__grille:not([data-vue="liste"]) .carte__perso::before,
  .favoris__liste .carte__perso::before,
  .voisins__grille .carte__perso::before {
    content: "";
    position: static;
    flex: none;
    width: 1.125rem;
    height: 1.125rem;
    background: currentColor;
    transform: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l4-1L19 8l-3-3L5 16zM14 7l3 3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l4-1L19 8l-3-3L5 16zM14 7l3 3'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  :is(.liste__grille:not([data-vue="liste"]), .favoris__liste, .voisins__grille) .carte__perso[data-perso="sur-devis"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zM14 3v5h5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zM14 3v5h5'/%3E%3C/svg%3E");
  }
  :is(.liste__grille:not([data-vue="liste"]), .favoris__liste, .voisins__grille) .carte:is(:hover, :focus-within, [data-force~="survol"]) .carte__perso { opacity: 1; transform: none; }
  :is(.liste__grille:not([data-vue="liste"]), .favoris__liste, .voisins__grille) .carte__perso:is(:hover, [data-force~="survol"]) { background: var(--encre); transform: none; }
  :is(.liste__grille:not([data-vue="liste"]), .favoris__liste, .voisins__grille) .carte__perso:focus-visible { outline: 3px solid currentColor; outline-offset: -5px; box-shadow: none; }
  /* Les repères de la suite montent au-dessus du bouton, qui paraît en même temps qu'eux. */
  :is(.liste__grille:not([data-vue="liste"]), .favoris__liste, .voisins__grille) .carte:has(> .carte__perso) .carte__reperes { inset-block-end: calc(var(--cible-min) + 1.25rem); }
}
@media (prefers-reduced-motion: reduce) {
  .carte__perso { transform: none !important; }
}

/* =====================================================================================================
   7. Cote : attaches, ligne d'encre de 1,25 px, extrémités à 72° jamais mises à l'échelle, valeur de 14 px.
   Dans une figure, la cote est le SVG de cote() (cordeau-svg.mjs) : g.cote.cote--ouverte|--fermee >
   .cote__attache, .cote__trace (.cote__ligne, deux .cote__extremite), text.cote__valeur. Ses couleurs sont
   écrites par le serveur ; la feuille n'y ajoute que le relief. Dans une page, la même cote en HTML :
   <span class="cote" style="--attache: 22px"><span class="cote__valeur">30,5 cm</span></span>, sa longueur
   étant la largeur de l'élément ; la valeur coupe le trait derrière elle.
   ===================================================================================================== */
.cote {
  --cote-trait: 1.25px;
  --cote-encre: var(--encre);
  --cote-attache: var(--champ);
  /* F's name on purpose: tests/test-bat-cotes.php reads this declaration as written (the value of a
     dimension is cut out of the paper) and moves with it. */
  --cote-fond: var(--c-papier);
  --attache: 0px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.25rem;
  color: var(--cote-encre);
  font: 500 var(--t-cote-taille) / var(--t-cote-ligne) var(--f-ui);
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* Le trait et ses deux attaches sont un seul cadre ouvert, sous la valeur */
.cote::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 50% 0 auto;
  height: var(--attache);
  border: 0 solid var(--cote-attache);
  border-top: var(--cote-trait) solid var(--cote-encre);
  border-inline-width: 1px;
  translate: 0 calc(var(--cote-trait) / -2);
  transition: border-color var(--d-survol) linear, border-width var(--d-survol) linear;
}
.cote--attaches-haut::before { inset: auto 0 50%; border-top: 0; border-bottom: var(--cote-trait) solid var(--cote-encre); translate: 0 calc(var(--cote-trait) / 2); }
.cote__valeur { padding: 0 .375rem; background: var(--cote-fond); }
/* LES VALEURS DESSINÉES PAR LE SERVEUR RESTENT EN FIGTREE 500. inc/cordeau.php place chaque valeur d'une
   cote ou de la règle avec les chasses de Figtree, relevées glyphe par glyphe (CHASSE) : dessinée en
   Nunito Sans, une valeur déborderait de l'espace qu'il lui a coupé dans le trait. L'attribut SVG de la
   règle le dit déjà ; la cote n'en porte pas et héritait de la police du texte. Cette règle est aussi
   celle qui fait charger Figtree, et seulement sur une page qui dessine une figure. */
svg text.cote__valeur,
.cordeau__valeur text { font-family: Figtree, system-ui, sans-serif; font-weight: 500; }
/* Les extrémités : 8 px à 72°, des éléments à part, jamais mis à l'échelle avec le trait */
.cote__valeur::before,
.cote__valeur::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--cote-trait);
  height: 8px;
  background: var(--cote-encre);
  translate: -50% -50%;
  rotate: 18deg;
}
.cote__valeur::after { left: 100%; }
.cote--v { flex-direction: column; min-width: 1.25rem; min-height: 2rem; }
.cote--v::before { inset: 0 auto 0 50%; width: var(--attache); height: auto; border: 0 solid var(--cote-attache); border-left: var(--cote-trait) solid var(--cote-encre); border-block-width: 1px; translate: calc(var(--cote-trait) / -2) 0; }
.cote--v.cote--attaches-gauche::before { inset: 0 50% 0 auto; border-left: 0; border-right: var(--cote-trait) solid var(--cote-encre); translate: calc(var(--cote-trait) / 2) 0; }
.cote--v .cote__valeur { padding: .25rem 0; }
.cote--v .cote__valeur::before,
.cote--v .cote__valeur::after { top: 0; left: 50%; width: 8px; height: var(--cote-trait); }
.cote--v .cote__valeur::after { top: 100%; }
/* Extrémités ouvertes : bon à tirer à valider. Fermées : validé, trait de 1,5 px. */
.cote--ouverte .cote__valeur::before,
.cote--ouverte .cote__valeur::after { scale: 0; }
.cote--fermee { --cote-trait: 1.5px; }
/* Lancés par une classe du serveur, une fois : l'ouverture depuis le milieu, la fermeture d'un seul geste */
.cote--trace::before { animation: cote-ouvre var(--d-ouverture-cote) var(--courbe-geste) both; }
.cote--trace .cote__valeur::before,
.cote--trace .cote__valeur::after { animation: cote-contact var(--d-survol) linear calc(300ms * var(--mouvement)) both; }
.cote--frappe .cote__valeur::before,
.cote--frappe .cote__valeur::after { animation: cote-frappe var(--d-entree) var(--courbe-geste) both; }
.cote--v.cote--trace::before { animation-name: cote-ouvre-v; }
@keyframes cote-ouvre { from { clip-path: inset(0 50%); } to { clip-path: inset(0 0); } }
@keyframes cote-ouvre-v { from { clip-path: inset(50% 0); } to { clip-path: inset(0 0); } }
@keyframes cote-contact { from { opacity: 0; } }
@keyframes cote-frappe { from { scale: 0; } }
/* En relief (cote-montre) : les attaches à l'encre pleine et à 2 px, rien ne se déplace */
.cote:is(.cote--relief, :hover, [data-force~="survol"]),
:focus-within > .cote { --cote-attache: var(--cote-encre); }
.cote:is(.cote--relief, :hover, [data-force~="survol"])::before,
:focus-within > .cote::before { border-inline-width: 2px; }
.cote--v:is(.cote--relief, :hover, [data-force~="survol"])::before { border-block-width: 2px; }
/* La cote SVG : seul le relief s'ajoute à ce que le serveur a peint */
g.cote .cote__attache { transition: stroke var(--d-survol) linear, stroke-width var(--d-survol) linear; }
g.cote:is(.cote--relief, :hover) .cote__attache { stroke: var(--encre); stroke-width: 2px; }
g.cote text { font-family: var(--f-ui); letter-spacing: .01em; }

/* =====================================================================================================
   8. (Vide depuis le 3 novembre 2026 : la figure clé du Cordeau est partie avec son accueil. Le cordon
   de la règle des commandes, §9, garde ses classes .cordeau__bout, __arc, __logo et __pieces.)
   ===================================================================================================== */

/* =====================================================================================================
   9. (Empty since 17/11/2026. The order's ruler, div.regle, had no page left to draw it: the order pages
   show the step list, .suivi (pages/commande-fiche.css). Its PHP caller, regle_commande(), and its
   animation, regle() in cordeau.js, went with these rules (review of the order lot, D18);
   Cordeau\regle() still renders it, for verify:cordeau's parity only. The cord's classes that §8
   names, .cordeau__bout, __arc, __logo and __pieces, have no rule in any sheet.)
   ===================================================================================================== */

/* =====================================================================================================
   10. Bandeau de statut : la bande marine de la commande
   ===================================================================================================== */
.statut {
  background: var(--violet);
  color: var(--blanc);
  --focus-couleur: var(--blanc);
  --focus-lisere: var(--violet);
}
.statut ::selection { background: var(--blanc); color: var(--violet); }
.statut__corps {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: var(--esp-8) var(--gouttiere) var(--esp-7);
}
.statut__surtitre { color: var(--c-sur-marine); font-size: var(--t-micro-taille); line-height: var(--t-micro-ligne); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.statut__titre {
  margin-block: var(--esp-4) var(--esp-5);
  font-size: var(--t-affiche-taille);
  line-height: var(--t-affiche-ligne);
  font-weight: 600;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-box: trim-both cap alphabetic;
}
.statut__phrase { max-width: 40ch; font-size: var(--t-chapo-taille); line-height: var(--t-chapo-ligne); color: var(--blanc); }
.statut__actions { display: flex; flex-wrap: wrap; gap: var(--esp-3); margin-block-start: var(--esp-6); }
.statut__fait { margin-block-start: var(--esp-4); color: var(--c-sur-marine); font-size: var(--t-petit-taille); font-variant-numeric: tabular-nums; }
.statut__fait--alerte { color: var(--orange); }
.statut__regle { margin-block-start: var(--esp-9); }
/* La lettre qui roule : « v » et « n » partagent une cellule de la largeur de la plus large */
.statut__bascule { display: inline-grid; vertical-align: top; overflow: clip; overflow-clip-margin: .08em; }
.statut__bascule > * { grid-area: 1 / 1; }
.statut__lettre--avant { visibility: hidden; }
.statut[data-passage] .statut__lettre--avant { animation: lettre-sort var(--d-lettre) var(--courbe-bascule) both; }
.statut[data-passage] .statut__lettre--apres { animation: lettre-entre var(--d-lettre) var(--courbe-bascule) both; }
@keyframes lettre-sort { from { visibility: visible; translate: 0 0; } to { visibility: visible; translate: 0 -100%; } }
@keyframes lettre-entre { from { translate: 0 100%; } }

/* =====================================================================================================
   11. Colonnes datées : « De votre côté », « De notre côté », le .cols-side des planches 02, 07, 08 et 09
   ===================================================================================================== */
/* Two bordered cards, side by side from 40rem of container, a dated fact per line with its date on the right.
   Whose turn it is lives in the status band above and in the « À faire » line: the planche draws nothing
   under a title. F's 2 px rule sliding between the titles, and the underline it fell back to, are gone: the
   order received, the account and the quote confirmation all drew them out, and the underline's (0,3,0)
   :is() beat the confirmation's (0,2,0) sheet, which left « De notre côté » underlined in violet there
   (measured at 390 and 1 440 on 17/11/2026), as it beat this section's own reset in the wide layout. */
.colonnes-datees { container: colonnes / inline-size; }
.colonnes-datees__grille { display: grid; gap: 1.25rem; }
.colonnes-datees__colonne { display: grid; align-content: start; padding: 1.125rem 1.25rem; border: 1px solid var(--ligne-2); border-radius: var(--r-2); background: var(--papier); }
/* The planche's .h4; the rule under it is the first line's, so an empty column has none. */
.colonnes-datees__titre { padding-block-end: var(--esp-2); font: 800 var(--t1) / 1.25 var(--f); letter-spacing: -.01em; }
.colonnes-datees__lignes { display: grid; }
.colonnes-datees__ligne {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: var(--esp-1) .75rem;
  padding-block: var(--esp-2);
  border-top: 1px solid var(--ligne);
  font-size: .90625rem;
  font-weight: 700;
}
.colonnes-datees__date { order: 2; color: var(--gris); line-height: var(--t-texte-ligne); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* A line whose date this address does not know (the quote confirmation, « À faire ») keeps no empty cell. */
.colonnes-datees__date:empty { display: none; }
.colonnes-datees__fait { min-width: 0; }
.colonnes-datees__qui { display: block; color: var(--gris); font-size: .8125rem; font-weight: 400; }
.colonnes-datees__ligne--a-faire { grid-template-columns: minmax(0, 1fr); padding-inline-start: var(--esp-3); font-weight: 800; }
.colonnes-datees__ligne--a-faire::before { content: ""; position: absolute; inset: var(--esp-2) auto var(--esp-2) 0; width: 3px; border-radius: 2px; background: var(--orange); }
.colonnes-datees__vide { color: var(--gris); font-size: var(--t-1); }
.colonnes-datees[data-passage] .colonnes-datees__ligne--nouvelle { animation: ligne-monte var(--d-entree) var(--courbe-geste) calc(160ms * var(--mouvement)) both; }
@keyframes ligne-monte { from { opacity: 0; translate: 0 4px; } }
@container colonnes (min-width: 40rem) {
  .colonnes-datees__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =====================================================================================================
   12. Compteur roulant : compteur() de motion.js pose lui-même ses cellules (1 lh, overflow clip) et le
   texte complet caché ; la feuille ne fait que tenir les chiffres tabulaires et la ligne.
   ===================================================================================================== */
.compteur { display: inline-block; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* =====================================================================================================
   15. Planche cotée et cartouche, telle que planche() la rend : div.planche > svg.planche__dessin
   (.planche__vetement, .planche__encolure, .planche__axe, .planche__zone, .planche__nid, .planche__rappel,
   .planche__visuel) et, posées dessus en pourcentages, les cotes HTML (.cote, section 7). La page du bon à
   tirer n'a aucun script : ses moments sont des classes que le serveur imprime une fois sur div.planche.
   ===================================================================================================== */
.planche { position: relative; }
.planche__dessin { display: block; width: 100%; height: auto; background: var(--brume); }
/* bat-valide : un seul geste, après la réponse du serveur ; les extrémités sont frappées ensemble */
.planche--valide .cote__valeur::before,
.planche--valide .cote__valeur::after { animation: cote-frappe var(--d-entree) var(--courbe-geste) both; }
/* nid-de-gradation : six contours nés de l'encolure, montrés par « Toutes les tailles » (pages/bat.css, :has, sans script) */
.planche__nid { transition: opacity var(--d-survol) linear; }
.planche--remplacee .planche__dessin { opacity: .55; }
.planche--remplacee .cote { --cote-encre: var(--gris); }
.planche--remplacee .cote::before { border-top-style: dashed; border-left-style: dashed; }
.planche__tolerances { display: grid; gap: var(--esp-2); color: var(--gris); font-size: var(--t-petit-taille); }
.planche__tolerances li { position: relative; padding-inline-start: var(--esp-4); }
.planche__tolerances li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: currentColor; }

.cartouche { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--encre); font-size: var(--t-petit-taille); }
.cartouche__case { display: grid; gap: 2px; align-content: start; padding: var(--esp-2) var(--esp-3); border-right: 1px solid var(--encre); border-bottom: 1px solid var(--encre); }
.cartouche__case:nth-child(2n) { border-right: 0; }
.cartouche__case--large { grid-column: 1 / -1; border-right: 0; }
.cartouche__case:last-child { border-bottom: 0; }
.cartouche__nom { color: var(--gris); font-size: var(--t-micro-taille); line-height: var(--t-micro-ligne); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.cartouche__valeur { font-weight: 500; font-variant-numeric: tabular-nums; }
.cartouche--valide .cartouche__case--statut { background: var(--violet); color: var(--blanc); }
.cartouche--valide .cartouche__case--statut .cartouche__nom { color: var(--c-sur-marine); }
.cartouche--remplace { opacity: .6; }

/* =====================================================================================================
   18. Squelette : même cellule que le contenu, mêmes métriques ; visible après 200 ms, immobile après 4,8 s
   <div class="chargement" aria-busy="true"><div class="squelette">…</div><div class="chargement__contenu">…</div></div>
   ===================================================================================================== */
.chargement { display: grid; }
.chargement > * { grid-area: 1 / 1; }
.squelette { display: grid; gap: var(--esp-2); align-content: start; opacity: 0; visibility: hidden; pointer-events: none; }
.chargement[aria-busy="true"] > .squelette { opacity: 1; visibility: visible; transition: opacity calc(200ms * var(--mouvement)) linear; }
.chargement[aria-busy="true"] > .chargement__contenu { opacity: 0; }
.squelette__barre { position: relative; height: 1lh; overflow: hidden; }
/* Le .sk de Fil : deux temps de lilas gris, 12 px de rayon ; le second souffle par-dessus le premier. */
.squelette__barre::before { content: ""; position: absolute; inset: .2lh 0; border-radius: var(--r-champ); background: var(--squelette); }
.squelette__barre::after { content: ""; position: absolute; inset: .2lh 0; border-radius: var(--r-champ); background: var(--squelette-2); opacity: 0; }
.chargement[aria-busy="true"] .squelette__barre::after { animation: souffle 1.2s ease-in-out 4 alternate; }
@media (prefers-reduced-motion: reduce) { .chargement[aria-busy="true"] .squelette__barre::after { animation: none; } }
:root[data-mouvement="reduit"] .chargement[aria-busy="true"] .squelette__barre::after { animation: none; }
@keyframes souffle { to { opacity: .6; } }
.squelette__barre--court { width: 38%; }
.squelette__barre--moyen { width: 64%; }
.squelette__bloc { border-radius: var(--r-champ); background: var(--squelette); }
.squelette__phrase { color: var(--gris); font-size: var(--t-petit-taille); }

/* =====================================================================================================
   19. Notifications : une confirmation qui ne change rien d'autre à l'écran ; jamais une erreur
   Région popover manual (bas gauche au bureau, bas au téléphone), liste role=status présente d'avance.
   ===================================================================================================== */
.notifications {
  position: fixed;
  inset: auto auto calc(var(--esp-4) + env(safe-area-inset-bottom)) var(--esp-4);
  width: min(22.25rem, calc(100vw - 2 * var(--esp-4)));
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
  color: var(--encre);
}
.notifications__liste { position: relative; display: grid; list-style: none; margin: 0; padding: 0; }
.notification {
  --i: 0;
  --y: 0px;
  --dx: 0px;
  --x: 0px;
  grid-area: 1 / 1;
  align-self: end;
  display: flex;
  align-items: flex-start;
  gap: var(--esp-3);
  padding: .75rem var(--esp-4);
  border: 0;
  border-radius: 14px;
  background: var(--encre);
  color: var(--blanc);
  font-size: .9375rem;
  font-weight: 500;
  box-shadow: var(--sh-2);
  transform-origin: 50% 100%;
  translate: calc(var(--x) + var(--dx)) calc(var(--i) * -14px);
  scale: calc(1 - var(--i) * .05);
  touch-action: pan-y;
  transition: translate var(--d-ressort-interface) var(--ressort-critique), scale var(--d-ressort-interface) var(--ressort-critique), opacity var(--d-sortie) linear;
}
@starting-style { .notification { translate: 0 12px; opacity: 0; } }
.notification[data-etat="ouverte"] { translate: calc(var(--x) + var(--dx)) var(--y); scale: 1; }
.notification[data-etat="pile"]:not(:last-child) > * { opacity: 0; }
.notification[data-etat="cachee"] { opacity: 0; pointer-events: none; }
.notification[data-sortie] { opacity: 0; translate: calc(var(--x) + var(--dx)) 12px; transition-duration: var(--d-sortie); transition-timing-function: var(--courbe-sortie); }
.notification[data-glisse] { transition: none; }
.notification__texte { flex: 1; padding-block: 2px; }
.notification__fermer {
  position: relative;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 -4px 0 0;
  padding: 0;
  border: 0;
  border-radius: var(--pill);
  background: none;
  color: var(--sur-nuit-2);
}
/* La confirmation de Fil est la note d'encre (.note--ink) : blanc sur l'encre, 19,03:1 ; le gris de la
   nuit y tient 11,00:1 pour le bouton qui ferme. */
.notification__fermer::before,
.notification__fermer::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; rotate: 45deg; }
.notification__fermer::after { rotate: -45deg; }
.notification__fermer:is(:hover, [data-force~="survol"]) { color: var(--blanc); background: var(--encre-2); }
.notification :focus-visible { outline: 3px solid var(--blanc); outline-offset: 2px; box-shadow: none; }
@media (max-width: 37.5rem) {
  .notifications { inset: auto var(--esp-4) calc(var(--esp-4) + env(safe-area-inset-bottom)); width: auto; }
}
@media (prefers-reduced-motion: reduce) { .notification { translate: none; scale: none; } }
:root[data-mouvement="reduit"] .notification { translate: none; scale: none; }

/* =====================================================================================================
   20. Tiroir : <dialog> ouvert par showModal ; panneau de 440 px au bureau, feuille du bas au téléphone.
   Toutes les sorties passent par le script, qui anime puis appelle close() (Firefox n'anime pas display).
   ===================================================================================================== */
dialog.tiroir {
  --drag: 0px;
  position: fixed;
  inset: auto 0 0;
  display: none;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: auto;
  /* 92 % de l'écran au plus, la feuille de la planche (TiroirNu, .nu-pane, et le tiroir des filtres à 390 px) :
     à 85 %, son haut tombait à 127 px d'un écran de 844 (revue de la fiche, 17/11/2026). */
  max-height: 92dvh;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--r-3) var(--r-3) 0 0;
  background: var(--surface);
  color: var(--encre);
  box-shadow: var(--sh-3);
  overscroll-behavior: contain;
  translate: 0 var(--drag);
  transition: translate var(--d-tiroir-mobile) var(--courbe-tiroir);
}
dialog.tiroir[open] { display: flex; }
@starting-style { dialog.tiroir[open] { translate: 0 100%; } }
/* Le voile de Fil : l'encre à 36 %, et un flou de 4 px qui tient la page derrière à distance. */
dialog.tiroir::backdrop { background: var(--voile); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 1; transition: opacity calc(200ms * var(--mouvement)) linear; }
@starting-style { dialog.tiroir[open]::backdrop { opacity: 0; } }
dialog.tiroir[data-glisse] { transition: none; }
dialog.tiroir[data-sortie] { translate: 0 100%; transition: translate calc(240ms * var(--mouvement)) var(--courbe-sortie); }
dialog.tiroir[data-sortie]::backdrop { opacity: 0; }
.tiroir__poignee { position: relative; flex: none; width: 2.75rem; height: 1.5rem; margin: 0 auto; touch-action: none; cursor: grab; }
.tiroir__poignee::before { content: ""; position: absolute; top: 10px; left: 6px; width: 2rem; height: 4px; border-radius: var(--pilule); background: var(--bord); }
.tiroir__tete { display: flex; align-items: center; justify-content: space-between; gap: var(--esp-4); padding: var(--esp-2) var(--esp-5) var(--esp-3); border-bottom: 1px solid var(--ligne); }
.tiroir__titre { font: 800 1.375rem / 1.1 var(--f-titre); letter-spacing: -.018em; }
.tiroir__etat { padding-inline: var(--esp-5); color: var(--ok); font-size: var(--t-petit-taille); min-height: 0; }
.tiroir__etat:empty { display: none; }
.tiroir__corps { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--esp-2) var(--esp-5) var(--esp-5); }
.tiroir__pied { flex: none; display: grid; gap: var(--esp-3); padding: var(--esp-4) var(--esp-5) calc(var(--esp-4) + env(safe-area-inset-bottom)); border-top: 1px solid var(--filet); background: var(--surface); }
@media (min-width: 60rem) {
  dialog.tiroir:not(.tiroir--bas) {
    inset: 0 0 0 auto;
    width: 28.75rem;
    max-width: 100vw;
    height: 100dvh;
    max-height: none;
    border-radius: var(--r-3) 0 0 var(--r-3);
    translate: 0 0;
    transition: translate var(--d-tiroir-bureau) var(--courbe-tiroir);
  }
  @starting-style { dialog.tiroir:not(.tiroir--bas)[open] { translate: 100% 0; } }
  dialog.tiroir:not(.tiroir--bas)[data-sortie] { translate: 100% 0; }
  dialog.tiroir:not(.tiroir--bas) .tiroir__poignee { display: none; }
  dialog.tiroir:not(.tiroir--bas) .tiroir__tete { padding-block-start: var(--esp-5); }
}

/* =====================================================================================================
   21. Message (la .note de Fil 2.0) : un lavis sémantique, un liseré d'un pixel dedans, 14 px de rayon,
   l'encre de la sémantique ; une phrase, parfois un bouton, une icône là où la planche en dessine une.
   Plus de filet gauche.
   ===================================================================================================== */
.message {
  --message-filet: var(--ligne);
  --message-fond: var(--brume);
  --message-encre: var(--encre);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--esp-3) var(--esp-5);
  padding: .875rem 1rem;
  border-radius: 14px;
  background: var(--message-fond);
  box-shadow: inset 0 0 0 1px var(--message-filet);
  color: var(--message-encre);
  font-size: .9375rem;
  line-height: 1.5;
  font-weight: 500;
  animation: message-parait calc(160ms * var(--mouvement)) linear;
}
.message__texte { flex: 1 1 20rem; max-width: 70ch; }
/* L'icône d'une note, là où la planche en dessine une (le panier, la caisse et le règlement :
   pictogramme() de inc/panier.php ; le compte : inc/compte.php ; les favoris : favoris.js ; les documents
   légaux) : un trait de l'encre de la note, cachée aux lecteurs, la phrase disant tout. Le dessin est
   ici, une fois ; une page n'y ajoute que sa place (marge, alignement sur la première ligne, taille). */
.message__icone { flex: none; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.message__texte :is(b, strong) { font-weight: 800; }
/* Chaque encre mesurée sur son lavis : 5,78:1, 6,11:1, 5,75:1, et le violet profond 12,46:1 sur le lilas pâle. */
.message--bon { --message-filet: var(--note-ok); --message-fond: var(--ok-bg); --message-encre: var(--ok); }
.message--alerte { --message-filet: var(--note-warn); --message-fond: var(--warn-bg); --message-encre: var(--warn); }
.message--erreur { --message-filet: var(--note-err); --message-fond: var(--err-bg); --message-encre: var(--err); }
.message--boutique { --message-filet: var(--note-info); --message-fond: var(--lilas-50); --message-encre: var(--violet-900); }
.message--sur-marine { --message-filet: var(--filet-nuit); --message-fond: var(--nuit-2); --message-encre: var(--sur-nuit); }
@keyframes message-parait { from { opacity: 0; } }

/* =====================================================================================================
   22. Tableau : filets horizontaux, chiffres tabulaires à droite, TTC puis HT ; défile dans son conteneur
   ===================================================================================================== */
.tableau { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.tableau:focus-visible { outline-offset: 2px; }
.tableau table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.tableau table { background: var(--surface); }
/* Le .tbl de Fil : Nunito Sans 15 px, filets de --ligne, l'en-tête en capitales grises de 12 px sur un
   filet de --ligne-2, la rangée courante sur le lilas pâle. */
.tableau caption { padding-block-end: .625rem; color: var(--gris); font: 800 .78125rem/1.4 var(--f); letter-spacing: .08em; text-transform: uppercase; text-align: left; caption-side: top; }
.tableau :is(th, td) { padding: .75rem .875rem; border-bottom: 1px solid var(--ligne); font-size: .9375rem; text-align: left; vertical-align: top; }
.tableau thead th { border-bottom: 1px solid var(--ligne-2); background: var(--blanc); color: var(--gris); font: 900 .75rem/1.3 var(--f-texte); letter-spacing: .08em; text-transform: uppercase; vertical-align: bottom; }
.tableau tbody th { font-weight: 700; }
.tableau .nombre { text-align: right; white-space: nowrap; }
.tableau .nombre b { display: block; font-weight: 650; }
.tableau .ht { display: block; color: var(--gris); font-size: var(--t-2); }
.tableau tr.en-relief > *,
.tableau tr:is(:hover, [data-force~="survol"]).relie > * { background: var(--lilas-50); }
/* La cellule du palier où l'on est : le lilas pâle de la rangée courante de Fil, soulignée du violet
   (5,70:1 sur ce lilas). */
.tableau td[aria-current="true"] { background: var(--lilas-50); box-shadow: inset 0 -2px 0 var(--violet); font-weight: 800; }
.tableau .sur-devis a { font-weight: 650; }
.tableau .manquant { color: var(--gris); font-size: var(--t-2); }
.tableau--collant :is(th, td):first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); padding-inline-end: var(--esp-4); box-shadow: inset -1px 0 0 var(--filet); }
.tableau--collant thead th:first-child { background: var(--blanc); }
.tableau--collant tr.en-relief > :first-child { background: var(--brume); }

/* =====================================================================================================
   23. (Vide depuis le 17/11/2026. La pastille « Exemple » de F n'avait plus de lecteur dans le thème,
   les gabarits et les includes de l'extension, ni src/native : les deux figures qui la portaient, celle
   des fichiers d'impression et l'avant-après, écrivent l'étiquette de Fil, .etiquette--encre, section 40.
   Le numéro reste, parce que des commentaires citent les sections par leur numéro.)
   ===================================================================================================== */

/* =====================================================================================================
   24. Filtres : un formulaire GET, sans script nécessaire
   ===================================================================================================== */
.filtres { display: grid; gap: 0; }
.filtres__facette { padding-block: var(--esp-4); border-bottom: 1px solid var(--ligne); }
/* A visible legend only: a .sr-only one (the colour and embroidery facets) keeps the 1px box that hides it. */
.filtres__facette > legend:not(.sr-only) { float: left; width: 100%; margin-block-end: var(--esp-2); font: 800 1rem / 1.3 var(--f); }
.filtres__facette > legend:not(.sr-only) + * { clear: both; }
.filtres__options { display: grid; }
.filtres__options .choix { display: flex; min-height: 2.5rem; padding-block: .5625rem; }
.filtres__options .choix__texte { flex: 1; display: flex; justify-content: space-between; gap: var(--esp-3); }
.filtres__chercher { margin-block-end: var(--esp-2); }
.filtres__plage { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--esp-2); }
.filtres__categories { display: flex; flex-wrap: wrap; gap: var(--esp-2); }
.filtres__categorie {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 .875rem;
  border: 1.5px solid var(--ligne-2);
  border-radius: var(--pill);
  background: var(--papier);
  color: var(--encre);
  font: 800 .875rem / 1.2 var(--f);
  text-decoration: none;
  transition: border-color var(--d-survol) linear, background-color var(--d-survol) linear;
}
/* La .chip de Fil : bordée de --ligne-2 parce que son libellé dit déjà qu'elle se presse ; --trait au
   survol, pleine d'encre quand elle est la page courante. */
.filtres__categorie:is(:hover, [data-force~="survol"]) { border-color: var(--trait); }
.filtres__categorie[aria-current="page"] { border-color: var(--encre); background: var(--encre); color: var(--papier); }
.filtres__bande { display: flex; gap: 4px; }
.filtres__bande span { width: 1.25rem; height: 1.25rem; border-radius: var(--r-rond); background: var(--teinte); box-shadow: inset 0 0 0 1px var(--contour-teinte); }
.filtres__non-mesures { color: var(--gris); font-size: var(--t-petit-taille); }
.filtres__puces { display: flex; flex-wrap: wrap; gap: var(--esp-2); }
.filtres__puce {
  display: inline-flex;
  align-items: center;
  gap: var(--esp-2);
  min-height: 2.5rem;
  padding: 0 .5rem 0 1rem;
  border: 1.5px solid var(--ligne-2);
  border-radius: var(--pill);
  background: var(--papier);
  color: var(--encre);
  font: 800 .875rem / 1.2 var(--f);
  text-decoration: none;
  transition: background-color var(--d-survol) linear;
}
.filtres__puce::after { content: ""; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 10px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 10px no-repeat; rotate: 45deg; }
.filtres__puce:is(:hover, [data-force~="survol"]) { border-color: var(--encre); background: var(--brume); }
.filtres__actions { display: grid; gap: var(--esp-3); padding-block-start: var(--esp-5); }

/* =====================================================================================================
   25. Dépliant : details et summary, un signe qui tourne de « + » en « × »
   ===================================================================================================== */
/* Le details.acc de Fil 2.0 : la question en Nunito 800, un rond de brume de 34 px qui porte un « + »
   de violet profond et tourne de 45° en « × » à l'ouverture, en lilas. */
.depliant { border-bottom: 1px solid var(--ligne); }
.depliant > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--esp-4);
  min-height: 4rem;
  padding-block: var(--esp-3);
  font: 800 1.125rem / 1.3 var(--f);
  list-style: none;
  cursor: pointer;
}
.depliant > summary::-webkit-details-marker { display: none; }
.depliant > summary::after {
  content: "";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brume) var(--plus) center / 14px no-repeat;
  transition: transform var(--d-repli) var(--ease), background-color var(--d-survol) linear;
}
.depliant[open] > summary::after { transform: rotate(45deg); background-color: var(--lilas); }
.depliant > summary:is(:hover, [data-force~="survol"])::after { background-color: var(--lilas); }
.depliant__contenu { padding-block-end: var(--esp-5); max-width: 65ch; }
@supports (interpolate-size: allow-keywords) {
  .depliant { interpolate-size: allow-keywords; }
  .depliant::details-content { block-size: 0; overflow: clip; transition: block-size var(--d-repli) var(--doux), content-visibility var(--d-repli) allow-discrete; }
  .depliant[open]::details-content { block-size: auto; }
}

/* =====================================================================================================
   26. Bandeau de consentement : un panneau de Fil posé en bas (rayon de 24 px en haut, l'ombre de ce qui
   flotte), un formulaire sans script, le titre en Nunito 800, deux boutons d'encre de même poids.
   Le texte est celui de Consent.php, mot pour mot ; seule sa mise en forme vient d'ici.
   ===================================================================================================== */
.consentement {
  position: var(--bandeau-position, fixed);
  inset: auto 0 0;
  z-index: 60;
  max-height: 50dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--ligne);
  border-radius: var(--r-3) var(--r-3) 0 0;
  background: var(--surface);
  color: var(--encre);
  box-shadow: var(--bandeau-ombre, var(--sh-3));
}
.consentement__corps {
  display: grid;
  gap: var(--esp-4);
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: var(--esp-5) var(--gouttiere) calc(var(--esp-5) + env(safe-area-inset-bottom));
  container: consentement / inline-size;
}
.consentement__titre { font: 800 var(--t1) / 1.2 var(--f-titre); letter-spacing: -.01em; }
.consentement__finalites { display: grid; gap: var(--esp-1); }
.consentement__intro { color: var(--gris); font-size: var(--t-petit-taille); max-width: 70ch; }
.consentement__boutons { display: grid; gap: var(--esp-3); }
.consentement__boutons .btn { width: 100%; }
.consentement__detail { border-top: 1px solid var(--filet); }
.consentement__detail > summary { min-height: var(--cible-min); display: flex; align-items: center; color: var(--encre); font-weight: 700; text-decoration: underline 1.5px color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: .22em; cursor: pointer; list-style: none; }
.consentement__detail > summary:hover { text-decoration-color: var(--orange); }
.consentement__detail > summary::-webkit-details-marker { display: none; }
.consentement__choix { display: grid; gap: var(--esp-3); padding-block: var(--esp-2) var(--esp-4); }
.consentement__precision { padding-inline-start: 2rem; color: var(--gris); font-size: var(--t-petit-taille); max-width: 70ch; }
.consentement--en-fin { position: static; max-height: none; box-shadow: none; }
/* Rouvert depuis le pied : le filet passe au violet, le repère de la marque, jamais l'orange sur clair */
.consentement--rouvert { border-top: 2px solid var(--violet); }
@container consentement (min-width: 48rem) {
  .consentement__corps { grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: var(--esp-7); }
  .consentement__texte { grid-column: 1; }
  .consentement__boutons { grid-column: 2; grid-row: 1; grid-template-columns: repeat(2, minmax(10.5rem, 1fr)); align-self: center; }
  .consentement__detail { grid-column: 1 / -1; }
}
.confirmation-choix { padding: var(--esp-3) var(--gouttiere); background: var(--ok-bg); color: var(--ok); font-size: var(--t-petit-taille); text-align: left; }
/* La ligne est imprimée en tête de <body> (wp_body_open), avant l'en-tête. L'en-tête complet étant fixe
   dès qu'un script tourne (section 0), elle passerait dessous, invisible : mesuré le 03/11/2026, 46 px à
   1 440 et 67 px à 375 cachés sous lui. Elle se pose donc sous l'en-tête déplié et prend la place de
   .entete-place, si bien que le contenu commence sous elle et que replier l'en-tête ne fait rien sauter. */
.has-js body:not(.entete-caisse, .entete-atelier, .entete-aucun) > .confirmation-choix { margin-top: var(--entete-plein, 9.5rem); }
.has-js body:not(.entete-caisse, .entete-atelier, .entete-aucun) > .confirmation-choix[open] ~ .entete-place { display: none; }

/* =====================================================================================================
   27. Ligne de panier : modifiable sur place, le prix vient de la boutique
   ===================================================================================================== */
.ligne-panier {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: var(--esp-4);
  padding-block: var(--esp-5);
  border-bottom: 1px solid var(--ligne);
  container: ligne / inline-size;
}
.ligne-panier__apercu { aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--r-2); background: var(--plaque); overflow: hidden; }
.ligne-panier__apercu img { width: 100%; height: 100%; object-fit: contain; }
.ligne-panier__corps { display: grid; gap: var(--esp-3); min-width: 0; }
.ligne-panier__tete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--esp-2) var(--esp-4); }
.ligne-panier__nom { font-size: var(--t-texte-taille); line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.ligne-panier__faits { color: var(--gris); font-size: var(--t-petit-taille); }
.ligne-panier__total { display: grid; justify-items: end; font-variant-numeric: tabular-nums; text-align: right; transition: opacity var(--d-entree) linear; }
.ligne-panier__total b { font-weight: 900; }
.ligne-panier__ht { color: var(--gris); font-size: var(--t-petit-taille); }
.ligne-panier__coloris { display: grid; gap: var(--esp-2); }
.ligne-panier__coloris-nom { display: flex; align-items: center; gap: var(--esp-2); font-size: var(--t-petit-taille); font-weight: 500; }
.ligne-panier__coloris-nom::before { content: ""; width: 1rem; height: 1rem; border-radius: var(--r-rond); background: var(--teinte); box-shadow: inset 0 0 0 1px var(--contour-teinte); }
.ligne-panier__tailles { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.25rem, 1fr)); gap: var(--esp-2) var(--esp-3); }
.ligne-panier__taille { display: grid; gap: 2px; }
.ligne-panier__taille-nom { color: var(--gris); font-size: var(--t-micro-taille); font-weight: 500; letter-spacing: .04em; }
.ligne-panier__actions { display: flex; flex-wrap: wrap; gap: 0 var(--esp-4); }
.ligne-panier__actions .btn--discret { min-height: 2.5rem; font-size: var(--t-petit-taille); white-space: normal; text-align: left; }
.ligne-panier__etat { min-height: 1lh; color: var(--gris); font-size: var(--t-petit-taille); }
.ligne-panier__etat--erreur { color: var(--err); font-weight: 500; }
.ligne-panier--retiree { grid-template-columns: minmax(0, 1fr) auto; align-items: center; color: var(--gris); }
@container ligne (min-width: 36rem) {
  .ligne-panier__tete .ligne-panier__total { order: 2; }
}
@container ligne (min-width: 40rem) {
  .ligne-panier { grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--esp-5); }
}

/* =====================================================================================================
   28. Onglets (les .tabs de Fil 2.0) : des pilules dans une gouttière de brume, le courant blanc et posé
   (--sh-1) ; au survol, le blanc s'esquisse. Défile à l'horizontale quand la place manque.
   <nav class="onglets"><a aria-current="page">…</a><a>…</a></nav>
   ===================================================================================================== */
.onglets { display: inline-flex; max-width: 100%; gap: 4px; padding: 4px; border-radius: var(--pill); background: var(--brume); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.onglets::-webkit-scrollbar { display: none; }
.onglets > :is(a, button) {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 2.625rem;
  padding: 0 1.125rem;
  border: 0;
  border-radius: var(--pill);
  background: none;
  color: var(--encre-2);
  font: 800 .9375rem / 1.2 var(--f);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--d-survol) linear, box-shadow var(--d-survol) linear;
}
.onglets > :is(a, button):is(:hover, [data-force~="survol"]) { background: color-mix(in srgb, var(--blanc) 60%, transparent); }
.onglets > :is([aria-current="page"], [aria-selected="true"]) { background: var(--blanc); color: var(--encre); box-shadow: var(--sh-1); }
/* La gouttière défile et rogne : l'anneau se dessine dedans, de la couleur du texte. */
.onglets > :is(a, button):focus-visible { outline: 3px solid currentColor; outline-offset: -5px; box-shadow: none; }

/* =====================================================================================================
   29. Étiquettes : le « tissé », réservé à « Personnalisable en ligne » ; « Sur devis » ; une étape
   ===================================================================================================== */
/* Les .tag de Fil 2.0 : une pilule de 26 px, Nunito 800 à 11,5 px en capitales espacées de 0,06 em.
   « Personnalisable en ligne » est la .tag--perso, violette, blanc dessus (6,37:1) ; « Sur devis » la
   .tag--devis, orange, l'encre dessus (8,55:1). Ces deux noms restent ceux des gabarits : le nom .tag est
   celui que WordPress pose sur le corps d'une archive d'étiquette, il ne peut pas être une primitive. */
.tisse,
.badge-devis {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 1.625rem;
  padding: .25rem .6875rem;
  border-radius: var(--pill);
  font: 800 .71875rem/1.1 var(--f);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tisse { background: var(--violet); color: var(--blanc); }
.badge-devis { background: var(--orange); color: var(--encre); }

/* =====================================================================================================
   30. Cœur : mettre de côté. Un bouton à bascule (aria-pressed), 44 px, rond, blanc sur la plaque (le
   .pc-fav de Fil) ; pressé, il se remplit du violet de la marque. Il ne bouge pas : seul son remplissage change, et
   un battement de 240 ms le confirme (rien en mouvement réduit).
   <button class="coeur" type="button" aria-pressed="false" aria-label="Ajouter … aux favoris"><svg>…</svg></button>
   ===================================================================================================== */
.coeur {
  position: absolute;
  inset: .5rem .5rem auto auto;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1.5px solid var(--champ);
  border-radius: 50%;
  background: var(--blanc);
  color: var(--encre);
  cursor: pointer;
  transition: border-color var(--d-survol) linear, color var(--d-survol) linear;
}
.coeur::before { content: ""; position: absolute; inset: -2px; }
.coeur:is(:hover, [data-force~="survol"]) { border-color: var(--encre); }
.coeur > svg { width: 1.25rem; height: 1.25rem; fill: transparent; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; transition: fill var(--d-survol) linear; }
.coeur[aria-pressed="true"] { border-color: var(--violet); color: var(--violet); }
.coeur[aria-pressed="true"] > svg { fill: currentColor; }
.coeur[data-bat] > svg { animation: coeur-bat var(--d-coeur) var(--doux); }
@keyframes coeur-bat { 50% { transform: scale(1.18); } }
.coeur--ligne { position: relative; inset: auto; flex: none; }
.coeur[aria-busy="true"] { cursor: progress; }
@media (prefers-reduced-motion: reduce) { .coeur[data-bat] > svg { animation: none; } }
:root[data-mouvement="reduit"] .coeur[data-bat] > svg { animation: none; }

/* =====================================================================================================
   31. Plaque : le fond d'une photo de vêtement, le lilas gris de Fil qui laisse la couleur du vêtement à la photo
   ===================================================================================================== */
.plaque { position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate; border-radius: var(--r-photo); background: var(--plaque); }
.plaque__photo { width: 86%; height: auto; object-fit: contain; }
/* Les photographies du fournisseur sont des JPEG sur fond blanc (mesuré le 03/11/2026 sur la photo du
   vêtement de l'accueil) : posées sur le beige, elles faisaient un carré blanc dans la plaque. Une plaque
   qui porte une photographie prend le blanc de la photo, la seule teinte qui ne change ni la photo ni le
   vêtement ; le filet garde son bord sur le fond clair. */
.plaque:has(> img) { background: var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne); }
.sans-photo { padding: var(--esp-4); color: var(--gris); font-size: var(--t-1); text-align: center; }

/* =====================================================================================================
   32. Fil d'Ariane (les .crumbs de Fil) : Nunito Sans 14 px en gris, les liens d'encre, la barre oblique en --ligne-2
   ===================================================================================================== */
.ariane ol { display: flex; flex-wrap: wrap; gap: .375rem; margin: 0; padding: 1.125rem 0 .5rem; list-style: none; color: var(--gris); font: 500 .875rem/1.4 var(--f-texte); }
.ariane li + li::before { content: "/"; margin-inline-end: .375rem; color: var(--ligne-2); }
.ariane a { color: var(--encre); text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); text-underline-offset: 3px; }
.ariane a:hover { text-decoration-color: var(--orange); }
.ariane [aria-current="page"] { color: var(--gris); }

/* =====================================================================================================
   33. État : vide, erreur. Un bloc qui dit ce qui se passe et ce qu'on peut faire, jamais
   une excuse. <div class="etat"><p class="etat__titre">…</p><p>…</p><a class="btn …">…</a></div>
   ===================================================================================================== */
.etat { display: grid; justify-items: start; gap: .625rem; padding: 1.75rem 1.5rem; border: 1px solid var(--ligne); border-radius: var(--r-3); background: var(--surface); }
.etat__titre { font: 800 var(--t1) / 1.15 var(--f-titre); }
.etat--erreur { border-color: var(--note-err); background: var(--err-bg); }
.etat--erreur .etat__titre { color: var(--critique); }

/* =====================================================================================================
   34. Barre de décision : sous 900 px, l'atelier et la vérification posent en bas une bande de nuit,
   le prix à gauche, l'action à droite. Elle réserve sa hauteur (--decision-h, posée par le module qui
   l'affiche), si bien qu'elle ne recouvre jamais le contenu ni le consentement, qui monte au-dessus.
   ===================================================================================================== */
.decision {
  position: fixed;
  inset: auto 0 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .625rem;
  padding: .625rem var(--gouttiere) calc(.625rem + env(safe-area-inset-bottom));
  background: var(--nuit);
  color: var(--sur-nuit);
  box-shadow: var(--ombre-flottant);
}
.decision__texte { min-width: 0; color: var(--sur-nuit-2); font-size: var(--t-1); line-height: 1.3; }
.decision__texte strong { display: block; color: var(--sur-nuit); font-size: var(--t0); font-variant-numeric: tabular-nums; }
.decision__actions { display: flex; align-items: center; gap: .375rem; }
.decision__actions .btn { min-height: 2.875rem; padding: .5rem 1rem; }
.decision__actions .btn--secondaire { --btn-fond: var(--nuit-2); --btn-texte: var(--sur-nuit); --btn-bord: var(--bord-nuit); --btn-fond-survol: var(--nuit-3); --btn-bord-survol: var(--sur-nuit); }
.decision :focus-visible { outline-color: var(--sur-nuit); box-shadow: none; }
@media (min-width: 56.25rem) { .decision { display: none; } }

/* =====================================================================================================
   35. Les deux bases d'un prix, et l'interrupteur qui choisit laquelle passe devant. Les deux valeurs
   viennent du serveur dans le balisage (paire() de inc/chrome.php, depuis Settings::price_pair) ;
   l'interrupteur ne calcule rien, il montre l'une ou l'autre écriture. Sans script, la TTC devant.
   ===================================================================================================== */
.paire { font-variant-numeric: tabular-nums; }
.paire__ht { display: var(--paire-ht, none); }
.paire__ttc { display: var(--paire-ttc, inline); }
/* L'INTERRUPTEUR N'EXISTE QUE LÀ OÙ IL CHANGE QUELQUE CHOSE : une page dont le contenu porte au moins une
   paire. Les pages adoptent paire() une à une (voies découverte, fiche, panier) ; jusque-là leurs prix
   s'écrivent « 26,52 € TTC (22,10 € HT) », chacun nommé. Montré sur elles, l'interrupteur dirait « HT »
   sans rien changer, et la ligne du pied, qui est une paire, annoncerait « Prix hors taxes » au-dessus de
   prix écrits TTC d'abord (passe adversariale du 03/11/2026). Sans :has(), ni interrupteur ni bascule :
   la TTC devant, comme sans script.
   LE :has() EST LE SUJET DE SA RÈGLE, ET L'ÉTAT DESCEND PAR DES PROPRIÉTÉS HÉRITÉES (PERF-01, 17/11/2026). Écrit
   `html:has(…) .paire__ttc`, il faisait de <html> l'ancre d'un :has() hors sujet : Blink recalculait alors le
   style du document entier à chaque élément inséré, 1 082 éléments par insertion, 42 recalculs forcés dans la
   seule tâche de 3,3 s de l'accueil au téléphone (audit, CPU x4). Sujet, il ne recalcule que <html>, et les
   enfants seulement quand la valeur change. Toute règle de thème qui pose un :has() sur html, :root ou body
   suit cette forme. */
html[data-prix="ht"]:has(main .paire__ht) { --paire-ttc: none; --paire-ht: inline; --paire-ttc-bloc: none; --paire-ht-bloc: block; }
.paire__autre { color: var(--gris); font-weight: 400; }
.prix-mode { display: var(--prix-mode, none); align-items: center; gap: .5rem; flex: none; color: var(--gris); font: 800 .6875rem / 1 var(--f); letter-spacing: .06em; text-transform: uppercase; }
html.has-js:has(main .paire__ht) { --prix-mode: inline-flex; }
.prix-mode__choix { display: inline-flex; padding: 2px; border: 1px solid var(--bord); border-radius: var(--pilule); }
.prix-mode__choix button {
  display: inline-grid;
  place-items: center;
  min-width: 2.5rem;
  min-height: 1.75rem;
  padding: 0 .625rem;
  border: 0;
  border-radius: var(--pilule);
  background: none;
  color: var(--encre);
  font: 800 .6875rem / 1 var(--f);
  letter-spacing: .06em;
  cursor: pointer;
  transition: background-color var(--d-survol) linear, color var(--d-survol) linear;
}
.prix-mode__choix button abbr { text-decoration: none; }
.prix-mode__choix button[aria-checked="true"] { background: var(--encre); color: var(--fond); }
.prix-mode__choix button:not([aria-checked="true"]):hover { background: var(--brume); }
/* Une cible de 24 px au moins (WCAG 2.5.8) : 28 px de haut, 40 de large */

/* =====================================================================================================
   36. WhatsApp : un lien ordinaire vers wa.me, la marque dessinée en ligne, le numéro écrit en clair.
   Aucun script ni image d'un tiers ; le vert est celui de la marque, sur sa seule pastille.
   ===================================================================================================== */
.whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.5rem;
  color: var(--encre);
  font-weight: 650;
  text-decoration: underline 1px;
  text-underline-offset: .25em;
}
.whatsapp:hover { text-decoration-thickness: 2px; }
.whatsapp__marque { width: 1.25rem; height: 1.25rem; flex: none; }
.whatsapp__numero { font-variant-numeric: tabular-nums; }

/* =====================================================================================================
   37. « Besoin d'aide ? » : la mécanique. Un bouton flottant en bas à droite, là où l'on cherche, jamais
   sur le parcours de commande. Il passe sous l'en-tête et les tiroirs, n'existe pas tant que le
   consentement attend une réponse (la dernière règle de la section), et chrome.js l'efface (data-cache)
   dès qu'il approche d'une action principale, d'une cible de moins de 24 px ou de ce qui a le focus. Il
   ouvre un panneau : WhatsApp, le téléphone et ses heures, le centre d'aide, un devis.
   Le dessin du bouton et du panneau (Fil, « Communs-panneaux » A8) est dans chrome.css, section 37, et
   nulle part ailleurs : jusqu'au 17/11/2026 les deux feuilles le portaient, celle-ci recouverte
   propriété par propriété par l'autre.
   ===================================================================================================== */
.aide-flottant {
  position: fixed;
  z-index: 30;
  display: var(--aide-affiche, inline-flex);
  align-items: center;
  cursor: pointer;
}
/* Le fondu ne vaut qu'une fois la page lue (data-pret, chrome.js) : un bouton que le premier calcul efface
   ne paraît pas une fraction de seconde pour s'effacer sous les yeux, et reste invisible dès le début pour
   qui le mesure. */
.aide-flottant[data-pret] { transition: opacity var(--d-survol) linear, visibility 0s linear; }
.aide-flottant[data-cache] { opacity: 0; visibility: hidden; pointer-events: none; }
.aide-flottant[data-pret][data-cache] { transition: opacity var(--d-survol) linear, visibility 0s linear var(--d-survol); }
/* Une barre de décision au bas de l'écran (atelier, vérification) : jamais par-dessus elle. Le corps est le
   sujet de chaque :has() de cette section, et le bouton lit --aide-bas et --aide-affiche (section 35, PERF-01) ;
   chrome.css garde la hauteur de repos en repli de --aide-bas. */
body:has(.decision) { --aide-bas: calc(var(--decision-h, 4.5rem) + 1rem); }
/* Ni par-dessus la barre d'achat de la fiche, quand elle est montée : elle passait au-dessus du bouton, qui
   prenait le focus caché sous elle (verify:a11y du 03/11/2026, 2.4.11 à 375 px). */
body:has(.barre-achat[data-visible]) { --aide-bas: calc(var(--barre-achat-h, 4.5rem) + 1rem); }
/* Le bandeau de consentement passe d'abord : tant qu'il attend une réponse, le bouton attend aussi, à
   toutes les largeurs, comme sur la maquette F (la carte du bandeau tient le coin où il se pose). La règle
   vient après celles des barres pour l'emporter : la barre d'achat garde data-visible sous un bandeau qui
   la retire (produit.css), et le bouton tombait à 16 px du bas, sous le bandeau (verify:a11y du
   03/11/2026, 1 440 px, première visite). Le pied garde le téléphone et WhatsApp. */
body:has(.consentement:not(.consentement--en-fin)) { --aide-affiche: none; }
/* Sans script, le bouton n'ouvrirait rien dans un navigateur sans commandes déclaratives : il ne se
   montre que s'il peut agir ; le pied garde le téléphone et WhatsApp. */
html:not(.has-js) .aide-flottant { display: none; }

/* Le panneau : un modal qui défile en lui-même, entre et sort en fondu (display et overlay en
   allow-discrete, pour que la sortie se voie avant que le dialogue ne quitte la couche du dessus). */
dialog.aide-panneau {
  position: fixed;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 1;
  translate: 0 0;
  transition: opacity var(--d-entree) var(--doux), translate var(--d-entree) var(--doux), display var(--d-entree) allow-discrete, overlay var(--d-entree) allow-discrete;
}
@starting-style { dialog.aide-panneau[open] { opacity: 0; translate: 0 .75rem; } }
dialog.aide-panneau:not([open]) { opacity: 0; translate: 0 .75rem; }

/* =====================================================================================================
   38. La frise « Comment ça marche » (template-parts/frise.php), planche « 03 Accueil » de Fil : sur le
   lin, la tête en deux colonnes (le titre ; la phrase et l'atelier), puis sept étapes aux grands
   numéros violets. Le bon à tirer porte « Votre validation », la seule étape qui attend l'acheteur.
   Sur une rangée (960 px), notre fil court derrière les numéros : le pointillé est la voie, l'orange se
   tend quand la frise passe sous les yeux et chaque numéro atteint passe de pâle à plein (opacité
   seule). Le défilement mène l'animation (animation-timeline), sans script : là où le navigateur ne la
   connaît pas, ou si le mouvement est réduit, la frise est dessinée finie, le fil tendu.
   ===================================================================================================== */
@property --tendu { syntax: "<number>"; inherits: true; initial-value: 1; }
.frise { padding-block: var(--section-y); }
.frise__tete { display: grid; gap: 1.25rem; margin-block-end: clamp(2.25rem, 1.5rem + 2.4vw, 4rem); }
.frise__titres .surtitre { color: var(--violet); }
.frise__titre { max-width: 18ch; margin-block-start: 1.125rem; font: 800 var(--t4) / 1 var(--f); letter-spacing: -.035em; text-wrap: balance; }
.frise__suite { display: grid; justify-items: start; gap: 1rem; }
.frise__sous { max-width: 46ch; margin: 0; font-size: var(--chapo); line-height: 1.5; }
.frise__pied { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.frise__liste { position: relative; --tendu: 1; }
.frise__etapes { display: grid; gap: 2.25rem 1rem; margin: 0; padding: 0; list-style: none; }
.frise__voie,
.frise__tendu { display: none; pointer-events: none; }
.frise__etape { position: relative; padding-inline-end: 1rem; }
/* Le lin derrière le numéro coupe la voie, comme sur la planche : le fil passe sous lui. Seul le
   chiffre (le span) s'allume ; le lin reste opaque, sinon la voie se verrait à travers. */
.frise__num { position: relative; z-index: 1; display: inline-block; padding-inline-end: .5rem; background: var(--lin); color: var(--violet); font: 800 clamp(2.125rem, 1.6rem + 1.4vw, 3.125rem) / 1 var(--f); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.frise__nom { margin-block-start: .875rem; font: 900 1.25rem / 1.2 var(--f); letter-spacing: -.01em; }
.frise__dit { max-width: 34ch; margin-block-start: .375rem; color: var(--gris); font-size: .9375rem; line-height: 1.5; text-wrap: pretty; }
.frise__repere { margin-block-start: .625rem; }

@keyframes frise-tendre { from { --tendu: 0; } to { --tendu: 1; } }
@keyframes frise-atteindre { from { opacity: .35; } to { opacity: 1; } }
/* On a phone the board lists the steps with a small numeral, as a label: the big violet figures
   start where the steps stand side by side. */
@media (max-width: 37.49rem) {
  .frise__num { padding: 0; background: none; font-size: .8125rem; letter-spacing: .04em; }
  .frise__nom { margin-block-start: .375rem; font-size: 1.0625rem; }
}
@media (min-width: 37.5rem) {
  .frise__etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 48rem) {
  .frise__tete { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 1.5rem; }
  .frise__etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 60rem) {
  .frise__etapes { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
  .frise__voie,
  .frise__tendu { position: absolute; inset: clamp(1.0625rem, .8rem + .7vw, 1.5625rem) 1rem auto 0; display: block; height: 0; }
  .frise__voie { border-top: 1.5px dashed var(--trait); }
  .frise__tendu { border-top: 2px solid var(--orange); transform-origin: 0 50%; transform: scaleX(var(--tendu)); }
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      /* Le fil se tend pendant que la frise monte de 90 % à 35 % de l'écran (8 % à 53 % de son
         passage pour une frise de 200 px sous 900 px d'écran), et le numéro n s'allume au n-ième
         sixième de ce trajet. */
      :root:not([data-mouvement="reduit"]) .frise__liste {
        view-timeline: --frise block;
        animation: frise-tendre linear both;
        animation-timeline: --frise;
        animation-range: cover 8% cover 53%;
      }
      :root:not([data-mouvement="reduit"]) .frise__num > span { animation: frise-atteindre linear both; animation-timeline: --frise; }
      :root:not([data-mouvement="reduit"]) .frise__etape:nth-child(1) .frise__num > span { animation-range: cover 7% cover 8%; }
      :root:not([data-mouvement="reduit"]) .frise__etape:nth-child(2) .frise__num > span { animation-range: cover 15% cover 15.5%; }
      :root:not([data-mouvement="reduit"]) .frise__etape:nth-child(3) .frise__num > span { animation-range: cover 22.5% cover 23%; }
      :root:not([data-mouvement="reduit"]) .frise__etape:nth-child(4) .frise__num > span { animation-range: cover 30% cover 30.5%; }
      :root:not([data-mouvement="reduit"]) .frise__etape:nth-child(5) .frise__num > span { animation-range: cover 37.5% cover 38%; }
      :root:not([data-mouvement="reduit"]) .frise__etape:nth-child(6) .frise__num > span { animation-range: cover 45% cover 45.5%; }
      :root:not([data-mouvement="reduit"]) .frise__etape:nth-child(7) .frise__num > span { animation-range: cover 52.5% cover 53%; }
    }
  }
}

/* =====================================================================================================
   39. Le menu du téléphone : un tiroir venu de la gauche, du côté du bouton qui l'ouvre, sur toute la
   hauteur. Il prend la largeur de l'écran moins une bande où la page reste vue, et un toucher sur cette
   bande le referme (ui.js, tiroir()).
   ===================================================================================================== */
dialog.tiroir--gauche {
  inset: 0 auto 0 0;
  width: min(25rem, calc(100vw - 2.25rem));
  height: 100dvh;
  max-height: none;
  border-radius: 0;
  translate: var(--drag) 0;
  transition: translate var(--d-tiroir-bureau) var(--courbe-tiroir);
}
@starting-style { dialog.tiroir--gauche[open] { translate: -100% 0; } }
dialog.tiroir--gauche[data-sortie] { translate: -100% 0; }
dialog.tiroir--gauche .tiroir__tete { padding-block-start: var(--esp-4); }
@media (min-width: 60rem) {
  dialog.tiroir--gauche:not(.tiroir--bas) { inset: 0 auto 0 0; width: 25rem; }
  @starting-style { dialog.tiroir--gauche:not(.tiroir--bas)[open] { translate: -100% 0; } }
  dialog.tiroir--gauche:not(.tiroir--bas)[data-sortie] { translate: -100% 0; }
}

/* =====================================================================================================
   40. Primitives de Fil que le système n'avait pas, sous les noms de la maquette quand ils sont libres
   (.chip, .box, .panel, .sk) et sous un nom français quand le sien ne l'est pas : la .tag de Fil est
   .etiquette, parce que WordPress pose « tag » sur le corps d'une archive d'étiquette ; sa .note est
   .message (section 21), parce que pages/texte.css et le fil des commandes de WooCommerce tiennent .note.
   ===================================================================================================== */
/* La puce de filtre (planche 03) : une pilule bordée de --ligne-2, Nunito 800 à 14 px ; pressée ou
   courante, pleine d'encre. Son libellé dit qu'elle se presse, d'où un bord sous 3:1 accepté par Fil. */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.5rem;
  padding: 0 .875rem;
  border: 1.5px solid var(--ligne-2);
  border-radius: var(--pill);
  background: var(--papier);
  color: var(--encre);
  font: 800 .875rem / 1.2 var(--f);
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--d-survol) linear, background-color var(--d-survol) linear;
}
.chip:is(:hover, [data-force~="survol"]) { border-color: var(--trait); }
.chip:is([aria-pressed="true"], [aria-current="page"], .on) { border-color: var(--encre); background: var(--encre); color: var(--papier); }
/* L'étiquette (la .tag de Fil 2.0) : 26 px, Nunito 800 à 11,5 px, capitales espacées de 0,06 em.
   Chaque fond mesuré avec son encre : blanc sur violet 6,37:1, encre sur orange 8,55:1, violet profond
   sur lilas 10,52:1, ambre sur abricot 5,50:1, blanc sur encre 19,03:1, encre sur blanc 19,03:1. */
.etiquette {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 1.625rem;
  padding: .25rem .6875rem;
  border-radius: var(--pill);
  background: var(--lilas);
  color: var(--violet-900);
  font: 800 .71875rem / 1.1 var(--f);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.etiquette > svg { width: 14px; height: 14px; }
.etiquette--perso { background: var(--violet); color: var(--blanc); }
.etiquette--devis { background: var(--orange); color: var(--encre); }
.etiquette--exemple { background: var(--abricot); color: var(--warn); }
.etiquette--encre { background: var(--encre); color: var(--blanc); }
.etiquette--blanc { background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); }
/* Les surfaces : la boîte (un regroupement sur la page) et le panneau (ce qui se pose dessus, ombré). */
.box { padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--ligne); border-radius: var(--r-3); background: var(--papier); }
.panel { padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--ligne); border-radius: var(--r-3); background: var(--papier); box-shadow: var(--sh-2); }
/* Un bloc de squelette posé hors d'un .chargement (une vignette, une ligne de prix) : immobile, 12 px. */
.sk { display: block; min-height: 1em; border-radius: var(--r-champ); background: var(--squelette); }
