/* ==========================================================================
   Lexique du montage vidéo : sommaire visuel + pages de définition
   Même univers que l'accueil : fond nuit, violet, orange, verre, mouvements doux.
   ========================================================================== */
.lx { --bg: #120d1c; --s1: #1b1429; --s2: #261d3a; --line: #3a2e55; --ink: #f4f0fa; --muted: #b3a8c7; --violet: #9b7bff; --vs: #6d42f5; --head: #ffb23f; --ease: cubic-bezier(.16, 1, .3, 1); --c: var(--violet);
	color: var(--ink); padding: 10px 0 40px; }
.lx > * { width: min(1200px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.lx a { color: inherit; }
.lx-c-montage { --c: #9b7bff; } .lx-c-image { --c: #ffb23f; } .lx-c-son { --c: #4fd18b; } .lx-c-narration { --c: #ff7ab6; }
.lx-c-statistiques { --c: #5ec8ff; } .lx-c-formats { --c: #ff8a80; } .lx-c-technique { --c: #c9bdf5; }
.lx p, .lx h1, .lx h2, .lx h3 { margin-top: 0; }

/* ---------- Barre de recherche : juste sous le menu, puis collée en haut ---------- */
.lx-bar { position: sticky; top: 10px; z-index: 40; transition: top .5s var(--ease); animation: lx-in .8s var(--ease) both; }
.lx-bar.is-below-menu { top: 80px; }
.lx-bar__in { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 18px; background: #1b1429; border: 1px solid rgba(155, 123, 255, .28); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9); }
.lx-search { flex: 1; display: flex; align-items: center; gap: 10px; height: 44px; }
.lx-search svg { width: 18px; height: 18px; color: var(--violet); flex: none; }
.lx-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; }
.lx-search input::placeholder { color: var(--muted); }
.lx-bar__in:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(155, 123, 255, .22), 0 18px 40px -24px rgba(0, 0, 0, .9); }
.lx-count { flex: none; padding: 8px 12px; border-radius: 12px; background: rgba(155, 123, 255, .14); color: var(--violet); font-size: 13px; font-weight: 600; }
.lx-count:empty { display: none; }
.lx-empty { margin: 10px 4px 0; color: var(--muted); } .lx-empty a { color: var(--violet); }

/* ---------- En-tête du sommaire ---------- */
.lx-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 56px; align-items: center; padding: 60px 0 20px; }
.lx-hero > *, .lxt-hero > * { margin: 0 !important; }
.lx-hero::before { content: ""; position: absolute; right: 0; top: 0; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(109, 66, 245, .35), transparent 65%); filter: blur(10px); pointer-events: none; animation: lx-float 9s ease-in-out infinite; }
@keyframes lx-float { 50% { transform: translate(-30px, 24px) scale(1.08); } }
.lx .lx-kicker { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--c); }
.lx .lx-kicker a { text-decoration: none; color: inherit; }
.lx h1 { position: relative; font-size: clamp(44px, 6vw, 88px); line-height: .95; letter-spacing: -.045em; font-weight: 780; margin: 0 0 24px; max-width: 13ch; }
.lx .lx-lead { position: relative; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 60ch; margin: 0 0 14px; }
.lx .lx-sub { position: relative; color: var(--muted); max-width: 60ch; margin: 0; }
.lx-hero__text > * { opacity: 0; transform: translateY(18px); animation: lx-in .9s var(--ease) forwards; }
.lx-hero__text > :nth-child(2) { animation-delay: .08s; } .lx-hero__text > :nth-child(3) { animation-delay: .16s; } .lx-hero__text > :nth-child(4) { animation-delay: .24s; }
@keyframes lx-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.lx-photo { position: relative; justify-self: end; width: min(100%, 380px); margin: 0; opacity: 0; animation: lx-photo 1.1s var(--ease) .2s forwards; }
.lx-photo img { display: block; width: 100%; height: auto; aspect-ratio: 550/475; object-fit: cover; border-radius: 28px; border: 1px solid rgba(155, 123, 255, .3); box-shadow: 0 40px 80px -40px rgba(109, 66, 245, .8), 0 0 0 8px rgba(155, 123, 255, .06); animation: lx-bob 7s ease-in-out 1.3s infinite; }
.lx-photo figcaption { position: absolute; left: -22px; bottom: 26px; display: grid; gap: 2px; padding: 10px 16px; border-radius: 14px; background: rgba(27, 20, 41, .85); border: 1px solid rgba(155, 123, 255, .3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 13px; color: var(--muted); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8); }
.lx-photo figcaption b { color: var(--ink); font-size: 15px; }
@keyframes lx-photo { from { opacity: 0; transform: translateY(30px) rotate(3deg) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lx-bob { 50% { transform: translateY(-8px) rotate(-.6deg); } }

/* ---------- Bulles de thèmes : un panneau s'ouvre sous le thème survolé ---------- */
.lx-index { position: relative; z-index: 30; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding-bottom: 10px; }
.lx-group { position: relative; display: inline-flex; border-radius: 99px; background: var(--s1); border: 1px solid var(--line); outline: 0; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.lx-group::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.lx-group__name { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.lx-group__name::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.lx-group__name small { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); font-size: 12px; transition: background-color .3s, color .3s; }
.lx-group__terms { position: absolute; left: var(--sx, 0px); top: calc(100% + 10px); z-index: 5; display: flex; flex-wrap: wrap; gap: 6px; width: max-content; max-width: min(460px, calc(100vw - 32px)); padding: 12px; border-radius: 18px; background: var(--s2); border: 1px solid color-mix(in srgb, var(--c) 50%, var(--line)); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9);
	display: none; transform-origin: 20px 0; }
.lx-group__terms a { padding: 7px 12px; border-radius: 99px; font-size: 14px; color: var(--ink); text-decoration: none; white-space: nowrap; background: rgba(255, 255, 255, .06); transition: color .2s, background-color .2s; }
.lx-group__terms a.has-page::after { content: " →"; color: var(--c); }
.lx-group__terms a:hover { color: #120d1c; background: var(--c); }
.lx-group__terms a:hover::after { color: inherit; }
.lx-group:hover, .lx-group:focus-within, .lx-group.is-open { border-color: var(--c); background: var(--s2); box-shadow: 0 14px 34px -18px var(--c); z-index: 2; }
.lx-group:hover small, .lx-group:focus-within small, .lx-group.is-open small { background: var(--c); color: #120d1c; }
.lx-group:hover .lx-group__terms, .lx-group:focus-within .lx-group__terms, .lx-group.is-open .lx-group__terms { display: flex; animation: lx-pop .4s var(--ease); }
@keyframes lx-pop { from { opacity: 0; transform: translateY(-8px) scale(.97); } to { opacity: 1; transform: none; } }
.lx-group.is-hidden, .lx-group__terms a.is-hidden { display: none; }

/* ---------- Sections ---------- */
.lx-feats, .lx-cat { padding-top: 80px; scroll-margin-top: 90px; }
.lx h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: .98; letter-spacing: -.04em; margin: 0 0 14px; scroll-margin-top: 100px; }
.lx-cat h2::before, .lx-feats h2::before { content: ""; display: block; width: 46px; height: 5px; margin-bottom: 18px; border-radius: 99px; background: linear-gradient(90deg, var(--c), var(--head)); }
.lx .lx-cat__intro { color: var(--muted); max-width: 70ch; margin: 0 0 30px; font-size: 18px; }
.lx-cat.is-hidden, .lx-feats.is-hidden { display: none; }

/* Grandes cartes : les définitions complètes, en bande qui défile */
.lx-feats__wrap { position: relative; }
.lx-feats__grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 340px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2px; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; -webkit-mask: linear-gradient(90deg, #000 88%, transparent); mask: linear-gradient(90deg, #000 88%, transparent); }
.lx-feats__grid.at-end { -webkit-mask: none; mask: none; }
.lx-feat { scroll-snap-align: start; position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 26px; overflow: hidden; background: var(--s1); border: 1px solid var(--line); text-decoration: none; transition: transform .6s var(--ease), border-color .3s, box-shadow .4s; opacity: 0; transform: translateY(40px) scale(.96); }
.lx-feat.is-in { opacity: 1; transform: none; transition: opacity .7s, transform .9s var(--ease), border-color .3s, box-shadow .4s; transition-delay: var(--dl, 0s); }
.lx-feat:hover { border-color: var(--c); box-shadow: 0 30px 60px -30px var(--c); transform: translateY(-6px); transition-delay: 0s; }
.lx-feats__nav { position: absolute; top: 38%; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(155, 123, 255, .4); background: rgba(27, 20, 41, .9); color: var(--ink); font-size: 20px; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .3s var(--ease), background-color .25s, opacity .25s; }
.lx-feats__nav:hover { background: var(--vs); transform: scale(1.08); }
.lx-feats__nav.prev { left: -18px; } .lx-feats__nav.next { right: -18px; }
.lx-feats__nav[disabled] { opacity: 0; pointer-events: none; }
.lx-feat__vis { display: block; padding: 18px 18px 0; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); }
.lx-feat__vis .lxv { transform: translateY(8px); transition: transform .6s var(--ease); }
.lx-feat:hover .lx-feat__vis .lxv { transform: translateY(0) scale(1.02); }
.lx-feat__txt { display: grid; align-content: start; gap: 6px; padding: 18px 22px 22px; }
.lx-feat__txt small { color: var(--c); font-size: 13px; font-weight: 600; }
.lx-feat__txt b { font-size: 28px; letter-spacing: -.03em; line-height: 1.05; }
.lx-feat__txt > span { color: var(--muted); font-size: 16px; line-height: 1.5; }
.lx-feat .lxv__screen { aspect-ratio: 16/6.5; }
.lx-feat .lxv__grid i { aspect-ratio: 16/6; }
.lx-feat .lxv__chart { max-height: 150px; }
.lx-feat__txt em { margin-top: 8px; font-style: normal; font-weight: 600; color: var(--ink); }
.lx-feat__txt em::after { content: " →"; display: inline-block; color: var(--c); transition: transform .3s var(--ease); }
.lx-feat:hover em::after { transform: translateX(5px); }

/* Tuiles de définition : courtes, le conseil apparaît au survol */
.lx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; align-items: stretch; }
.lx-grid > *, .lx-term > * { margin-block-start: 0 !important; }
.lx-term { position: relative; padding: 22px 22px 20px; border-radius: 22px; background: var(--s1); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; align-content: start;
	opacity: 0; transform: translateY(30px) scale(.95); transition: opacity .6s, transform .8s var(--ease), border-color .3s; transition-delay: var(--dl, 0s); }
.lx-term.is-in { opacity: 1; transform: none; }
.lx-term::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--c); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.lx-term::after { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 20%, transparent), transparent 50%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.lx-term:hover, .lx-term:focus-within, .lx-term.is-open { border-color: color-mix(in srgb, var(--c) 60%, transparent); transition-delay: 0s; }
.lx-term:hover::before, .lx-term.is-open::before { transform: scaleX(1); }
.lx-term:hover::after { opacity: 1; }
.lx-term.is-hidden { display: none; }
.lx-term h3 { position: relative; z-index: 1; font-size: 24px; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 10px; scroll-margin-top: 110px; }
.lx .lx-term p { position: relative; z-index: 1; margin: 0; font-size: 15.5px; line-height: 1.55; }
.lx .lx-term .lx-def { grid-area: 2 / 1; color: var(--muted); transition: opacity .3s, transform .5s var(--ease); }
.lx .lx-term .lx-tip { grid-area: 2 / 1; color: var(--ink); opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .55s var(--ease); }
.lx .lx-term .lx-tip::before { content: "Conseil de monteur"; display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c); }
.lx-term:hover .lx-tip, .lx-term:focus-within .lx-tip, .lx-term.is-open .lx-tip { opacity: 1; transform: none; }
.lx-term:hover .lx-def, .lx-term.is-open .lx-def { opacity: 0; transform: translateY(-6px); }
.lx .lx-term .lx-more { grid-area: 3 / 1; padding-top: 16px; z-index: 2; }
.lx .lx-term .lx-more a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: var(--c); color: #120d1c; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.lx .lx-term .lx-more a::after { content: "→"; transition: transform .3s var(--ease); }
.lx .lx-term .lx-more a:hover::after { transform: translateX(4px); }
.lx mark { background: color-mix(in srgb, var(--head) 40%, transparent); color: inherit; border-radius: 3px; }
.lx-term:has(h3:target) { border-color: var(--head); animation: lx-target 1.8s var(--ease); }
@keyframes lx-target { 0% { box-shadow: 0 0 0 0 rgba(255, 178, 63, .6); } 100% { box-shadow: 0 0 0 18px rgba(255, 178, 63, 0); } }

