/* ==========================================================================
   mcp-ticket · tk-bridge.css — feuille de pont
   Applique les jetons et composants « Le Ticket v2 » aux classes produites par
   les extraits (ca-*, cad-*, caf-*, cafl-*), SANS renommer leur balisage (JS,
   filtres par chaîne exacte et schémas en dépendent).
   Imprimée en wp_head 10002, après toutes les feuilles des extraits.
   Règle de Kevinoo (20/10/2026) : pas de code par-dessus du code. Aucune règle ici ne sert
   à battre un ancien style (ni !important, ni :not(#…), ni sélecteur gonflé) : les anciennes
   feuilles sont retirées à la source par les lots (Apparence > Ticket, inc/lots.php). Lot
   décoché = l'ancien style revient tel quel (retour arrière). Seule exception, la barre du bas
   et son panneau « Catégories » (§ 5.2), dont la feuille (115) n'est encore dans aucun lot :
   voir docs/SURCOUCHES-21-10.md.
   Portée : body.tk-site. Aucune couleur en dur : jetons uniquement.

   Sommaire
   0. Filets de sécurité de la transition (doublons d'en-tête et de pied)
   1. Règles fonctionnelles à garder (pots de miel, [hidden], is-hidden, barre fermée)
   2. Variables des anciennes feuilles remappées sur les jetons
   3. Socle des extraits (conteneur, icônes, lecteurs d'écran)
   4. Composants : premiers raccords (codes, Copier, CTA, pastilles, FAQ, encadrés)
   ========================================================================== */

/* ---------- 0. Filets de sécurité ----------
   Si une ligne de garde manque dans 015, 079, 352, 017 ou 112, leur ancien rendu
   s'imprime encore : on le masque pour éviter deux en-têtes ou deux pieds.
   À retirer quand les gardes sont posées et vérifiées (PLAN-THEME.md § 4). */
body.tk-site .ca-header-actions,
body.tk-site .ca-hsearch,
body.tk-site .ca-tt-mob,
body.tk-site .ca-footer { display: none; }
body.tk-site > section.ca-nl-bande ~ section.ca-nl-bande { display: none; }

/* ---------- 1. Règles fonctionnelles (ne jamais retirer) ---------- */
/* Pots de miel : toujours hors de vue, jamais touchés par une règle générique. */
body.tk-site .ca-hp,
body.tk-site .ca-sig-hp,
body.tk-site .ca-nl-piege,
body.tk-site .ca-auth-piege,
body.tk-site .ca-od-hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
/* Grille 006 : les cartes filtrées portent [hidden]. Règle simple (sans !important) : elle passe devant l'affichage en
   grille des tickets, et laisse le <noscript> de 006 montrer toutes les offres quand JavaScript est coupé. */
body.tk-site .ca-card[hidden],
body.tk-site .ca-grid [hidden] { display: none; }
/* Lignes de membres au-delà de 10 (039, règle autrefois dans #ca-community-extra). */
body.tk-site .ca-row.is-hidden { display: none; }
/* Barre d'ouverture fermée (308, 309). */
html.ca-obar-off body.tk-site .ca-obar { display: none; }
/* Liens vers une fiche épuisée, neutralisés par le script de 165 (règle autrefois imprimée en pied par 165). */
body.tk-site .ca-off-badge { opacity: .55; filter: grayscale(1); pointer-events: none; cursor: not-allowed; }
/* Lien « Annuler » des réponses aux avis : toujours masqué (028). */
body.tk-site .ca-review-cancel { display: none; }
/* H2 de l'accueil caché pour les lecteurs d'écran (221), si l'extrait 365 ne le remplace pas. */
body.tk-site .ca-sr-h2 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Note obligatoire (329) : 028 pose data-note-requise="1" ; le texte est celui de 329, mot pour mot (l'attribut ne
   contient que « 1 »). */
body.tk-site [data-note-requise]::after { content: "Choisissez une note avant de publier votre avis."; display: block; margin-top: 6px; color: var(--danger); font-size: var(--fs-sm); font-weight: 700; }
/* Étoiles du formulaire d'avis (028, boutons .ca-rate) : leur base venait du CSS additionnel d'Astra, leurs couleurs de
   329 et 085 (retirés par les lots). Vides : contour gris ; choisies : pleines, à la teinte des titres (au moins 5,8:1
   dans les 4 thèmes). La forme (contour ou pleine) dit l'état, pas seulement la couleur. */
