/* ==========================================================================
   Mastery Chat IA — page Use case IA
   Mise en forme inspirée de la page d'accueil de rb2b.com : fond sombre,
   bandeau défilant, titres en blocs, pixel art, couleur néon (violet Mastery).
   Pour passer au vert néon façon rb2b : --cx-neon: #a6ff4d;
   ========================================================================== */

body.cx {
  --cx-bg: #0b0b10;
  --cx-bg2: #12121a;
  --cx-card: #16161f;
  --cx-line: rgba(255, 255, 255, 0.12);
  --cx-text: rgba(255, 255, 255, 0.74);
  --cx-white: #ffffff;
  --cx-neon: #8f7bff;
  --cx-neon-soft: #f3f1ff;
  --px: "Pixelify Sans", var(--mono);
  background: var(--cx-bg);
  color: var(--cx-text);
}
.cx .px { font-family: var(--px); font-weight: 600; letter-spacing: 0.02em; }
.cx ::selection { background: var(--cx-neon); color: var(--cx-bg); }

/* ---------- En-tête en version sombre ---------- */
.cx .nav { background: rgba(11, 11, 16, 0.9); border-bottom-color: var(--cx-line); }
.cx .menu-link { color: #fff; }
.cx .menu-link:hover { color: var(--cx-neon); }
.cx .nav .brand .mono { color: rgba(255, 255, 255, 0.55); }
/* Le pied de page garde sa version claire */
.cx .footer { color: var(--text); }
.cx .dropdown { background: #15151d; border-color: var(--cx-line); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7); }
.cx .dropdown a { color: #fff; }
.cx .dropdown a:hover { background: rgba(255, 255, 255, 0.06); color: var(--cx-neon); }
.cx .dropdown .dd-label { color: rgba(255, 255, 255, 0.5); }
.cx .nav .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.cx .nav .btn-ghost:hover { border-color: #fff; }
.cx .nav .btn-dark { background: var(--cx-neon); color: var(--cx-bg); border-color: var(--cx-neon); }
.cx .nav .btn-dark:hover { background: #fff; border-color: #fff; color: var(--cx-bg); }
.cx .burger { border-color: rgba(255, 255, 255, 0.3); }
.cx .burger span, .cx .burger span::before, .cx .burger span::after { background: #fff; }
.cx .nav.open .burger span { background: transparent; }
@media (max-width: 1240px) {
  .cx .menu { background: var(--cx-bg); border-bottom-color: var(--cx-line); }
  .cx .menu > li { border-bottom-color: var(--cx-line); }
}
.cx .crumbs { color: rgba(255, 255, 255, 0.45); }
.cx .crumbs a:hover { color: var(--cx-neon); }
.cx .crumbs [aria-current] { color: #fff; }

/* ---------- Bandeau défilant ---------- */
.cx-marquee { background: var(--cx-neon); color: var(--cx-bg); overflow: hidden; border-bottom: 1px solid var(--cx-bg); }
.cx-marquee-track { display: flex; width: max-content; animation: cx-scroll 46s linear infinite; }
.cx-marquee-set { display: flex; align-items: center; gap: 28px; padding: 11px 14px; white-space: nowrap; font-size: 15px; text-transform: uppercase; }
.cx-star { font-size: 12px; }
@keyframes cx-scroll { to { transform: translateX(-50%); } }

/* ---------- Boutons, libellés ---------- */
.cx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--cx-neon); color: var(--cx-bg); border: 1px solid var(--cx-neon);
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 15px 22px; transition: background .2s, color .2s, border-color .2s;
}
.cx-btn:hover { background: #fff; border-color: #fff; }
.cx-btn.ghost { background: transparent; color: var(--cx-neon); }
.cx-btn.ghost:hover { color: var(--cx-bg); background: var(--cx-neon); }
.cx-btn.sm { padding: 12px 16px; font-size: 11px; }
.cx-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cx-neon); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.cx-label::before { content: ""; width: 7px; height: 7px; background: currentColor; }
.cx-label.dark { color: var(--cx-bg); }
.cx-h2 { font-family: var(--font); font-weight: 900; color: #fff; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.04; letter-spacing: -0.035em; margin: 0; }
.cx-h2.xl { font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: 18ch; }
.cx-h2.dark { color: var(--cx-bg); }
.cx-h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; margin: 0 0 14px; }
.cx-neon-t { color: var(--cx-neon); }
.cx-p { font-size: 16.5px; line-height: 1.7; margin: 18px 0 0; max-width: 56ch; }
.cx-strong { color: #fff; font-weight: 700; font-size: 18px; margin: 22px 0 0; }
.cx-motto { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.8rem); text-align: center; margin: 56px auto 0; max-width: 34ch; line-height: 1.3; }
.cx-sec { position: relative; padding: 120px 0; border-top: 1px solid var(--cx-line); }
.cx-head-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.cx-head-r { margin: 0; font-size: 16.5px; line-height: 1.7; }
.cx-head-r p { margin: 0 0 12px; }
.cx-head-r strong { color: #fff; }
.cx-cta-row { margin-top: 40px; display: flex; justify-content: center; }

/* Coins en pixel art */
.cx-corner { position: absolute; width: 42px; height: 42px; color: var(--cx-neon); pointer-events: none; }
.cx-corner.tl { top: -1px; left: -1px; }
.cx-corner.br { bottom: -1px; right: -1px; transform: rotate(180deg); }
.cx-corner.dark { color: var(--cx-bg); width: 54px; height: 54px; }

/* ---------- Hero ---------- */
.cx-hero { padding: 64px 0 110px; overflow: hidden; }
.cx-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.cx-hero-copy { position: relative; z-index: 2; }
.cx-hero .crumbs { margin-bottom: 26px; }
.cx-eyebrow { color: var(--cx-neon); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 22px; min-height: 1.4em; }
.cx-eyebrow .caret { display: inline-block; width: 9px; height: 14px; background: var(--cx-neon); margin-left: 4px; vertical-align: -2px; animation: cx-blink 1s steps(1) infinite; }
@keyframes cx-blink { 50% { opacity: 0; } }
.cx-h1 { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cx-blk {
  display: inline-block; background: #fff; color: var(--cx-bg); text-transform: uppercase;
  font-family: var(--font); font-weight: 900; letter-spacing: -0.02em; line-height: 1;
  font-size: clamp(2.4rem, 5.6vw, 4.9rem); padding: 10px 18px 12px; white-space: nowrap;
}
.cx-blk.px { font-family: var(--px); font-weight: 700; letter-spacing: 0.01em; margin-left: clamp(0px, 6vw, 84px); }
.cx-h1-sub { display: block; color: var(--cx-neon); font-family: var(--px); font-weight: 600; font-size: clamp(1.25rem, 2.1vw, 1.75rem); line-height: 1.25; margin-top: 14px; max-width: 24ch; }
.cx-lead { font-size: 17px; line-height: 1.7; margin: 26px 0 0; max-width: 54ch; }
.cx-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cx-ctas.center { justify-content: center; }
.cx-note { display: inline-block; border: 1px solid var(--cx-neon); color: var(--cx-neon); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.7; padding: 9px 14px; margin: 18px 0 0; text-align: center; }
.cx-micro { color: rgba(255, 255, 255, 0.45); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; margin: 12px 0 0; }

/* Portrait */
.cx-portrait { position: relative; margin: 0; padding: 0 0 40px 18%; }
.cx-square { position: relative; aspect-ratio: 1 / 1; background: var(--cx-neon); overflow: hidden; }
.cx-cutout { position: absolute; left: 18%; bottom: 0; width: 78%; height: auto; transition: opacity .2s; }
.cx-portrait.is-px .cx-cutout { opacity: 0; }
.cx-pxcanvas { position: absolute; left: 18%; bottom: 0; width: 78%; height: auto; image-rendering: pixelated; }
.cx-fringe { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--cx-bg); z-index: 2; }
.cx-fringe-out { position: absolute; top: 0; left: 7.75%; width: 10.25%; height: calc(100% - 40px); fill: var(--cx-neon); opacity: .9; }
.cx-focus { position: absolute; left: 37%; top: 37%; width: 31%; height: 29%; border: 1.5px solid #fff; z-index: 3; box-shadow: 0 0 0 1px rgba(11, 11, 16, .15); }
.cx-zoom { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.cx-zoom line { stroke: #fff; stroke-width: 1.2; }
.cx-mini {
  position: absolute; left: 0; bottom: 0; z-index: 4; width: min(250px, 44%);
  background: #fff; color: #23232b; padding: 12px 12px 12px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
  font-size: 12px; line-height: 1.45;
}
.cx-mini-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #ececf1; padding-bottom: 9px; margin-bottom: 10px; }
.cx-mini-head .px { color: var(--cx-bg); font-size: 13px; text-transform: uppercase; }
.cx-dot { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #3c8a4f; display: inline-flex; align-items: center; gap: 6px; }
.cx-dot::before { content: ""; width: 7px; height: 7px; background: #3ecf63; }
.cx-mini-q { background: var(--cx-bg); color: #fff; margin: 0 0 8px 12%; padding: 8px 10px; font-weight: 600; }
.cx-mini-a { background: var(--cx-neon-soft); margin: 0 6% 0 0; padding: 8px 10px; color: #2a2a33; }
.cx-mini-input, .cx-input { display: flex; justify-content: space-between; align-items: center; border: 1px solid #e3e3ea; padding: 7px 7px 7px 11px; margin: 0; color: #9a9aa6; font-size: 12.5px; }
.cx-send { width: 24px; height: 24px; display: grid; place-items: center; background: var(--cx-bg); color: #fff; font-size: 13px; }
.cx-badge { position: absolute; right: -10px; bottom: 58px; z-index: 4; display: inline-flex; gap: 0; background: #fff; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.cx-badge b { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; color: var(--cx-bg); padding: 8px 11px; border-left: 1px solid #ececf1; text-transform: uppercase; }
.cx-badge b:first-child { border-left: 0; background: var(--cx-bg); color: #fff; }
.cx-badge b[lang="ar"] { font-family: system-ui, sans-serif; letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.cx-portrait figcaption { position: absolute; right: 0; bottom: 6px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }

/* ---------- Logos ---------- */
.cx-logos { border-top: 1px solid var(--cx-line); padding: 46px 0 56px; }
.cx-logos .cx-label { justify-content: center; color: rgba(255, 255, 255, .55); }
.cx-logos .cx-label::before { display: none; }
.cx-logo-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cx-logo-row li { border: 1px solid var(--cx-line); height: 92px; display: grid; place-items: center; padding: 16px; }
.cx-logo-row img { max-height: 46px; max-width: 100%; width: auto; filter: brightness(0) invert(1); opacity: .8; }

/* ---------- Cadre et démo ---------- */
.cx-frame { position: relative; border: 1px solid var(--cx-neon); padding: 54px clamp(18px, 6vw, 96px) 60px; background: radial-gradient(ellipse at 50% 0%, rgba(143, 123, 255, .10), transparent 60%); }
.cx-frame-title { color: var(--cx-neon); text-transform: uppercase; font-size: clamp(1.1rem, 2.2vw, 1.7rem); text-align: center; margin: 0 0 26px; }
.cx-chat { background: #fff; color: #23232b; max-width: 760px; margin: 0 auto; padding: 0 22px 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.cx-chat-tabs { display: flex; gap: 22px; border-bottom: 1px solid #ececf1; font-size: 13px; font-weight: 600; color: #9a9aa6; }
.cx-chat-tabs span { padding: 14px 0 12px; }
.cx-chat-tabs .on { color: var(--cx-bg); box-shadow: inset 0 -2px 0 var(--cx-neon); }
.cx-chat-log { min-height: 260px; padding: 18px 0 8px; display: flex; flex-direction: column; gap: 14px; }
.cx-msg { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; }
.cx-msg p { margin: 0; }
.cx-msg ul { margin: 8px 0; padding-left: 18px; }
.cx-msg li { margin: 3px 0; }
.cx-msg.bot > div { background: var(--cx-neon-soft); padding: 11px 14px; max-width: 86%; }
.cx-msg.me { justify-content: flex-end; }
.cx-msg.me > div { background: var(--cx-bg); color: #fff; padding: 11px 14px; max-width: 80%; font-weight: 600; }
.cx-who { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #6a52e0; margin-bottom: 4px !important; }
.cx-av { flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center; background: var(--cx-bg); color: var(--cx-neon); font-size: 15px; }
.cx-typing { display: inline-flex; gap: 5px; padding: 6px 2px; }
.cx-typing i { width: 7px; height: 7px; background: #6a52e0; animation: cx-dots 1s infinite; }
.cx-typing i:nth-child(2) { animation-delay: .15s; } .cx-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cx-dots { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.cx-msg.in { animation: cx-in .35s ease-out both; }
@keyframes cx-in { from { opacity: 0; transform: translateY(6px); } }
.cx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.cx-chip { border: 1px solid var(--cx-bg); color: var(--cx-bg); font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; padding: 9px 12px; transition: background .2s, color .2s; }
.cx-chip:hover, .cx-chip[aria-pressed="true"] { background: var(--cx-bg); color: #fff; }
.cx-chip:disabled { opacity: .45; cursor: wait; }
.cx-disclaimer { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: #9a9aa6; margin: 10px 0 0; text-align: right; }

/* ---------- Constat ---------- */
.cx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 38px; max-width: 920px; font-size: 17px; line-height: 1.7; }
.cx-two p { margin: 0; }
.cx-if { margin-top: 88px; border-left: 2px solid var(--cx-neon); padding-left: 28px; max-width: 760px; }
.cx-if > p { margin: 0; font-size: 17px; }
.cx-nope { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.cx-nope li { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 17px; }
.cx-nope li::before { content: "✕"; font-family: var(--mono); color: var(--cx-neon); width: 26px; height: 26px; border: 1px solid var(--cx-neon); display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }
.cx-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--cx-line); border: 1px solid var(--cx-line); margin-top: 72px; }
.cx-vs-col { background: var(--cx-bg2); padding: 30px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cx-vs-col.after { background: #fff; color: #23232b; }
.cx-vs-label { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin: 0 0 6px; }
.cx-vs-col.after .cx-vs-label { color: #6a52e0; }
.cx-table-wrap { overflow: hidden; }
.cx-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 10.5px; color: rgba(255, 255, 255, .55); }
.cx-table th { text-align: left; font-weight: 500; color: rgba(255, 255, 255, .8); border-bottom: 1px solid var(--cx-line); padding: 6px 6px 6px 0; }
.cx-table td { padding: 5px 6px 5px 0; border-bottom: 1px dashed rgba(255, 255, 255, .07); white-space: nowrap; }
.cx-bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; border-bottom: 1px solid var(--cx-line); }
.cx-bars i { flex: 1; background: rgba(255, 255, 255, .18); }
.cx-vs-caption { margin: auto 0 0; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.cx-vs-col.after .cx-vs-caption { color: #9a9aa6; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; text-align: right; }

/* ---------- Possibilités (fond néon) ---------- */
.cx-neon-sec { background: var(--cx-neon); color: var(--cx-bg); border-top: 0; overflow: hidden; }
.cx-neon-sec .cx-corner.tl { top: 0; left: 0; }
.cx-neon-sec .cx-corner.br { bottom: 0; right: 0; }
.cx-neon-sec .cx-h2 { margin-bottom: 52px; max-width: 16ch; }
.cx-qgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cx-qcard { grid-column: span 2; background: var(--cx-bg); color: var(--cx-text); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--cx-bg); }
.cx-qcard:nth-child(4), .cx-qcard:nth-child(5) { grid-column: span 3; }
.cx-qtag { color: var(--cx-neon); font-size: 14px; text-transform: uppercase; }
.cx-q { color: #fff; font-size: 19px; font-weight: 700; line-height: 1.35; margin: 0; }
.cx-qtext { margin: auto 0 0; font-size: 14.5px; line-height: 1.6; }

/* ---------- Accordéon 01 / 02 / 03 ---------- */
.cx-acc { display: flex; border: 1px solid var(--cx-neon); min-height: 440px; }
.cx-acc-item { display: flex; border-left: 1px solid var(--cx-bg); }
.cx-acc-item:first-child { border-left: 0; }
.cx-acc-item.is-open { flex: 1; }
.cx-acc-tab {
  width: 74px; flex-shrink: 0; background: var(--cx-neon); color: var(--cx-bg);
  display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 18px 0;
}
.cx-acc-tab .n { font-size: 12px; }
.cx-acc-tab .t { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.cx-acc-item.is-open .cx-acc-tab { background: var(--cx-neon-soft); border-right: 1px solid #e2ddff; }
.cx-acc-tab:hover { background: #fff; }
.cx-acc-panel { flex: 1; background: var(--cx-neon-soft); color: #2a2a33; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; padding: 44px 48px; }
.cx-acc-art { color: var(--cx-bg); display: grid; place-items: center; }
.cx-art { width: min(260px, 100%); height: auto; }
.cx-acc-n { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6a52e0; }
.cx-acc-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--cx-bg); margin: 10px 0 12px; }
.cx-acc-text p { margin: 0 0 16px; font-size: 16px; line-height: 1.65; }
.cx-arrows { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.cx-arrows li { display: flex; gap: 10px; font-size: 14.5px; }
.cx-arrows li::before { content: "↳"; font-family: var(--mono); font-weight: 700; color: var(--cx-bg); }
.cx-acc-panel .cx-btn { background: var(--cx-bg); color: #fff; border-color: var(--cx-bg); }
.cx-acc-panel .cx-btn:hover { background: #6a52e0; border-color: #6a52e0; }

/* ---------- Multilingue ---------- */
.cx-lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cx-bubbles { display: flex; flex-direction: column; gap: 16px; }
.cx-bub { background: var(--cx-card); border: 1px solid var(--cx-line); padding: 18px 20px; max-width: 88%; position: relative; }
.cx-bub:nth-child(2) { align-self: flex-end; border-color: var(--cx-neon); }
.cx-bub p { margin: 8px 0 0; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.45; }
.cx-bub.ar p { font-family: system-ui, "Segoe UI", Tahoma, sans-serif; font-size: 20px; }
.cx-lang-tag { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-neon); }

/* ---------- Schéma technologie ---------- */
.cx-hub { aspect-ratio: 2.1 / 1; padding: 0; overflow: hidden; }
.cx-hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cx-hub-lines line { stroke: var(--cx-neon); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .75; }
.cx-hub-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; z-index: 2; background: var(--cx-bg); border: 1px solid var(--cx-neon); color: var(--cx-neon); text-align: center; text-transform: uppercase; font-size: clamp(1.2rem, 2.4vw, 2rem); line-height: 1.05; padding: 18px 26px; box-shadow: 0 0 0 8px var(--cx-bg); }
.cx-hub-nodes { list-style: none; margin: 0; padding: 0; }
.cx-node { position: absolute; transform: translate(-50%, -50%); z-index: 2; background: var(--cx-bg); border: 1px solid var(--cx-line); color: #fff; font-weight: 700; font-size: 15px; padding: 9px 14px; white-space: nowrap; }
.cx-node.is-tech { border-color: var(--cx-neon); color: var(--cx-neon); font-family: var(--px); font-weight: 600; }

/* ---------- Conviction ---------- */
.cx-founder { position: relative; border-top: 1px solid var(--cx-line); overflow: hidden; padding: 110px 0 0; background: linear-gradient(180deg, var(--cx-bg) 0%, var(--cx-bg2) 100%); }
.cx-founder-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: end; }
.cx-founder-text { padding-bottom: 110px; }
.cx-quote { margin: 34px 0 0; color: var(--cx-neon); font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.3; border-left: 2px solid var(--cx-neon); padding-left: 22px; }
.cx-sign { margin: 18px 0 0 24px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.cx-founder-photo { position: relative; align-self: end; }
.cx-founder-photo img { position: relative; z-index: 2; width: 100%; max-width: 520px; margin-left: auto; }
.cx-bar { position: absolute; z-index: 1; left: -40px; right: -100vw; top: 38%; height: 10px; background: var(--cx-neon); }

/* ---------- FAQ ---------- */
.cx-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.cx-robot { width: 120px; height: auto; color: var(--cx-neon); margin-top: 44px; }
.cx-faq-list { display: grid; gap: 10px; }
.cx-faq-item { border: 1px solid var(--cx-neon); }
.cx-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 18px 18px 22px; color: #fff; font-weight: 600; font-size: 16px; }
.cx-faq-item summary::-webkit-details-marker { display: none; }
.cx-plus { flex-shrink: 0; width: 28px; height: 28px; background: var(--cx-neon); position: relative; }
.cx-plus::before, .cx-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--cx-bg); transform: translate(-50%, -50%); }
.cx-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.cx-faq-item[open] .cx-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.cx-faq-item p { margin: 0; padding: 0 22px 22px; font-size: 15.5px; line-height: 1.7; }

/* ---------- Use cases ---------- */
.cx-uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cx-uc { border: 1px solid var(--cx-line); display: flex; flex-direction: column; gap: 6px; padding: 0 0 20px; transition: border-color .2s; }
.cx-uc:hover { border-color: var(--cx-neon); }
.cx-uc-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 12px; background: var(--cx-card); }
.cx-uc-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); transition: filter .3s; }
.cx-uc:hover .cx-uc-img img { filter: none; }
.cx-uc .mono { padding: 0 18px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-neon); }
.cx-uc-t { padding: 0 18px; color: #fff; font-weight: 800; font-size: 17px; }

/* ---------- CTA final ---------- */
.cx-final { position: relative; border-top: 1px solid var(--cx-line); padding: 130px 0 120px; text-align: center; overflow: hidden; }
.cx-final-t { color: #fff; font-weight: 900; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.05; letter-spacing: -0.035em; margin: 0 auto; max-width: 16ch; }
.cx-final-s { color: var(--cx-neon); font-family: var(--px); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.7rem); margin: 18px auto 0; max-width: 30ch; line-height: 1.3; }
.cx-final-p { margin: 18px auto 0; max-width: 52ch; font-size: 16.5px; }
.cx-final .cx-ctas { margin-top: 34px; }
.cx-sig { margin: 56px 0 0; color: rgba(255, 255, 255, .6); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.cx-truck { position: absolute; width: 150px; height: auto; color: var(--cx-neon); top: 50%; }
.cx-truck.l { left: 4%; transform: translateY(-50%); }
.cx-truck.r { right: 4%; transform: translateY(-50%) scaleX(-1); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cx-hero-grid, .cx-head-split, .cx-lang-grid, .cx-founder-grid, .cx-faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .cx-head-split { align-items: start; }
  .cx-portrait { max-width: 620px; }
  .cx-logo-row { grid-template-columns: repeat(3, 1fr); }
  .cx-qgrid { grid-template-columns: 1fr 1fr; }
  .cx-qcard, .cx-qcard:nth-child(4), .cx-qcard:nth-child(5) { grid-column: auto; }
  .cx-qcard:nth-child(5) { grid-column: 1 / -1; }
  .cx-acc-panel { grid-template-columns: 1fr; padding: 34px; gap: 24px; }
  .cx-art { width: 150px; }
  .cx-uc-grid { grid-template-columns: 1fr 1fr; }
  .cx-hub { aspect-ratio: auto; padding: 36px 24px; }
  .cx-hub-lines { display: none; }
  .cx-hub-core { position: static; transform: none; display: block; width: max-content; margin: 0 auto 26px; box-shadow: none; }
  .cx-hub-nodes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .cx-node { position: static; transform: none; left: auto !important; top: auto !important; }
  .cx-founder-text { padding-bottom: 0; }
  .cx-founder-photo img { margin: 0 auto; max-width: 420px; }
  .cx-truck { width: 90px; top: 70px; transform: none; }
  .cx-truck.r { transform: scaleX(-1); }
}
@media (max-width: 760px) {
  .cx-sec { padding: 80px 0; }
  .cx-hero { padding: 36px 0 70px; }
  .cx-blk { font-size: clamp(2rem, 11vw, 3rem); padding: 8px 12px 10px; }
  .cx-blk.px { margin-left: 0; }
  .cx-portrait { padding-left: 10%; padding-bottom: 150px; }
  .cx-fringe-out { left: 0; width: 10%; height: calc(100% - 150px); }
  .cx-mini { width: 78%; font-size: 12px; }
  .cx-badge { right: 0; bottom: auto; top: 12px; }
  .cx-badge b { font-size: 10px; padding: 6px 8px; }
  .cx-portrait figcaption { bottom: -18px; }
  .cx-logo-row li { height: 76px; padding: 12px; }
  .cx-logo-row img { max-height: 36px; }
  .cx-frame { padding: 42px 12px 26px; }
  .cx-chat { padding: 0 14px 14px; }
  .cx-chat-log { min-height: 220px; }
  .cx-msg { font-size: 14px; }
  .cx-msg.bot > div { max-width: 100%; }
  .cx-two { grid-template-columns: 1fr; gap: 16px; }
  .cx-if { margin-top: 60px; padding-left: 18px; }
  .cx-vs { grid-template-columns: 1fr; }
  .cx-vs-col { padding: 22px 18px; }
  .cx-qgrid { grid-template-columns: 1fr; }
  .cx-qcard:nth-child(5) { grid-column: auto; }
  .cx-acc { flex-direction: column; min-height: 0; }
  .cx-acc-item { flex-direction: column; border-left: 0; border-top: 1px solid var(--cx-bg); }
  .cx-acc-item:first-child { border-top: 0; }
  .cx-acc-tab { width: 100%; flex-direction: row; justify-content: flex-start; gap: 16px; padding: 16px 18px; }
  .cx-acc-tab .t { writing-mode: horizontal-tb; transform: none; }
  .cx-acc-item.is-open .cx-acc-tab { border-right: 0; border-bottom: 1px solid #e2ddff; }
  .cx-acc-panel { padding: 26px 20px; }
  .cx-art { width: 110px; }
  .cx-bub { max-width: 100%; }
  .cx-bub p { font-size: 16px; }
  .cx-uc-grid { grid-template-columns: 1fr; }
  .cx-truck { display: none; }
  .cx-final { padding: 90px 0; }
  .cx-btn { width: 100%; }
  .cx-ctas .cx-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-marquee-track { animation: none; }
  .cx-eyebrow .caret { animation: none; }
  .cx-msg.in { animation: none; }
}

/* Sélecteur de langue sur fond sombre */
.cx .lang-switch a { color: rgba(255, 255, 255, .55); }
.cx .lang-switch a:hover { color: var(--cx-neon); }
.cx .lang-switch a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--cx-neon); }
.cx .lang-switch-m a { border-color: rgba(255, 255, 255, .25); }

/* ==========================================================================
   Hero : moitié pixelisée (données brutes) / moitié nette (réalité)
   Sans JavaScript, la photo reste entièrement nette.
   ========================================================================== */
.cx-square { --split: 0%; }
.cx-clear { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split)); }
.cx-pxlayer { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; z-index: 1;
  clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.cx-square .cx-fringe { z-index: 2; }
.cx-split, .cx-tag, .cx-split-range { display: none; }
.cx-square.is-split .cx-split, .cx-square.is-split .cx-tag { display: block; }
.cx-square.is-split .cx-split-range { display: block; }
.cx-split { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: #fff; z-index: 4;
  box-shadow: 0 0 14px rgba(255, 255, 255, .7); pointer-events: none; }
.cx-split i { position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; transform: translate(-50%, -50%); background: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.cx-split i::before { content: "◂▸"; font-family: var(--px); font-size: 14px; color: var(--cx-bg); line-height: 1; }
.cx-square:focus-within .cx-split i { outline: 2px solid var(--cx-bg); outline-offset: 2px; }
.cx-tag { position: absolute; top: 12px; z-index: 4; font-size: 11px; text-transform: uppercase; padding: 5px 8px; pointer-events: none; transition: opacity .3s; }
.cx-tag.l { left: 12px; background: rgba(11, 11, 16, .78); color: rgba(255, 255, 255, .85); }
.cx-tag.r { right: 12px; background: #fff; color: var(--cx-bg); }
.cx-square.hide-l .cx-tag.l, .cx-square.hide-r .cx-tag.r { opacity: 0; }
.cx-split-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5;
  touch-action: pan-y; -webkit-appearance: none; appearance: none; background: transparent; }
.cx-focus { left: 53%; top: 41%; width: 20%; height: 22%; }
@media (max-width: 760px) { .cx-tag { font-size: 9.5px; top: 8px; } .cx-tag.l { left: 8px; } .cx-tag.r { right: 8px; } .cx-split i { width: 30px; height: 30px; } }

/* ==========================================================================
   Conviction : Dr. Mehdi Agouzal + écran de jeu rétro animé
   ========================================================================== */
.cx-founder { padding: 110px 0; }
.cx-founder-grid { align-items: center; }
.cx-founder-text { padding-bottom: 0; }
.cx-bio { margin-top: 34px; padding: 22px 24px; border: 1px solid var(--cx-line); background: rgba(143, 123, 255, .06); }
.cx-bio-name { color: #fff; font-size: 22px; margin: 0; }
.cx-bio-role { color: var(--cx-neon); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 0; }
.cx-bio .cx-p { margin-top: 12px; font-size: 15.5px; }

.cx-game { position: relative; margin: 0 0 0 auto; max-width: 470px; background: #14112b; padding: 14px; border: 4px solid var(--cx-neon);
  box-shadow: 0 0 0 4px var(--cx-bg), 0 0 0 8px rgba(143, 123, 255, .35), 0 30px 80px -30px rgba(143, 123, 255, .55); }
.cx-game-hud { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #fff; font-size: 13px; text-transform: uppercase; padding: 0 2px 12px; }
.cx-game-hud > span:first-child { background: var(--cx-neon); color: var(--cx-bg); padding: 2px 7px; }
.cx-game-name { flex: 1; }
.cx-hearts { color: #ff5a7a; letter-spacing: 2px; }
.cx-screen { position: relative; aspect-ratio: 1 / 1.02; overflow: hidden; border: 2px solid #000;
  background: radial-gradient(ellipse at 50% 38%, #2c2366 0%, #120f2a 72%); }
.cx-screen::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(143, 123, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 123, 255, .09) 1px, transparent 1px);
  background-size: 16px 16px; }
.cx-circuit { position: absolute; inset: 0; width: 100%; height: 100%; }
.cx-traces polyline { fill: none; stroke: rgba(143, 123, 255, .38); stroke-width: .35; }
.cx-pulses polyline { fill: none; stroke: #d6ceff; stroke-width: .6; stroke-dasharray: 7 93; stroke-dashoffset: 100; animation: cx-pulse 3.4s linear infinite; }
.cx-nodes rect { fill: #8f7bff; }
@keyframes cx-pulse { to { stroke-dashoffset: 0; } }
.cx-stars i { position: absolute; width: 4px; height: 4px; background: #fff; animation: cx-twinkle 1.8s steps(2) infinite; }
.cx-stars i:nth-child(1) { left: 14%; top: 12%; } .cx-stars i:nth-child(2) { left: 82%; top: 18%; animation-delay: .5s; }
.cx-stars i:nth-child(3) { left: 66%; top: 7%; animation-delay: .9s; } .cx-stars i:nth-child(4) { left: 28%; top: 30%; animation-delay: 1.3s; }
.cx-stars i:nth-child(5) { left: 90%; top: 46%; animation-delay: .2s; }
@keyframes cx-twinkle { 50% { opacity: .15; } }
.cx-game-still { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: auto; max-width: 96%; max-height: 88%; z-index: 1; }
.cx-game-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; display: none; }
.cx-game.is-live .cx-game-canvas { display: block; }
.cx-game.is-live .cx-game-still { display: none; }
.cx-game-online { position: absolute; top: 10px; right: 10px; z-index: 3; font-size: 11px; text-transform: uppercase; color: #7dff9b; }
.cx-game-online::before { content: "● "; animation: cx-twinkle 1.2s steps(2) infinite; }
.cx-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; z-index: 2; border-top: 2px solid #000;
  background: repeating-linear-gradient(90deg, #8f7bff 0 8px, #6a52e0 8px 16px); }
.cx-game-truck { position: absolute; bottom: 100%; left: -15%; width: 46px; height: auto; color: #fff; filter: drop-shadow(2px 0 0 #000); animation: cx-drive 9s linear infinite; }
@keyframes cx-drive { from { left: -15%; } to { left: 105%; } }
.cx-crt { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .2) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, .45) 100%); }
.cx-game-stats { display: grid; gap: 9px; padding: 14px 2px 4px; }
.cx-stat { display: grid; grid-template-columns: 1fr auto 42px; align-items: center; gap: 10px; font-family: var(--px); font-size: 12px; text-transform: uppercase; color: #fff; }
.cx-meter { display: flex; gap: 2px; }
.cx-meter i { width: 9px; height: 12px; background: rgba(255, 255, 255, .12); }
.cx-game.in .cx-meter i { animation: cx-fill .01s linear both; animation-delay: calc(var(--k) * 90ms + .4s); }
@keyframes cx-fill { to { background: var(--cx-neon); } }
.cx-stat b { color: #7dff9b; font-weight: 600; text-align: right; }
.cx-start { display: block; margin-top: 12px; padding: 11px; text-align: center; background: var(--cx-neon); color: var(--cx-bg); font-size: 14px; text-transform: uppercase; }
.cx-start:hover { background: #fff; }
.cx-start::first-letter { animation: cx-twinkle 1.1s steps(2) infinite; }
@media (max-width: 1080px) { .cx-game { margin: 0 auto; } }
@media (max-width: 760px) { .cx-founder { padding: 80px 0; } .cx-game { padding: 10px; } .cx-stat { font-size: 11px; gap: 8px; } .cx-meter i { width: 7px; } }
@media (prefers-reduced-motion: reduce) {
  .cx-pulses polyline, .cx-stars i, .cx-game-truck, .cx-game-online::before, .cx-start::first-letter { animation: none; }
  .cx-game.in .cx-meter i { animation: none; background: var(--cx-neon); }
}
.cx-stat b { text-transform: none; }