/* ---------- Appel final ---------- */
.lx-cta { margin-top: 100px; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: linear-gradient(135deg, #2a1f4d, #5b2ee0); position: relative; overflow: hidden; }
.lx-cta::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 178, 63, .35), transparent 65%); pointer-events: none; animation: lx-float 10s ease-in-out infinite; }
.lx-cta h2 { position: relative; font-size: clamp(30px, 3.6vw, 50px); max-width: 18ch; }
.lx-cta h2::before { display: none; }
.lx-cta p { position: relative; max-width: 60ch; font-size: 18px; line-height: 1.55; margin: 0 0 26px; }
.lx-cta p a { color: #fff; text-decoration-color: var(--head); text-underline-offset: 3px; }
.lx-cta .wp-block-buttons { position: relative; gap: 12px; }
.lx-cta .lx-btn .wp-block-button__link { background: #fff; color: #191224; border-radius: 10px; padding: 14px 24px; font-weight: 700; }
.lx-cta .lx-btn-2 .wp-block-button__link { border-radius: 10px; padding: 13px 22px; color: #fff; border-color: rgba(255, 255, 255, .6); }

/* ==========================================================================
   Illustrations animées (fenêtres en verre, comme les étapes de l'accueil)
   ========================================================================== */
.lxv { display: block; border-radius: 18px; padding: 12px 14px 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.lxv__bar { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.lxv__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .2); } .lxv__bar span { margin-left: 8px; }
.lxv__screen { position: relative; aspect-ratio: 16/8; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #1a1030, color-mix(in srgb, var(--c) 35%, #1a1030)); display: grid; place-items: center; }
/* hook */
.lxv__pop { font-weight: 800; font-size: clamp(15px, 1.7vw, 22px); letter-spacing: -.02em; padding: 5px 12px; border-radius: 8px; background: var(--head); color: #120d1c; animation: lxv-pop 3.4s cubic-bezier(.34, 1.56, .64, 1) infinite; }
@keyframes lxv-pop { 0%, 8% { transform: scale(0) rotate(-8deg); } 20%, 82% { transform: none; } 94%, 100% { transform: scale(0) rotate(5deg); } }
.lxv__meter { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.lxv__meter b { flex: 1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.lxv__meter b i { display: block; height: 100%; width: 10%; border-radius: inherit; background: linear-gradient(90deg, var(--c), var(--head)); animation: lxv-meter 3.4s var(--ease) infinite; }
@keyframes lxv-meter { 0%, 10% { width: 8%; } 30%, 85% { width: 92%; } 100% { width: 8%; } }
.lxv__dots { display: flex; justify-content: space-between; margin-top: 10px; }
.lxv__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); animation: lxv-dot 3.4s ease-in-out infinite; }
.lxv__dots i:nth-child(odd) { animation-delay: .15s; }
@keyframes lxv-dot { 0%, 100% { opacity: .35; transform: scale(.8); } 30%, 80% { opacity: 1; transform: none; } }
/* derush */
.lxv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lxv__grid i { position: relative; aspect-ratio: 16/9; border-radius: 6px; background: linear-gradient(135deg, #2c2148, #4a3a78); animation: lxv-drop 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * .12s); }
.lxv__grid i.keep { animation-name: lxv-keep; background: linear-gradient(135deg, #3b2a78, var(--c)); }
@keyframes lxv-drop { 0%, 30% { opacity: 1; transform: none; } 45%, 85% { opacity: .15; transform: scale(.82); } 100% { opacity: 1; transform: none; } }
@keyframes lxv-keep { 0%, 30% { box-shadow: none; } 45%, 85% { box-shadow: 0 0 0 2px #4fd18b, 0 0 16px -2px #4fd18b; } 100% { box-shadow: none; } }
.lxv__sel { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px; border-radius: 8px; background: rgba(79, 209, 139, .1); font-size: 11px; color: #4fd18b; }
.lxv__sel span { margin-right: 4px; font-weight: 700; }
.lxv__sel i { flex: 1; height: 16px; border-radius: 4px; background: #4fd18b; transform-origin: left; animation: lxv-sel 4.5s var(--ease) infinite; animation-delay: calc(.9s + var(--i) * .12s); transform: scaleX(0); }
@keyframes lxv-sel { 0%, 18% { transform: scaleX(0); } 35%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
/* visage stylisé (jump cut, B-roll) */
.lxv__face { position: absolute; left: 50%; bottom: 0; width: 34%; aspect-ratio: 1; transform: translateX(-50%); }
.lxv__face .h { position: absolute; left: 32%; top: 8%; width: 36%; aspect-ratio: 1; border-radius: 50%; background: #e9dcff; }
.lxv__face .b { position: absolute; left: 10%; bottom: 0; width: 80%; height: 42%; border-radius: 50% 50% 0 0; background: var(--c); }
.lxv--jump .lxv__face { animation: lxv-jump 3.2s steps(1) infinite; }
@keyframes lxv-jump { 0% { transform: translateX(-50%); } 25% { transform: translateX(-44%) scale(1.18); transform-origin: 50% 100%; } 50% { transform: translateX(-56%) scale(1.04); } 75% { transform: translateX(-48%) scale(1.26); } }
.lxv__track { display: flex; align-items: center; gap: 0; margin-top: 10px; height: 16px; }
.lxv__track i { height: 100%; width: var(--w); border-radius: 3px; background: var(--c); }
.lxv__track i.gap { width: 6%; background: repeating-linear-gradient(45deg, rgba(255, 138, 128, .5) 0 3px, transparent 3px 6px); animation: lxv-gap 3.2s var(--ease) infinite; }
@keyframes lxv-gap { 0%, 30% { width: 6%; opacity: 1; } 55%, 90% { width: 0; opacity: 0; } 100% { width: 6%; opacity: 1; } }
/* B-roll */
.lxv__illu { position: absolute; inset: 0; background: linear-gradient(180deg, #5ec8ff55, #1a1030); animation: lxv-illu 4s steps(1) infinite; }
.lxv__illu .sun { position: absolute; right: 18%; top: 18%; width: 14%; aspect-ratio: 1; border-radius: 50%; background: var(--head); }
.lxv__illu .m1, .lxv__illu .m2 { position: absolute; bottom: 0; width: 0; height: 0; border-style: solid; border-color: transparent transparent var(--c) transparent; }
.lxv__illu .m1 { left: 8%; border-width: 0 70px 60px 70px; } .lxv__illu .m2 { left: 40%; border-width: 0 90px 78px 90px; opacity: .8; }
@keyframes lxv-illu { 0% { opacity: 0; } 12% { opacity: 1; } 34% { opacity: 0; } 58% { opacity: 1; } 84% { opacity: 0; } }
.lxv__tracks { display: grid; gap: 4px; margin-top: 10px; }
.lxv__tracks > div { position: relative; height: 14px; }
.lxv__tracks .a i { position: absolute; inset: 0; border-radius: 3px; background: var(--vs); }
.lxv__tracks .b i { position: absolute; left: var(--x); width: var(--w); top: 0; bottom: 0; border-radius: 3px; background: var(--head); }
.lxv__tracks > div::after { content: ""; position: absolute; top: -18px; bottom: -4px; left: 0; width: 2px; background: #ff5c5c; box-shadow: 0 0 8px #ff5c5c; animation: lxv-head 4s linear infinite; }
.lxv__tracks .b::after { display: none; }
@keyframes lxv-head { to { left: 100%; } }
/* rétention */
.lxv__chart { display: block; width: 100%; height: auto; }
.lxv__chart .grid { stroke: rgba(255, 255, 255, .12); fill: none; }
.lxv__chart .area { fill: color-mix(in srgb, var(--c) 18%, transparent); animation: lxv-area 5s ease-in-out infinite; }
.lxv__chart .curve { fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 1; animation: lxv-draw 5s ease-in-out infinite; }
.lxv__chart .peak { fill: var(--head); transform-box: fill-box; transform-origin: center; animation: lxv-peak 5s ease-in-out infinite; }
@keyframes lxv-draw { 0% { stroke-dashoffset: 1; } 55%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes lxv-area { 0%, 30% { opacity: 0; } 60%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lxv-peak { 0%, 45% { transform: scale(0); } 55% { transform: scale(1.6); } 62%, 90% { transform: scale(1); } 100% { transform: scale(0); } }
.lxv__legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 12px; }
.lxv__legend span { padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: var(--muted); }
.lxv__legend .d::before { content: "● "; color: #ff8a80; } .lxv__legend .p::before { content: "● "; color: var(--head); }

/* ==========================================================================
   Page de définition
   ========================================================================== */
.lxt-crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 34px; font-size: 14px; color: var(--muted); }
.lxt-crumbs a { color: var(--muted); text-decoration: none; } .lxt-crumbs a:hover { color: var(--ink); }
.lxt-crumbs [aria-current] { color: var(--ink); }
.lxt-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding: 34px 0 30px; }
.lxt-hero::before { content: ""; position: absolute; right: 5%; top: 0; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 65%); filter: blur(10px); pointer-events: none; animation: lx-float 9s ease-in-out infinite; }
.lxt h1 { font-size: clamp(38px, 4.8vw, 70px); max-width: 16ch; }
.lxt-hero__text > * { animation: lx-in .9s var(--ease) both; }
.lxt-hero__text > :nth-child(2) { animation-delay: .08s; } .lxt-hero__text > :nth-child(3) { animation-delay: .18s; }
.lxt-hero > .lxv { position: relative; animation: lx-photo 1.1s var(--ease) .15s both; }
.lxt-brief { position: relative; padding: 20px 22px; border-radius: 20px; background: var(--s1); border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line)); box-shadow: 0 20px 50px -30px var(--c); }
.lxt-brief > * { margin: 0 !important; }
.lx .lxt-brief__label { margin-bottom: 6px !important; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--c); }
.lx .lx-brief { font-size: 18px; line-height: 1.55; }
.lxt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; padding-top: 40px; }
.lxt-layout > * { margin: 0 !important; }
.lxt-body { max-width: 720px; font-size: 18px; line-height: 1.75; color: #e4ddf1; }
.lxt-body > * + * { margin-top: 20px !important; }
.lxt-body h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.03em; color: var(--ink); margin-top: 54px !important; }
.lxt-body h2::before { content: ""; display: block; width: 34px; height: 4px; margin-bottom: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--c), var(--head)); }
.lxt-body a { color: var(--violet); text-decoration: underline; text-decoration-color: rgba(155, 123, 255, .45); text-underline-offset: 3px; }
.lxt-body a:hover { text-decoration-color: currentColor; }
.lxt-body ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.lxt-body li { position: relative; padding: 14px 18px 14px 44px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); line-height: 1.6; }
.lxt-body li::before { content: ""; position: absolute; left: 18px; top: 23px; width: 10px; height: 10px; border-radius: 3px; background: var(--c); transform: rotate(45deg); }
.lxt-body li b { color: var(--ink); }
.lxt-tip { position: relative; padding: 22px 24px 22px 26px; border-radius: 20px; background: linear-gradient(135deg, rgba(255, 178, 63, .14), rgba(255, 178, 63, .04)); border: 1px solid rgba(255, 178, 63, .35); }
.lxt-tip > * { margin: 0 !important; }
.lx .lxt-tip__label { margin-bottom: 6px !important; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--head); }
.lxt-further { padding: 18px 22px; border-radius: 18px; background: var(--s1); border: 1px dashed color-mix(in srgb, var(--c) 55%, var(--line)); }
.lxt-further > * { margin: 0 !important; }
.lx .lxt-further__label { margin-bottom: 4px !important; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--c); }
.lxt-further a { font-weight: 600; }
.lxt-rel__grid a.has-page b::after { content: " →"; color: var(--c); }
.lxt-aside { position: sticky; top: 110px; padding: 20px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); }
.lxt-aside__t, .lxt-rel__t { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.lxt-toc { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.lxt-toc a { margin-left: -2px; padding: 7px 12px; border-left: 2px solid transparent; font-size: 14.5px; line-height: 1.35; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s; }
.lxt-toc a:hover { color: var(--ink); }
.lxt-toc a.is-on { color: var(--ink); border-color: var(--c); }
.lxt-aside__cta { display: block; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--vs); color: #fff !important; font-weight: 700; text-align: center; text-decoration: none; transition: background-color .25s, transform .3s var(--ease); }
.lxt-aside__cta:hover { background: #7d56ff; transform: translateY(-2px); }
.lxt-rel { padding-top: 70px; }
.lxt-rel__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.lxt-rel__grid a { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .4s var(--ease); }
.lxt-rel__grid a:hover { border-color: var(--c); transform: translateY(-3px); }
.lxt-rel__grid b { font-size: 17px; } .lxt-rel__grid span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.lxt-pn { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; padding-top: 30px; }
.lxt-pn a { display: grid; gap: 2px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; transition: border-color .3s; }
.lxt-pn a:hover { border-color: var(--c); }
.lxt-pn a:nth-child(2) { padding: 12px 18px; border-radius: 99px; font-weight: 600; }
.lxt-pn a:last-child { text-align: right; }
.lxt-pn small { color: var(--muted); font-size: 13px; } .lxt-pn b { font-size: 17px; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
	.lx-hero, .lxt-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 34px; }
	.lx-photo { justify-self: start; width: min(78%, 320px); }
	.lx-photo figcaption { left: auto; right: -14px; }
	.lx-feats__grid { grid-auto-columns: 82%; }
	.lx-feats__nav { display: none; }
	.lxt-layout { grid-template-columns: 1fr; gap: 30px; }
	.lxt-aside { position: static; order: -1; }
	.lxt-pn { grid-template-columns: 1fr 1fr; } .lxt-pn a:nth-child(2) { grid-column: 1 / -1; grid-row: 2; text-align: center; }
}
@media (max-width: 820px) {
	.lx-bar.is-below-menu { top: 72px; }
	.lx-grid { grid-template-columns: 1fr; }
	.lxt-body { font-size: 17px; }
}
/* écrans tactiles : pas de survol, le conseil est affiché sous la définition */
@media (hover: none) {
	.lx .lx-term .lx-tip { grid-area: 3 / 1; transform: none; opacity: 1; padding-top: 12px; }
	.lx .lx-term .lx-more { grid-area: 4 / 1; }
	.lx-term:hover .lx-def { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.lx *, .lx *::before, .lx *::after { animation: none !important; }
	.lx-term, .lx-feat, .lx-hero__text > *, .lx-photo { opacity: 1 !important; transform: none !important; }
}
/* icônes du menu propre au lexique */
.ni .bars path { transform-box: fill-box; transform-origin: 50% 100%; }
nav a:hover .ni--chart .bars path { animation: ni-grow .6s var(--ease); }
nav a:hover .ni--chart .bars path:nth-child(2) { animation-delay: .08s; } nav a:hover .ni--chart .bars path:nth-child(3) { animation-delay: .16s; }
@keyframes ni-grow { 0% { transform: scaleY(.2); } 60% { transform: scaleY(1.15); } 100% { transform: none; } }
.ni .phone, .ni .home, .ni .pic { transform-box: fill-box; transform-origin: 50% 100%; }
nav a:hover .ni--phone .phone, nav a:hover .ni--pic .pic { animation: swing .7s ease-in-out; }
nav a:hover .ni--home .home { animation: nod .6s ease-in-out; }

/* ---- illustrations du lot 2 ---- */
.lxv__land { place-items: stretch; background: #1a1030; }
.lxv__land i { position: absolute; display: block; }
.lxv__land .sky { inset: 0; background: linear-gradient(180deg, #ff9d5c, #ff6fa8 45%, #6d42f5); }
.lxv__land .sun { left: 58%; top: 20%; width: 16%; aspect-ratio: 1; border-radius: 50%; background: #ffe7a8; box-shadow: 0 0 30px #ffd27a; }
.lxv__land .hill { bottom: 0; height: 45%; border-radius: 50% 50% 0 0; }
.lxv__land .h1 { left: -10%; width: 70%; background: #3b2a78; } .lxv__land .h2 { right: -15%; width: 80%; height: 34%; background: #2a1f4d; }
.lxv--color .raw { inset: 0 0 0 auto; width: 50%; -webkit-backdrop-filter: grayscale(.85) brightness(.75) contrast(.8); backdrop-filter: grayscale(.85) brightness(.75) contrast(.8); animation: lxv-raw 4.5s var(--ease) infinite; }
.lxv--color .wipe { top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 12px #fff; right: 50%; animation: lxv-wipe 4.5s var(--ease) infinite; }
@keyframes lxv-raw { 0%, 15% { width: 100%; } 55%, 85% { width: 0%; } 100% { width: 100%; } }
@keyframes lxv-wipe { 0%, 15% { right: 100%; } 55%, 85% { right: 0%; } 100% { right: 100%; } }
.lxv--color .lxv__legend { justify-content: space-between; }
.lxv__land--grade { animation: lxv-grade 6s ease-in-out infinite; }
@keyframes lxv-grade { 0%, 100% { filter: none; } 33% { filter: hue-rotate(160deg) saturate(.8); } 66% { filter: sepia(.6) saturate(1.3); } }
.lxv__wheels { display: flex; justify-content: space-around; margin-top: 10px; }
.lxv__wheels i { position: relative; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); opacity: .85; }
.lxv__wheels i::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .8), transparent 70%); }
.lxv__wheels b { position: absolute; z-index: 1; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #120d1c; animation: lxv-wheel 6s ease-in-out infinite; }
.lxv__wheels i:nth-child(2) b { animation-delay: -2s; } .lxv__wheels i:nth-child(3) b { animation-delay: -4s; }
@keyframes lxv-wheel { 0%, 100% { transform: none; } 33% { transform: translate(8px, -6px); } 66% { transform: translate(-7px, 5px); } }
.lxv__wave { display: flex; align-items: center; gap: 3px; height: 90px; padding: 0 4px; border-radius: 10px; background: rgba(0, 0, 0, .25); }
.lxv__wave i { flex: 1; height: 20%; border-radius: 2px; background: var(--c); animation: lxv-wave 1.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.09s); }
.lxv__wave i:nth-child(7n) { animation-duration: 1s; } .lxv__wave i:nth-child(5n) { animation-duration: 1.8s; }
@keyframes lxv-wave { 50% { height: 85%; } }
.lxv__sfx { display: flex; gap: 8px; margin-top: 10px; }
.lxv__sfx span { padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 700; background: rgba(255, 178, 63, .15); color: var(--head); animation: lxv-sfx 3s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.lxv__sfx span:nth-child(2) { animation-delay: .5s; } .lxv__sfx span:nth-child(3) { animation-delay: 1s; }
@keyframes lxv-sfx { 0%, 100% { transform: scale(.85); opacity: .5; } 15%, 40% { transform: scale(1.08); opacity: 1; } }
.lxv__mg { place-items: center; }
.lxv__mg .t { position: relative; z-index: 1; padding: 4px 12px; border-radius: 6px; background: #fff; color: #120d1c; font-size: clamp(14px, 1.5vw, 19px); animation: lxv-title 3.6s var(--ease) infinite; }
@keyframes lxv-title { 0%, 10% { transform: translateX(-140%); opacity: 0; } 25%, 80% { transform: none; opacity: 1; } 95%, 100% { transform: translateX(140%); opacity: 0; } }
.lxv__mg i { position: absolute; display: block; }
.lxv__mg .c { left: 14%; top: 22%; width: 12%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--head); animation: lxv-pulse 1.8s ease-in-out infinite; }
.lxv__mg .q { right: 14%; bottom: 20%; width: 10%; aspect-ratio: 1; border-radius: 4px; background: var(--c); animation: lxv-spin 3s linear infinite; }
.lxv__mg .l { left: 20%; right: 20%; bottom: 14%; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .6); transform-origin: left; animation: lxv-line 3.6s var(--ease) infinite; }
@keyframes lxv-pulse { 50% { transform: scale(1.35); opacity: .5; } }
@keyframes lxv-spin { to { transform: rotate(360deg); } }
@keyframes lxv-line { 0%, 20% { transform: scaleX(0); } 45%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.lxv__keys { position: relative; display: flex; justify-content: space-between; align-items: center; height: 18px; margin-top: 10px; padding: 0 10px; border-radius: 6px; background: rgba(0, 0, 0, .25); }
.lxv__keys i { width: 9px; height: 9px; background: var(--head); transform: rotate(45deg); animation: lxv-key 3.6s ease-in-out infinite; }
.lxv__keys i:nth-child(2) { animation-delay: .3s; } .lxv__keys i:nth-child(3) { animation-delay: .6s; } .lxv__keys i:nth-child(4) { animation-delay: .9s; } .lxv__keys i:nth-child(5) { animation-delay: 1.2s; }
@keyframes lxv-key { 0%, 100% { opacity: .35; } 20% { opacity: 1; box-shadow: 0 0 10px var(--head); } }
.lxv__thumb { background: linear-gradient(135deg, #ff7ab6, #6d42f5); }
.lxv__thumb .lxv__face { left: 26%; width: 40%; }
.lxv__thumb .lxv__face .b { background: #2a1f4d; }
.lxv__thumb b { position: absolute; right: 7%; top: 18%; padding: 4px 8px; border-radius: 6px; background: var(--head); color: #120d1c; font-size: clamp(14px, 1.8vw, 22px); font-weight: 800; transform: rotate(-4deg); animation: lxv-pop 3.4s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.lxv__thumb .arrow { position: absolute; right: 22%; bottom: 18%; width: 18%; height: 4px; background: #fff; transform: rotate(-25deg); }
.lxv__thumb .arrow::after { content: ""; position: absolute; left: -2px; top: -6px; border: 8px solid transparent; border-right-color: #fff; border-left: 0; }
.lxv__mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.lxv__mini i { aspect-ratio: 16/9; border-radius: 5px; background: #2c2148; }
.lxv__mini i.on { background: linear-gradient(135deg, #ff7ab6, #6d42f5); animation: lxv-hit 2.6s ease-in-out infinite; }
@keyframes lxv-hit { 0%, 100% { transform: none; } 50% { transform: scale(1.08); box-shadow: 0 0 0 2px var(--head); } }
.lxv__thumbs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lxv__thumbs i { aspect-ratio: 16/9; border-radius: 6px; background: #2c2148; }
.lxv__thumbs i.hit { background: linear-gradient(135deg, var(--c), #6d42f5); animation: lxv-hit 3s ease-in-out infinite; animation-delay: 1s; }
.lxv__thumbs .cur { position: absolute; left: 10%; top: 10%; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); animation: lxv-cur 3s var(--ease) infinite; }
@keyframes lxv-cur { 0% { left: 8%; top: 12%; } 35%, 60% { left: 48%; top: 68%; transform: scale(1); } 45% { transform: scale(.7); } 100% { left: 8%; top: 12%; } }
.lxv__arc { display: block; width: 100%; height: auto; }
.lxv__arc .base { stroke: rgba(255, 255, 255, .15); stroke-width: 2; fill: none; }
.lxv__arc .story { fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 1; animation: lxv-draw 4.5s ease-in-out infinite; }
.lxv__arc .dot { fill: var(--head); }
.lxv__legend--3 { justify-content: space-between; }
.lxv__phone { position: relative; width: 38%; margin: 0 auto; aspect-ratio: 9/16; border-radius: 18px; border: 3px solid rgba(255, 255, 255, .25); overflow: hidden; background: #0d0916; }
.lxv__feed { position: absolute; inset: 0; animation: lxv-feed 6s var(--ease) infinite; }
.lxv__feed i { display: block; height: 100%; background: linear-gradient(160deg, var(--c), #6d42f5); }
.lxv__feed i:nth-child(2) { background: linear-gradient(160deg, #ffb23f, #ff7ab6); } .lxv__feed i:nth-child(3) { background: linear-gradient(160deg, #5ec8ff, #6d42f5); } .lxv__feed i:nth-child(4) { background: linear-gradient(160deg, var(--c), #6d42f5); }
@keyframes lxv-feed { 0%, 22% { transform: none; } 30%, 52% { transform: translateY(-100%); } 60%, 82% { transform: translateY(-200%); } 92%, 100% { transform: translateY(-300%); } }
.lxv__phone .heart { position: absolute; right: 10%; bottom: 12%; color: #fff; font-size: 20px; animation: lxv-sfx 1.5s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.lxv__crop .lxv__face { width: 30%; animation: lxv-walk 5s ease-in-out infinite; }
.lxv__crop .frame { position: absolute; top: 0; bottom: 0; width: 28%; left: 36%; border: 2px solid #fff; border-radius: 6px; box-shadow: 0 0 0 999px rgba(10, 6, 18, .6); animation: lxv-follow 5s ease-in-out infinite; }
@keyframes lxv-walk { 0%, 100% { left: 32%; } 50% { left: 68%; } }
@keyframes lxv-follow { 0%, 100% { left: 18%; } 50% { left: 54%; } }
.lxv__subs { position: absolute; left: 0; right: 0; bottom: 12%; margin: 0; text-align: center; font-weight: 800; font-size: clamp(14px, 1.6vw, 20px); text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.lxv__subs span { display: inline-block; opacity: 0; animation: lxv-word 4s ease-in-out infinite; }
.lxv__subs span:nth-child(2) { animation-delay: .35s; } .lxv__subs span:nth-child(3) { animation-delay: .7s; } .lxv__subs span:nth-child(4) { animation-delay: 1.05s; }
.lxv__subs .k { color: var(--head); }
@keyframes lxv-word { 0%, 5% { opacity: 0; transform: translateY(6px) scale(.9); } 12%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }

/* ---- recherche intelligente : suggestions ---- */
.lx-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; display: grid; gap: 2px; max-height: min(70vh, 560px); overflow-y: auto; padding: 8px; border-radius: 18px; background: #1b1429; border: 1px solid rgba(155, 123, 255, .35); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9); animation: lx-sug .35s var(--ease); }
@keyframes lx-sug { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lx-suggest__item { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background-color .15s; }
.lx-suggest__item > i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.lx-suggest__item span { display: grid; gap: 1px; min-width: 0; }
.lx-suggest__item b { font-size: 16px; }
.lx-suggest__item small { font-size: 12px; color: var(--c); }
.lx-suggest__item em { font-style: normal; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-suggest__item u { text-decoration: none; flex: none; padding: 5px 10px; border-radius: 99px; background: var(--c); color: #120d1c; font-size: 12px; font-weight: 700; }
.lx-suggest__item.is-active, .lx-suggest__item:hover { background: var(--s2); }
.lx-suggest__more { margin: 4px 12px 2px !important; font-size: 13px; color: var(--muted); }
.lx-term.is-flash { animation: lx-target 1.8s var(--ease); border-color: var(--head); }
@media (max-width: 600px) { .lx-suggest__item { grid-template-columns: auto 1fr; } .lx-suggest__item u { grid-column: 2; justify-self: start; } }
.lx-kbd { flex: none; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); font: 600 12px/1.2 inherit; font-family: inherit; }
.lx-bar__in:focus-within .lx-kbd { display: none; }
@media (hover: none) { .lx-kbd { display: none; } }
/* export */
.lxv__files { display: flex; gap: 8px; }
.lxv__files span { flex: 1; text-align: center; padding: 16px 0; border-radius: 10px; font-weight: 700; font-size: 16px; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); animation: lxv-sfx 3s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.lxv__files span:nth-child(2) { animation-delay: .3s; } .lxv__files span:nth-child(3) { animation-delay: .6s; }
.lxv__ok { margin: 10px 0 0 !important; font-size: 13px; font-weight: 600; color: #4fd18b; animation: lxv-done 3.4s infinite; }
@keyframes lxv-done { 0%, 55% { opacity: 0; } 65%, 95% { opacity: 1; } 100% { opacity: 0; } }
.lx-suggest[hidden], .lx-empty[hidden] { display: none !important; }   /* la liste vide ne doit jamais apparaître */

/* ==========================================================================
   Sommaire plus court : titre du thème à gauche (collé), tuiles compactes à droite,
   6 termes visibles par thème, les autres se déplient
   ========================================================================== */
.lx-feats { padding-top: 50px; }
.lx-cta { margin-top: 70px; }
.lx-cat { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 40px; align-items: start; padding-top: 52px; }
.lx-cat > * { margin: 0 !important; }
.lx-cat__head { position: sticky; top: 100px; }
.lx-cat__head > * { margin-top: 0 !important; }
.lx-cat h2 { font-size: clamp(28px, 2.8vw, 42px); }
.lx .lx-cat__intro { font-size: 15.5px; margin: 0 0 14px; }
.lx .lx-cat__count { display: inline-block; margin: 0; padding: 5px 12px; border-radius: 99px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); font-size: 13px; font-weight: 700; }
.lx-grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; }
.lx-term { padding: 16px 18px 16px; border-radius: 18px; }
.lx-term h3 { font-size: 19px; margin: 0 38px 6px 0; }
.lx .lx-term p { font-size: 14.5px; line-height: 1.5; }
.lx .lx-term .lx-tip::before { font-size: 11px; margin-bottom: 4px; }
/* toute la tuile mène à la page de définition ; une petite flèche en coin le signale */
.lx .lx-term .lx-more { position: static; grid-area: auto; padding: 0; }
.lx .lx-term .lx-more a { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 0; background: color-mix(in srgb, var(--c) 18%, transparent); transition: background-color .25s, transform .35s var(--ease); }
.lx .lx-term .lx-more a::after { content: ""; width: 14px; height: 14px; background: var(--c); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%272.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5 12h14M13 6l6 6-6 6%27/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%272.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5 12h14M13 6l6 6-6 6%27/%3E%3C/svg%3E") center / contain no-repeat; transition: none; }
.lx-term:hover .lx-more a { background: var(--c); transform: rotate(-45deg); }
.lx-term:hover .lx-more a::after { background: #120d1c; }
.lx .lx-term .lx-more a:hover::after { transform: none; }
.lx-term { cursor: pointer; }
/* termes repliés */
.lx-cat:not(.is-expanded) .lx-term.is-extra { display: none; }
.lx.is-searching .lx-term.is-extra:not(.is-hidden) { display: grid; }
.lx-more-btn { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 10px 16px; border-radius: 99px; border: 1px dashed color-mix(in srgb, var(--c) 60%, var(--line)); background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .25s, border-color .25s; }
.lx-more-btn:hover { background: color-mix(in srgb, var(--c) 14%, transparent); border-style: solid; }
.lx-more-btn b { color: var(--c); }
.lx.is-searching .lx-more-btn { display: none; }
@media (max-width: 900px) {
	.lx-cat { grid-template-columns: 1fr; gap: 18px; padding-top: 54px; }
	.lx-cat__head { position: static; }
	.lx-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.lx-grid { grid-template-columns: 1fr; gap: 8px; }
	.lx-term { padding: 13px 54px 13px 16px; }
	.lx-term:hover .lx-def, .lx-term.is-open .lx-def { opacity: 1; transform: none; }
	.lx-kbd { display: none; }
	.lx-term h3 { font-size: 17px; margin-bottom: 3px; }
	.lx .lx-term .lx-def { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }
	.lx .lx-term .lx-tip { display: none; }
	.lx .lx-term .lx-more a { top: 50%; margin-top: -15px; }
	.lx-cat:not(.is-expanded) .lx-term.is-extra-m { display: none; }
	.lx-feats { padding-top: 40px; }
	.lx-cat { padding-top: 40px; }
	.lx .lx-cat__intro { font-size: 14.5px; }
}

/* ---- Rappel de la partie claire de l'accueil : une seule bande blanche par page ---- */
.lx-feats, .lxt-rel { position: relative; isolation: isolate; color: #191224; padding-bottom: 60px; }
.lx-feats::before, .lxt-rel::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: #f8f6fb; }
.lx-feats { margin-top: 60px; padding-top: 70px !important; }
.lx-feats h2 { color: #191224; }
.lx .lx-feats .lx-cat__intro { color: #5c5170; }
.lx-feats .lx-feats__grid { -webkit-mask: none; mask: none; }
.lx .lx-feat { color: var(--ink); box-shadow: 0 30px 60px -34px rgba(91, 46, 224, .55); }
.lx-feats__nav { background: #fff; color: #191224; border-color: #dcd3ea; }
.lx-feats__nav:hover { background: #5b2ee0; color: #fff; }
.lxt-rel { margin-top: 70px; padding-top: 60px; }
.lxt-rel__t { color: #5c5170; }
.lx .lxt-rel__grid a { background: #fff; border-color: #dcd3ea; color: #191224; box-shadow: 0 14px 30px -24px rgba(91, 46, 224, .5); }
.lxt-rel__grid a span { color: #5c5170; }
.lxt-rel__grid a:hover { border-color: #5b2ee0; }
.lxt-pn { padding-top: 40px; }
.lx { overflow-x: clip; }   /* la bande pleine largeur ne doit pas créer de défilement horizontal */
/* transition vers la bande claire : une carte arrondie qui s'ouvre jusqu'aux bords pendant le défilement */
.lx-feats::before, .lxt-rel::before { clip-path: inset(0 calc((1 - var(--open, 1)) * 9vw) round calc(12px + (1 - var(--open, 1)) * 52px)); transition: clip-path .15s linear; box-shadow: 0 0 0 1px rgba(155, 123, 255, .15); }
.lx-feats > *, .lxt-rel > * { opacity: calc(.35 + var(--open, 1) * .65); }
@media (prefers-reduced-motion: reduce) { .lx-feats::before, .lxt-rel::before { clip-path: none; } .lx-feats > *, .lxt-rel > * { opacity: 1; } }
/* bande de cartes : elle déborde jusqu'au bord droit de l'écran (plus de coupure nette), flèches au-dessus */
.lx-feats__wrap { position: relative; }
.lx-feats__grid { margin-right: calc((100vw - min(1200px, 100vw - 32px)) / -2); padding: 10px 40px 26px 2px; scroll-padding-left: 2px; }
.lx-feats__nav { top: -66px; width: 44px; height: 44px; }
.lx-feats__nav.prev { left: auto; right: 54px; } .lx-feats__nav.next { right: 0; }
.lx-feats__nav[disabled] { opacity: .35; pointer-events: none; }
@media (max-width: 900px) { .lx-feats__grid { padding-right: 16px; } }