body.tk-site button.ca-rate { min-width: 0; min-height: 0; margin: 0; padding: 0 2px; border: 0; border-radius: 4px; background: none; box-shadow: none; cursor: pointer; font-size: 1.7rem; line-height: 1; color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px var(--muted); transition: transform .12s; }
body.tk-site button.ca-rate.on { color: var(--tk-titre-a); -webkit-text-fill-color: var(--tk-titre-a); -webkit-text-stroke: 1.5px var(--tk-titre-a); }
body.tk-site button.ca-rate:focus-visible { outline: 2px solid var(--accent-text, var(--accent)); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { body.tk-site button.ca-rate:hover { transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { body.tk-site button.ca-rate, body.tk-site button.ca-rate:hover { transition: none; transform: none; } }
@media (forced-colors: active) { body.tk-site button.ca-rate { -webkit-text-fill-color: Canvas; -webkit-text-stroke: 1.5px CanvasText; } body.tk-site button.ca-rate.on { -webkit-text-fill-color: Highlight; } }

/* ---------- 2. Variables des anciennes feuilles ----------
   Le CSS additionnel d'Astra définissait ces variables ; elles disparaissent avec lui.
   On les rebranche sur les jetons (clair et sombre suivent data-theme). */
body.tk-site {
  --violet: var(--ink);
  --brand: var(--ink);
  --panel: var(--surface);
  --txt: var(--ink);
  /* Interdit du design system : pas de couleur par marque ni par catégorie. */
  --cc: var(--ink);
  --cf-brand: var(--ink);
  --cal-brand: var(--surface);
  --cal-1: var(--surface);
  --cal-2: var(--surface);
}
body.tk-site :is(.ca-card, .ca-cat, .ca-cat-link, .ca-src-chip, .caf-hero, .ca-logo) { --cc: var(--ink); --cf-brand: var(--ink); --cal-1: var(--surface); --cal-2: var(--surface); }

/* ---------- 3. Socle ---------- */
body.tk-site .ca-wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
body.tk-site .ca-i { display: inline-block; vertical-align: middle; flex: none; }
body.tk-site .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.tk-site .screen-reader-text:focus { position: static; width: auto; height: auto; clip: auto; }
body.tk-site :where(.entry-content, .ca-navmob, .ca-obar) :where(img, svg) { display: inline-block; vertical-align: middle; }
body.tk-site .entry-content :where(.ca-logo img, figure img, .ca-art-cover img) { display: block; }

/* ---------- 4. Composants : premiers raccords ----------
   Spécificité volontairement faible (une classe + body.tk-site) : on complète, sans
   lutter contre les extraits tant que leur lot n'est pas actif. */

/* Codes : mono 700, JAMAIS de text-transform (les codes sont sensibles à la casse). */
body.tk-site :is(.ca-code, .ca-cb-val, .caf-code, .cafl-code, .cac-code, .ca-top-code, .ca-artcode-code, .ca-mcard-val, .ca-compare-code, .caf-bar-code) {
  font-family: var(--font-mono); font-weight: 700; text-transform: none; letter-spacing: 0; font-variant-numeric: slashed-zero;
}

/* Copier → .copy */
body.tk-site :is(.ca-copy-btn, .caf-copy, .caf-bar-copy, .ca-copy-code, .ca-top-copy, .ca-artcode-copy) {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap);
  padding: 0 14px; border: 0; border-radius: 10px; background: var(--accent); color: var(--on-accent);
  font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: var(--fw-strong); font-stretch: var(--wd-title);
 letter-spacing: 0; cursor: pointer;
}
body.tk-site :is(.ca-copy-btn, .caf-copy, .caf-bar-copy, .ca-copy-code, .ca-top-copy, .ca-artcode-copy):is(.is-copied, .is-done, .is-ok) {
  background: var(--copied-bg); color: var(--ink);
}

/* Action principale → .btn--primary (une seule par écran : sur la fiche, .caf-cta). */
body.tk-site :is(.caf-cta, .ca-cta-primary, .ca-cta-offer, .ca-row-go, .ca-auth-btn, .ca-share-btn, .ca-sig-btn, .ca-nl-btn, .ca-review-submit, .ca-pf-submit, .ca-od-btn, .ca-msg-send):not(.caf-cta-ghost) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border-radius: var(--r-md); border: 1.5px solid var(--sel-bg); background: var(--sel-bg); color: var(--sel-ink);
  font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: var(--fw-strong); font-stretch: var(--wd-title);
 letter-spacing: 0; text-decoration: none;
}
/* Fiche épuisée (165) : bouton neutralisé, jamais présenté comme valable. */
body.tk-site :is(.caf-cta, .ca-cta-primary, .ca-cta-offer).caf-cta-off {
  border-color: var(--off-hatch); color: var(--off-ink); cursor: not-allowed; pointer-events: none;
  background: repeating-linear-gradient(135deg, var(--off-bg) 0 10px, var(--off-bg-2) 10px 20px);
}

/* Actions d'appoint → .btn--secondary */
/* .ca-hn-more, .ca-reco-plus et .ca-boost-plus sont des <p> (294, 213, 248) : c'est leur lien qui devient le bouton. */
body.tk-site :is(.caf-cta-ghost, .ca-cta-ghost:not(.ca-copy-btn), .ca-btn-ghost, .ca-dash-cta2, .ca-prof-link2, .ca-community-more, .ca-cl-more, .ca-hn-more > a, .ca-reco-plus > a, .ca-boost-plus > a, .caf-add-btn, .ca-community-cta, .ca-plus, .ca-community-showmore) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 0 16px;
  border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: var(--fw-strong); letter-spacing: 0; text-decoration: none;
}

