/* Vitrine publique DxLean (visiteur non connecté) — accueil/templates/accueil/presentation.html */

.vx {
  --vx-green: #54a659;
  --vx-green-2: #6bb442;
  --vx-deep: #0b2a1a;
  --vx-ink: #10231a;
  --vx-muted: #5b6b62;
  --vx-radius: 20px;
  font-family: var(--font-interface, 'Inter', system-ui, sans-serif);
  color: var(--vx-ink);
  overflow-x: clip;
}
.vx h1, .vx h2, .vx h3 { font-family: var(--font-display, 'Lexend Exa', sans-serif); letter-spacing: -.01em; }

/* ── Boutons ─────────────────────────────────────────────────────────────── */
.vx-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.vx-btn:hover { transform: translateY(-2px); }
.vx-btn-primary { background: linear-gradient(135deg, #7ed957, var(--vx-green)); color: #062312; box-shadow: 0 10px 30px rgba(84, 166, 89, .45); }
.vx-btn-primary:hover { color: #062312; box-shadow: 0 14px 38px rgba(84, 166, 89, .6); }
.vx-btn-primary i { transition: transform .2s ease; }
.vx-btn-primary:hover i { transform: translateX(4px); }
.vx-btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.vx-btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.vx-btn-light { background: #fff; color: var(--vx-deep); }
.vx-btn-light:hover { color: var(--vx-deep); box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.vx-link { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: .95rem; }
.vx-link:hover { color: #fff; }

.vx-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ed957;
  box-shadow: 0 0 0 0 rgba(126, 217, 87, .7);
  animation: vx-pulse 2s infinite;
}
@keyframes vx-pulse {
  70% { box-shadow: 0 0 0 10px rgba(126, 217, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(126, 217, 87, 0); }
}

/* ── Ouverture ───────────────────────────────────────────────────────────── */
.vx-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 10% 0%, #14532d 0%, #0b2a1a 55%, #06170e 100%);
  color: #fff;
  padding: clamp(3rem, 7vw, 6rem) 1.25rem clamp(3rem, 6vw, 5rem);
}
.vx-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.vx-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  animation: vx-float 18s ease-in-out infinite alternate;
}
.vx-blob-a { width: 460px; height: 460px; background: #22c55e; top: -140px; left: -120px; }
.vx-blob-b { width: 380px; height: 380px; background: #0ea5e9; bottom: -160px; right: 10%; animation-duration: 22s; opacity: .35; }
.vx-blob-c { width: 300px; height: 300px; background: #facc15; top: 30%; right: -80px; animation-duration: 26s; opacity: .22; }
@keyframes vx-float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.12); }
  100% { transform: translate(-40px, 70px) scale(.95); }
}
.vx-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  animation: vx-grid 30s linear infinite;
}
@keyframes vx-grid { to { background-position: 48px 48px, 48px 48px; } }

.vx-hero-inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.vx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  animation: vx-rise .8s ease both;
}
.vx-title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 700;
  margin: 1.2rem 0 1rem;
  color: #fff;
  animation: vx-rise .8s .1s ease both;
}
.vx-rotator { position: relative; display: inline-grid; }
.vx-rotator > span {
  grid-area: 1 / 1;
  background: linear-gradient(90deg, #a3f07a, #5eead4, #fde68a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(.5em);
  transition: opacity .6s ease, transform .6s ease;
  white-space: nowrap;
}
.vx-rotator > span.is-on { opacity: 1; transform: none; }
.vx-rotator > span.is-out { opacity: 0; transform: translateY(-.5em); }
.vx-rotator > span.vx-title-wrap { white-space: normal; transition: none; }
.vx-lead { font-size: 1.1rem; line-height: 1.6; color: rgba(255, 255, 255, .82); max-width: 34rem; animation: vx-rise .8s .2s ease both; }
.vx-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; margin-top: 2rem; animation: vx-rise .8s .3s ease both; }
@keyframes vx-rise { from { opacity: 0; transform: translateY(18px); } }

/* Aperçu : moniteur + smartphone, sélecteur de module en dessous */
.vx-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-right: 60px;
  animation: vx-rise 1s .2s ease both;
}
.vx-monitor { position: relative; }
.vx-monitor-screen {
  position: relative;
  padding: 10px;
  border-radius: 16px;
  background: #111a16;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.vx-monitor-screen::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #2b3a33;
}
.vx-device-body {
  position: relative;
  height: 340px;
  border-radius: 8px;
  background: #fff;
  color: var(--vx-ink);
  overflow: hidden;
}
.vx-device-foot { position: absolute; right: 18px; bottom: 14px; font-size: .62rem; color: #9aa7a0; }
.vx-monitor-stand {
  display: block;
  width: 26%;
  height: 34px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1c2722, #111a16);
  clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
}
.vx-monitor-stand::after { content: ""; display: block; }

/* Smartphone (poinçon discret) */
.vx-phone {
  position: absolute;
  right: 0;
  bottom: 56px;
  width: 128px;
  height: 256px;
  padding: 6px;
  border-radius: 20px;
  background: #121816;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1);
  animation: vx-phone-in 1s .5s ease both, vx-bob-phone 6s 1.5s ease-in-out infinite;
}
@keyframes vx-phone-in { from { opacity: 0; transform: translateY(40px); } }
@keyframes vx-bob-phone { 50% { transform: translateY(-6px); } }
.vx-phone-cam { position: absolute; top: 11px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #121816; z-index: 2; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.vx-phone-body { position: relative; height: 100%; border-radius: 15px; background: #f7f9f8; color: var(--vx-ink); overflow: hidden; }

/* Sélecteur de module */
.vx-picker { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 1.5rem -60px 0 0; } /* sous le moniteur ET le smartphone : récupère la marge réservée au téléphone */
.vx-picker button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.vx-picker button:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
.vx-picker button.is-on { background: var(--mc); border-color: var(--mc); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--mc) 45%, transparent); }

