/* ============================================================
   OPTERIA : « Le labo OpterIA », centre de ressources (07/10/2026, demande Axel). Pages /blog, /blog/<slug>, /blog/glossaire,
   générées par outils/generer_blog.py ; interactions dans labo.js. Chargé après da-theme.css.
   Carte ressource façon gleap.ai « customer story » : peinture du site à gauche (ou en haut), bulle blanche de Bobby posée dessus,
   texte à droite. Au survol : la carte gagne une légère expansion, la peinture grossit (comme .tc-cadre), la bulle « pop »
   (comme les bulles .bulle__in de l'accueil), Bobby rebondit et cligne, son résumé se tape.
   Mode nuit : variables de da-theme.css (#141414 page, #1f1f1f cartes) ; la bulle reste blanche, comme les maquettes de gleap.ai en sombre.
   Animations : transform et opacity seulement ; tout est coupé si l'utilisateur réduit les animations.
   ============================================================ */
.labo { --lx-carte: #f3f3ef; --lx-sombre: #191919; --lx-bulle: #fff; --lx-encre: #15171b; --lx-gris: #6f6f6c; --lx-ressort: cubic-bezier(.3,1.4,.5,1); --lx-doux: cubic-bezier(.2,.8,.2,1); }
html[data-theme="nuit"] .labo { --lx-carte: #1f1f1f; --lx-sombre: #1f1f1f; }
.lx-page { padding: 120px 0 40px; }
.lx-page > * { width: calc(100% - var(--gutter) * 2); max-width: calc(var(--wrap) - var(--gutter) * 2); margin-left: auto; margin-right: auto; }
.lx-page .g { color: rgba(41,41,41,.5); }
html[data-theme="nuit"] .lx-page .g { color: rgba(255,255,255,.5); }

/* ---------- Pastilles de format : un pictogramme et une couleur par format ---------- */
.lx-pastille--cas-usage { --f: #e0440f; } .lx-pastille--playbook { --f: #2f7d3e; } .lx-pastille--decryptage { --f: #2f6fd0; }
.lx-pastille--vulgarisation { --f: #8a4fd0; } .lx-pastille--mini-cours { --f: #b26a00; }
html[data-theme="nuit"] :is(.lx-pastille--cas-usage) { --f: #ff8a5c; } html[data-theme="nuit"] .lx-pastille--playbook { --f: #7fd08e; }
html[data-theme="nuit"] .lx-pastille--decryptage { --f: #8db6ff; } html[data-theme="nuit"] .lx-pastille--vulgarisation { --f: #c9a4ff; } html[data-theme="nuit"] .lx-pastille--mini-cours { --f: #f2bd5c; }
.lx-pastille { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; font-size: 12.5px; font-weight: 500; line-height: 1; white-space: nowrap;
  color: var(--f); background: color-mix(in srgb, var(--f) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--f) 22%, transparent); }
.lx-picto { width: 14px; height: 14px; flex: none; }

/* ---------- Bobby : la tête dessinée, qui rebondit, cligne et agite l'antenne ---------- */
.lx-av { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; background: #191919; color: #fff; }
.lx-av--petit { width: 22px; height: 22px; border-radius: 7px; }
.lx-av--grand { width: 52px; height: 52px; border-radius: 16px; }
.lx-bobby { width: 70%; height: 70%; overflow: visible; }
.lx-bobby__tete { transform-box: view-box; transform-origin: 61px 66px; }
.lx-bobby__yeux { transform-box: fill-box; transform-origin: center; animation: lx-cligne 5.2s ease-in-out infinite; }
.lx-bobby__ant { transform-box: view-box; transform-origin: 61px 30px; }
.lx-bobby__eclat { opacity: 0; transform-box: fill-box; transform-origin: 0 100%; stroke: #FB4D17; }
@keyframes lx-cligne { 0%, 46%, 54%, 100% { transform: none; } 50% { transform: scaleY(.1); } }
@keyframes lx-saut { 0%, 100% { transform: none; } 30% { transform: translateY(-9px) rotate(-8deg); } 60% { transform: translateY(1px) rotate(4deg); } 80% { transform: translateY(-2px); } }
@keyframes lx-antenne { 0%, 100% { transform: none; } 30% { transform: rotate(-16deg); } 65% { transform: rotate(12deg); } }
@keyframes lx-eclat { 0% { opacity: 0; transform: scale(.4); } 40% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.15); } }
.is-parle .lx-dit__tete .lx-bobby__tete { animation: lx-saut .75s var(--lx-doux); }
.is-parle .lx-dit__tete .lx-bobby__ant { animation: lx-antenne .8s ease-in-out .1s; }
.is-parle .lx-dit__tete .lx-bobby__eclat { animation: lx-eclat .9s ease-out .15s; }
.is-parle .lx-dit__tete .lx-bobby__yeux { animation: lx-cligne .5s ease-in-out .35s 1, lx-cligne 5.2s ease-in-out 1s infinite; }

/* ---------- Le visuel : peinture du site + bulle blanche ---------- */
.lx-visuel { position: relative; display: grid; place-items: center; padding: 28px 24px; overflow: hidden; isolation: isolate; background: #dbdbd2; border-radius: 18px; }
.lx-visuel__peinture { position: absolute; inset: 0; z-index: -1; background: var(--peint) var(--pos, center) / cover no-repeat; transition: transform .7s var(--lx-doux); }
html[data-theme="nuit"] .lx-visuel { background: #2a2a2a; }
.lx-dit { position: relative; width: 100%; max-width: 420px; padding: 14px 16px 16px; border-radius: 16px; background: var(--lx-bulle); color: var(--lx-encre); text-align: left;
  box-shadow: none; transform-origin: 18px 100%; transition: transform .55s var(--lx-ressort), box-shadow .4s ease; }
.lx-dit::after { content: ""; position: absolute; left: 22px; bottom: -7px; width: 16px; height: 16px; border-radius: 3px; background: var(--lx-bulle); transform: rotate(45deg); }  /* la pointe de la bulle de dialogue */
.lx-dit__tete { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; line-height: 1; }
.lx-dit__tete b { font-weight: 500; }
.lx-dit__tete small { font-size: 12.5px; color: #8a8a90; }
.lx-lu { display: none; align-items: center; gap: 4px; margin-left: auto; padding: 4px 8px 4px 6px; border-radius: 999px; background: #e9f5ec; color: #2f7d3e; font-size: 12px; font-weight: 500; }
.lx-lu svg { width: 12px; height: 12px; }
.is-lu .lx-lu { display: inline-flex; }
.lx-dit__txt { display: grid; margin: 0; font-size: 15px; line-height: 1.45; letter-spacing: -.005em; }
.lx-dit__txt > * { grid-area: 1 / 1; }
.lx-dit__points { display: none; align-self: start; gap: 4px; padding: 7px 0; }
.lx-dit__points i { width: 6px; height: 6px; border-radius: 50%; background: #c4c4c8; animation: blink 1.2s infinite; }
.lx-dit__points i:nth-child(2) { animation-delay: .15s; } .lx-dit__points i:nth-child(3) { animation-delay: .3s; }
/* avec JavaScript : le texte attend le survol (ou l'apparition sur téléphone), trois points en attendant ; sa place est réservée */
html.js .lx-dit:not(.is-dit) .lx-dit__plein { visibility: hidden; }
html.js .lx-dit:not(.is-dit):not(.is-frappe) .lx-dit__points { display: flex; }
.lx-dit.is-frappe .lx-dit__plein { visibility: hidden; }
.lx-dit__frappe::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: currentColor; opacity: 0; }
.lx-dit.is-frappe .lx-dit__frappe::after { opacity: 1; animation: lx-curseur .7s steps(1) infinite; }
@keyframes lx-curseur { 50% { opacity: 0; } }
.lx-dit.is-dit .lx-dit__frappe { display: none; }

/* ---------- La carte ressource ---------- */
.lx-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.lx-carte { position: relative; display: flex; flex-direction: column; padding: 8px; border-radius: 24px; background: var(--lx-carte); color: var(--ink);
  transition: transform .5s var(--lx-ressort), box-shadow .4s ease, opacity .6s ease; }
html.js .lx-carte.reveal { transform: translateY(16px) scale(.985); }
html.js .lx-carte.reveal.is-in { transform: none; }
.lx-carte .lx-visuel { height: 268px; }
.lx-carte .lx-dit { max-width: 330px; }
.lx-carte__txt { display: flex; flex: 1; flex-direction: column; padding: 20px 14px 12px; }
.lx-carte__haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lx-logo { height: 15px; width: auto; opacity: .85; }
.lx-logo--nuit { display: none; }
html[data-theme="nuit"] .lx-logo--jour { display: none; } html[data-theme="nuit"] .lx-logo--nuit { display: block; }
.lx-carte__titre { margin: 18px 0 0; font-size: 20px; font-weight: 400; line-height: 1.28; letter-spacing: -.02em; color: var(--ink); }
.lx-carte__lien { color: inherit; }
.lx-carte__lien::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }   /* toute la carte est cliquable */
.lx-carte__lien:focus-visible { outline: none; }
.lx-carte:has(.lx-carte__lien:focus-visible) { box-shadow: 0 0 0 2px var(--ink); }
.lx-carte__bas { margin-top: auto; padding-top: 22px; }
.lx-carte__pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lx-carte__meta { display: grid; gap: 3px; min-width: 0; margin: 0; font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.lx-carte__meta span:first-child { color: var(--ink); }
.lx-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 40px; padding: 0 16px 0 18px; border-radius: 999px; background: #191919; color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: transform .4s var(--lx-ressort), background .2s ease; }
.lx-btn svg { width: 14px; height: 14px; transition: transform .35s var(--lx-ressort); }
html[data-theme="nuit"] .lx-btn { background: #fff; color: #141414; }
.lx-btn--plein { cursor: pointer; border: 0; }
@media (hover: hover) {
  /* sélecteur renforcé : il doit passer devant « html.js .reveal.is-in » de da.css */
  html.js .lx-carte.reveal:hover, .lx-carte:hover { transform: translateY(-4px) scale(1.012); box-shadow: none; }
  html[data-theme="nuit"] .lx-carte:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
  .lx-carte:hover .lx-visuel__peinture, .lx-parcours__carte:hover .lx-visuel__peinture, .lx-glossaire-teaser:hover .lx-visuel__peinture, .lx-pratique:hover .lx-visuel__peinture { transform: scale(1.06); }
  .lx-carte:hover .lx-dit { transform: scale(1.035) rotate(-.6deg); box-shadow: none; }
  .lx-carte:hover .lx-btn, .lx-btn:hover { transform: scale(1.04); }
  .lx-carte:hover .lx-btn svg, .lx-btn:hover svg { transform: translateX(3px); }
  .lx-btn--plein:hover { background: #3a3a3a; } html[data-theme="nuit"] .lx-btn--plein:hover { background: #e9e9e6; }
}

/* la carte à la une : grande carte horizontale, peinture à gauche, texte sur fond sombre (comme la capture gleap.ai), dans les deux modes */
.lx-carte--une { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); padding: 0; overflow: hidden; background: var(--lx-sombre); color: #fff; min-height: 440px; }
html[data-theme="nuit"] .lx-carte--une { box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.lx-carte--une .lx-visuel { height: auto; min-height: 340px; border-radius: 0; padding: 48px 40px; }
.lx-carte--une .lx-dit { max-width: 420px; padding: 18px 20px 20px; }
.lx-carte--une .lx-dit__txt { font-size: 17px; }
.lx-carte--une .lx-carte__txt { padding: 36px 36px 32px; }
.lx-carte--une .lx-carte__titre { margin-top: 26px; font-size: clamp(24px, 2.3vw, 31px); line-height: 1.2; color: #fff; }
.lx-carte__resume { margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.55); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lx-carte--une .lx-carte__bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 32px; }
.lx-carte--une .lx-carte__pied { flex-direction: column; align-items: flex-end; gap: 12px; }
.lx-carte--une .lx-carte__meta { color: rgba(255,255,255,.55); text-align: right; }
.lx-carte--une .lx-carte__meta span:first-child { color: #fff; }
.lx-carte--une .lx-btn { background: #fff; color: #141414; height: 46px; padding: 0 20px 0 22px; font-size: 15px; }
.lx-carte--une .lx-logo--jour { display: none; } .lx-carte--une .lx-logo--nuit { display: block; }
.lx-carte--une .lx-pastille.lx-pastille { --f: #fff; }
.lx-chiffre { min-width: 0; max-width: 300px; }
.lx-chiffre strong { display: block; font-size: clamp(48px, 5vw, 72px); font-weight: 400; line-height: 1; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.lx-chiffre span { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,.6); }
@media (hover: hover) { html.js .lx-carte--une.reveal:hover, .lx-carte--une:hover { transform: translateY(-3px) scale(1.006); } .lx-carte--une:hover .lx-btn { background: #fff; } }

/* formats encore vides : une tuile « Bientôt » sobre, sans faux contenu */
.lx-bientot { display: flex; flex-direction: column; align-items: flex-start; min-height: 220px; padding: 26px 24px 24px; border-radius: 24px; border: 1px dashed var(--line-2); background: transparent; color: var(--ink); }
.lx-bientot__picto { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: var(--f); background: color-mix(in srgb, var(--f) 10%, transparent); }
.lx-bientot__picto .lx-picto { width: 20px; height: 20px; }
.lx-bientot__nom { margin: 20px 0 0; font-size: 19px; letter-spacing: -.015em; }
.lx-bientot__desc { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.lx-bientot__badge { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 7px 12px; border-radius: 999px; background: var(--lx-carte); font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.lx-bientot__badge i { width: 7px; height: 7px; border-radius: 50%; background: #FB4D17; animation: tc-clin 1.8s ease-in-out infinite; }
.lx-bientot.is-seul { grid-column: 1 / -1; min-height: 180px; }
.lx-bientot.is-seul .lx-bientot__badge { margin-top: 22px; }
[hidden] { display: none !important; }

/* ---------- En-tête du labo : titre en deux tons et formats en bulles qui « pop » et flottent ---------- */
.lx-tete { position: relative; padding: 56px 0 40px; text-align: center; }
.lx-etiquette { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.lx-etiquette--carte { margin-bottom: 14px; color: #6f6f6c; }
.lx-titre { position: relative; z-index: 1; margin: 0 auto; max-width: 760px; font-size: clamp(38px, 4.6vw, 62px); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; color: var(--ink); }
.lx-intro { position: relative; z-index: 1; max-width: 600px; margin: 22px auto 0; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.lx-tete__liens { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.lx-lien-pil { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink); transition: background .2s ease, transform .35s var(--lx-ressort); }
.lx-lien-pil:hover { background: var(--lx-carte); transform: translateY(-1px); }
.lx-tete__bulles { position: absolute; inset: 0; pointer-events: none; }
.lx-tete__bulle { position: absolute; }
.lx-tete__bulle-in { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px 9px 11px; border-radius: 999px; background: #fff; color: var(--f); font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06); animation: pop .55s cubic-bezier(.2,.9,.3,1.3) both, flotte 4.2s ease-in-out infinite alternate; }
.lx-tete__bulle-in .lx-picto { width: 15px; height: 15px; }
html[data-theme="nuit"] .lx-tete__bulle-in { background: #1f1f1f; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.lx-tete__bulle--1 { left: 2%; top: 22%; } .lx-tete__bulle--1 .lx-tete__bulle-in { animation-delay: .1s, .6s; --fx: 5px; --fy: -9px; }
.lx-tete__bulle--2 { right: 3%; top: 16%; } .lx-tete__bulle--2 .lx-tete__bulle-in { animation-delay: .25s, 0s; --fx: -6px; --fy: -7px; }
.lx-tete__bulle--3 { left: 7%; top: 64%; } .lx-tete__bulle--3 .lx-tete__bulle-in { animation-delay: .4s, 1.2s; --fx: 4px; --fy: 8px; }
.lx-tete__bulle--4 { right: 0; top: 56%; } .lx-tete__bulle--4 .lx-tete__bulle-in { animation-delay: .55s, .3s; --fx: -5px; --fy: 7px; }
.lx-tete__bulle--5 { right: 15%; top: 86%; } .lx-tete__bulle--5 .lx-tete__bulle-in { animation-delay: .7s, .9s; --fx: 6px; --fy: -6px; }

/* ---------- Filtres en pilules ---------- */
.lx-filtres { position: relative; z-index: 3; display: grid; gap: 10px; margin-top: 16px; margin-bottom: 20px; padding: 18px 20px; border-radius: 24px; background: var(--lx-carte); scroll-margin-top: 96px; }
.lx-filtres__ligne { display: flex; align-items: center; gap: 14px; min-width: 0; }
.lx-filtres__lib { flex: none; width: 56px; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.lx-filtres__pils { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.lx-pil { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--line); transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .4s var(--lx-ressort); }
.lx-pil small { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lx-pil .lx-picto { width: 14px; height: 14px; }
.lx-pil:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transform: translateY(-1px); }
.lx-pil:active { transform: scale(.96); }
.lx-pil.is-on { background: #191919; color: #fff; box-shadow: none; }
.lx-pil.is-on small { color: rgba(255,255,255,.6); }
html[data-theme="nuit"] .lx-pil.is-on { background: #fff; color: #141414; } html[data-theme="nuit"] .lx-pil.is-on small { color: rgba(20,20,20,.55); }
.lx-pil.is-vide:not(.is-on) { color: var(--ink-3); }
.lx-pil__bientot { padding: 2px 5px; font-size: 11px !important; border-radius: 999px; background: rgba(251,77,23,.1); color: #c8410f !important; font-weight: 500; }
html[data-theme="nuit"] .lx-pil__bientot { color: #ff8a5c !important; }
.lx-pil.is-on .lx-pil__bientot { background: rgba(251,77,23,.25); color: #fff !important; }
html[data-theme="nuit"] .lx-pil.is-on .lx-pil__bientot { color: #c8410f !important; }
.lx-pil:focus-visible, .lx-lien-pil:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lx-filtres__etat { display: flex; align-items: center; gap: 14px; margin: 4px 0 0 70px; font-size: 13px; color: var(--ink-3); }
.lx-effacer { padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* état vide d'une combinaison de filtres */
.lx-vide { display: grid; justify-items: center; gap: 20px; margin-top: 8px; }
.lx-vide .lx-visuel { width: 100%; min-height: 280px; border-radius: 24px; }

/* ---------- Sections : parcours, glossaire ---------- */
.lx-section { padding-top: 96px; }
.lx-section__tete { max-width: 720px; margin-bottom: 32px; }
.lx-section__tete .p { margin-top: 16px; }
.lx-parcours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lx-parcours__carte { display: flex; flex-direction: column; padding: 8px; border-radius: 24px; background: var(--lx-carte); }
.lx-parcours__tete { position: relative; display: flex; align-items: flex-end; min-height: 230px; padding: 22px; border-radius: 18px; overflow: hidden; isolation: isolate; }
.lx-parcours__bulle { max-width: 380px; padding: 16px 18px; border-radius: 16px; background: #fff; color: #15171b; box-shadow: none; }
.lx-parcours__num { margin: 0 0 8px; font-size: 12.5px; font-weight: 500; color: #8a8a90; }
.lx-parcours__bulle h3 { margin: 0; font-size: 21px; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; color: #15171b; }
.lx-parcours__bulle p:last-child { margin: 6px 0 0; font-size: 14.5px; line-height: 1.45; color: #5d5d62; }
.lx-progres { display: flex; align-items: center; gap: 12px; padding: 18px 14px 8px; font-size: 13px; color: var(--ink-2); }
.lx-progres__barre { position: relative; flex: 1; height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.lx-progres__barre i { position: absolute; inset: 0; border-radius: inherit; background: #2f7d3e; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .9s cubic-bezier(.3,0,.2,1); }
html[data-theme="nuit"] .lx-progres__barre i { background: #7fd08e; }
.lx-progres__txt b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.lx-etapes { margin: 0; padding: 4px 6px 6px; list-style: none; counter-reset: none; }
.lx-etapes a { display: flex; align-items: center; gap: 14px; padding: 12px 10px; border-radius: 14px; color: var(--ink); transition: background .2s ease; }
.lx-etapes a:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.lx-etape__num { position: relative; display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; transition: background .35s ease, color .35s ease; }
.lx-etape__num svg { position: absolute; width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .45s var(--lx-ressort); }
.lx-etapes .is-lu .lx-etape__num { background: #2f7d3e; color: #fff; box-shadow: none; }
html[data-theme="nuit"] .lx-etapes .is-lu .lx-etape__num { background: #7fd08e; color: #141414; }
.lx-etapes .is-lu .lx-etape__num span { opacity: 0; }
.lx-etapes .is-lu .lx-etape__num svg { opacity: 1; transform: none; }
.lx-etape__txt { display: grid; gap: 3px; min-width: 0; }
.lx-etape__txt b { font-weight: 400; font-size: 15.5px; line-height: 1.3; letter-spacing: -.01em; }
.lx-etape__txt small { font-size: 13px; color: var(--ink-2); line-height: 1.35; }

.lx-glossaire-teaser, .lx-pratique { position: relative; display: flex; align-items: center; padding: 56px; border-radius: 24px; overflow: hidden; isolation: isolate; background: #dbdbd2; }
html[data-theme="nuit"] :is(.lx-glossaire-teaser, .lx-pratique) { background: #2a2a2a; }
.lx-glossaire-teaser__carte { max-width: 520px; padding: 28px 30px 30px; border-radius: 20px; background: #fff; color: #15171b; box-shadow: none; }
.lx-glossaire-teaser__carte h2 { margin: 0; color: #15171b; }
.lx-glossaire-teaser__carte > p:not(.lx-etiquette) { margin: 8px 0 0; color: #5d5d62; font-size: 15.5px; }
.lx-puces { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; }
.lx-puce { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: #f2f2f0; color: #15171b; font-size: 13.5px; transition: background .2s ease, transform .35s var(--lx-ressort); }
.lx-puce:hover { background: #e6e6e1; transform: translateY(-1px); }
html .lx-glossaire-teaser .lx-btn, html .lx-pratique .lx-btn { background: #191919; color: #fff; }   /* posés sur une carte blanche, dans les deux modes */
@media (hover: hover) { html .lx-glossaire-teaser .lx-btn:hover, html .lx-pratique .lx-btn:hover { background: #3a3a3a; } }

/* ---------- Page ressource ---------- */
.lx-progression { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 3px; pointer-events: none; }
.lx-progression i { display: block; height: 100%; background: linear-gradient(90deg, #3f7fd8, #c9a6e8 45%, #f5b98d 75%, #FB4D17); transform-origin: 0 50%; transform: scaleX(0); }
.lx-art-tete { max-width: 800px !important; padding: 40px 0 36px; }
.lx-art .lx-art-tete { grid-area: tete; max-width: none !important; padding: 8px 0 32px; }
.lx-fil { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 14px; color: var(--ink-2); }
.lx-fil a:hover { color: var(--ink); }
.lx-art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; font-size: 14px; color: var(--ink-2); }
.lx-art-meta time, .lx-art-meta span:last-child { display: inline-flex; align-items: center; gap: 14px; }
.lx-art-meta time::before, .lx-art-meta span:last-child::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.lx-art-meta .lx-pastille::before { display: none; }
.lx-art-tete h1 { margin: 0 0 18px; font-size: clamp(32px, 4vw, 50px); font-weight: 400; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); }
.lx-chapo { margin: 0; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.lx-auteur { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; }
.lx-auteur img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.lx-auteur span { display: grid; gap: 2px; font-size: 14px; line-height: 1.2; } .lx-auteur b { font-weight: 500; color: var(--ink); } .lx-auteur small { color: var(--ink-2); font-size: 13px; }
.lx-art-visuel { margin-bottom: 48px; }
.lx-art-visuel .lx-visuel { min-height: 340px; padding: 48px 28px; border-radius: 20px; }
.lx-dit--grand { max-width: 620px; padding: 22px 24px 24px; border-radius: 20px; }
.lx-dit--grand .lx-dit__tete { margin-bottom: 14px; font-size: 15px; }
.lx-dit--grand .lx-av { width: 34px; height: 34px; }
.lx-dit--grand .lx-dit__txt { font-size: 18px; line-height: 1.5; }
.lx-art-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; }
.lx-art-pied .lx-auteur { margin: 0; }
.lx-art-puces { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.lx-art-puces .lx-puce { background: var(--lx-carte); color: var(--ink-2); font-size: 12.5px; height: 28px; }
.lx-art-puces .lx-puce--brique::before { content: "#"; margin-right: 2px; opacity: .6; }
.lx-art-puces .lx-puce:hover { color: var(--ink); }
html[data-theme="nuit"] .lx-art-puces .lx-puce:hover { background: #2a2a2a; }
.lx-prose { max-width: none; padding: 0 0 8px; }
.lx-prose h2 { scroll-margin-top: 100px; font-weight: 500; letter-spacing: -.02em; }
.lx-prose h3 { font-weight: 500; }
/* les prompts à copier, dans les articles : carte claire qui passe à la ligne */
.lx-prose pre { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: var(--lx-carte); box-shadow: inset 0 0 0 1px var(--line); white-space: pre-wrap; overflow-wrap: anywhere; }
.lx-prose pre code, .lx-prose code { font-family: var(--mono, ui-monospace, monospace); font-size: 14px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--texte); background: none; }
.lx-terme { text-decoration: underline dotted !important; text-decoration-color: color-mix(in srgb, currentColor 55%, transparent) !important; text-underline-offset: 4px; cursor: help; }
.lx-terme:hover { text-decoration-style: solid !important; }
.lx-infobulle { position: fixed; z-index: 80; max-width: 300px; padding: 12px 14px; border-radius: 14px; background: #191919; color: #fff; font-size: 13.5px; line-height: 1.45; pointer-events: none;
  box-shadow: none; opacity: 0; transform: translateY(6px) scale(.97); transition: opacity .2s ease, transform .3s var(--lx-ressort); }
.lx-infobulle b { display: block; margin-bottom: 4px; font-weight: 500; }
.lx-infobulle small { display: block; margin-top: 6px; color: rgba(255,255,255,.55); font-size: 12px; }
.lx-infobulle.is-on { opacity: 1; transform: none; }
html[data-theme="nuit"] .lx-infobulle { background: #fff; color: #15171b; } html[data-theme="nuit"] .lx-infobulle small { color: #8a8a90; }
.lx-idees { margin-top: 56px; padding: 32px; border-radius: 24px; background: var(--lx-carte); }
.lx-idees__titre { margin: 0 0 20px; font-size: 24px; font-weight: 400; letter-spacing: -.02em; color: var(--ink); }
.lx-idees ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lx-idees li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--paper); }
.lx-idee__num { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #FB4D17; color: #fff; font-size: 14px; font-weight: 500; }
.lx-idees li p { margin: 3px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--texte); }
.lx-parc-nav { margin-top: 16px; padding: 22px 24px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.lx-parc-nav__tete { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 14px; color: var(--ink-2); }
.lx-parc-nav__tete span { padding: 3px 9px; border-radius: 999px; background: #e9f5ec; color: #2f7d3e; font-size: 12px; font-weight: 500; }
html[data-theme="nuit"] .lx-parc-nav__tete span { background: rgba(127,208,142,.14); color: #7fd08e; }
.lx-parc-nav__liens { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lx-parc-nav__lien { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; background: var(--lx-carte); font-size: 15px; line-height: 1.3; color: var(--ink); transition: transform .35s var(--lx-ressort); }
.lx-parc-nav__lien small { font-size: 12.5px; color: var(--ink-3); }
.lx-parc-nav__lien--suiv { text-align: right; }
.lx-parc-nav__lien:hover { transform: translateY(-2px); }
.lx-pratique { margin-top: 16px; padding: 40px; }
.lx-pratique__carte { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 18px; align-items: start; width: 100%; padding: 24px; border-radius: 20px; background: #fff; color: #15171b; box-shadow: none; }
.lx-pratique__txt p { margin: 0; font-size: 15px; line-height: 1.45; color: #5d5d62; }
.lx-pratique__txt .lx-pratique__sur { font-size: 12.5px; font-weight: 500; color: #8a8a90; }
.lx-pratique__txt .lx-pratique__nom { margin: 4px 0 6px; font-size: 22px; letter-spacing: -.02em; color: #15171b; }
.lx-pratique .lx-btn { grid-column: 2; justify-self: start; }
.lx-section--suite { padding-top: 96px; }
.lx-grille--suite .lx-carte { min-height: 100%; }

/* ============================================================
   Page article, façon gleap.ai (08/10/2026, demande Axel) : colonne gauche collante (repères, minuteur, auteur, sommaire actif,
   pages liées, petit appel à la démo), texte à droite (620 à 680 px). Sous 1024 px : une seule colonne, la colonne gauche passe
   sous le titre en blocs repliables, jamais collante. Composants du texte : encadrés d'appel colorés, schémas, tableaux, FAQ.
   ============================================================ */
.lx-art { display: grid; grid-template-columns: 272px minmax(0, 680px); grid-template-areas: "cote tete" "cote corps"; column-gap: clamp(40px, 6vw, 80px); align-items: start; }
.lx-cote { grid-area: cote; align-self: stretch; padding-top: 8px; }
.lx-cote__in { position: sticky; top: 96px; display: grid; gap: 18px; max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding-bottom: 8px; }
.lx-cote__in::-webkit-scrollbar { display: none; }
.lx-art-texte { grid-area: corps; min-width: 0; }
.lx-cote__meta { display: grid; gap: 12px; }
.lx-cote__ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: 14px; color: var(--ink-2); }
.lx-minuteur { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.lx-minuteur svg { width: 18px; height: 18px; flex: none; transform: rotate(-90deg); fill: none; stroke-width: 2.4; }
.lx-minuteur circle { stroke: var(--line-2); }
.lx-minuteur .lx-minuteur__arc { stroke: #FB4D17; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }
.lx-cote .lx-auteur { margin: 2px 0 0; }
.lx-av--auteur { width: 36px; height: 36px; border-radius: 50%; }
html[data-theme="nuit"] .lx-av--auteur, html[data-theme="nuit"] .lx-cote__demo .lx-av { background: #fff; color: #141414; }
.lx-cote__bloc { padding-top: 16px; border-top: 1px solid var(--line); }
.lx-cote__bloc summary { list-style: none; margin-bottom: 10px; font-size: 13px; font-weight: 500; color: var(--ink-3); cursor: default; }
.lx-cote__bloc summary::-webkit-details-marker { display: none; }
.lx-sommaire ol { margin: 0; padding: 0 0 0 14px; list-style: none; border-left: 1px solid var(--line); }
.lx-sommaire li a { position: relative; display: block; padding: 4px 0; font-size: 13.5px; line-height: 1.35; color: var(--ink-3); transition: color .25s ease; }
.lx-sommaire li a::before { content: ""; position: absolute; left: -15px; top: 5px; bottom: 5px; width: 1px; background: var(--ink); transform: scaleY(0); transition: transform .35s var(--lx-doux); }
.lx-sommaire li a:hover, .lx-sommaire li a.is-actif { color: var(--ink); }
.lx-sommaire li a.is-actif::before { transform: none; }
.lx-liees ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lx-liees a { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 -10px; padding: 6px 10px; border-radius: 12px; color: var(--ink); transition: background .2s ease; }
.lx-liees a span { display: grid; gap: 1px; min-width: 0; }
.lx-liees b { font-size: 14px; font-weight: 500; line-height: 1.3; }
.lx-liees small { font-size: 12.5px; line-height: 1.3; color: var(--ink-3); }
.lx-liees svg { width: 13px; height: 13px; flex: none; color: var(--ink-3); transition: transform .35s var(--lx-ressort), color .2s ease; }
.lx-liees a:hover { background: var(--lx-carte); } .lx-liees a:hover svg { transform: translateX(3px); color: var(--ink); }
.lx-cote__demo { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(125deg, #cfe2ff 0%, #eef5ff 100%); color: #15171b; }
.lx-cote__demo p { margin: 0; font-size: 13.5px; line-height: 1.4; }
html[data-theme] .lx-cote__demo .lx-btn { grid-column: 1 / -1; justify-self: start; height: 36px; padding: 0 14px 0 16px; font-size: 13.5px; background: #191919; color: #fff; }
@media (hover: hover) { html[data-theme] .lx-cote__demo .lx-btn:hover { background: #3a3a3a; transform: scale(1.03); } .lx-cote__demo .lx-btn:hover svg { transform: translateX(3px); } }
@media (min-width: 1025px) and (max-height: 820px) { .lx-cote__demo { display: none; } }
html[data-theme="nuit"] .lx-cote__demo .lx-av { background: #191919; color: #fff; }
.lx-art-tete .lx-fil { margin-bottom: 22px; }
.lx-art-tete .lx-art-puces { margin-top: 22px; }

/* encadré d'appel à l'action coloré, au fil du texte (comme « bug report with the evidence attached » de gleap.ai) :
   il reste clair, texte foncé, dans les deux modes */
.lx-cta { --c1: #b9d8ff; --c2: #e8f2ff; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; margin: 40px 0 !important; padding: 32px; border-radius: 20px; background: linear-gradient(125deg, var(--c1) 0%, var(--c2) 100%); color: #15171b; }
.lx-cta--peche { --c1: #ffcfb5; --c2: #fff0e7; } .lx-cta--lilas { --c1: #dcc8f5; --c2: #f5effd; }
.lx-cta__av { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.55); color: #15171b; box-shadow: inset 0 0 0 1px rgba(21,23,27,.08); }
.lx-cta__av .lx-bobby { width: 72%; height: 72%; }
.lx-cta__txt p { margin: 0; font-size: 16px; line-height: 1.5; color: #3b3d42; }
.lx-cta .lx-cta__titre { margin-bottom: 6px; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; color: #15171b; }
.lx-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 20px !important; }
.lx-prose .lx-cta .lx-btn, html[data-theme="nuit"] .lx-prose .lx-cta .lx-btn { background: #191919; color: #fff; text-decoration: none; }
html[data-theme] .lx-prose .lx-cta__lien { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: #15171b !important; text-decoration: underline; text-decoration-color: rgba(21,23,27,.35); text-underline-offset: 3px; }
.lx-cta__lien svg { width: 13px; height: 13px; transition: transform .35s var(--lx-ressort); }
@media (hover: hover) { .lx-cta__lien:hover svg { transform: translateX(3px); } .lx-prose .lx-cta .lx-btn:hover { background: #3a3a3a; } }

/* schémas : fond de carte du labo, cartes blanches (noires la nuit), comme les schémas des articles gleap.ai */
.lx-schema, .lx-tableau { margin: 36px 0 !important; }
.lx-schema { position: relative; padding: 32px 28px 26px; border-radius: 20px; background: var(--lx-carte); }
.lx-schema__titre { margin: 0 0 20px !important; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.lx-schema__note { margin-top: 18px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.lx-flux { display: grid; gap: 30px; max-width: 460px; margin: 0 auto; padding: 0; list-style: none; counter-reset: none; }
.lx-flux__etape { position: relative; display: flex; gap: 14px; align-items: flex-start; margin: 0 !important; padding: 16px 18px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.lx-flux__etape + .lx-flux__etape::before { content: ""; position: absolute; left: 50%; top: -24px; width: 2px; height: 14px; border-radius: 2px; background: var(--ink-3); }
.lx-flux__etape + .lx-flux__etape::after { content: ""; position: absolute; left: calc(50% - 4px); top: -12px; border: 5px solid transparent; border-top: 6px solid var(--ink-3); border-bottom: 0; }
.lx-flux__num { display: grid; place-items: center; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 500; }
.lx-flux b { display: block; font-size: 16.5px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
.lx-flux p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
html.js .lx-schema.reveal .lx-flux__etape { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .6s var(--lx-doux); }
html.js .lx-schema.reveal.is-in .lx-flux__etape { opacity: 1; transform: none; }
.lx-flux__etape:nth-child(2) { transition-delay: .12s !important; } .lx-flux__etape:nth-child(3) { transition-delay: .24s !important; } .lx-flux__etape:nth-child(4) { transition-delay: .36s !important; } .lx-flux__etape:nth-child(5) { transition-delay: .48s !important; }
.lx-compare { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 12px; }
.lx-compare__col { padding: 20px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.lx-compare__col--fort { background: #191919; color: #fff; box-shadow: none; }
html[data-theme="nuit"] .lx-compare__col--fort { background: #fff; color: #15171b; }
.lx-compare__sur { margin: 0 0 6px !important; font-size: 12.5px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; opacity: .6; }
.lx-compare__titre { margin: 0 !important; font-size: 18px; line-height: 1.3; letter-spacing: -.015em; }
.lx-compare ul { margin: 14px 0 0 !important; padding: 0; list-style: none; }
.lx-compare li { position: relative; margin: 0 !important; padding: 7px 0 7px 18px; font-size: 14.5px; line-height: 1.45; border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
.lx-compare li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .45; }
.lx-compare__col--fort li::before { background: #FB4D17; opacity: 1; }
.lx-compare__fleche { align-self: center; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px var(--line); color: var(--ink); }
.lx-compare__fleche svg { width: 15px; height: 15px; }
/* barres comparées : deux séries (bleu, orange ; palette vérifiée daltonisme, jour et nuit), valeur écrite au bout de chaque barre */
.lx-schema--barres { --s1: #3f7fd8; --s2: #FB4D17; }
html[data-theme="nuit"] .lx-schema--barres { --s1: #5b8fe6; --s2: #f0602a; }
.lx-legende { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -6px 0 18px !important; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); }
.lx-legende li { display: inline-flex; align-items: center; gap: 7px; margin: 0 !important; }
.lx-legende i { width: 10px; height: 10px; border-radius: 3px; background: var(--s); }
.lx-barres { display: grid; gap: 16px; }
.lx-barres__groupe { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; margin: 0 !important; }
.lx-barres__lib { margin: 0 !important; font-size: 14px; line-height: 1.35; color: var(--ink); }
.lx-barres__barres { display: grid; gap: 2px; }
.lx-barre { --s: var(--s1); display: flex; align-items: center; gap: 8px; height: 22px; }
.lx-barre--s1 { --s: var(--s1); } .lx-barre--s2 { --s: var(--s2); } .lx-barre--s3 { --s: #8a4fd0; }
.lx-barre i { display: block; flex: none; width: calc(var(--v) * (100% - 92px)); height: 14px; border-radius: 2px 4px 4px 2px; background: var(--s); transform-origin: 0 50%; }
.lx-barre b { font-size: 13px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
html.js .lx-schema--barres.reveal .lx-barre i { transform: scaleX(0); transition: transform .9s var(--lx-doux) .15s; }
html.js .lx-schema--barres.reveal.is-in .lx-barre i { transform: none; }
.lx-sr { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* tableaux : cadre arrondi, en-tête discret et marqué, lignes aérées ; défilement horizontal sur téléphone */
.lx-tableau__defile { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); }
.lx-tableau__defile:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lx-tableau table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; line-height: 1.45; }
.lx-tableau th, .lx-tableau td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.lx-tableau thead th { padding-top: 12px; padding-bottom: 10px; background: var(--lx-carte); font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.lx-tableau thead th:first-child { border-top-left-radius: 14px; } .lx-tableau thead th:last-child { border-top-right-radius: 14px; }
.lx-tableau tbody th { font-weight: 500; color: var(--ink); }
.lx-tableau td { color: var(--texte); font-variant-numeric: tabular-nums; }
.lx-tableau tbody tr:last-child > * { border-bottom: 0; }
.lx-tableau tbody tr { transition: background .2s ease; }
.lx-tableau tbody tr:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.lx-tableau .lx-schema__titre { margin-bottom: 12px !important; }

/* FAQ en fin d'article */
.lx-faq { margin-top: 16px; padding: 32px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: 100px; }
.lx-faq__titre { margin: 0 0 8px; font-size: 24px; font-weight: 400; letter-spacing: -.02em; color: var(--ink); }
.lx-faq__q { border-bottom: 1px solid var(--line); }
.lx-faq__q:last-child { border-bottom: 0; }
.lx-faq__q summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; list-style: none; font-size: 16.5px; line-height: 1.4; color: var(--ink); cursor: pointer; }
.lx-faq__q summary::-webkit-details-marker { display: none; }
.lx-faq__q summary i { position: relative; flex: none; width: 14px; height: 14px; }
.lx-faq__q summary i::before, .lx-faq__q summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--ink-2); transition: transform .35s var(--lx-doux); }
.lx-faq__q summary i::after { transform: rotate(90deg); }
.lx-faq__q[open] summary i::after { transform: rotate(0); }
.lx-faq__q summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.lx-faq__r p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--texte); }
.lx-sources { margin-top: 36px !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.lx-sources b { display: block; margin-bottom: 4px; font-weight: 500; color: var(--ink); }

@media (max-width: 1024px) {
  .lx-art { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tete" "cote" "corps"; max-width: 720px !important; }
  .lx-art .lx-art-tete { padding-bottom: 20px; }
  .lx-cote { padding: 0 0 28px; }
  .lx-cote__in { position: static; max-height: none; overflow: visible; gap: 10px; }
  .lx-cote__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 10px; }
  .lx-cote .lx-auteur { margin: 0; order: -1; }
  .lx-cote__bloc { padding: 14px 18px; border: 0; border-radius: 16px; background: var(--lx-carte); }
  .lx-cote__bloc summary { display: flex; justify-content: space-between; align-items: center; margin: 0; font-size: 14px; color: var(--ink); cursor: pointer; }
  .lx-cote__bloc summary::after { content: "+"; font-size: 18px; color: var(--ink-2); }
  .lx-cote__bloc[open] summary { margin-bottom: 12px; } .lx-cote__bloc[open] summary::after { content: "−"; }
  .lx-cote__demo { display: none; }
}
@media (max-width: 640px) {
  .lx-art-visuel { margin-bottom: 36px; }
  .lx-cta { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 20px; }
  .lx-cta .lx-cta__titre { font-size: 19px; }
  .lx-schema { padding: 22px 16px 18px; margin-left: -4px !important; margin-right: -4px !important; }
  .lx-compare { grid-template-columns: minmax(0, 1fr); }
  .lx-compare__fleche { justify-self: center; transform: rotate(90deg); }
  .lx-barres__groupe { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .lx-barre i { width: calc(var(--v) * (100% - 128px)); }
  .lx-faq { padding: 22px 18px; }
  .lx-faq__q summary { font-size: 15.5px; }
}

/* ---------- Glossaire ---------- */
.lx-art-tete--glossaire h1 { font-size: clamp(36px, 4.4vw, 56px); }
.lx-gloss-outils { position: sticky; top: 84px; z-index: 5; display: grid; gap: 12px; max-width: 800px !important; padding: 12px; border-radius: 20px; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line); }
.lx-recherche { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: 14px; background: var(--lx-carte); color: var(--ink-2); }
.lx-recherche svg { width: 18px; height: 18px; flex: none; }
.lx-recherche input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.lx-recherche input::placeholder { color: var(--ink-3); }
.lx-recherche:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.lx-alpha { display: flex; flex-wrap: wrap; gap: 2px; justify-content: space-between; }
.lx-alpha a, .lx-alpha span { display: grid; place-items: center; width: 26px; height: 28px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.lx-alpha a:hover { background: var(--lx-carte); }
.lx-alpha span { color: var(--ink-3); opacity: .45; font-weight: 400; }
.lx-alpha a.is-vide { opacity: .3; pointer-events: none; }
.lx-gloss { max-width: 800px !important; padding-top: 28px; }
.lx-lettre { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 16px; padding: 22px 0; border-top: 1px solid var(--line); scroll-margin-top: 220px; }
.lx-lettre__l { margin: 0; font-size: 34px; font-weight: 400; line-height: 1; letter-spacing: -.02em; color: var(--ink-3); }
.lx-lettre dl { display: grid; gap: 8px; margin: 0; }
.lx-def { padding: 16px 18px; border-radius: 16px; scroll-margin-top: 220px; transition: background .3s ease; }
.lx-def:hover { background: var(--lx-carte); }
.lx-def dt { font-size: 18px; letter-spacing: -.015em; }
.lx-def dt a { color: var(--ink); }
.lx-def dd { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--texte); }
.lx-def .lx-def__cite { font-size: 13.5px; color: var(--ink-2); }
.lx-def__cite a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.lx-def:target, .lx-def.is-cible { background: var(--lx-carte); animation: lx-cible 1.6s ease-out; }
@keyframes lx-cible { 0% { box-shadow: 0 0 0 2px #FB4D17; } 100% { box-shadow: 0 0 0 2px transparent; } }
.lx-gloss__vide { padding: 40px 0; text-align: center; color: var(--ink-2); }
.lx-gloss__vide a { color: var(--ink); text-decoration: underline; }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 1024px) {
  .lx-tete__bulle--1, .lx-tete__bulle--3 { left: -2%; } .lx-tete__bulle--2, .lx-tete__bulle--4 { right: -2%; }
}
@media (max-width: 960px) {
  .lx-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-carte--une { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .lx-carte--une .lx-visuel { min-height: 300px; padding: 36px 24px; }
  .lx-parcours { grid-template-columns: minmax(0, 1fr); }
  .lx-tete__bulles { display: none; }
}
@media (max-width: 640px) {
  .lx-page { padding-top: 96px; }
  .lx-tete { padding: 32px 0 24px; }
  .lx-intro { font-size: 16.5px; }
  .lx-grille { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lx-carte .lx-visuel { height: 240px; padding: 20px 16px; }
  .lx-carte--une .lx-visuel { min-height: 280px; height: auto; padding: 32px 18px; }
  .lx-carte--une .lx-dit__txt { font-size: 15.5px; }
  .lx-carte--une .lx-carte__txt { padding: 22px 20px 22px; }
  .lx-carte--une .lx-carte__bas { flex-direction: column; align-items: stretch; gap: 22px; }
  .lx-carte--une .lx-carte__pied { flex-direction: row; align-items: center; justify-content: space-between; }
  .lx-carte__titre { font-size: 19px; }
  .lx-filtres { margin-left: 0; margin-right: 0; width: 100%; padding: 14px 0 12px; border-radius: 0; background: none; gap: 8px; }
  .lx-filtres__ligne { display: grid; gap: 6px; }
  .lx-filtres__lib { width: auto; padding: 0 var(--gutter); }
  .lx-filtres__pils { flex-wrap: nowrap; overflow-x: auto; padding: 2px var(--gutter); scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .lx-filtres__pils::-webkit-scrollbar { display: none; }
  .lx-filtres__etat { margin: 4px var(--gutter) 0; }
  .lx-section { padding-top: 72px; }
  .lx-bientot { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 4px 14px; min-height: 0; padding: 18px; }
  .lx-bientot__picto { grid-row: span 3; }
  .lx-bientot__nom { margin: 0; font-size: 17px; } .lx-bientot__desc { margin: 0; font-size: 14px; }
  .lx-bientot__badge { margin-top: 8px; justify-self: start; }
  .lx-parcours__tete { min-height: 200px; padding: 14px; }
  .lx-glossaire-teaser, .lx-pratique { padding: 16px; }
  .lx-glossaire-teaser__carte { padding: 22px 20px; }
  .lx-pratique__carte { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .lx-pratique .lx-btn { grid-column: auto; }
  .lx-art-tete { padding: 24px 0 24px; }
  .lx-chapo { font-size: 17px; }
  .lx-art-meta { gap: 8px 10px; font-size: 13px; } .lx-art-meta time, .lx-art-meta span:last-child { gap: 10px; }
  .lx-art-visuel .lx-visuel { min-height: 0; padding: 32px 16px; border-radius: 20px; }
  .lx-dit--grand { padding: 18px; } .lx-dit--grand .lx-dit__txt { font-size: 16px; }
  .lx-idees { padding: 22px 16px; } .lx-idees li { padding: 16px; gap: 12px; } .lx-idees li p { font-size: 15.5px; }
  .lx-parc-nav__liens { grid-template-columns: minmax(0, 1fr); } .lx-parc-nav__lien--suiv { text-align: left; }
  .lx-gloss-outils { top: 76px; padding: 8px; }
  .lx-alpha { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .lx-alpha::-webkit-scrollbar { display: none; }
  .lx-alpha a, .lx-alpha span { flex: none; }
  .lx-lettre { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .lx-lettre__l { font-size: 26px; padding-left: 18px; }
  .lx-def { padding: 14px 16px; }
}

/* ============================================================
   Playbooks (10/10/2026, premier playbook du labo) : petite étiquette orange au-dessus du h1, suite grise du titre,
   cartes numérotées des réflexes ([[reflexes:id]]), bloc de téléchargement ([[pdf:grand]]) : la couverture du PDF dans une
   fenêtre d'application posée sur une peinture, à côté d'une carte blanche (mêmes couleurs en jour et en nuit, comme .lx-pratique),
   et lien de téléchargement dans la colonne gauche.
   ============================================================ */
.lx-art-etiquette { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 14px; font-weight: 500; color: #c8410f; }
.lx-art-etiquette::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FB4D17; }
html[data-theme="nuit"] .lx-art-etiquette { color: #ff8a5c; }
.lx-art-tete h1 .g { display: inline; }

.lx-reflexes { margin: 32px 0 !important; }
.lx-reflexes ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.lx-prose .lx-reflexes li { margin: 0; }
.lx-reflexes li:last-child:nth-child(odd) { grid-column: 1 / -1; }
html[data-theme] .lx-prose .lx-reflexes a { display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 16px 18px; border-radius: 16px; background: var(--lx-carte); color: var(--ink); text-decoration: none;
  transition: transform .35s var(--lx-ressort), box-shadow .2s ease; }
.lx-reflexes__num { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #FB4D17; color: #fff; font-size: 13.5px; font-weight: 500; line-height: 1; }
.lx-reflexes__txt { display: grid; gap: 3px; min-width: 0; }
.lx-reflexes__txt b { font-size: 15.5px; font-weight: 500; line-height: 1.3; }
.lx-reflexes__txt small { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.lx-reflexes__txt em { justify-self: start; margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: var(--paper); font-size: 12px; font-style: normal; font-weight: 500; line-height: 1.3; color: var(--ink-2); }
@media (hover: hover) { html[data-theme] .lx-prose .lx-reflexes a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2); } }

.lx-pdf { position: relative; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); align-items: center; gap: 28px; margin: 40px 0 !important; padding: 36px 32px;
  overflow: hidden; isolation: isolate; border-radius: 24px; background: #dbdbd2; }
.lx-pdf .lx-visuel__peinture { --pos: 50% 40%; }
html[data-theme="nuit"] .lx-pdf { background: #2a2a2a; }
.lx-pdf__fenetre { margin: 0; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: none; transform: rotate(-2deg); transition: transform .5s var(--lx-ressort); }
.lx-prose .lx-pdf__barre { display: flex; align-items: center; gap: 5px; margin: 0; padding: 8px 10px; background: #f3f3ef; border-bottom: 1px solid rgba(21,23,27,.07); font-size: 10.5px; line-height: 1; color: #8a8a90; }
.lx-pdf__barre i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #d6d6d0; }
.lx-pdf__barre span { min-width: 0; margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-prose .lx-pdf__fenetre img { display: block; width: 100%; height: auto; border-radius: 0; filter: none; }
.lx-pdf__carte { padding: 24px; border-radius: 20px; background: #fff; color: #15171b; box-shadow: none; }
.lx-prose .lx-pdf__carte p { margin: 0; }
.lx-prose .lx-pdf__sur { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; line-height: 1.4; color: #2f7d3e; }
.lx-prose .lx-pdf__titre { margin: 8px 0 6px; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; color: #15171b; }
.lx-prose .lx-pdf__texte { font-size: 15px; line-height: 1.5; color: #5d5d62; }
.lx-prose .lx-pdf__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
html[data-theme] .lx-prose .lx-pdf .lx-btn { background: #191919; color: #fff; text-decoration: none; }
html[data-theme] .lx-prose .lx-pdf .lx-btn--ligne { background: transparent; color: #15171b; box-shadow: inset 0 0 0 1px rgba(21,23,27,.2); }
.lx-prose .lx-pdf__verif { display: flex; align-items: flex-start; gap: 6px; margin-top: 16px !important; font-size: 13px; line-height: 1.4; color: #6f6f6c; }
.lx-pdf__verif svg { width: 14px; height: 14px; flex: none; margin-top: 1px; color: #2f7d3e; }
@media (hover: hover) {
  .lx-pdf:hover .lx-visuel__peinture { transform: scale(1.06); }
  .lx-pdf:hover .lx-pdf__fenetre { transform: rotate(0) translateY(-4px); }
  html[data-theme] .lx-prose .lx-pdf .lx-btn--plein:hover { background: #3a3a3a; }
  html[data-theme] .lx-prose .lx-pdf .lx-btn--ligne:hover { background: #f3f3ef; }
}

.lx-cote__pdf { display: flex; align-items: center; gap: 10px; margin: 4px -10px 0; padding: 8px 10px; border-radius: 14px; color: var(--ink); transition: background .2s ease; }
.lx-cote__pdf-ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, #2f7d3e 12%, transparent); color: #2f7d3e; }
html[data-theme="nuit"] .lx-cote__pdf-ico { background: rgba(127,208,142,.14); color: #7fd08e; }
.lx-cote__pdf-ico svg { width: 16px; height: 16px; }
.lx-cote__pdf > span:last-child { display: grid; gap: 2px; font-size: 14px; line-height: 1.2; }
.lx-cote__pdf b { font-weight: 500; } .lx-cote__pdf small { font-size: 12.5px; color: var(--ink-3); }
.lx-cote__pdf:hover { background: var(--lx-carte); }

.lx-tableau--etroit table { min-width: 0; }
.lx-tableau--etroit thead th { white-space: normal; }
@media (max-width: 1024px) { .lx-cote__meta .lx-cote__pdf { flex-basis: 100%; margin: 0 -10px; } }
@media (max-width: 640px) {
  .lx-tableau--etroit th, .lx-tableau--etroit td { padding: 11px 10px; font-size: 13.5px; }
  .lx-reflexes ol { grid-template-columns: minmax(0, 1fr); }
  .lx-pdf { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 28px 16px 16px; border-radius: 20px; }
  .lx-pdf__fenetre { width: min(62%, 220px); justify-self: center; }
  .lx-pdf__carte { padding: 20px 18px; }
  .lx-prose .lx-pdf__actions .lx-btn { width: 100%; justify-content: center; }
}

/* ---------- Couvertures des ressources (12/10/2026, demande Axel) : Bobby en pâte à modeler, une couleur par sujet ----------
   En tête de ressource : la couverture en grand sous l'en-tête. Dans les cartes : la couverture entière (titre compris, jamais recadrée)
   sur son fond crème, et la bulle « Bobby en bref » dessous, la pointe vers Bobby ; la frappe au survol est inchangée. Aucune ombre. */
.lx-couv { margin: 28px 0 0; }
.lx-couv img { display: block; width: 100%; height: auto; border-radius: 16px; background: #FEFDF9; }
.lx-carte .lx-visuel.lx-visuel--couv { display: flex; flex-direction: column; align-items: stretch; gap: 14px; height: auto; min-height: 0; padding: 0 0 6px; background: none; border-radius: 0; overflow: visible; }
.lx-visuel__couv { display: block; overflow: hidden; border-radius: 18px; background: #FEFDF9; }
.lx-visuel__couv img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 675; object-fit: cover; transition: transform .7s var(--lx-doux); }
.lx-carte .lx-visuel--couv .lx-dit { max-width: none; transform-origin: 50% 0; }
.lx-visuel--couv .lx-dit::after { bottom: auto; top: -7px; left: 50%; margin-left: -8px; }
html[data-theme="nuit"] .lx-visuel--couv .lx-dit { box-shadow: none; }
.lx-carte:not(.lx-carte--une) .lx-visuel--couv .lx-dit { background: #fff; box-shadow: inset 0 0 0 1px rgba(21,23,27,.06); }
.lx-carte:not(.lx-carte--une) .lx-visuel--couv .lx-dit::after { box-shadow: inset 1px 1px 0 0 rgba(21,23,27,.06); }
html[data-theme="nuit"] .lx-carte:not(.lx-carte--une) .lx-visuel--couv .lx-dit, html[data-theme="nuit"] .lx-carte:not(.lx-carte--une) .lx-visuel--couv .lx-dit::after { box-shadow: none; }
.lx-carte--une .lx-visuel.lx-visuel--couv { justify-content: center; gap: 18px; padding: 36px 36px 40px; }
@media (hover: hover) { .lx-carte:hover .lx-visuel__couv img { transform: scale(1.03); } }
@media (max-width: 960px) { .lx-carte--une .lx-visuel.lx-visuel--couv { padding: 24px 24px 28px; } }
@media (max-width: 640px) {
  .lx-couv { margin-top: 22px; } .lx-couv img { border-radius: 12px; }
  .lx-carte .lx-visuel.lx-visuel--couv { height: auto; min-height: 0; padding: 0 0 4px; }
  .lx-carte--une .lx-visuel.lx-visuel--couv { padding: 8px 8px 22px; }
}

/* ---------- Cartes du labo, V2 (12/10/2026, demande Axel) : l'image prend la place, Bobby tient en une ligne ----------
   La vignette (même mise en page que la couverture : Bobby, titre, sous-titre, recadrée serré en 4:3 pour que tout soit en grand) remplace la couverture dans les cartes ; la couverture reste en tête de ressource.
   La bulle « en bref » devient une seule petite ligne : avatar + phrase courte (bobby_court), coupée proprement si elle déborde. */
.lx-visuel__couv img { aspect-ratio: 4 / 3; }
.lx-carte .lx-visuel.lx-visuel--couv { gap: 10px; }
.lx-dit--ligne { display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 7px; border-radius: 14px; }
.lx-dit--ligne .lx-dit__tete { margin: 0; }
.lx-dit--ligne .lx-dit__tete b, .lx-dit--ligne .lx-dit__tete small, .lx-dit--ligne .lx-lu { display: none !important; }
.lx-dit--ligne .lx-av { width: 26px; height: 26px; border-radius: 8px; }
.lx-dit--ligne .lx-dit__txt { flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; }
.lx-dit--ligne .lx-dit__plein, .lx-dit--ligne .lx-dit__frappe { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lx-dit--ligne .lx-dit__points { padding: 4px 0; }
.lx-visuel--couv .lx-dit--ligne::after { width: 12px; height: 12px; top: -5px; margin-left: -6px; }
.lx-carte--une .lx-visuel.lx-visuel--couv { justify-content: stretch; gap: 12px; padding: 12px 12px 14px; }
.lx-carte--une .lx-visuel__couv { flex: 1; min-height: 0; }
.lx-carte--une .lx-visuel__couv img { height: 100%; aspect-ratio: auto; object-fit: contain; }  /* le titre est dans l image : jamais rogné */
.lx-carte--une .lx-dit--ligne { max-width: none; padding: 9px 14px 9px 9px; }
.lx-carte--une .lx-dit--ligne .lx-dit__txt { font-size: 15.5px; }
@media (max-width: 960px) { .lx-carte--une .lx-visuel.lx-visuel--couv { padding: 10px 10px 12px; } .lx-carte--une .lx-visuel__couv img { aspect-ratio: 4 / 3; height: auto; } }

/* ---------- Animations réduites : tout reste visible et immobile ---------- */
@media (prefers-reduced-motion: reduce) {
  .lx-carte, .lx-dit, .lx-btn, .lx-btn svg, .lx-visuel__peinture, .lx-pil, .lx-puce, .lx-lien-pil, .lx-parc-nav__lien, .lx-progres__barre i, .lx-etape__num svg, .lx-infobulle { transition: none !important; }
  .lx-tete__bulle-in, .lx-bobby *, .lx-bobby__yeux, .lx-dit__points i, .lx-bientot__badge i, .lx-def:target { animation: none !important; }
  .lx-cta__lien svg, .lx-liees svg, .lx-liees a, .lx-reflexes a, .lx-pdf__fenetre, .lx-cote__pdf, .lx-faq__q summary i::before, .lx-faq__q summary i::after, .lx-tableau tbody tr { transition: none !important; }
  html.js .lx-schema.reveal .lx-flux__etape, html.js .lx-schema--barres.reveal .lx-barre i { opacity: 1; transform: none; transition: none !important; }
  html.js .lx-carte.reveal { transform: none; }
  html.js .lx-dit .lx-dit__plein { visibility: visible !important; }
  html.js .lx-dit .lx-dit__points, .lx-dit__frappe { display: none !important; }
  html.js .lx-carte.reveal:hover, .lx-carte:hover, .lx-carte:hover .lx-dit, .lx-carte:hover .lx-visuel__peinture, .lx-carte:hover .lx-visuel__couv img { transform: none !important; }
}

/* ═══ Les mascottes du labo (12/10/2026, demande Axel) : les Bobby des couvertures accueillent le visiteur autour du titre ═══ */
.lx-tete__bobbys { position: absolute; inset: 0; pointer-events: none; }
.lx-bob { position: absolute; display: block; width: 128px; pointer-events: auto; text-decoration: none; z-index: 2;
  animation: lx-bob-arrive .7s cubic-bezier(.2,.9,.3,1.25) var(--d) both; }
.lx-bob img { display: block; width: 100%; height: auto; transform-origin: 50% 100%;
  animation: lx-bob-flotte var(--f) ease-in-out calc(var(--d) + .7s) infinite alternate; transition: filter .2s ease; }
.lx-bob.is-saute img { animation: lx-bob-saut .6s cubic-bezier(.3,.7,.4,1.4) both; }
.lx-bob:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 16px; }
.lx-bob__dit { position: absolute; left: 50%; bottom: calc(100% + 6px); max-width: 230px; width: max-content; padding: 8px 13px; border-radius: 16px; background: #fff; color: #292929;
  font-size: 13.5px; font-weight: 500; line-height: 1.3; text-align: center; box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  opacity: 0; transform: translate(-50%, 6px) scale(.9); transform-origin: 50% 100%; transition: opacity .25s ease, transform .3s cubic-bezier(.2,.9,.3,1.3); pointer-events: none; }
.lx-bob__dit::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: #fff; }
.lx-bob.is-parle .lx-bob__dit { opacity: 1; transform: translate(-50%, 0) scale(1); }
html[data-theme="nuit"] .lx-bob__dit { background: #1f1f1f; color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
html[data-theme="nuit"] .lx-bob__dit::after { border-top-color: #1f1f1f; }
.lx-bob--1 { left: 0; top: 2%; width: 116px; }
.lx-bob--2 { right: 0; top: 0; width: 120px; }
.lx-bob--3 { left: 5%; top: 37%; width: 128px; }
.lx-bob--4 { right: 4%; top: 35%; width: 132px; }
.lx-bob--5 { left: 0; top: 72%; width: 112px; }
.lx-bob--6 { right: 1%; top: 70%; width: 108px; }
@keyframes lx-bob-arrive { 0% { opacity: 0; transform: translateY(26px) scale(.6); } 100% { opacity: 1; transform: none; } }
@keyframes lx-bob-flotte { 0% { transform: translateY(0) rotate(-2deg); } 100% { transform: translateY(-9px) rotate(2deg); } }
@keyframes lx-bob-saut { 0% { transform: none; } 35% { transform: translateY(-16px) rotate(-5deg) scale(1.04); } 70% { transform: translateY(2px) scaleY(.96); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .lx-bob, .lx-bob img, .lx-bob.is-saute img { animation: none; } }
@media (max-width: 1180px) { .lx-bob { width: 96px !important; } .lx-bob--3 { left: 0; } .lx-bob--4 { right: 0; } .lx-bob--5 { left: 6%; } .lx-bob--6 { right: 6%; } }
@media (max-width: 900px) {
  .lx-tete__bobbys { position: relative; inset: auto; display: flex; justify-content: center; align-items: flex-end; gap: 2px; margin: 0 auto 18px; padding-top: 44px; }
  .lx-bob { position: relative; left: auto !important; right: auto !important; top: auto !important; width: 62px !important; }
  .lx-bob:nth-child(n+5) { display: none; }
  .lx-bob__dit { font-size: 12px; max-width: 180px; }
}

/* ═══ Barre de tri simplifiée : onglets de format + métier + recherche, sur une seule ligne ═══ */
.lx-filtres { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 8px; border-radius: 999px; }
.lx-filtres__onglets { display: flex; flex-wrap: wrap; gap: 2px; min-width: 0; }
.lx-filtres__onglets .lx-pil { height: 40px; padding: 0 16px; font-size: 15px; }
.lx-filtres__outils { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lx-select, .lx-cherche { position: relative; display: inline-flex; align-items: center; height: 40px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s ease; }
.lx-select:hover, .lx-cherche:hover, .lx-cherche:focus-within, .lx-select:focus-within { box-shadow: inset 0 0 0 1px var(--line-2); }
.lx-select.is-on { background: #191919; box-shadow: none; } .lx-select.is-on select { color: #fff; } .lx-select.is-on::after { border-color: #fff; }
html[data-theme="nuit"] .lx-select.is-on { background: #fff; } html[data-theme="nuit"] .lx-select.is-on select { color: #141414; } html[data-theme="nuit"] .lx-select.is-on::after { border-color: #141414; }
.lx-select select { appearance: none; -webkit-appearance: none; height: 100%; padding: 0 36px 0 16px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; outline: none; }
.lx-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border: solid var(--ink-2); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.lx-cherche { width: 200px; padding-left: 14px; }
.lx-cherche svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; }
.lx-cherche input { flex: 1; min-width: 0; height: 100%; padding: 0 14px 0 8px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; outline: none; }
.lx-cherche input::placeholder { color: var(--ink-3); }
.lx-cherche input::-webkit-search-cancel-button { cursor: pointer; }
.lx-filtres__etat { margin: 0 auto 18px; padding-left: 14px; }
@media (max-width: 900px) {
  .lx-filtres { display: grid; gap: 10px; padding: 0; border-radius: 0; background: none; }
  .lx-filtres__onglets { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter); }
  .lx-filtres__onglets::-webkit-scrollbar { display: none; }
  .lx-filtres__onglets .lx-pil { flex: none; }
  .lx-filtres__outils { margin: 0; padding: 0 var(--gutter); }
  .lx-select { flex: 1 1 0; min-width: 0; } .lx-select select { width: 100%; text-overflow: ellipsis; } .lx-cherche { flex: 1 1 0; min-width: 0; width: auto; }
  .lx-filtres__etat { margin-left: auto; padding-left: 0; }
}
@media (min-width: 901px) {
  .lx-bob:nth-child(odd) .lx-bob__dit { left: 0; transform: translate(0, 6px) scale(.9); transform-origin: 20% 100%; }
  .lx-bob:nth-child(odd).is-parle .lx-bob__dit { transform: none; }
  .lx-bob:nth-child(odd) .lx-bob__dit::after { left: 40px; }
  .lx-bob:nth-child(even) .lx-bob__dit { left: auto; right: 0; transform: translate(0, 6px) scale(.9); transform-origin: 80% 100%; }
  .lx-bob:nth-child(even).is-parle .lx-bob__dit { transform: none; }
  .lx-bob:nth-child(even) .lx-bob__dit::after { left: auto; right: 34px; margin: 0; }
}