/* Pastilles → .chip ; état actif → --sel-bg */
body.tk-site :is(button.ca-chip, .ca-news-chip, .ca-cl-chip, .ca-hubfilter button, a.ca-cat-link, .ca-maillage-l a, .caf-chip) {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 14px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-input); font-size: var(--fs-sm); font-weight: 600; text-decoration: none;
}
body.tk-site :is(button.ca-chip, .ca-news-chip, .ca-cl-chip, .ca-hubfilter button, a.ca-cat-link):is(.is-active, .is-on, .est-actif, [aria-current="page"], [aria-pressed="true"]) {
  background: var(--sel-bg); color: var(--sel-ink); border-color: var(--sel-bg);
}
body.tk-site :is(.ca-chip-n, .ca-cat-link-n, .ca-maillage-n) { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 600; color: inherit; opacity: .8; }

/* FAQ → .faq (details natif, le h3 de 008 reste dans le summary). */
body.tk-site details.ca-faq-item { border-top: 1px solid var(--line); background: transparent; }
body.tk-site summary.ca-faq-q { display: flex; align-items: center; gap: var(--sp-3); min-height: var(--tap); padding: var(--sp-4) 0; cursor: pointer; font-weight: var(--fw-strong); list-style: none; }
body.tk-site summary.ca-faq-q::-webkit-details-marker { display: none; }
body.tk-site summary.ca-faq-q :is(h2, h3) { display: inline; margin: 0; font-size: inherit; }
body.tk-site .ca-faq-a { padding: 0 0 var(--sp-4); color: var(--ink-2); }

/* Encadrés obligatoires (ANJ, crypto) → .notice--warn : toujours visibles et lisibles. */
body.tk-site :is(.cafl-legal, .ca-legal, .ca-artcode-anj) {
  display: block; position: relative; padding: 16px 16px 16px 22px; border-radius: var(--r-md);
  background: var(--warn-bg); color: var(--ink); font-size: var(--fs-sm); overflow: hidden;
  visibility: visible; opacity: 1;
}
/* Transparence et indépendance → .notice neutre */
body.tk-site :is(.cafl-disclosure, .ca-art-disclo, .caf-indep, .cafl-place) { color: var(--ink-2); font-size: var(--fs-sm); }

/* Fil d'Ariane → .crumbs (contenu identique au BreadcrumbList : 292). */
body.tk-site :is(.cad-crumb, .ca-prof-bc) { font-family: var(--font-sans); font-size: var(--fs-xs); letter-spacing: var(--tr-label); color: var(--muted); }
body.tk-site :is(.cad-crumb, .ca-prof-bc) a { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); min-height: var(--tap); color: inherit; }
/* Même repère que le fil du thème (inc/fil.php) : une petite maison devant « Accueil » (fiches, articles). */
body.tk-site .cad-crumb > a:first-child::before {
  content: ""; flex: none; width: 15px; height: 15px; margin-right: 6px; 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='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.2 12 4l9 7.2'/%3E%3Cpath d='M5.5 9.5V20h13V9.5'/%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='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.2 12 4l9 7.2'/%3E%3Cpath d='M5.5 9.5V20h13V9.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Barre d'ouverture (308) → .announce */
body.tk-site .ca-obar { background: var(--surface-inverse); color: var(--ink-inverse); font-size: var(--fs-sm); }
body.tk-site .ca-obar a { color: inherit; }

/* Badge des non-lus (127), posé par JS dans l'en-tête et le menu mobile. */
body.tk-site .hdr .ca-msg-badge,
body.tk-site .mmenu .ca-msg-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700; line-height: 1; }

