/* En-tête commun aux quatre sites RELICKEEPER (5.12.0, consigne d'Olivier du 26/10/2026).
   Niveau haut, qui défile avec la page : bandeau Ulule, puis barre d'univers. Modèle : relickeeper.fr. */
.rk-haut { position: relative; z-index: 260; background: var(--v-bg); }

.bandeau-ulule {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 28px; padding: 4px var(--sp-3);
  /* Couleur du site en gamme sombre, jour comme nuit (5.15.6, demande d'Olivier du 28/10 : vert pour cordoleani.com,
     doré pour .fr, mauve pour .shop, bleu pour .art) : fond = couleur du site à 22 % sur noir (#1B321D), texte = couleur du site. */
  background: color-mix(in srgb, var(--rk-site, #7AE582) 22%, #000); color: var(--rk-site, #7AE582); text-decoration: none; text-align: center;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  border: 0;
}
.bandeau-ulule:hover { color: var(--rk-site, #7AE582); text-decoration: underline; text-underline-offset: 3px; }
.bandeau-ulule .point { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; animation: bandeau-pulse 2.4s ease-in-out infinite; }
.bandeau-ulule .fleche { opacity: .6; transition: transform var(--dur-fast) var(--ease-standard), opacity var(--dur-fast) var(--ease-standard); }
.bandeau-ulule:hover .fleche { transform: translateX(2px); opacity: 1; }
@keyframes bandeau-pulse { 50% { opacity: .35; } }

.rk-univers {
  padding: 0 24px;
  min-height: 36px; display: flex; align-items: center; gap: var(--sp-4);
  border-bottom: 1px solid var(--v-line);
}
.rk-univers > nav { min-width: 0; }
.rk-sites { display: flex; align-items: center; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
.rk-sites a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--v-mute); text-decoration: none; white-space: nowrap; border: 0;
}
.rk-sites a::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--rk-rubrique); box-shadow: 0 0 0 1px var(--v-line-strong);
}
/* Pictogramme de profil à la place du point (5.16.0, demande d'Olivier du 28/10 pour les 4 sites ; tracés de la session .art) :
   entreprise, relique, carte, idée, dans la couleur du site visé. Le libellé garde ses couleurs. */
.rk-sites a:has(.rk-site-picto)::before { content: none; }
.rk-site-picto { display: inline-flex; flex: 0 0 auto; color: var(--rk-rubrique); }
.rk-site-picto svg { width: 15px; height: 15px; }
.rk-sites a:hover { color: var(--v-ink); }
/* Le site courant se reconnaît sans la couleur : graisse et soulignement. */
.rk-sites a[aria-current="page"] {
  color: var(--v-ink); font-weight: 700;
  text-decoration: underline; text-decoration-color: var(--rk-rubrique);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
:root[data-theme="light"] .rk-sites a[aria-current="page"] { text-decoration-color: var(--v-ink); }


/* Téléphone : bandeau et univers forment un seul bloc ; les sites défilent avec un fondu à droite. */
@media (max-width: 600px) {
  .bandeau-ulule { font-size: 10px; letter-spacing: .12em; }
  .rk-univers { padding: 0 16px; gap: var(--sp-3); }
  .rk-univers > nav { flex: 1; }
  /* L'Inventeur est le dernier site : la marge droite le sort du fondu une fois la rangée amenée au bout. */
  .rk-sites { overflow-x: auto; scrollbar-width: none; gap: var(--sp-3); padding-right: 72px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .rk-sites::-webkit-scrollbar { display: none; }
  .rk-sites a { letter-spacing: .14em; }
}
@media (prefers-reduced-motion: reduce) {
  .bandeau-ulule .point { animation: none; }
  .bandeau-ulule .fleche { transition: none; }
}

/* Barre des rubriques sur les pages autres que l'accueil (5.18.0) : toujours visible, collée en haut avec la barre
   de la page (marque, jour/nuit, langue). Même rubriques et même rendu que la barre de l'accueil.
   :not(#_) donne aux liens la priorité sur les règles génériques des liens d'articles (article.css). */
.rk-entete-fixe { position: sticky; top: 0; z-index: 120; }
.rk-entete-fixe > .top-bar, .rk-entete-fixe > .article-nav { position: relative; top: auto; }
.rk-nav { background: var(--v-header); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--v-line); }
.rk-nav ul { display: flex; justify-content: center; gap: 0; max-width: 1120px; margin: 0 auto; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.rk-nav ul::-webkit-scrollbar { display: none; }
.rk-nav li { margin: 0; padding: 0; }
.rk-nav li::before, .rk-nav li::marker { content: none; }
.rk-nav .rk-nav-lien:not(#_) {
  display: inline-block; padding: 12px 16px; border: 0; border-radius: 999px; opacity: 1;
  font-family: var(--mono, var(--font-body)); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--v-mute); background: none; text-decoration: none; white-space: nowrap; transition: color .25s ease;
}
.rk-nav .rk-nav-lien:not(#_):hover, .rk-nav .rk-nav-lien:not(#_):focus-visible { color: var(--rk-hover-fg, var(--v-ink)); background: none; outline: none; opacity: 1; }
.rk-nav .rk-nav-lien[aria-current="page"]:not(#_) { color: var(--rk-active-fg, var(--rk-site, #7AE582)); background: var(--rk-active-bg, transparent); }
@media (min-width: 1024px) {
  .rk-nav ul { gap: 8px; }
  .rk-nav .rk-nav-lien:not(#_) { padding: 14px 22px; font-size: 11px; }
}

/* Signe de la carte RELICKEEPER (5.19.1) : libellé accessible du pictogramme seul (condition C2 de la conformité). */
.rk-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Pass Lock (5.21.0) : interrupteur du mode carte, parcours de démonstration, témoin. Valeurs de relickeeper.art :
   formes de la charte du 29/10, couleur du licencié : le vert du site --rk-site (décision d'Olivier du 29/10), trait sombre #14111C.
   Aucun prix ni bouton d'achat à côté. */
.rk-pass-lock { position: fixed; z-index: 300; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 12px;
  border: 1px solid var(--rk-site, #7AE582); border-radius: 999px; background: rgba(122,229,130,.12); color: var(--rk-site, #7AE582);
  font-family: var(--font-body, Inter, sans-serif); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
[data-theme="light"] .rk-pass-lock { color: #14111C; background: rgba(122,229,130,.35); }
.rk-pass-lock:focus-visible, .rk-pl-temoin button:focus-visible, .rk-pl-boite button:focus-visible { outline: 2px solid var(--rk-site, #7AE582); outline-offset: 2px; }
.rk-pl-puce { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 16px; height: 16px; border-radius: 28%;
  background: var(--rk-site, #7AE582); color: #14111C; box-shadow: 0 0 0 1px rgba(20,17,28,.25); }
.rk-pl-puce svg { width: 76%; height: 76%; }
.rk-pl-rail { position: relative; flex: 0 0 auto; width: 24px; height: 13px; border-radius: 999px; background: var(--v-line-strong, rgba(255,255,255,.25)); transition: background .2s; }
.rk-pl-rail span { position: absolute; top: 2px; left: 2px; width: 9px; height: 9px; border-radius: 999px; background: #14111C; transition: left .2s; }
.rk-pass-lock[aria-checked="true"] .rk-pl-rail { background: var(--rk-site, #7AE582); }
.rk-pass-lock[aria-checked="true"] .rk-pl-rail span { left: 13px; }
.rk-pl-temoin { position: fixed; z-index: 310; left: 16px; bottom: 16px; max-width: min(560px, calc(100% - 96px)); display: flex; align-items: center; gap: 10px;
  padding: 10px 12px 10px 14px; border: 1px solid var(--rk-site, #7AE582); border-radius: 14px; background: var(--v-header, rgba(10,10,12,.92));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--v-ink, #F4F1EA); font-size: 12px; line-height: 1.45; }
.rk-pl-temoin[hidden] { display: none; }
.rk-pl-temoin .rk-pl-puce { width: 22px; height: 22px; }
.rk-pl-temoin button { flex: 0 0 auto; padding: 6px 12px; border: 1px solid var(--rk-site, #7AE582); border-radius: 999px; background: none; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.rk-pl-fond { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(5,5,8,.72); }
.rk-pl-boite { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 28px 24px 24px;
  border: 1px solid var(--v-line-strong, rgba(255,255,255,.2)); border-radius: 18px; background: var(--v-bg, #0a0a0c); color: var(--v-ink, #F4F1EA); }
.rk-pl-boite h2 { margin: 0 32px 18px 0; font-size: 18px; line-height: 1.3; }
.rk-pl-fermer { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 999px; background: none; color: inherit; font-size: 22px; cursor: pointer; }
.rk-pl-qr { margin: 0 0 18px; text-align: center; color: var(--v-ink, #F4F1EA); }
.rk-pl-qr svg { width: 128px; height: 128px; padding: 8px; border: 1px solid var(--v-line, rgba(255,255,255,.15)); border-radius: 14px; }
.rk-pl-qr figcaption { margin-top: 6px; font-size: 11px; color: var(--v-mute, rgba(244,241,234,.6)); }
.rk-pl-etapes { margin: 0 0 20px; padding-left: 20px; font-size: 14px; line-height: 1.55; }
.rk-pl-etapes li { margin: 0 0 6px; }
.rk-pl-etapes li[aria-current="step"] { color: var(--rk-site, #7AE582); }
[data-theme="light"] .rk-pl-etapes li[aria-current="step"] { color: var(--v-ink); font-weight: 600; }
.rk-pl-etapes .rk-pl-a-venir { opacity: .45; }
.rk-pl-action { width: 100%; min-height: 46px; border: 1px solid var(--rk-site, #7AE582); border-radius: 999px; background: var(--rk-site, #7AE582); color: #14111C; font-weight: 600; font-size: 14px; cursor: pointer; }
.rk-pass-lock--flux { position: static; flex: 0 0 auto; }
@media (max-width: 639px) { .rk-pl-temoin { right: 16px; max-width: none; font-size: 11px; } }
.rk-pl-stockage { margin: -8px 0 18px; font-size: 11px; line-height: 1.5; color: var(--v-mute, rgba(244,241,234,.6)); }

/* Pastilles de réglage (5.22.0, décision d'Olivier du 30/10 : le principe de photonumerique.com, comme relickeeper.fr et la boutique).
   Langue (affiche l'autre langue), jour/nuit (affiche le mode vers lequel on bascule), puis le Pass Lock, dernier à droite.
   Même gabarit pour les trois : 44 px, pilule, filet fin. Gabarit de relickeeper.fr (rk-reglages-1.css), couleur du site. */
.rk-reglages { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto; }
/* 5.22.1 : rangée posée dans la barre des sites, à droite, comme sur relickeeper.fr et la boutique. */
.rk-univers > .rk-reglages { flex: 0 0 auto; padding: 6px 0; }
/* Si les sites et les pastilles ne tiennent pas ensemble, les pastilles passent à la ligne au lieu de couper les sites. */
@media (min-width: 721px) { .rk-univers { flex-wrap: wrap; } .rk-univers > nav { flex: 0 0 auto; } }
.rk-pastille {
  font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: .04em; line-height: 1; text-transform: none;
  min-height: 44px; padding: 6px 14px; gap: 6px;
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  border: 1px solid var(--v-line-strong); border-radius: 999px;
  background: var(--v-header); color: var(--v-mute); text-decoration: none; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}
.rk-pastille:not(#_):hover { color: var(--v-ink); border-color: var(--rk-site, #7AE582); background: var(--v-header); text-decoration: none; }
.rk-pastille:focus-visible { outline: 2px solid var(--rk-site, #7AE582); outline-offset: 2px; }
.rk-pastille:active { transform: scale(.98); }
/* Croissant (vers la nuit) ou soleil (vers le jour), dessinés en CSS. */
.rk-pastille-ico { flex: none; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 74% 28%, transparent 5px, currentColor 5.6px); }
:root[data-theme="dark"] .rk-pastille-ico { width: 9px; height: 9px; margin: 2.5px; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent); }
/* Le libellé suit data-theme, posé par rk-theme.js avant le rendu : pas de saut. */
.rk-vers-jour { display: none; }
:root[data-theme="dark"] .rk-vers-nuit { display: none; }
:root[data-theme="dark"] .rk-vers-jour { display: inline; }
.rk-reglages .rk-pass-lock { min-height: 44px; padding: 6px 14px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  background: linear-gradient(rgba(122,229,130,.12), rgba(122,229,130,.12)), var(--v-header); }
[data-theme="light"] .rk-reglages .rk-pass-lock { background: linear-gradient(rgba(122,229,130,.35), rgba(122,229,130,.35)), var(--v-header); }
/* Téléphone : la rangée passe sur une deuxième ligne, à droite, sous les sites (comme la boutique). */
@media (max-width: 720px) {
  .rk-univers { flex-wrap: wrap; row-gap: 0; }
  .rk-univers > nav { flex: 1 1 100%; }
  .rk-univers > .rk-reglages { flex: 1 0 100%; padding: 0 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .rk-pastille { transition: none; }
  .rk-pastille:active { transform: none; }
}
/* ── 5.23.0 — Tout ce qui est cliquable à la couleur du site (demande d'Olivier du 30/10/2026, commune aux 4 sites :
   « tout ce qui est cliquable ou roll over : texte, filet, icône… dans la couleur qui fait la singularité du site »).
   Au repos : texte, icône (currentColor) et filet au vert du site. Au survol : filet plein, aplat léger, soulignement des liens.
   Jour : le vert pur ne se lit pas sur fond clair (contraste 1,6:1) ; on le fonce par mélange (≈ 5,7:1), sans valeur en dur.
   Exclus : la marque CORDOLEANI (encre, charte), les liens-images, le lecteur vidéo (vert pur sur l'image, lecteur-film.css), le Pass Lock (déjà au vert), les états actifs (--rk-active-*). */
:root { --rk-clic: var(--rk-site, #7AE582); --rk-clic-filet: color-mix(in srgb, var(--rk-clic) 45%, transparent); --rk-clic-fond: color-mix(in srgb, var(--rk-site, #7AE582) 13%, transparent); }
:root[data-theme="light"] { --rk-clic: color-mix(in srgb, var(--rk-site, #7AE582), black 55%); --rk-clic-fond: color-mix(in srgb, var(--rk-site, #7AE582) 30%, transparent); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) { --rk-clic: color-mix(in srgb, var(--rk-site, #7AE582), black 55%); --rk-clic-fond: color-mix(in srgb, var(--rk-site, #7AE582) 30%, transparent); }
}
:is(a, button, [role="button"], summary):not(.rk-marque):not(.rk-pass-lock):not(.btn-primary):not(.lf *):not(.is-active):not(.active):not(.is-current):not([aria-current]):not(:disabled):not(#_) {
  color: var(--rk-clic); border-color: var(--rk-clic-filet);
}
/* Bouton principal : aplat vert, libellé sombre (remplace le dégradé or). */
.btn-primary:not(#_) { background: var(--rk-site, #7AE582); border-color: var(--rk-site, #7AE582); color: #0A0A0C; box-shadow: none; }
.btn-primary:not(#_):hover { background: transparent; color: var(--rk-clic); }
/* Survol et focus */
:is(a, button, [role="button"], summary):not(.rk-marque):not(.btn-primary):not(:disabled):not(#_):is(:hover, :focus-visible) { border-color: var(--rk-site, #7AE582); }
:is(button, [role="button"], .rk-pastille, .btn, .plink, .articles-all, .wapp-filter, .filter-btn, .sort-btn, .share-copy, .chrono-nav a, .article-share .share-list a):not(.rk-pass-lock):not(.btn-primary):not(:disabled):not(#_):hover { background: var(--rk-clic-fond); color: var(--rk-clic); }
:is(p, li, dd, td, figcaption, footer, nav) a:not(.rk-marque):not(.rk-pastille):not(:has(img, svg, picture)):not(#_):hover { color: var(--rk-clic) !important; background: transparent !important; text-decoration: underline; text-underline-offset: 3px; }
summary:not(#_):hover { text-decoration: underline; text-underline-offset: 3px; }
/* Cartes cliquables : le titre, la flèche et le badge prennent la couleur du site ; descriptions et rubriques restent neutres, pour la lecture. */
:is(a, button) :is(.proj-name, .proj-link, .proj-tag, .wapp-cat, .wapp-cta, .wapp-name, .ip-name, .artwork-title, .related-title, .related-meta, .article-card-title, .card-title, .card-date, .card-tag):not(#_) { color: var(--rk-clic); }
:is(a, button) :is(.ip-badge, .wapp-badge):not(#_) { background: var(--rk-site, #7AE582); color: #0A0A0C; box-shadow: none; }
a:not(.proj, .wapp-card, .ip-row, .artwork, .related-card, .rk-card-showcase) :is(strong, b, em):not(#_) { color: var(--rk-clic); }

/* ── 5.23.1 puis 5.23.2 — Menus et sous-menus : un seul geste (demandes d'Olivier des 30 et 31/10/2026, communes aux 4 sites ;
   modèle relickeeper.fr, règle « unifie le principe des menus et sous-menus »). Les deux barres sortent de la règle 5.23.0.
   Texte neutre au repos ; au survol, blanc la nuit, encre le jour, jamais coloré. Un trait de 1 px se déploie depuis la gauche au survol ;
   l'élément courant porte un trait fixe de 2 px et un texte gras à l'encre. Couleur du trait : le site visé dans la barre des sites
   (pictos compris, qui gardent la couleur de leur site), le vert du site dans la barre des rubriques. Jour : trait foncé à 45 % de noir.
   Un seul trait à la fois : plus aucun text-decoration sur ces liens. */
.rk-sites a:not(#_):not(#_) { --rk-trait: var(--rk-rubrique); position: relative; color: var(--v-mute); border-color: transparent; text-decoration: none; }
:is(.rk-nav .rk-nav-lien, .main-nav-list a):not(#_):not(#_) { --rk-trait: var(--rk-site, #7AE582); position: relative; color: var(--v-mute); background: none; border-radius: 0; text-decoration: none; }
:root[data-theme="light"] :is(.rk-sites a, .rk-nav .rk-nav-lien, .main-nav-list a) { --rk-trait-vu: color-mix(in srgb, var(--rk-trait), black 45%); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) :is(.rk-sites a, .rk-nav .rk-nav-lien, .main-nav-list a) { --rk-trait-vu: color-mix(in srgb, var(--rk-trait), black 45%); } }
:is(.rk-sites a, .rk-nav .rk-nav-lien, .main-nav-list a):not(#_):not(#_)::after {
  content: ""; position: absolute; height: 1px; background: var(--rk-trait-vu, var(--rk-trait));
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur-fast, .2s) var(--ease-standard, ease);
}
.rk-sites a:not(#_):not(#_)::after { left: 0; right: 0; bottom: 6px; }
:is(.rk-nav .rk-nav-lien, .main-nav-list a):not(#_):not(#_)::after { left: 16px; right: 16px; bottom: 8px; }
@media (min-width: 1024px) { :is(.rk-nav .rk-nav-lien, .main-nav-list a):not(#_):not(#_)::after { left: 22px; right: 22px; } }
:is(.rk-sites a, .rk-nav .rk-nav-lien, .main-nav-list a):not(#_):not(#_):is(:hover, :focus-visible) { color: var(--v-ink) !important; background: transparent !important; text-decoration: none !important; outline: none; }
:is(.rk-sites a, .rk-nav .rk-nav-lien, .main-nav-list a):not(#_):not(#_):is(:hover, :focus-visible)::after { transform: scaleX(1); }
:is(.rk-sites a[aria-current], .rk-nav .rk-nav-lien[aria-current="page"], .main-nav-list a.is-current):not(#_):not(#_) { color: var(--v-ink) !important; background: transparent !important; font-weight: 700; text-decoration: none !important; }
:is(.rk-sites a[aria-current], .rk-nav .rk-nav-lien[aria-current="page"], .main-nav-list a.is-current):not(#_):not(#_)::after { transform: scaleX(1); height: 2px; }
@media (prefers-reduced-motion: reduce) { :is(.rk-sites a, .rk-nav .rk-nav-lien, .main-nav-list a)::after { transition: none !important; } }

/* ── 5.23.3 — Pastilles de langue et de thème en neutre, comme les menus (décision d'Olivier du 31/10/2026, prise dans la session
   relickeeper.shop, commune aux 4 sites ; bureau2bureau/FROM-relickeeper-shop_TO-fr-art-cordoleani_20261031_pastilles-neutres.md).
   Texte atténué et filet neutre au repos ; au survol, texte à l'encre et filet renforcé, sans couleur ni fond teinté.
   L'icône suit currentColor. Seul le contour de focus clavier garde le vert du site. Le Pass Lock, signe du licencié, reste vert. */
.rk-reglages .rk-pastille:not(#_):not(#_) { color: var(--v-mute); border-color: var(--v-line-strong); background: var(--v-header); }
.rk-reglages .rk-pastille:not(#_):not(#_):is(:hover, :focus-visible) { color: var(--v-ink); border-color: var(--v-mute); background: var(--v-header); }

/* ── 5.24.2 — Boutons pleins et surfaces sombres : le texte ne prend jamais la couleur de son fond (demande d'Olivier du 31/10/2026,
   relayée par la session relickeeper.art ; bureau2bureau/FROM-relickeeper-art_TO-fr-shop-cordoleani_20261031_boutons-pleins-texte-invisible.md).
   La règle 5.23.0 « cliquable au vert » s'appliquait aussi à eux. Mesuré en production : bandeau Ulule de jour 2,1:1 ;
   « Simuler le geste » la nuit 1:1 ; bouton de démonstration de bat.html 1,3:1 au repos, 1:1 au survol.
   - Bandeau Ulule : surface sombre jour comme nuit (5.15.6), donc le vert pur, jamais le vert foncé du jour.
   - Bouton d'action du Pass Lock et bouton de démonstration de bat.html : boutons pleins au vert, libellé sombre, comme .btn-primary. */
.bandeau-ulule:not(#_):not(#_), .bandeau-ulule:not(#_):not(#_):hover { color: var(--rk-site, #7AE582); }
:is(.rk-pl-action, .rk-ident-bouton):not(#_):not(#_) { background: var(--rk-site, #7AE582); border-color: var(--rk-site, #7AE582); color: #0A0A0C; text-decoration: none; }
:is(.rk-pl-action, .rk-ident-bouton):not(#_):not(#_):is(:hover, :focus-visible) { background: transparent !important; border-color: var(--rk-site, #7AE582); color: var(--rk-clic) !important; }

/* ── 5.29.0 — Retour immédiat à l'appui (analyse « à la manière d'Apple », point 3 ; Olivier, 02/11).
   Sur téléphone le survol n'existe pas : seul l'appui dit « c'est pris ». Il se voit dès que le doigt se pose, sans
   attendre qu'il se lève (durée 0 à l'appui ; au relâcher, la transition propre à l'élément le ramène).
   Boutons : s'enfoncent légèrement. Cartes : à peine. Liens et menus : s'atténuent. `scale` plutôt que `transform`,
   pour ne pas écraser un déplacement déjà appliqué. Délai remis à 0 (5.29.1) : les cartes en cascade héritaient de
   leur délai d'apparition (jusqu'à 0,3 s), et l'appui attendait. La pastille jour/nuit garde sa règle (5.22.0). ── */
a, button, summary, [role="button"] { -webkit-tap-highlight-color: transparent; }
:is(.btn, .filter-btn, .sort-btn, .wapp-filter, .to-top, .chrono-nav a, .share-copy, .rk-ident-bouton, .rk-pl-action):active:not(#_):not(#_) { scale: .96; transition-duration: 0s; transition-delay: 0s; }
:is(.proj, .wapp-card, .ip-row, .artwork, .related-card, .rk-card-showcase, .plink, .article-card, .milestone, .lineage, .bat-site-link):active:not(#_):not(#_) { scale: .985; transition-duration: 0s; transition-delay: 0s; }
:is(.main-nav-list a, .rk-nav-lien, .rk-sites a, .bandeau-ulule, .rk-marque, .back, .articles-all, .manifeste-link, .update-note, footer a, p a, li a, summary):not(.proj, .wapp-card, .ip-row, .artwork, .related-card, .rk-card-showcase, .plink, .article-card, .milestone, .lineage, .bat-site-link, .btn, .filter-btn, .sort-btn, .wapp-filter, .to-top, .chrono-nav a, .share-copy, .rk-ident-bouton, .rk-pl-action):active:not(#_):not(#_) { opacity: .55; transition-duration: 0s; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  :is(.btn, .filter-btn, .sort-btn, .wapp-filter, .to-top, .chrono-nav a, .share-copy, .rk-ident-bouton, .rk-pl-action, .proj, .wapp-card, .ip-row, .artwork, .related-card, .rk-card-showcase, .plink, .article-card, .milestone, .lineage, .bat-site-link):active:not(#_):not(#_) { scale: none; opacity: .7; }
}

/* ── 5.29.0 — Cibles tactiles d'au moins 44 × 44 px au doigt (point 4). Seulement pour les pointeurs grossiers
   (doigt) : à la souris, rien ne change. Là où l'aspect doit rester identique, la zone sensible déborde par un padding
   compensé par une marge négative ; ailleurs, l'élément grandit un peu. ── */
@media (pointer: coarse) {
  .rk-sites a:not(#_):not(#_) { min-height: 44px; margin-block: -4px; }
  .rk-sites a:not(#_):not(#_)::after { bottom: 10px; }
  .rk-nav .rk-nav-lien:not(#_):not(#_) { padding-block: 14px; }
  .rk-marque.banner-marque:not(#_) { padding-block: 15px; margin-block: -15px; }
  .banner-sticky .banner-marque:not(#_)::before { top: -15px; }
  .article-nav .back:not(#_) { padding-block: 13px; margin-block: -13px; }
  .proof a:not(#_) { padding-block: 16px; }
  .bandeau-ulule:not(#_) { min-height: 44px; }
  :is(.filter-btn, .sort-btn):not(#_) { min-height: 44px; min-width: 44px; }
  .wapp-filter:not(#_) { min-width: 44px; }
  .chrono-nav a:not(#_) { width: 44px; height: 44px; }
}

/* ── 5.30.0 — Plancher de lecture (analyse « à la manière d'Apple », point 5 ; Olivier, 02/11).
   Aucun texte sous 11 px, aucune capitale espacée sous 12 px. Relevé en production le 02/11 : 88 textes sous ce seuil
   sur l'accueil (jusqu'à 8 px), répartis sur ces règles. Les éléments de la barre commune aux sites (liens des sites,
   Pass Lock, bandeau « Édition fondatrice ») n'y sont pas : ils se règlent à l'échelle de l'écosystème. ── */
:is(.card-tag, .card-date, .card-reading, .proof, .press figcaption, .archive-img figcaption, .gallery figcaption, .video-grid figcaption, .video-meta-tag, .filter-btn, .sort-btn, .filter-label, .article-count, .wapp-filter, .wapp-tags li, .wapp-badge, .wapp-cat, .wapp-cta, .ip-badge, .section-eyebrow, .section-label, .hero-eyebrow, .index-header .eyebrow, .fact-label, .stat-label, .proj-tag, .proj-artworks-note, .banner-note, .rk-card-note, .hero-roles, .rk-ident-etat, .manifeste cite, blockquote.pull cite, .btn, .articles-all, .main-nav-list a, .rk-nav .rk-nav-lien, .page-footer .copyright, .article-footer .copyright, .article-nav .back, .origin-banner, .article-date, .article-related .related-meta, .article-related .related-label, .article-share .share-label):not(#_):not(#_) { font-size: 12px; }
:is(.ip-detail, .archive-video-caption, .video-caption, .proj-num, .plink span):not(#_):not(#_) { font-size: 11px; }
/* <small> (mentions légales dans une légende) : 0,83 fois son parent, jamais sous 11 px. */
small:not(#_) { font-size: max(11px, .83em); }
/* .ip-note : 10 px sur téléphone, plus grande ailleurs ; plancher posé au téléphone seulement. */
@media (max-width: 767px) { .ip-note:not(#_):not(#_) { font-size: 11px; } }
#ip .ip-note:not(#_):not(#_) { font-size: 11px; }

/* ── 5.30.0 — Réglages d'accessibilité du système (point 6).
   « Réduire la transparence » : les barres translucides et floutées deviennent opaques et nettes.
   « Augmenter le contraste » : idem, et les textes atténués remontent d'un cran (remap des jetons, aucune couleur écrite). ── */
@media (prefers-reduced-transparency: reduce) {
  :root:not(#_) { --v-header: var(--v-bg); }
  :is(.main-nav, .rk-nav, .article-nav, .top-bar, .site-nav, .lang-toggle, .rk-theme-switch, .to-top, .chrono-nav a, .chrono-nav .label):not(#_) { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root:not(#_) { --v-header: var(--v-bg); --v-mute: var(--v-ink-2); --v-mute-2: var(--v-ink-2); --v-faint: var(--v-dim); --v-faint-2: var(--v-dim); --v-line: var(--v-line-strong); }
  :is(.main-nav, .rk-nav, .article-nav, .top-bar, .site-nav, .lang-toggle, .rk-theme-switch, .to-top, .chrono-nav a, .chrono-nav .label):not(#_) { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ── 5.31.0 — Fondu entre les pages du site (analyse « à la manière d'Apple », point 8 ; Olivier, 02/11).
   Les navigateurs récents (Chrome, Edge, Safari 18.2+) enchaînent deux pages du site par un fondu au lieu d'une coupe
   sèche ; les autres gardent la coupe. Seul le contenu change : la barre des sites, la bannière et le menu, présents
   sur chaque page, restent en place (un nom chacun), ce qui dit « on reste sur le même site ». D'un site à l'autre,
   rien ne change (le navigateur ne le permet pas). Avec « réduire les animations », pas de fondu. ── */
@view-transition { navigation: auto; }
.rk-univers { view-transition-name: rk-barre-sites; }
#bannerSticky { view-transition-name: rk-banniere; }
:is(.main-nav, .rk-nav) { view-transition-name: rk-menu; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; animation-timing-function: ease-out; }
::view-transition-group(rk-barre-sites), ::view-transition-group(rk-banniere), ::view-transition-group(rk-menu) { animation-duration: .22s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ── 5.32.0 — Barre commune à cinq entrées (modèle relickeeper.fr 1.120, validé par Olivier le 03/11).
   Le Manifeste prend le parchemin ; « Édité par YTY ↗ » ferme la barre après un filet, en neutre (yty.yt n'a ni la charte
   ni le mode nuit) ; de jour, les pictogrammes sont foncés à 45 % de noir comme le trait de survol (bruts : 1,4 à 2 de
   contraste sur le fond clair, sous le minimum de 3). Le mode est posé par data-theme (rk-theme.js) ; sans lui, on suit le système. ── */
.rk-filet { align-self: stretch; width: 1px; margin: 9px 0; background: var(--v-line-strong); }
.rk-sites .rk-editeur a:not(#_):not(#_) { --rk-trait: var(--v-ink-2); }
.rk-editeur .rk-site-picto { color: currentColor; }
.rk-sortant { margin-left: -2px; font-size: 11px; letter-spacing: 0; }
:root[data-theme="light"] .rk-site-picto { color: color-mix(in srgb, var(--rk-rubrique), black 45%); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .rk-site-picto { color: color-mix(in srgb, var(--rk-rubrique), black 45%); } }
:root .rk-editeur .rk-site-picto:not(#_) { color: currentColor; }
@media (max-width: 767px) { .rk-sites { padding-right: max(72px, 15%); } }
footer .rk-yty { white-space: nowrap; }

/* ── 5.34.0 — La barre des sites reste toujours visible (Olivier, 09/11 : « fais en sorte que cette barre de menu
   principale soit toujours visible »). Le bandeau Ulule défile ; la barre des sites (avec langue, jour/nuit, Pass Lock)
   se colle en haut, et l'en-tête de la page (bannière repliable + rubriques) colle juste dessous.
   --rk-bandeau-h et --rk-univers-h sont mesurées par rk-univers.js ; sans script, elles valent 0 et l'en-tête
   retrouve son comportement d'avant. Écart local au modèle commun (relickeeper.fr), signalé aux autres sites. ── */
.rk-haut:not(#_) { position: sticky; top: calc(-1 * var(--rk-bandeau-h, 0px)); }
.rk-entete-fixe:not(#_) { top: var(--rk-univers-h, 0px); }
.rk-entete-fixe:has(> .banner-sticky):not(#_):not(#_) { top: calc(var(--rk-univers-h, 0px) + var(--banner-min) - var(--banner-h)); }
body > .banner-sticky:not(#_):not(#_) { top: calc(var(--rk-univers-h, 0px) + var(--banner-min) - var(--banner-h)); }
body > .main-nav:not(#_):not(#_) { top: calc(var(--rk-univers-h, 0px) + var(--banner-min)); }
:is(#about, #parcours-frise, #universe, #atelier, #webapp-store, #articles, #follow, #ip):not(#_) { scroll-margin-top: calc(var(--rk-univers-h, 0px) + var(--banner-min) + 60px) !important; }
html:not(#_) { scroll-padding-top: calc(var(--rk-univers-h, 0px) + var(--rk-entete-h, 340px) + 12px); }

/* ── 5.35.0 — Téléphone : la barre des sites se masque à la descente et revient dès qu'on remonte (Olivier, 09/11 :
   « masque la barre quand on descend sur téléphone »). rk-univers.js pose html.rk-haut-cache ; l'en-tête de la page
   (bande de bannière + rubriques) remonte alors en haut de l'écran. Sur ordinateur et tablette, la barre reste collée (5.34.0). ── */
@media (max-width: 767px) {
  .rk-haut:not(#_):not(#_), .rk-entete-fixe:not(#_):not(#_), body > .banner-sticky:not(#_):not(#_):not(#_), body > .main-nav:not(#_):not(#_):not(#_) { transition: top .25s ease-out; }
  html.rk-haut-cache .rk-haut:not(#_):not(#_) { top: calc(-1 * (var(--rk-bandeau-h, 0px) + var(--rk-univers-h, 0px))); }
  html.rk-haut-cache .rk-entete-fixe:not(#_):not(#_) { top: 0; }
  html.rk-haut-cache .rk-entete-fixe:has(> .banner-sticky):not(#_):not(#_):not(#_) { top: calc(var(--banner-min) - var(--banner-h)); }
  html.rk-haut-cache body > .banner-sticky:not(#_):not(#_):not(#_) { top: calc(var(--banner-min) - var(--banner-h)); }
  html.rk-haut-cache body > .main-nav:not(#_):not(#_):not(#_) { top: var(--banner-min); }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .rk-haut:not(#_):not(#_), .rk-entete-fixe:not(#_):not(#_), body > .banner-sticky:not(#_):not(#_):not(#_), body > .main-nav:not(#_):not(#_):not(#_) { transition: none; }
}