.vx-pscreen {
  position: absolute;
  inset: 0;
  padding: 1.6rem .55rem .55rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.vx-pscreen.is-on { opacity: 1; transform: none; }
.vx-p-head {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: -1.6rem -.55rem .15rem;
  padding: 1.4rem .55rem .4rem;
  background: var(--mc);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
}
.vx-p-title { font-size: .7rem; }
.vx-p-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.vx-p-steps li {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .58rem;
  padding: .4rem .5rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e6ebe8;
  opacity: 0;
}
.vx-p-steps li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #cfd8d3; flex: 0 0 10px; }
.vx-p-steps li.is-done::before { background: #22c55e; border-color: #22c55e; }
.vx-p-steps li.is-cur { border-color: var(--mc); }
.vx-p-steps li.is-cur::before { border-color: var(--mc); }
.vx-p-field, .vx-p-card, .vx-p-photo, .vx-p-total, .vx-p-avail {
  font-size: .58rem;
  padding: .45rem .55rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e6ebe8;
  opacity: 0;
}
.vx-p-field small, .vx-p-card small, .vx-p-total small { display: block; font-size: .55rem; color: #8a988f; }
.vx-p-photo { display: flex; align-items: center; gap: .35rem; color: var(--mc); border-style: dashed; }
.vx-p-btn { margin-top: auto; text-align: center; padding: .5rem; border-radius: 10px; background: var(--mc); color: #fff; font-size: .7rem; font-weight: 700; opacity: 0; }
.vx-p-punch {
  display: grid;
  place-items: center;
  gap: .2rem;
  padding: .55rem;
  border-radius: 12px;
  background: var(--mc);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  animation: vx-breathe 2.4s ease-in-out infinite;
}
.vx-p-punch i { font-size: 1.1rem; }
.vx-p-total strong { font-size: .85rem; color: var(--mc); }
.vx-p-avail { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: .4rem; }
.vx-p-avail em, .vx-load em { display: block; height: 6px; border-radius: 3px; background: #e3e8e6; position: relative; overflow: hidden; }
.vx-p-avail em::after, .vx-load em::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--mc); border-radius: 3px; }
.vx-p-avail em.is-low::after, .vx-load em.is-high::after { background: #ef4444; }
.vx-pscreen.is-on .vx-p-steps li,
.vx-pscreen.is-on .vx-p-field,
.vx-pscreen.is-on .vx-p-card,
.vx-pscreen.is-on .vx-p-photo,
.vx-pscreen.is-on .vx-p-total,
.vx-pscreen.is-on .vx-p-avail,
.vx-pscreen.is-on .vx-p-btn { animation: vx-in .45s ease forwards; animation-delay: calc(.2s + var(--i, 0) * .12s); }
.vx-pscreen.is-on .vx-p-avail em::after { animation: vx-fill 1s .4s ease forwards; }

/* Écrans ajoutés : calculateur, courbe d'utilisation, charge des postes */
.vx-calc { display: grid; grid-template-columns: 1fr auto 1.2fr; gap: .8rem; align-items: center; }
.vx-calc-col { display: grid; gap: .5rem; }
.vx-calc-arrow { font-size: 1.4rem; color: var(--mc); animation: vx-nudge 1.6s ease-in-out infinite; }
@keyframes vx-nudge { 50% { transform: translateX(5px); } }
.vx-field, .vx-solution, .vx-offer { padding: .55rem .7rem; border-radius: 12px; background: #f7f9f8; opacity: 0; }
.vx-field small, .vx-solution small, .vx-offer small { display: block; font-size: .65rem; color: #8a988f; }
.vx-field span, .vx-solution span { font-size: .85rem; font-weight: 600; }
.vx-offer { background: color-mix(in srgb, var(--mc) 12%, #fff); border: 1px solid color-mix(in srgb, var(--mc) 35%, #fff); }
.vx-offer strong { display: block; font-size: 1.5rem; color: var(--mc); line-height: 1.2; }
.vx-offer em { font-style: normal; font-size: .65rem; color: #6b7a72; }
.vx-screen.is-on .vx-field, .vx-screen.is-on .vx-solution, .vx-screen.is-on .vx-offer { animation: vx-in .45s ease forwards; animation-delay: calc(.1s + var(--i) * .12s); }

.vx-curve { width: 100%; height: 170px; overflow: visible; }
.vx-curve-grid { stroke: #eef1ef; stroke-width: 1; }
.vx-curve-limit { stroke: #ef4444; stroke-width: 1.2; stroke-dasharray: 5 5; opacity: .7; }
.vx-curve-area { fill: color-mix(in srgb, var(--mc) 14%, transparent); opacity: 0; }
.vx-curve-line { fill: none; stroke: var(--mc); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.vx-curve-line-2 { stroke: color-mix(in srgb, var(--mc) 45%, #94a3b8); stroke-width: 2; stroke-dasharray: 4 6; }
.vx-screen.is-on .vx-curve-line { animation: vx-draw 1.6s ease forwards; }
.vx-screen.is-on .vx-curve-line-2 { animation: vx-appear .8s .9s ease forwards; stroke-dashoffset: 0; opacity: 0; }
.vx-screen.is-on .vx-curve-area { animation: vx-appear .8s .8s ease forwards; }
@keyframes vx-draw { to { stroke-dashoffset: 0; } }
@keyframes vx-appear { to { opacity: 1; } }
.vx-legend { display: flex; flex-wrap: wrap; gap: .9rem; font-size: .7rem; color: #6b7a72; margin-top: .4rem; }
.vx-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.vx-key { display: inline-block; width: 14px; height: 3px; border-radius: 2px; background: var(--mc); }
.vx-key-2 { background: color-mix(in srgb, var(--mc) 45%, #94a3b8); }
.vx-key-limit { background: #ef4444; }

.vx-load { display: grid; gap: .55rem; margin-bottom: 1rem; }
.vx-load > div { display: grid; grid-template-columns: 90px 1fr 54px; gap: .6rem; align-items: center; font-size: .78rem; opacity: 0; }
.vx-load em { height: 10px; border-radius: 5px; }
.vx-load b { font-size: .72rem; color: #516058; text-align: right; }
.vx-screen.is-on .vx-load > div { animation: vx-in .45s ease forwards; animation-delay: calc(var(--i) * .1s); }
.vx-screen.is-on .vx-load em::after { animation: vx-fill 1s .3s ease forwards; }

.vx-screen {
  position: absolute;
  inset: 0;
  padding: 1.1rem 1.2rem;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.vx-screen.is-on { opacity: 1; transform: none; pointer-events: auto; }
.vx-s-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.vx-s-head strong { font-size: .95rem; color: var(--mc); }
.vx-chip { font-size: .68rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; background: #eef1ef; color: #516058; white-space: nowrap; }
.vx-chip-ok { background: #dcfce7; color: #15803d; }
.vx-chip-warn { background: #fef3c7; color: #b45309; }
.vx-chip-bad { background: #fee2e2; color: #b91c1c; }
.vx-rows { display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.vx-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .75rem;
  border-radius: 12px;
  background: #f7f9f8;
  font-size: .82rem;
  opacity: 0;
  transform: translateY(10px);
}
.vx-row > :last-child { margin-left: auto; }
.vx-row > i { color: var(--mc); }
.vx-screen.is-on .vx-row { animation: vx-in .45s ease forwards; animation-delay: calc(.15s + var(--i) * .12s); }
@keyframes vx-in { to { opacity: 1; transform: none; } }
.vx-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; }
.vx-dot-red { background: #ef4444; }
.vx-dot-amber { background: #f59e0b; }
.vx-dot-green { background: #22c55e; }
.vx-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .6rem; font-weight: 700; color: #fff; background: var(--mc); flex: 0 0 26px; }

.vx-map { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.vx-node {
  flex: 1;
  text-align: center;
  font-size: .7rem;
  font-weight: 600;
  padding: .55rem .3rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--mc) 10%, #fff);
  color: var(--mc);
  position: relative;
  opacity: 0;
}
.vx-node + .vx-node::before { content: ""; position: absolute; left: -.5rem; top: 50%; width: .5rem; height: 2px; background: color-mix(in srgb, var(--mc) 40%, #fff); }
.vx-node-hot { background: var(--mc); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--mc) 40%, transparent); }
.vx-screen.is-on .vx-node { animation: vx-in .4s ease forwards; animation-delay: calc(var(--i) * .1s); }

.vx-bars { display: flex; align-items: flex-end; gap: .5rem; height: 90px; margin-bottom: 1rem; padding: 0 .2rem; }
.vx-bars span { flex: 1; height: 0; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--mc), color-mix(in srgb, var(--mc) 45%, #fff)); }
.vx-screen.is-on .vx-bars span { animation: vx-bar .7s ease forwards; animation-delay: calc(var(--i) * .08s); }
@keyframes vx-bar { to { height: var(--h); } }

.vx-clock { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: start; }
.vx-clock-btn {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--mc) 70%, #fff), var(--mc));
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--mc) 18%, transparent);
  animation: vx-breathe 2.4s ease-in-out infinite;
}
.vx-clock-btn i { font-size: 1.2rem; }
.vx-clock-btn span { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.vx-clock-btn small { font-size: .6rem; opacity: .9; }
@keyframes vx-breathe { 50% { box-shadow: 0 0 0 16px color-mix(in srgb, var(--mc) 8%, transparent); } }

@keyframes vx-fill { to { width: var(--w); } }

/* ── Défilement des connecteurs ─────────────────────────────────────────── */
.vx-marquee {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.25rem;
  background: #06170e;
  color: rgba(255, 255, 255, .75);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.vx-marquee-label { flex: 0 0 auto; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #7ed957; }
/* Fenêtre fixe : c'est elle qui rogne et porte le fondu, pas la bande qui
   défile (sinon la bande glisse sous le libellé et le fondu part avec elle). */
.vx-marquee-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
/* 4 copies, décalage d'une copie (-25 %) : la bande reste plus large que la
   fenêtre même sur un grand écran, donc jamais de trou en fin de boucle. */
.vx-marquee-track {
  display: flex;
  width: max-content;
  animation: vx-marquee 32s linear infinite;
}
.vx-marquee:hover .vx-marquee-track { animation-play-state: paused; }
.vx-marquee-set { display: flex; gap: 2.5rem; padding-right: 2.5rem; }
.vx-marquee-set span { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; white-space: nowrap; }
.vx-marquee-set i { color: #7ed957; }
@keyframes vx-marquee { to { transform: translateX(-25%); } }

/* ── Sections ────────────────────────────────────────────────────────────── */
.vx-section { max-width: 1240px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) 1.25rem; }
.vx-head { text-align: center; max-width: 44rem; margin: 0 auto 3rem; }
.vx-kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--vx-green); margin-bottom: .6rem; }
.vx-kicker-light { color: #7ed957; }
.vx-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; margin: 0 0 .8rem; }
.vx-head p { color: var(--vx-muted); font-size: 1.05rem; margin: 0; }

/* Apparition au défilement (activée par vitrine.js) */
.vx-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; transition-delay: calc(var(--i, 0) * .12s); }
.vx-js [data-reveal].is-visible { opacity: 1; transform: none; }
.vx-js .vx-feature[data-reveal].is-visible { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }

/* Cartes des modules */
.vx-feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.vx-feature {
  --rx: 0deg;
  --ry: 0deg;
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  border-radius: var(--vx-radius);
  background: #fff;
  border: 1px solid #e6ebe8;
  box-shadow: 0 10px 30px rgba(16, 35, 26, .06);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: box-shadow .3s ease, border-color .3s ease, opacity .8s ease, transform .3s ease;
}
.vx-feature-lg { grid-column: span 3; padding: 2rem; }
.vx-feature:hover { box-shadow: 0 24px 50px color-mix(in srgb, var(--mc) 22%, transparent); border-color: color-mix(in srgb, var(--mc) 40%, #fff); }
.vx-feature-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--mc2) 45%, transparent), transparent 70%);
  transition: transform .6s ease;
}
.vx-feature:hover .vx-feature-glow { transform: scale(1.4); }
.vx-feature-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.1rem; }
.vx-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--mc), var(--mc2));
  box-shadow: 0 10px 22px color-mix(in srgb, var(--mc) 35%, transparent);
}
.vx-feature-lg .vx-feature-icon { width: 60px; height: 60px; font-size: 1.75rem; }
.vx-stage { font-size: .72rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: #f1f4f2; color: var(--vx-muted); white-space: nowrap; }
.vx-stage-live { display: inline-flex; align-items: center; gap: .45rem; background: #dcfce7; color: #15803d; }
.vx-feature h3 { position: relative; font-size: 1.3rem; font-weight: 700; margin: 0; color: var(--mc); }
.vx-feature-lg h3 { font-size: 1.6rem; }
.vx-feature-tag { position: relative; font-weight: 600; margin: .2rem 0 1rem; }
.vx-feature ul { position: relative; list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.vx-feature li { display: flex; gap: .55rem; font-size: .92rem; color: #3d4c44; line-height: 1.4; }
.vx-feature li i { color: var(--mc); flex: 0 0 auto; margin-top: .1rem; }

.vx-preparing { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 2rem; justify-content: center; }
.vx-preparing-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--vx-muted); margin-right: .4rem; }
.vx-prep-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px dashed color-mix(in srgb, var(--mc) 55%, #fff);
  color: var(--mc);
  font-weight: 600;
  font-size: .87rem;
  background: color-mix(in srgb, var(--mc) 5%, #fff);
}
.vx-prep-chip small { font-weight: 400; color: var(--vx-muted); }

/* ── Plateforme ouverte ─────────────────────────────────────────────────── */
.vx-open {
  position: relative;
  background: linear-gradient(160deg, #06170e 0%, #0b2a1a 60%, #0f3a24 100%);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 6rem) 1.25rem;
  overflow: hidden;
}
.vx-open-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.vx-open h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; margin: 0 0 1rem; color: #fff; }
.vx-open-copy > p { color: rgba(255, 255, 255, .78); font-size: 1.05rem; line-height: 1.6; }
.vx-open-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1rem; }
.vx-open-list li { display: flex; gap: .9rem; align-items: flex-start; color: rgba(255, 255, 255, .78); line-height: 1.5; }
.vx-open-list i {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(126, 217, 87, .12);
  color: #7ed957;
  font-size: 1.1rem;
}
.vx-open-list strong { color: #fff; }

.vx-hub { position: relative; aspect-ratio: 1; width: min(100%, 460px); margin: 0 auto; }
.vx-hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.vx-hub-lines line { stroke: rgba(126, 217, 87, .55); stroke-width: 1.5; stroke-dasharray: 5 7; animation: vx-flow 1.6s linear infinite; }
/* Sens alterné purement décoratif, sans signification métier */
.vx-hub-lines line:nth-of-type(even) { animation-direction: reverse; stroke: rgba(94, 234, 212, .5); }
@keyframes vx-flow { to { stroke-dashoffset: -24; } }
.vx-orbit { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.vx-orbit-in { stroke-dasharray: 2 6; animation: vx-spin 40s linear infinite; transform-origin: 200px 200px; }
@keyframes vx-spin { to { transform: rotate(360deg); } }
.vx-hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 0 0 10px rgba(126, 217, 87, .15), 0 0 60px rgba(126, 217, 87, .45);
  animation: vx-core 3s ease-in-out infinite;
}
.vx-hub-core img { width: 70%; height: auto; }
@keyframes vx-core { 50% { box-shadow: 0 0 0 18px rgba(126, 217, 87, .06), 0 0 80px rgba(126, 217, 87, .6); } }
.vx-hub-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  min-width: 96px;
  padding: .6rem .7rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  text-align: center;
  animation: vx-bob 5s ease-in-out infinite;
}
.vx-hub-node:nth-of-type(2n) { animation-delay: -2.5s; }
@keyframes vx-bob { 50% { transform: translate(-50%, calc(-50% - 6px)); } }
.vx-hub-node i { font-size: 1.25rem; color: #5eead4; }
.vx-hub-node span { font-size: .8rem; font-weight: 700; }
.vx-hub-node em { font-style: normal; font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .6); }
.vx-hub-node.vx-live { border-color: rgba(126, 217, 87, .5); }
.vx-hub-node.vx-live i { color: #7ed957; }
.vx-hub-node.vx-live em { color: #7ed957; }

/* ── Démarche ────────────────────────────────────────────────────────────── */
.vx-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; position: relative; }
.vx-steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 28px; height: 2px; background: linear-gradient(90deg, var(--vx-green), #5eead4); opacity: .35; }
.vx-steps li { position: relative; text-align: center; padding: 0 1rem; }
.vx-steps li > span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vx-green-2), #0d9488);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 10px 24px rgba(84, 166, 89, .35);
}
.vx-steps strong { display: block; font-size: 1.05rem; margin-bottom: .35rem; }
.vx-steps p { color: var(--vx-muted); margin: 0; }

/* ── Souveraineté numérique ─────────────────────────────────────────────── */
.vx-sov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.vx-sov {
  padding: 1.6rem 1.4rem;
  border-radius: var(--vx-radius);
  background: #fff;
  border: 1px solid rgba(16, 35, 26, .08);
  box-shadow: 0 10px 30px rgba(16, 35, 26, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.vx-sov:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16, 35, 26, .1); }
.vx-sov i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 14px;
  font-size: 1.35rem;
  color: #ffcc00;
  background: linear-gradient(135deg, #003399, #1e4fc2);
  box-shadow: 0 8px 20px rgba(0, 51, 153, .3);
}
.vx-sov strong { display: block; font-size: 1.05rem; margin-bottom: .4rem; }
.vx-sov p { color: var(--vx-muted); margin: 0; line-height: 1.5; }
.vx-sov-note { max-width: 760px; margin: 1.6rem auto 0; text-align: center; color: var(--vx-muted); font-size: .92rem; }

/* ── Appel à l'action ───────────────────────────────────────────────────── */
.vx-cta {
  position: relative;
  overflow: hidden;
  max-width: 1240px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  border-radius: 28px;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #14532d, #0f766e);
}
.vx-cta-bg { position: absolute; inset: 0; pointer-events: none; }
.vx-cta h2, .vx-cta p, .vx-cta a { position: relative; }
.vx-cta h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; color: #fff; margin: 0 0 .7rem; }
.vx-cta p { color: rgba(255, 255, 255, .85); margin: 0 0 1.8rem; }

/* ── Petits écrans ───────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .vx-hero-inner, .vx-open-inner { grid-template-columns: 1fr; }
  .vx-showcase { max-width: 620px; }
  .vx-feature, .vx-feature-lg { grid-column: span 3; }
  .vx-sov-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .vx-feature, .vx-feature-lg { grid-column: 1 / -1; }
  .vx-steps { grid-template-columns: 1fr; }
  .vx-sov-grid { grid-template-columns: 1fr; }
  .vx-steps::before { display: none; }
  .vx-device-body { height: 360px; }
  .vx-showcase { padding-right: 0; }
  .vx-picker { margin-right: 0; }
  .vx-phone { display: none; }
  .vx-calc { grid-template-columns: 1fr; }
  .vx-calc-arrow { display: none; }
  .vx-clock { grid-template-columns: 1fr; }
  .vx-clock-btn { width: 110px; margin: 0 auto; }
  .vx-hub-node { min-width: 76px; padding: .45rem .5rem; }
  .vx-marquee-label { display: none; }
}

/* ── Animations réduites à la demande ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .vx *, .vx *::before, .vx *::after { animation: none !important; transition: none !important; }
  .vx-row, .vx-node, .vx-field, .vx-solution, .vx-offer, .vx-load > div,
  .vx-p-steps li, .vx-p-field, .vx-p-card, .vx-p-photo, .vx-p-total, .vx-p-avail, .vx-p-btn { opacity: 1; transform: none; }
  .vx-bars span { height: var(--h); }
  .vx-load em::after, .vx-p-avail em::after { width: var(--w); }
  .vx-curve-line { stroke-dashoffset: 0; }
  .vx-curve-area, .vx-curve-line-2 { opacity: 1; }
  .vx-js [data-reveal] { opacity: 1; transform: none; }
  .vx-feature { transform: none; }
}

/* En-tête du smartphone : module puis page */
.vx-p-head { flex-wrap: wrap; row-gap: 0; }
.vx-p-head strong { font-size: .62rem; }
.vx-p-head span { flex-basis: 100%; font-size: .55rem; font-weight: 500; opacity: .85; }

/* ══ Écrans à l'échelle réelle (1120 × 700), réduits dans le moniteur par vitrine.js ══
   Reprennent le langage des vrais écrans : en-tête pâle au logotype « Dx », rail
   d'icônes, bandeau module-hero (dégradé, motif « + », pastilles), cartes, tableaux
   Bootstrap, badges pilule. Données fictives et libellés neutres. */
.vx-device-body { height: auto; aspect-ratio: 16 / 10; }
.vx-screen { padding: 0; font-size: 13px; }
.rs {
  position: absolute;
  top: 0;
  left: 0;
  width: 1120px;
  height: 700px;
  transform: scale(var(--vx-s, .55));
  transform-origin: 0 0;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  color: #1f2937;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}
.rs code { font-family: ui-monospace, Consolas, monospace; }
.rs-top {
  flex: 0 0 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  background: linear-gradient(90deg, var(--mc-p), #fff);
  border-bottom: 1px solid #e5e7eb;
}
.rs-dot { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--mc-l), var(--mc)); box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .15); }
.rs-logo-img { height: 38px; width: auto; display: block; }
.rs-logo { font-family: var(--font-display, 'Lexend Exa', sans-serif); font-weight: 700; font-size: 22px; color: #4b5563; letter-spacing: -.02em; }
.rs-logo b { color: var(--mc); }
.rs-bell { margin-left: auto; position: relative; font-size: 18px; color: #6b7280; }
.rs-bell em { position: absolute; top: -5px; right: -7px; min-width: 15px; height: 15px; border-radius: 8px; background: #dc2626; color: #fff; font-size: 9px; font-style: normal; display: grid; place-items: center; }
.rs-bell + .rs-user { margin-left: 14px; }
.rs-user { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 999px; background: color-mix(in srgb, var(--mc) 8%, #fff); border: 1px solid color-mix(in srgb, var(--mc) 25%, #fff); font-weight: 600; font-size: 13px; }
.rs-user i { width: 28px; height: 28px; border-radius: 50%; background: var(--mc); color: #fff; font-style: normal; font-size: 11px; display: grid; place-items: center; }
.rs-wrap { flex: 1; display: flex; min-height: 0; }
.rs-rail { flex: 0 0 60px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 0; background: #fff; border-right: 1px solid #e5e7eb; }
.rs-rail i { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: #9ca3af; font-size: 18px; }
.rs-rail i.is-on { color: var(--mc); background: color-mix(in srgb, var(--mc) 10%, #fff); }
.rs-rail i.is-on::after { content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--mc); }
.rs-rail-end { margin-top: auto; }
.rs-main { position: relative; flex: 1; min-width: 0; padding: 22px 30px; overflow: hidden; }

/* Bandeau module-hero */
.rs-hero {
  position: relative;
  display: flex;
  gap: 28px;
  padding: 26px 32px;
  margin-bottom: 20px;
  border-radius: 18px;
  color: #fff;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 26v8M26 30h8' stroke='%23fff' stroke-opacity='.05' stroke-width='2'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--mc-d) 0%, var(--mc) 55%, var(--mc-l) 100%);
  box-shadow: 0 4px 22px color-mix(in srgb, var(--mc) 22%, transparent);
}
.rs-hero-sm { padding: 20px 30px; }
.rs-hero-l { flex: 1; min-width: 0; }
.rs-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
.rs-hero h4 { font-family: 'Inter', sans-serif; font-size: 25px; font-weight: 500; letter-spacing: -.03em; margin: 0 0 6px; color: rgba(255, 255, 255, .55); }
.rs-hero h4 b { font-weight: 900; color: #fff; }
.rs-hero p { font-size: 14px; margin: 0; color: rgba(255, 255, 255, .82); }
.rs-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.rs-pills span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 50px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .3); font-size: 12px; font-weight: 600; }
.rs-pills i { opacity: .75; }
.rs-pills b { font-size: 17px; font-weight: 800; }
.rs-hero-r { flex: 0 0 34%; align-self: center; }
.rs-bullets { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 1px solid rgba(255, 255, 255, .15); display: grid; gap: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .78); align-self: center; }
.rs-bullets li::before { content: "› "; font-weight: 700; }
.rs-search { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: #fff; color: #9ca3af; font-size: 13px; }
.rs-hero .rs-search { box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }

/* Titres, cartes, listes */
.rs-h { font-size: 16px; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.rs-h i { color: #f59e0b; }
.rs-h-row { justify-content: space-between; }
.rs-count { font-style: normal; font-size: 12px; padding: 1px 9px; border-radius: 999px; background: color-mix(in srgb, var(--mc) 12%, #fff); color: var(--mc); margin-left: 4px; }
.rs-title { font-family: 'Inter', sans-serif; font-size: 30px; font-weight: 400; margin: 0 0 12px; color: #111827; }
.rs-title-sm { font-size: 24px; font-weight: 600; }
.rs-grey { color: #6b7280; font-weight: 400; font-size: 12px; }
.rs-red { color: #dc2626; }
.rs-amber { color: #d97706; }
.rs-green { color: #15803d; }
.rs-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); padding: 14px 16px; margin-bottom: 14px; }
.rs-card-h { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.rs-card-h a { font-weight: 500; font-size: 12px; color: var(--mc); }
.rs-top-b { border-top: 4px solid var(--b); }
.rs-left-b { border-left: 4px solid var(--b); }
.rs-tint-red { background: linear-gradient(90deg, #fef2f2, #fff 60%); }
.rs-tint-amber { background: linear-gradient(90deg, #fffbeb, #fff 60%); }
.rs-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rs-grid2 .rs-card { margin-bottom: 0; }
.rs-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rs-grid21 { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.rs-li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #f1f5f9; font-size: 13px; }
.rs-li:first-of-type { border-top: 0; }
.rs-li > span:not(.rs-sq), .rs-li > b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-li small { color: #9ca3af; font-size: 12px; white-space: nowrap; }
.rs-sq { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); font-weight: 700; flex: 0 0 30px; }
.rs-code { color: var(--c, #6b7280); font-size: 12px; font-weight: 600; }
.rs-new { font-style: normal; font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: #dc2626; color: #fff; }

/* Badges et boutons */
.rs-badge { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 11px; border-radius: 999px; white-space: nowrap; }
.rs-b-red { background: #b91c1c; color: #fff; }
.rs-b-orange { background: #ea580c; color: #fff; }
.rs-b-green { background: #dcfce7; color: #15803d; }
.rs-b-amber { background: #fef3c7; color: #b45309; }
.rs-b-blue { background: #dbeafe; color: #1d4ed8; }
.rs-b-grey { background: #f1f5f9; color: #475569; }
.rs-btn-p { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; background: var(--mc); color: #fff; font-weight: 600; font-size: 13px; white-space: nowrap; }
.rs-btn-s { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 7px; background: #fff; border: 1px solid #d1d5db; font-weight: 600; font-size: 12px; color: #374151; white-space: nowrap; }
.rs-btn-w { padding: 6px 14px; border-radius: 8px; background: #fff; color: var(--mc); font-weight: 700; font-size: 12px; }
.rs-btn-grad { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 8px 16px; border-radius: 8px; background: linear-gradient(90deg, var(--mc), #06b6d4); color: #fff; font-weight: 600; font-size: 12.5px; }
.rs-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rs-chips > span, .rs-chips > code { padding: 3px 10px; border-radius: 999px; background: #f1f5f9; font-size: 11.5px; color: #475569; }
.rs-tabs { display: flex; gap: 22px; border-bottom: 1px solid #e5e7eb; margin: 4px 0 14px; font-weight: 600; color: #6b7280; }
.rs-tabs span { padding: 8px 0; }
.rs-tabs .is-on { color: var(--mc); border-bottom: 2px solid var(--mc); margin-bottom: -1px; }
.rs-crumb { font-size: 12px; color: #6b7280; margin-bottom: 10px; }
.rs-crumb b { color: #111827; }

/* KPI et tuiles */
.rs-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.rs-kpis-4 { grid-template-columns: repeat(4, 1fr); }
.rs-kpis > div { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px; text-align: center; color: #6b7280; font-size: 12.5px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.rs-kpis b { display: block; font-size: 32px; font-weight: 800; line-height: 1.1; color: var(--c); }
.rs-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 14px; }
.rs-tiles > div { padding: 12px 14px; border-radius: 10px; background: linear-gradient(135deg, var(--t), #fff); border-left: 4px solid var(--b); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #475569; }
.rs-tiles b { display: block; font-size: 24px; color: var(--b); letter-spacing: 0; }
.rs-toolbar { display: flex; gap: 12px; margin-bottom: 14px; }
.rs-search-l { flex: 1; border: 1px solid #e5e7eb; }

/* Quality : cartes NC */
.rs-nc { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid #f1f5f9; }
.rs-nc > div { flex: 1; min-width: 0; }
.rs-nc small { display: block; color: #6b7280; margin-top: 3px; }
.rs-ring { flex: 0 0 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--mc); background: radial-gradient(circle, #fff 58%, transparent 60%), conic-gradient(var(--mc) calc(var(--p) * 1%), #f1f5f9 0); }

/* Knowledge : fiche procédure */
.rs-doc-head { display: flex; gap: 14px; align-items: flex-start; }
.rs-doc-head h4 { font-size: 19px; font-weight: 700; margin: 0; font-family: 'Inter', sans-serif; }
.rs-doc-head > div { flex: 1; }
.rs-doc-ico { font-size: 26px; color: var(--mc); }
.rs-actions { display: flex; gap: 6px; }
.rs-actions span { padding: 6px 12px; border-radius: 8px; background: color-mix(in srgb, var(--mc) 9%, #fff); color: var(--mc); font-weight: 600; font-size: 12px; }
.rs-actions .rs-btn-p { color: #fff; }
.rs-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 6px; }
.rs-cartouche { border: 1px solid color-mix(in srgb, var(--mc) 40%, #fff); border-radius: 10px; padding: 10px 14px; background: #fff; display: grid; }
.rs-cartouche small { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mc); }
.rs-cartouche span { color: #6b7280; font-size: 12px; }
.rs-band { background: #eef2f6; border-left: 4px solid var(--mc); padding: 7px 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #334155; margin: 6px 0 8px; }
.rs-text { margin: 0 0 8px; color: #374151; }
.rs-acc { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 6px; background: #fff; }
.rs-acc code { color: var(--mc); font-weight: 700; }
.rs-acc span { margin-left: auto; color: #6b7280; font-size: 12px; }

/* Project */
.rs-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #6b7280; }
.rs-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-left: 8px; }
.rs-legend-l { display: flex; margin-bottom: 12px; }
.rs-legend-l i { border-radius: 3px; width: 16px; }
.rs-hatch { background: repeating-linear-gradient(45deg, #fdba74 0 3px, #fff7ed 3px 6px) !important; }
.rs-toggle { margin-left: auto; display: inline-flex; border: 1px solid #d1d5db; border-radius: 8px; overflow: hidden; }
.rs-toggle b, .rs-toggle { font-size: 12px; }
.rs-toggle b { background: var(--mc); color: #fff; padding: 5px 12px; font-weight: 600; }
.rs-toggle { padding-right: 12px; gap: 12px; align-items: center; }
.rs-proj { display: grid; gap: 6px; margin: 0; }
.rs-proj > b { font-size: 14px; }
.rs-proj code { font-size: 11.5px; color: #6b7280; }
.rs-proj small { color: #6b7280; }
.rs-avs { display: flex; margin: 4px 0; }
.rs-avs i { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; font-size: 10px; font-weight: 700; font-style: normal; display: grid; place-items: center; border: 2px solid #fff; margin-right: -6px; }
.rs-avs u { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--s); border: 2px solid #fff; }
.rs-projband { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-radius: 10px 10px 0 0; background: var(--mc); color: #fff; }
.rs-weekband { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; background: #fefce8; border: 1px solid #fde68a; border-top: 0; font-weight: 600; font-size: 12.5px; margin-bottom: 8px; }
.rs-weekband span { color: #15803d; }
.rs-fab { position: absolute; right: 30px; bottom: 22px; padding: 10px 18px; border-radius: 999px; background: var(--mc); color: #fff; font-weight: 700; box-shadow: 0 8px 20px color-mix(in srgb, var(--mc) 40%, transparent); }
.rs-fab b { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fff; color: var(--mc); }

/* Tableaux */
.rs-table { width: 100%; border-collapse: collapse; font-size: 12.5px; background: #fff; }
.rs-table th { background: #f8f9fa; text-align: left; font-weight: 700; color: #374151; padding: 9px 10px; border-bottom: 1px solid #e5e7eb; white-space: nowrap; }
.rs-table td { padding: 10px; border-bottom: 1px solid #e5e7eb; white-space: nowrap; }
.rs-hours th { font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; }
.rs-scale { width: 34%; }
.rs-scale span { display: inline-block; width: 16.66%; font-weight: 500; }
.rs-tl { position: relative; display: block; height: 14px; border-radius: 4px; background: #f1f5f9; }
.rs-tl i { position: absolute; left: var(--x); width: var(--w); top: 0; bottom: 0; border-radius: 3px; background: var(--c); }
.rs-ico-btn { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: #e5e7eb; color: #4b5563; margin-right: 4px; }
.rs-ico-btn.rs-ok { background: #16a34a; color: #fff; }
.rs-dark th { background: #212529; color: #fff; border-color: #212529; }
.rs-sn { color: #d63384; font-size: 12px; }
.rs-load td { font-weight: 600; color: #1d4ed8; }
.rs-load td:first-child { color: #111827; }
.rs-load u { display: block; height: 4px; width: var(--w); border-radius: 2px; background: #60a5fa; margin-top: 4px; }
.rs-load u.is-over { background: #dc2626; }
.rs-load .is-today { background: #fefce8; }
.rs-dark th.is-today { background: #3f3a1a; }
.rs-total td { background: #f1f5f9; color: #111827; }

/* Sales */
.rs-grid-offer { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rs-gh { padding: 0; overflow: hidden; }
.rs-card-gh { background: #f3f4f6; padding: 9px 16px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #4b5563; margin-bottom: 8px; }
.rs-gh > :not(.rs-card-gh) { margin-left: 16px; margin-right: 16px; }
.rs-gh > :last-child { margin-bottom: 14px; }
.rs-kv { display: grid; grid-template-columns: 130px 1fr; padding: 5px 0; border-bottom: 1px dashed #eef0f2; }
.rs-kv small { color: #6b7280; }
.rs-price { font-size: 32px; font-weight: 800; color: var(--mc); margin-bottom: 6px; }
.rs-price small { font-size: 13px; color: #6b7280; font-weight: 500; }
.rs-line { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed #eef0f2; }
.rs-configs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rs-configs > div { border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; display: grid; gap: 4px; }
.rs-configs .is-best { border: 2px solid #16a34a; background: #f0fdf4; }
.rs-configs em { justify-self: start; }
.rs-configs small { color: #6b7280; }
.rs-configs strong { font-size: 18px; color: #111827; }

/* Fleet */
.rs-filters { display: flex; align-items: flex-end; gap: 16px; padding: 10px 16px; }
.rs-filters > span:not(.rs-btn-p):not(.rs-btn-s) { display: grid; font-weight: 600; padding: 6px 12px; border: 1px solid #e5e7eb; border-radius: 8px; min-width: 110px; }
.rs-filters small { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9ca3af; }
.rs-filters .rs-btn-p { margin-left: auto; }
.rs-avail { padding: 10px 12px; }
.rs-av-head, .rs-av-row { display: grid; grid-template-columns: 76px 110px repeat(16, 1fr); gap: 3px; align-items: center; }
.rs-av-head { font-size: 11px; color: #6b7280; font-weight: 600; margin-bottom: 4px; }
.rs-av-head b { text-align: center; padding: 3px 0; }
.rs-av-head b.is-today { border: 2px solid #f97316; border-radius: 6px; color: #ea580c; }
.rs-av-row { margin-bottom: 3px; font-size: 12px; }
.rs-av-row i { font-style: normal; text-align: center; font-weight: 700; font-size: 11.5px; padding: 6px 0; border-radius: 4px; }
.rs-av-row i.ok { background: #b7ead8; color: #047857; }
.rs-av-row i.eng { background: #fde68a; color: #92400e; }
.rs-av-row i.prev { background: #dbeafe; color: #1d4ed8; }
.rs-av-row i.rup { background: #fecdd3; color: #be123c; }

/* Warehouse : export */
.rs-export { display: flex; gap: 16px; align-items: center; }
.rs-textarea { flex: 0 0 180px; height: 70px; border: 1px solid #d1d5db; border-radius: 8px; padding: 6px 10px; font-family: ui-monospace, Consolas, monospace; font-size: 11.5px; color: #374151; overflow: hidden; }
.rs-export > div { display: grid; justify-items: start; }

/* Apparition des blocs */
.rs [style*="--i"] { opacity: 0; }
.vx-screen.is-on .rs [style*="--i"] { animation: vx-in .45s ease forwards; animation-delay: calc(.1s + var(--i) * .08s); }
@media (prefers-reduced-motion: reduce) {
  .rs [style*="--i"] { opacity: 1; }
}

/* Vrais logos des modules (logotypes « DxQuality »…) */
.vx-feature-logo { position: relative; height: 40px; width: auto; max-width: 70%; object-fit: contain; object-position: left; }
.vx-feature-lg .vx-feature-logo { height: 48px; }
.vx-feature-tag { margin-top: .1rem; }
.vx-prep-chip img { height: 20px; width: auto; }

/* En-tête du smartphone : logo du module sur fond pâle, page en dessous */
.vx-p-head {
  background: linear-gradient(90deg, color-mix(in srgb, var(--mc) 10%, #fff), #fff);
  color: var(--mc);
  border-bottom: 2px solid var(--mc);
}
.vx-p-head img { height: 15px; width: auto; max-width: 100%; }
.vx-p-head span { color: var(--mc); opacity: 1; font-weight: 600; }

/* Smartphone : barre d'état, en-tête et barre de navigation de l'application mobile */
.vx-p-status { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; padding: 3px 10px 0; font-size: .5rem; font-weight: 700; color: #1f2937; }
.vx-p-status i { margin-left: 3px; }
.vx-pscreen { padding-bottom: 2.6rem; background: #f8fafc; }
.vx-p-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  padding: 4px 3px 7px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}
.vx-p-nav span { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 3px 4px; border-radius: 7px; font-size: .38rem; font-weight: 600; color: #6b7280; }
.vx-p-nav i { font-size: .72rem; }
.vx-p-nav span.is-on { color: var(--mc); background: color-mix(in srgb, var(--mc) 10%, #fff); }
.vx-p-nav span.is-center { color: #fff; background: var(--mc); margin-top: -12px; padding: 6px 8px; border-radius: 12px; box-shadow: 0 4px 10px color-mix(in srgb, var(--mc) 40%, transparent); }
.vx-p-field, .vx-p-card, .vx-p-photo, .vx-p-total, .vx-p-avail, .vx-p-steps li { border-radius: 7px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }

/* Smartphone : vraies captures de l'application mobile (tenant de démonstration) */
.vx-pscreen-img { padding: 12px 0 0; background: #fff; }
.vx-pscreen-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Bulle explicative à gauche du smartphone */
.vx-phone-notes { position: absolute; right: 142px; bottom: 70px; width: 230px; z-index: 2; pointer-events: none; }
.vx-phone-note {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: .6rem .75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  color: var(--vx-ink);
  font-size: .74rem;
  line-height: 1.4;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.vx-phone-note.is-on { opacity: 1; transform: none; }
.vx-phone-note::after { content: ""; position: absolute; right: -6px; bottom: 22px; width: 12px; height: 12px; background: inherit; transform: rotate(45deg); }
.vx-phone-note > i { color: var(--vx-green); margin-right: .35rem; }
.vx-phone-note-app { border: 2px solid #f59e0b; }
.vx-phone-note-app strong { display: block; font-size: .85rem; margin: .25rem 0 .15rem; color: #c2410c; }
.vx-note-tag { display: inline-flex; align-items: center; gap: .3rem; padding: .1rem .5rem; border-radius: 999px; background: #fef3c7; color: #b45309; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 640px) { .vx-phone-notes { display: none; } }

/* Moniteur : vraies captures de l'application (1120 × 700, même format que les écrans dessinés) */
.vx-screen-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* ── Modules connectés entre eux ─────────────────────────────────────────── */
.vx-net-section { padding-top: 0; }
.vx-net { position: relative; width: min(100%, 640px); aspect-ratio: 1; margin: 0 auto; }
.vx-net-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vx-net-lines line { stroke: #cfdcd4; stroke-width: .35; stroke-dasharray: 1.2 1.4; animation: vx-flow-net 2.4s linear infinite; transition: stroke .3s ease, stroke-width .3s ease, opacity .3s ease; }
.vx-net-lines line.is-core { stroke: #9fcfa3; stroke-width: .5; }
.vx-net-lines line.is-mesh { stroke: #e3ebe6; stroke-dasharray: .6 1.6; stroke-width: .25; }
.vx-net-lines line.is-near { stroke: var(--hot, #54a659); stroke-width: .4; opacity: .7; }
.vx-net-lines line.is-hot { stroke: var(--hot, #54a659); stroke-width: .7; }
.vx-net.is-focus .vx-net-lines line:not(.is-hot):not(.is-near) { opacity: .25; }
@keyframes vx-flow-net { to { stroke-dashoffset: -5.2; } }
.vx-net-core {
  position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; display: grid; place-items: center; background: #fff;
  box-shadow: 0 0 0 10px rgba(84, 166, 89, .1), 0 12px 40px rgba(84, 166, 89, .3);
  animation: vx-core 3s ease-in-out infinite;
}
.vx-net-core img { width: 62%; height: auto; }
.vx-net-node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 22%; min-width: 104px; padding: .6rem .7rem; border-radius: 14px;
  background: #fff; border: 1px solid #e3e8e5; box-shadow: 0 6px 18px rgba(16, 35, 26, .08);
  display: grid; place-items: center; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .25s ease;
}
.vx-net-node img { width: 100%; height: 26px; object-fit: contain; }
.vx-net-node span { font-weight: 700; color: var(--mc); font-size: .85rem; }
.vx-net-node:hover, .vx-net-node.is-on { transform: translate(-50%, -50%) scale(1.08); border-color: var(--mc); box-shadow: 0 10px 26px color-mix(in srgb, var(--mc) 30%, transparent); }
.vx-net.is-focus .vx-net-node:not(.is-on):not(.is-linked) { opacity: .45; }
.vx-net-caption { min-height: 3.2rem; max-width: 40rem; margin: 1.2rem auto 0; text-align: center; color: var(--vx-muted); font-size: .95rem; }
.vx-net-caption strong { color: var(--vx-ink); }
@media (max-width: 640px) {
  .vx-net-node { min-width: 74px; padding: .4rem; border-radius: 10px; }
  .vx-net-node img { height: 18px; }
}
@media (prefers-reduced-motion: reduce) { .vx-net-lines line { animation: none; } }