/* ---------- 5. Cadre de page : barres et bandes des extraits (étape 2, 19/10/2026) ----------
   Le thème possède tout le cadre (en-tête, pied, barres). Les anciennes feuilles de la barre d'ouverture (309,
   lot « formulaires ») et de la newsletter (112, lot « entete » ; 150, lot « base ») sont retirées à la source :
   sélecteurs simples, sans renfort (21/10/2026). La barre du bas et le panneau « Catégories » (§ 5.2) gardent
   leur préfixe :root tant que la feuille de 115 (ca-ux-mobile) n'est dans aucun lot (docs/SURCOUCHES-21-10.md).
   Vérifié avec le vrai code des extraits 087, 150, 308, 309, 112 et 115 (tools/rendu-theme). */

/* 5.1 Barre d'ouverture (308, ancien style 309) → bandeau d'annonce sobre, entièrement cliquable,
   qui ne concurrence pas le bouton « Publier » de l'en-tête. */
body.tk-site .ca-obar { background: var(--ftr-bg); color: var(--ftr-ink); border-bottom: 1px solid var(--ftr-line); font-size: var(--fs-sm); line-height: 1.4; }
body.tk-site .ca-obar-in { position: relative; max-width: 1600px; margin: 0 auto; padding: 6px var(--gutter); display: flex; align-items: center; gap: 8px 14px; flex-wrap: nowrap; min-height: var(--tap); }
body.tk-site .ca-obar-pill { flex: none; order: 0; padding: 4px 9px; border: 0; border-radius: var(--r-pill); background: var(--accent-fill, var(--accent)); color: var(--on-accent); font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0; }
body.tk-site .ca-obar-t { flex: 1 1 auto; order: 0; margin: 0; min-width: 0; color: var(--ftr-ink); font-size: var(--fs-sm); }
body.tk-site .ca-obar-t b { color: inherit; font-weight: var(--fw-strong); }
body.tk-site .ca-obar .ca-obar-cta {
  flex: none; order: 0; width: auto; min-height: 0; padding: 0; border-radius: 0; background: none;
  color: var(--ftr-ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); white-space: nowrap;
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .2em;
}
/* Toute la barre ouvre /proposer-un-code/ (cible tactile pleine largeur) ; la croix reste au-dessus. */
body.tk-site .ca-obar .ca-obar-cta::after { content: ""; position: absolute; inset: 0; }
body.tk-site .ca-obar .ca-obar-cta:focus-visible { outline: none; box-shadow: none; }
body.tk-site .ca-obar .ca-obar-cta:focus-visible::after { outline: 3px solid var(--accent); outline-offset: -3px; }
body.tk-site .ca-obar-x { position: relative; z-index: 1; flex: none; order: 0; width: var(--tap); height: var(--tap); margin: -6px -10px -6px 0; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ftr-muted); font-size: 22px; line-height: 1; }
body.tk-site .ca-obar-x:hover { background: var(--ftr-line); color: var(--ftr-ink); }
body.tk-site .ca-obar-x:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
/* Texte long ou court selon la largeur (comme l'extrait 309, dont la feuille part avec le lot « formulaires »). */
body.tk-site .ca-obar-court { display: none; }
@media (max-width: 1099px) { body.tk-site .ca-obar-long { display: none; } body.tk-site .ca-obar-court { display: inline; } }
@media (max-width: 781px) {
  body.tk-site .ca-obar-in { flex-wrap: wrap; gap: 2px 10px; padding: 8px var(--gutter); }
  body.tk-site .ca-obar-pill { display: none; }
  body.tk-site .ca-obar-t { flex: 1 1 0; order: 1; font-size: var(--fs-xs); }
  body.tk-site .ca-obar-x { order: 2; margin: -8px -12px -4px 0; }
  body.tk-site .ca-obar .ca-obar-cta { order: 3; flex: 1 1 100%; font-size: var(--fs-xs); }
}

/* 5.2 Barre basse mobile (115, gardée pour l'instant) et son panneau « Catégories ». */
:root body.tk-site .ca-navmob { background: color-mix(in srgb, var(--surface) 92%, transparent); border-top: 1px solid var(--line); box-shadow: 0 -12px 28px -20px rgba(0, 0, 0, .45); }
:root body.tk-site .ca-navmob-i { position: relative; color: var(--muted); font-family: var(--font-sans); font-weight: 700; font-stretch: var(--wd-ui); border-radius: var(--r-md); }
:root body.tk-site .ca-navmob-i:is(:hover, :focus) { background: var(--surface-3); color: var(--ink); }
:root body.tk-site .ca-navmob-i.is-current { color: var(--ink); }
:root body.tk-site .ca-navmob-i.is-current::before { content: ""; position: absolute; top: -7px; left: 26%; right: 26%; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent-fill, var(--accent)); }
:root body.tk-site .ca-navmob-i:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
:root body.tk-site .ca-navmob .ca-msg-badge { background: var(--accent-fill, var(--accent)); color: var(--on-accent); }
:root body.tk-site .ca-sheet-bg { background: rgba(0, 0, 0, .5); }
:root body.tk-site .ca-sheet-panel { background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); box-shadow: var(--shadow-3); }
:root body.tk-site .ca-sheet-head strong { color: var(--ink); font-size: var(--fs-md); font-weight: var(--fw-title); font-stretch: var(--wd-title); }
:root body.tk-site .ca-sheet-x { width: var(--tap); height: var(--tap); border-radius: var(--r-sm); background: var(--surface-3); color: var(--ink); }
/* Noms en entier : 115 les coupe (« Investisse… », « Santé & Bie… »). Ici, retour à la ligne entre les mots,
   pas de pastille (couleur unique dans le thème, elle ne distinguait plus rien ; l'étoile de « Meilleures offres »
   reste) et une seule colonne sous 360 px. Contrôlé de 320 à 782 px par captures-etape2.mjs. */
:root body.tk-site .ca-sheet-i { gap: 6px; padding: 8px 10px; border: 1px solid var(--line-input); border-radius: var(--r-md); background: var(--surface); color: var(--ink); font-weight: 700; font-stretch: var(--wd-ui); line-height: 1.2; }
:root body.tk-site .ca-sheet-i:not(.ca-sheet-top) b { display: none; }
:root body.tk-site .ca-sheet-i > span { overflow: visible; font-size: .8125rem; white-space: normal; text-overflow: clip; overflow-wrap: break-word; }
:root body.tk-site .ca-sheet-n { padding: 4px 6px; background: var(--surface-3); color: var(--muted); font-family: var(--font-sans); font-size: var(--fs-xs); }
@media (max-width: 359px) { :root body.tk-site .ca-sheet-list { grid-template-columns: minmax(0, 1fr); } }
:root body.tk-site .ca-sheet-i:is(:hover, :focus) { background: var(--surface-2); border-color: var(--line-strong); color: var(--ink); }
:root body.tk-site .ca-sheet-i.is-active, :root body.tk-site .ca-sheet-i.is-active:is(:hover, :focus) { background: var(--sel-bg); border-color: var(--sel-bg); color: var(--sel-ink); }
:root body.tk-site .ca-sheet-i.is-active .ca-sheet-n { background: transparent; color: var(--sel-muted); }
:root body.tk-site .ca-sheet-i.ca-sheet-top, :root body.tk-site .ca-sheet-i.ca-sheet-top:is(:hover, :focus, .is-active) { background: var(--accent-fill, var(--accent)); border-color: transparent; color: var(--on-accent); }
:root body.tk-site .ca-sheet-i.ca-sheet-top b { color: var(--on-accent); }
:root body.tk-site .ca-sheet-i.ca-sheet-top .ca-sheet-n { background: rgba(0, 0, 0, .14); color: var(--on-accent); }
:root body.tk-site :is(.ca-sheet-i, .ca-sheet-x):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* 5.3 Bande newsletter (112), affichée par footer.php au-dessus du pied → carte du design system.
   Newsletter retirée du site le 19/10/2026 (inc/newsletter.php) : footer.php ne l'affiche plus et ce qui
   reste chez les extraits est masqué ci-dessous ; les styles sont gardés pour la remettre. */
body.tk-sans-newsletter :is(.ca-nl, .ca-top-nl) { display: none; }
body.tk-site .ca-nl-bande { padding: var(--sp-12) var(--gutter) 0; }
body.tk-site .ca-nl-bande .ca-nl-wrap { max-width: calc(var(--container) - 2 * var(--gutter)); gap: var(--sp-5) var(--sp-8); padding: var(--sp-6); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-2); }
body.tk-site .ca-nl-bande .ca-nl-titre { color: var(--ink); font-size: var(--fs-lg); font-weight: var(--fw-title); font-stretch: var(--wd-title); letter-spacing: var(--tr-title); }
body.tk-site .ca-nl-bande .ca-nl-sous { color: var(--ink-2); font-size: var(--fs-sm); }
body.tk-site .ca-nl-form input.ca-nl-input { height: 48px; padding: 0 14px; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-input); border-radius: var(--r-md); font-size: var(--fs-base); }
body.tk-site .ca-nl-form input.ca-nl-input::placeholder { color: var(--muted); }
body.tk-site .ca-nl-form input.ca-nl-input:focus { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--line-strong); box-shadow: 0 0 0 6px var(--focus-halo); }
body.tk-site .ca-nl-form .ca-nl-btn,
body.tk-site .ca-nl-form .ca-nl-btn:hover {
  min-height: 48px; padding: 0 22px; border: 1.5px solid var(--sel-bg); border-radius: var(--r-md);
  background: var(--sel-bg); background-image: none; color: var(--sel-ink);
  font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: var(--fw-strong); font-stretch: var(--wd-title); letter-spacing: 0;
}
body.tk-site .ca-nl-form .ca-nl-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body.tk-site .ca-nl-bande .ca-nl-note { color: var(--muted); font-size: var(--fs-xs); }
body.tk-site .ca-nl-bande .ca-nl-note a { color: var(--ink); text-decoration: underline; }
body.tk-site .ca-nl-bande .ca-nl-distinct { border-top: 1px dashed var(--line-2); }
body.tk-site .ca-nl-msg.ok { color: var(--ok); }
body.tk-site .ca-nl-msg.ko { color: var(--danger); }

/* 5.4 Pages légales (mentions légales, confidentialité, CGU, cookies : .ca-legal-page sans .ca-form-page), 20/10/2026.
   Leurs cartes venaient du CSS additionnel d'Astra (« ca-legal-cards-design »), qui disparaît avec le thème : même
   dessin que les cartes des formulaires (tk-membres.css), sans dépendre d'aucun lot. Textes et ordre inchangés. */
body.tk-site .ca-legal-page:not(.ca-form-page) { max-width: 860px; margin: 0 auto; padding: var(--sp-2) 0 var(--sp-10); }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-hero { display: grid; gap: var(--sp-3); margin: 0 0 var(--sp-6); padding: 0; background: none; border: 0; box-shadow: none; text-align: left; }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-hero-ico { display: none; }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-hero h1 { margin: 0; color: var(--ink); background: none; -webkit-text-fill-color: currentColor; text-wrap: balance; }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-hero-sub { max-width: 62ch; margin: 0; font-size: var(--fs-md); line-height: 1.55; color: var(--ink-2); }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-card { margin: 0 0 var(--sp-4); padding: var(--sp-5); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); color: var(--ink); }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-card-head { display: flex; align-items: center; gap: 12px; margin: 0 0 var(--sp-3); }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-ico { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2); font-size: 20px; line-height: 1; }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-card-head h2 { margin: 0; font-size: var(--fs-lg); font-weight: var(--fw-title); font-stretch: var(--wd-title); line-height: 1.2; color: var(--ink); }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-card-body { font-size: var(--fs-md); line-height: 1.65; color: var(--ink-2); }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-card-body :is(p, ul, ol) { margin: 0 0 var(--sp-3); }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-card-body > :last-child { margin-bottom: 0; }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-card-body strong { color: var(--ink); }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-card-body a:where(:not([class*="btn"], [class*="cta"])) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-list { margin: 0; padding: 0; list-style: none; }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-list li { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-list li:last-child { border-bottom: 0; }
@media (max-width: 600px) {
  body.tk-site .ca-legal-page:not(.ca-form-page) .ca-legal-card { padding: var(--sp-4); }
}

/* 5.5 à 5.7 (retouches de l'étiquette « En bref » de la méthode, du code des annonces si le lot « membres » est décoché,
   du titre des résultats de recherche) : retirées le 21/10/2026, c'étaient des surcouches sur d'anciennes feuilles. Avec le
   lot « pages » coché, la méthode et la recherche sont habillées par tk-pages.css ; le « Copier » des annonces n'est plus
   touché par le pont (voir le § 4), l'ancienne feuille de 073 revient donc entière si le lot « membres » est décoché. */
