/*
 * Neoo Desktop & Apps — « Reel » (refonte 2026-09-29), page générée par
 * scripts/generate-cloudbizz-go.mjs (FR racine, /en/, /nl-be/), détachée du miroir Neoo.
 *
 * Même technique que /ovastack.html et /cloudbizz-voice.html : fond encre, scènes
 * canvas/SVG, séquence épinglée, rail de chapitres avec timecode, bouton pause.
 * Objet signature : le PC Neoo (boîtier marine, liseré violet #7b61ff) d’où sortent le
 * bureau Windows (Neoo Desktop, #567eff) et l’application publiée (Neoo Apps, #42bbdf).
 * Typographie : tokens --cb-* de styles.css (Cerebri Sans Light 300 en display).
 * Mouvement : cloudbizz-go-motion.js. Sans JS ou en mouvement réduit, chaque scène reste
 * lisible dans son état final (fenêtres sorties, les deux modes visibles).
 */

/* ---------------------------------------------------------------------------
 * Tokens et base
 * ------------------------------------------------------------------------ */
html:has(body.cbg-page) { background: #030814; }

.cbg-page {
  --cbg-bg: #030814;
  --cbg-line: rgba(146, 176, 216, .14);
  --cbg-line-2: rgba(146, 176, 216, .26);
  --cbg-ink: var(--cb-display-ink-dark);
  --cbg-text: var(--cb-lead-ink-dark);
  --cbg-muted: #8c9bb8;
  --cbg-soft: #b6c3d8;
  --cbg-neoo: #7b61ff;
  --cbg-neoo-2: #a594ff;
  --cbg-desktop: #567eff;
  --cbg-app: #42bbdf;
  --cbg-ok: #67e0b9;
  --cbg-cta: #a5d8ff;
  --cbg-cta-ink: #03101d;
  --cbg-ease: cubic-bezier(.16, 1, .3, 1);
  --cbg-ease-io: cubic-bezier(.65, 0, .35, 1);
  --cbg-shell: min(calc(100% - 120px), 1360px);
  --cbg-topbar-h: 76px;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--cbg-text);
  background: var(--cbg-bg);
  font-family: var(--cb-display-font);
  color-scheme: dark;
}

.cbg-page *,
.cbg-page *::before,
.cbg-page *::after { box-sizing: border-box; }

.cbg-page a { color: inherit; }
.cbg-page img,
.cbg-page svg { display: block; }
.cbg-page button,
.cbg-page select { font: inherit; }

.cbg-page ::selection {
  background: rgba(123, 97, 255, .36);
  color: #fff;
}

.cbg-page .sr-only,
.cbg-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cbg-page :where(a, button, select, input, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cbg-cta);
  outline-offset: 3px;
  border-radius: 6px;
}

.cbg-skip {
  position: fixed;
  left: 18px;
  top: -64px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 10px;
  color: var(--cbg-cta-ink);
  background: var(--cbg-cta);
  font-weight: 700;
  text-decoration: none;
}

.cbg-skip:focus { top: 14px; }

.cbg-shell {
  width: var(--cbg-shell);
  margin-inline: auto;
}

.cbg-page main section[id] { scroll-margin-top: var(--cbg-topbar-h); }

/* ---------------------------------------------------------------------------
 * Header produit — posé sur le hero, opaque dès que la page défile
 * ------------------------------------------------------------------------ */
.cbg-topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  height: var(--cbg-topbar-h);
  margin-bottom: calc(-1 * var(--cbg-topbar-h));
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(3, 8, 20, .74) 0%, rgba(3, 8, 20, 0) 100%);
  transition: background-color .45s ease, border-color .45s ease, box-shadow .45s ease;
}

.cbg-topbar.is-scrolled {
  border-bottom-color: rgba(146, 176, 216, .08);
  background: rgba(3, 8, 20, .86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
}

.cbg-topbar__inner {
  width: min(calc(100% - 96px), 1588px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 3.8vw, 72px);
}

.cbg-brand { display: inline-flex; align-items: center; text-decoration: none; }

.cbg-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.6vw, 46px);
}

.cbg-nav a {
  position: relative;
  padding: 12px 0;
  color: rgba(239, 244, 255, .88);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}

.cbg-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--cb-accent-gradient);
  transition: right .35s var(--cbg-ease);
}

.cbg-nav a:hover,
.cbg-nav a[aria-current="location"] { color: #fff; }
.cbg-nav a:hover::after,
.cbg-nav a:focus-visible::after,
.cbg-nav a[aria-current="location"]::after { right: 0; }

.cbg-topbar__actions { display: flex; align-items: center; gap: 16px; }

/* Connexion : amélioré en menu par login-menu.js (panneau partagé du site). */
.cbg-login {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #dbe6f7;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.cbg-login:hover { color: #fff; }

.cbg-lang select {
  width: 70px;
  height: 44px;
  padding: 0 26px 0 14px;
  border: 1px solid rgba(146, 176, 216, .26);
  border-radius: 12px;
  color: #eef4ff;
  background: rgba(10, 18, 32, .42) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23b9c8e6' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center / 12px;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.cbg-lang select option { color: #eef4ff; background: #07101e; }

.cbg-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(146, 176, 216, .26);
  border-radius: 12px;
  color: #fff;
  background: rgba(10, 18, 32, .42);
  cursor: pointer;
}

.cbg-menu-toggle span {
  width: 18px;
  height: 1.5px;
  display: block;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

/* Fil d’Ariane produit (pastille partagée de styles.css), aligné sur la grille de la page. */
.cbg-page .cbg-main { --breadcrumb-top: calc(var(--cbg-topbar-h) + 12px); }
.cbg-page .cbg-breadcrumb {
  left: max(20px, calc((100% - var(--cbg-shell)) / 2));
  font-size: 13px;
}

/* ---------------------------------------------------------------------------
 * Typographie et composants partagés
 * ------------------------------------------------------------------------ */
.cbg-main {
  position: relative;
  overflow: clip;
  background: var(--cbg-bg);
}

.cbg-eyebrow {
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cb-eyebrow-ink-dark);
  font-family: var(--cb-display-font);
  font-size: var(--cb-eyebrow-size);
  font-weight: var(--cb-eyebrow-weight);
  letter-spacing: var(--cb-eyebrow-tracking);
  line-height: 1.3;
  text-transform: uppercase;
}

.cbg-eyebrow > i {
  width: 28px;
  height: 1px;
  flex: none;
  background: linear-gradient(90deg, var(--cbg-neoo), #42bbdf);
}

.cbg-title,
.cbg-hero__title,
.cbg-finale__statement,
.cbg-finale__card h2 {
  margin: 0;
  color: var(--cbg-ink);
  font-family: var(--cb-display-font);
  font-weight: var(--cb-display-weight);
  letter-spacing: var(--cb-display-tracking);
  line-height: var(--cb-display-leading);
  text-wrap: balance;
}

.cbg-title { font-size: var(--cb-title-section); }
.cbg-title--side { font-size: var(--cb-title-section-side); }
.cbg-finale__statement { font-size: var(--cb-title-section); }

.cbg-accent {
  font-style: normal;
  background: var(--cb-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.cbg-lead {
  margin: 26px 0 0;
  color: var(--cbg-text);
  font-family: var(--cb-display-font);
  font-size: var(--cb-lead-section);
  font-weight: var(--cb-lead-weight);
  letter-spacing: var(--cb-lead-tracking);
  line-height: 1.4;
  text-wrap: pretty;
}

.cbg-head { position: relative; z-index: 2; }
.cbg-head--center { max-width: 1180px; text-align: center; }
.cbg-head--center .cbg-lead { max-width: 920px; margin-inline: auto; }

.cbg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.cbg-btn {
  --mx: 0px;
  --my: 0px;
  position: relative;
  min-height: 54px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--cb-display-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  translate: var(--mx) var(--my);
  transition: translate .45s var(--cbg-ease), border-color .3s ease, background-color .3s ease, box-shadow .3s ease, color .3s ease;
  isolation: isolate;
}

.cbg-btn svg,
.cbg-link svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s var(--cbg-ease);
}

.cbg-btn:hover svg,
.cbg-btn:focus-visible svg,
.cbg-link:hover svg { transform: translateX(4px); }

.cbg-btn--primary {
  border-color: rgba(194, 233, 255, .7);
  color: var(--cbg-cta-ink);
  background: linear-gradient(110deg, #a7ddff 0%, #8dcef8 100%);
  box-shadow: 0 14px 40px rgba(78, 178, 243, .18);
}

.cbg-page .cbg-btn--primary { color: var(--cbg-cta-ink); }

.cbg-btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--cbg-ease);
}

.cbg-btn--primary:hover::before,
.cbg-btn--primary:focus-visible::before { transform: translateX(120%); }
.cbg-btn--primary:hover,
.cbg-btn--primary:focus-visible { box-shadow: 0 18px 48px rgba(78, 178, 243, .32); }

.cbg-btn--ghost {
  border-color: rgba(165, 216, 255, .3);
  color: #dbe8fb;
  background: rgba(8, 20, 44, .42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cbg-btn--ghost:hover,
.cbg-btn--ghost:focus-visible {
  border-color: rgba(165, 216, 255, .68);
  color: #fff;
  background: rgba(20, 40, 80, .55);
}

.cbg-topbar__cta {
  min-height: 46px;
  padding: 0 20px;
  font-size: 15px;
}

.cbg-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cfc6ff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.cbg-link:hover { color: #fff; }

.cbg-stage-tag {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  min-height: 26px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--cbg-line-2);
  border-radius: 999px;
  color: #c6d3e8;
  background: rgba(3, 8, 20, .72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Révélations : le contenu reste visible sans JavaScript. */
.cbg-js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 1s var(--cbg-ease), transform 1.2s var(--cbg-ease);
}

.cbg-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.cbg-motion [data-cbg-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 1s var(--cbg-ease), transform 1.3s var(--cbg-ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}

.cbg-motion [data-cbg-stagger].is-in > * {
  opacity: 1;
  transform: none;
}

.cbg-motion [data-cbg-stagger].is-in > [data-cbg-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: opacity 1s var(--cbg-ease), transform .5s var(--cbg-ease), border-color .3s ease;
  transition-delay: 0s;
}

.cbg-w { display: inline-block; white-space: nowrap; }
.cbg-w__i { display: inline-block; will-change: transform; }

.cbg-mask .cbg-w {
  overflow: clip;
  padding-bottom: .12em;
  margin-bottom: -.12em;
  vertical-align: top;
}

.cbg-motion .cbg-mask .cbg-w__i {
  transform: translate3d(0, 108%, 0);
  transition: transform 1.2s var(--cbg-ease);
  transition-delay: calc(var(--wi, 0) * 70ms);
}

.cbg-motion .cbg-mask.is-in .cbg-w__i { transform: none; }

/* ---------------------------------------------------------------------------
 * Rail de chapitres et pause des animations
 * ------------------------------------------------------------------------ */
.cbg-rail {
  position: fixed;
  top: 50%;
  right: 20px;
  z-index: 90;
  display: none;
  justify-items: end;
  gap: 16px;
  transform: translateY(-50%);
  transition: opacity .5s ease, visibility .5s;
}

.cbg-rail.is-hidden { opacity: 0; visibility: hidden; }

.cbg-rail ol {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
}

.cbg-rail a {
  position: relative;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: rgba(203, 215, 234, .46);
  font-family: var(--cb-display-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .3s ease;
}

.cbg-rail__label {
  position: absolute;
  top: 50%;
  right: calc(100% + 6px);
  margin-top: -11px;
  padding: 5px 9px;
  white-space: nowrap;
  border-radius: 999px;
  background: rgba(6, 16, 38, .86);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .3s ease, transform .4s var(--cbg-ease);
  pointer-events: none;
}

.cbg-rail__num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.cbg-rail__num::after {
  content: "";
  width: 12px;
  height: 1px;
  background: currentColor;
  transition: width .45s var(--cbg-ease), background-color .3s ease;
}

.cbg-rail a:hover,
.cbg-rail a:focus-visible,
.cbg-rail a[aria-current="true"] { color: #eef6ff; }

.cbg-rail a:hover .cbg-rail__label,
.cbg-rail a:focus-visible .cbg-rail__label { opacity: 1; transform: none; }

.cbg-rail a[aria-current="true"] .cbg-rail__num::after {
  width: 26px;
  background: var(--cbg-neoo-2);
}

.cbg-rail__progress {
  width: 1px;
  height: 64px;
  margin-right: 5px;
  overflow: hidden;
  background: rgba(146, 176, 216, .2);
}

.cbg-rail__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--cbg-neoo), #42bbdf, #67e0b9);
  transform: scaleY(var(--cbg-page-p, 0));
  transform-origin: top;
}

.cbg-rail__tc {
  color: rgba(203, 215, 234, .44);
  font-family: var(--cb-display-font);
  font-size: 10px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@media (min-width: 1280px) and (min-height: 700px) {
  .cbg-rail { display: grid; }
  .cbg-page { --cbg-shell: min(calc(100% - 170px), 1360px); }
}

.cbg-pause {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  min-width: 44px;
  height: 44px;
  padding: 0 13px;
  display: none;
  align-items: center;
  gap: 0;
  border: 1px solid var(--cbg-line-2);
  border-radius: 999px;
  color: #dfe8f7;
  background: rgba(6, 16, 38, .82);
  font: 600 13px/1 var(--cb-display-font);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: gap .4s var(--cbg-ease), border-color .3s ease, opacity .5s ease, visibility .5s;
}

.cbg-cinema .cbg-pause,
.cbg-paused .cbg-pause { display: inline-flex; }
.cbg-pause.is-hidden { opacity: 0; visibility: hidden; }

.cbg-pause svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cbg-pause__play { display: none; }
.cbg-pause[aria-pressed="true"] .cbg-pause__bars { display: none; }
.cbg-pause[aria-pressed="true"] .cbg-pause__play { display: inline; fill: currentColor; }

.cbg-pause__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .45s var(--cbg-ease);
}

.cbg-pause:hover,
.cbg-pause:focus-visible,
.cbg-pause[aria-pressed="true"] {
  gap: 9px;
  border-color: rgba(165, 216, 255, .6);
}

.cbg-pause:hover .cbg-pause__label,
.cbg-pause:focus-visible .cbg-pause__label,
.cbg-pause[aria-pressed="true"] .cbg-pause__label { max-width: 240px; }

.cbg-paused .cbg-page *,
.cbg-paused .cbg-page *::before,
.cbg-paused .cbg-page *::after { animation-play-state: paused !important; }

/* ---------------------------------------------------------------------------
 * Le PC Neoo (SVG isométrique)
 * ------------------------------------------------------------------------ */
.cbg-pc {
  width: 100%;
  height: auto;
  overflow: visible;
}

.cbg-pc__port > rect:first-child {
  fill: #050a1c;
  stroke: rgba(146, 176, 216, .38);
  stroke-width: 1;
}

.cbg-pc__port-core { fill: #1f2d60; }

.cbg-pc__led {
  fill: var(--cbg-ok);
  filter: drop-shadow(0 0 4px var(--cbg-ok));
  animation: cbg-blink 2.6s ease-in-out infinite;
}

.cbg-pc__halo { opacity: .9; animation: cbg-halo 3.2s ease-in-out infinite; }

.cbg-pc__edge rect {
  fill: none;
  stroke: rgba(200, 190, 255, .55);
  stroke-width: 1.2;
}

.cbg-pc__logo {
  fill: #f4f2ff;
  font-family: var(--cb-display-font);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.02em;
}

/* ---------------------------------------------------------------------------
 * Fenêtres illustratives (bureau Windows, application publiée)
 * ------------------------------------------------------------------------ */
.cbg-win {
  --wc: var(--cbg-desktop);
  position: absolute;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--wc) 50%, rgba(255, 255, 255, .2));
  border-radius: 14px;
  background: #0b1430;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 60px color-mix(in srgb, var(--wc) 22%, transparent);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.cbg-win--app { --wc: var(--cbg-app); }

.cbg-win__bar {
  height: 26px;
  margin: 0;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(7, 14, 34, .96);
}

.cbg-win__bar > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(146, 176, 216, .35);
}

.cbg-win__bar > i:nth-child(1) { background: #ff6b7d; }
.cbg-win__bar > i:nth-child(2) { background: #ffb547; }
.cbg-win__bar > i:nth-child(3) { background: #67e0b9; }

.cbg-win__bar b {
  margin-left: 8px;
  color: #e9eefb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.cbg-win__screen {
  position: relative;
  aspect-ratio: 16 / 9.6;
  overflow: hidden;
}

/* Bureau Windows */
.cbg-desk {
  background:
    radial-gradient(ellipse 46% 60% at 58% 78%, rgba(86, 126, 255, .75), transparent 62%),
    radial-gradient(ellipse 30% 44% at 38% 88%, rgba(66, 187, 223, .55), transparent 70%),
    radial-gradient(ellipse 60% 40% at 70% 20%, rgba(123, 97, 255, .35), transparent 70%),
    linear-gradient(180deg, #1a2d6c 0%, #0d1a44 70%, #0a1436 100%);
}

.cbg-desk__icons {
  position: absolute;
  top: 7%;
  left: 3%;
  display: grid;
  gap: 6%;
  width: 6%;
  height: 70%;
}

.cbg-desk__icons i {
  aspect-ratio: 1;
  border-radius: 22%;
  background: linear-gradient(145deg, rgba(255, 255, 255, .85), rgba(165, 216, 255, .55));
  opacity: .82;
}

.cbg-desk__icons i:nth-child(2) { background: linear-gradient(145deg, #ffcf5a, #f0a24b); }
.cbg-desk__icons i:nth-child(3) { background: linear-gradient(145deg, #7fd4ff, #4f86ff); }
.cbg-desk__icons i:nth-child(4) { background: linear-gradient(145deg, #7ef0c4, #3fbf86); }

.cbg-desk__app {
  position: absolute;
  padding: 3.2% 3% 2.4%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 7px;
  background: rgba(244, 247, 255, .94);
  box-shadow: 0 10px 24px rgba(3, 8, 30, .38);
}

.cbg-desk__app > em {
  display: block;
  height: 7%;
  min-height: 5px;
  width: 42%;
  border-radius: 3px;
  background: rgba(40, 60, 120, .38);
}

.cbg-desk__app--table { left: 14%; top: 9%; width: 44%; height: 52%; }
.cbg-desk__app--table > i {
  display: block;
  height: 7%;
  min-height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(86, 126, 255, .45) 0 18%, rgba(40, 60, 120, .16) 18% 100%);
}

.cbg-desk__app--table > i:nth-of-type(3) { background: linear-gradient(90deg, rgba(123, 97, 255, .75) 0 18%, rgba(123, 97, 255, .28) 18% 100%); }

.cbg-desk__app--chart { left: 62%; top: 12%; width: 32%; height: 40%; }

.cbg-bars {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  gap: 8%;
}

.cbg-bars i {
  flex: 1;
  height: 100%;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #4f86ff, #7fb0ff);
  transform: scaleY(var(--h, .5));
  transform-origin: bottom;
}

.cbg-bars i:nth-child(1) { --h: .42; }
.cbg-bars i:nth-child(2) { --h: .7; }
.cbg-bars i:nth-child(3) { --h: .55; }
.cbg-bars i:nth-child(4) { --h: .88; }
.cbg-bars i:nth-child(5) { --h: .62; }
.cbg-bars i:nth-child(6) { --h: .76; }
.cbg-bars i:nth-child(7) { --h: .96; }

.cbg-desk__app--line { left: 40%; top: 56%; width: 38%; height: 30%; }

.cbg-desk__app--line svg {
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: visible;
}

.cbg-desk__app--line path {
  fill: none;
  stroke: #4f86ff;
  stroke-width: 2.4;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 160;
  animation: cbg-draw 5s var(--cbg-ease-io) infinite;
}

.cbg-desk__taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6%;
  background: rgba(10, 20, 50, .72);
  backdrop-filter: blur(6px);
}

.cbg-desk__taskbar i {
  width: 3%;
  aspect-ratio: 1;
  border-radius: 22%;
  background: rgba(220, 230, 250, .7);
}

.cbg-desk__taskbar .is-start { background: linear-gradient(145deg, #7fb0ff, #4f86ff); }
.cbg-desk__taskbar .is-clock { position: absolute; right: 2%; width: 7%; aspect-ratio: 4; border-radius: 3px; opacity: .5; }

.cbg-desk__cursor {
  position: absolute;
  left: 30%;
  top: 40%;
  width: 3.4%;
  aspect-ratio: .72;
  background: #fff;
  clip-path: polygon(0 0, 100% 62%, 58% 66%, 76% 100%, 60% 100%, 42% 70%, 0 92%);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5));
  animation: cbg-cursor 7s var(--cbg-ease-io) infinite;
}

/* Application publiée */
.cbg-appui {
  display: grid;
  grid-template-columns: 24% 1fr;
  background: #f4f7ff;
}

.cbg-appui__side {
  padding: 8% 10%;
  display: grid;
  align-content: start;
  gap: 9%;
  background: #e6ecfa;
  border-right: 1px solid rgba(40, 60, 120, .12);
}

.cbg-appui__side i {
  height: 5px;
  border-radius: 3px;
  background: rgba(40, 60, 120, .26);
}

.cbg-appui__side i:nth-child(1) { width: 70%; background: rgba(66, 187, 223, .8); }
.cbg-appui__side i:nth-child(3) { width: 82%; }
.cbg-appui__side i:nth-child(5) { width: 60%; }

.cbg-appui__main {
  padding: 5% 5% 0;
  display: grid;
  align-content: start;
  gap: 6%;
}

.cbg-appui__tools {
  display: flex;
  gap: 3%;
}

.cbg-appui__tools i {
  width: 16%;
  height: 12px;
  border-radius: 4px;
  background: rgba(40, 60, 120, .14);
}

.cbg-appui__tools .is-primary { margin-left: auto; background: linear-gradient(90deg, #42bbdf, #567eff); }

.cbg-appui__table {
  display: grid;
  gap: 5px;
}

.cbg-appui__table > span {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr .8fr;
  gap: 6%;
  padding: 4px 6px;
  border-radius: 4px;
}

.cbg-appui__table > span:first-child { background: rgba(40, 60, 120, .08); }

.cbg-appui__table i {
  height: 5px;
  border-radius: 3px;
  background: rgba(40, 60, 120, .22);
}

.cbg-appui__table i:last-child { background: rgba(63, 191, 134, .55); }

.cbg-appui__table .is-active {
  background: rgba(123, 97, 255, .14);
  box-shadow: inset 2px 0 0 var(--cbg-neoo);
  animation: cbg-row 4.2s steps(1, end) infinite;
}

/* ---------------------------------------------------------------------------
 * 01 · Hero
 * ------------------------------------------------------------------------ */
.cbg-hero {
  position: relative;
  min-height: max(760px, 100svh);
  display: grid;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 45% 55% at 74% 60%, rgba(123, 97, 255, .2), transparent 70%),
    radial-gradient(ellipse 60% 50% at 70% 100%, rgba(86, 126, 255, .12), transparent 70%),
    linear-gradient(180deg, #02060f 0%, #030a1a 55%, var(--cbg-bg) 100%);
}

.cbg-hero__field,
.cbg-finale__field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.cbg-hero__field { z-index: -2; }

.cbg-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 64% at 18% 48%, rgba(3, 8, 20, .86) 0%, rgba(3, 8, 20, .45) 55%, rgba(3, 8, 20, 0) 80%),
    linear-gradient(180deg, rgba(3, 8, 20, .45) 0%, rgba(3, 8, 20, 0) 22%, rgba(3, 8, 20, 0) 82%, var(--cbg-bg) 100%);
}

.cbg-hero__inner {
  position: relative;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(24px, 3vw, 56px);
  padding-top: calc(var(--cbg-topbar-h) + 88px);
  padding-bottom: 34px;
}

.cbg-hero__copy {
  align-self: center;
  max-width: 640px;
  z-index: 2;
}

.cbg-hero__title { font-size: var(--cb-title-hero); }

.cbg-line {
  display: block;
  overflow: clip;
  padding-bottom: .1em;
  margin-bottom: -.1em;
}

.cbg-line__in { display: block; }

.cbg-hero__lead {
  max-width: 600px;
  margin-top: 28px;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.5;
}

.cbg-hero__actions { margin-top: 36px; }

.cbg-hero__note {
  max-width: 560px;
  margin: 22px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--cbg-muted);
  font-size: 14px;
  line-height: 1.5;
}

.cbg-hero__note svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  fill: none;
  stroke: var(--cbg-ok);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cbg-hero__stage {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 1 / .86;
  margin: 0 0 0 auto;
}

.cbg-hero__windows {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  perspective-origin: 50% 70%;
}

.cbg-hero__win.cbg-win--desktop { left: 0; top: 4%; width: 56%; transform: rotateY(14deg) rotateX(3deg); }
.cbg-hero__win.cbg-win--app { right: 0; top: 17%; width: 47%; transform: rotateY(-14deg) rotateX(3deg); }

.cbg-tag {
  position: absolute;
  z-index: 3;
  min-height: 30px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(165, 148, 255, .55);
  border-radius: 999px;
  color: #fff;
  background: rgba(40, 26, 110, .82);
  box-shadow: 0 0 22px rgba(123, 97, 255, .35);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.cbg-tag--desktop { left: 17%; top: 43%; }
.cbg-tag--app { right: 14%; top: 53%; }

/* Centré sans transform : l’animation de repli cbg-rise se termine sur transform: none. */
.cbg-hero__device {
  position: absolute;
  inset: auto 0 0;
  width: min(64%, 420px);
  margin-inline: auto;
}

.cbg-hero__stage .cbg-stage-tag { top: auto; bottom: 2%; right: 0; }

.cbg-hero__foot {
  grid-column: 1 / -1;
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 24px;
}

.cbg-modes {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.cbg-mode {
  --mc: var(--cbg-desktop);
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--cbg-line-2);
  border-radius: 999px;
  color: #dfe8f7;
  background: rgba(6, 16, 38, .5);
  font-size: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cbg-mode--app { --mc: var(--cbg-app); }

.cbg-mode i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--mc);
  box-shadow: 0 0 12px var(--mc);
  transform: rotate(45deg);
}

.cbg-mode b { font-weight: 700; }
.cbg-mode span { color: var(--cbg-muted); }

.cbg-cue {
  min-height: 44px;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--cbg-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-decoration: none;
  text-transform: uppercase;
}

.cbg-cue i {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(146, 176, 216, .22);
}

.cbg-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--cbg-neoo-2));
  animation: cbg-cue 2.2s var(--cbg-ease-io) infinite;
}

.cbg-hud {
  justify-self: end;
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--cbg-line-2);
  border-radius: 999px;
  color: #dfe8f7;
  background: rgba(6, 16, 38, .55);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cbg-hud__led {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffb547;
  box-shadow: 0 0 10px #ffb547;
  transition: background-color .6s ease, box-shadow .6s ease;
}

.cbg-hud.is-one .cbg-hud__led { background: var(--cbg-ok); box-shadow: 0 0 12px var(--cbg-ok); animation: cbg-pulse 2.4s ease-out infinite; }
.cbg-hud__label { color: var(--cbg-muted); }
.cbg-hud__state { position: relative; display: inline-block; }
.cbg-hud__state > span { display: inline-block; transition: opacity .6s ease, transform .6s var(--cbg-ease); }

.cbg-hud__after,
.cbg-hud.is-one .cbg-hud__before {
  position: absolute;
  top: 0;
  left: 0;
}

.cbg-hud.is-one .cbg-hud__after { position: static; }
.cbg-hud__before { color: #ffd38a; }
.cbg-hud__after { color: var(--cbg-ok); opacity: 0; transform: translateY(8px); }
.cbg-hud.is-one .cbg-hud__before { opacity: 0; transform: translateY(-8px); }
.cbg-hud.is-one .cbg-hud__after { opacity: 1; transform: none; }

/* Sans module de mouvement, la scène reste sur son état final. */
:root:not(.cbg-motion) .cbg-hud__led { background: var(--cbg-ok); box-shadow: 0 0 12px var(--cbg-ok); }
:root:not(.cbg-motion) .cbg-hud__before { position: absolute; opacity: 0; }
:root:not(.cbg-motion) .cbg-hud__after { position: static; opacity: 1; transform: none; }

/* Intro du hero en CSS pur : fonctionne même si le JS échoue. */
@media (prefers-reduced-motion: no-preference) {
  .cbg-hero__eyebrow { animation: cbg-rise 1s var(--cbg-ease) .15s both; }
  .cbg-line__in { animation: cbg-line-in 1.3s var(--cbg-ease) both; }
  .cbg-line:nth-child(1) .cbg-line__in { animation-delay: .28s; }
  .cbg-line:nth-child(2) .cbg-line__in { animation-delay: .42s; }
  .cbg-hero__lead { animation: cbg-rise 1.1s var(--cbg-ease) .85s both; }
  .cbg-hero__actions { animation: cbg-rise 1.1s var(--cbg-ease) 1s both; }
  .cbg-hero__note { animation: cbg-rise 1.1s var(--cbg-ease) 1.15s both; }
  .cbg-hero__foot { animation: cbg-fade 1.4s ease 1.4s both; }
  .cbg-breadcrumb { animation: cbg-fade 1s ease .2s both; }
  :root:not(.cbg-motion) .cbg-hero__device { animation: cbg-rise 1.2s var(--cbg-ease) .3s both; }
}

/* Bandeau de conditions */
.cbg-trust {
  position: relative;
  z-index: 2;
  border-block: 1px solid var(--cbg-line);
  background: linear-gradient(180deg, rgba(10, 16, 44, .72), rgba(4, 10, 26, .72));
}

.cbg-trust__list {
  margin-block: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.cbg-trust__list li {
  min-height: 92px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-right: 1px solid var(--cbg-line);
  color: #e6eefb;
  font-size: 16px;
  letter-spacing: -.01em;
}

.cbg-trust__list li:last-child { border-right: 0; }
.cbg-trust__list b { font-weight: 600; }

.cbg-trust__list svg {
  width: 28px;
  height: 28px;
  flex: none;
  fill: none;
  stroke: var(--cbg-neoo-2);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cbg-trust__list li:nth-child(2) svg { stroke: var(--cbg-desktop); }
.cbg-trust__list li:nth-child(3) svg { stroke: var(--cbg-ok); }
.cbg-trust__list li:nth-child(4) svg { stroke: var(--cbg-app); }

.cbg-motion .cbg-trust__list svg * {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  transition: stroke-dashoffset 1.6s var(--cbg-ease) .25s;
}

.cbg-motion .cbg-trust__list.is-in svg * { stroke-dashoffset: 0; }

/* ---------------------------------------------------------------------------
 * 02 · Desktop ou Apps — séquence épinglée
 * ------------------------------------------------------------------------ */
.cbg-compare {
  position: relative;
  padding-block: clamp(90px, 12vh, 140px);
  background:
    radial-gradient(ellipse 48% 34% at 72% 50%, rgba(123, 97, 255, .12), transparent 70%),
    var(--cbg-bg);
}

.cbg-compare__grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(40px, 5vw, 90px);
}

.cbg-compare__copy { max-width: 600px; }

.cbg-choices {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.cbg-choice {
  --cc: var(--cbg-desktop);
  padding: 16px 20px;
  border: 1px solid var(--cbg-line);
  border-radius: 18px;
  background: rgba(8, 18, 40, .5);
  transition: border-color .6s ease, background-color .6s ease, box-shadow .6s ease;
}

.cbg-choice--apps { --cc: var(--cbg-app); }
.cbg-choice--both { --cc: var(--cbg-neoo-2); }

.cbg-choice__kicker {
  margin: 0;
  color: color-mix(in srgb, var(--cc) 70%, #fff);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cbg-choice h3 { margin: 4px 0 0; color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.cbg-choice__subtitle { margin: 6px 0 0; color: #dbe4f4; font-size: 16px; line-height: 1.45; }
.cbg-choice__more > p { margin: 10px 0 0; color: var(--cbg-soft); font-size: 15px; line-height: 1.55; }

.cbg-choice ul {
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
}

.cbg-choice li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d8e2f2;
  font-size: 14px;
}

.cbg-choice li svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: var(--cc);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cbg-choice .cbg-link { margin-top: 4px; font-size: 15px; }

.cbg-choice.is-on {
  border-color: color-mix(in srgb, var(--cc) 55%, transparent);
  background: color-mix(in srgb, var(--cc) 9%, rgba(8, 18, 40, .62));
  box-shadow: 0 0 34px color-mix(in srgb, var(--cc) 14%, transparent);
}

/* Scène : les fenêtres gardent leur boîte « les deux » ; les modes jouent sur transform. */
.cbg-duo {
  position: relative;
  width: min(100%, 680px);
  aspect-ratio: 1 / .92;
  margin: 0 auto;
  perspective: 1500px;
  perspective-origin: 50% 80%;
}

.cbg-duo__fx {
  position: absolute;
  inset: -14% -10% -18%;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cbg-duo__win {
  z-index: 2;
  transform-origin: 50% 50%;
  transition: transform 1.1s var(--cbg-ease), opacity .7s ease, box-shadow .6s ease;
}

.cbg-duo__win.cbg-win--desktop { left: 0; top: 4%; width: 55%; transform: rotateY(12deg); }
.cbg-duo__win.cbg-win--app { right: 0; top: 13%; width: 48%; transform: rotateY(-12deg); }

.cbg-duo__device {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 0;
  width: 56%;
  transform: translateX(-50%);
}

.cbg-duo__user {
  position: absolute;
  z-index: 3;
  min-height: 32px;
  padding: 0 12px 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--cbg-line-2);
  border-radius: 999px;
  color: #e6eefb;
  background: rgba(6, 16, 38, .88);
  font-size: 12px;
  font-weight: 700;
  transition: opacity .6s ease .3s, transform .8s var(--cbg-ease) .3s;
}

.cbg-duo__user svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.cbg-duo__user--desktop { left: 6%; top: 44%; color: #cddcff; border-color: rgba(86, 126, 255, .5); }
.cbg-duo__user--app { right: 4%; top: 49%; color: #c6f0ff; border-color: rgba(66, 187, 223, .5); }

.cbg-duo .cbg-stage-tag { top: 0; right: 0; }

/* Mode 0 : le bureau complet occupe la scène, l’application reste dans le PC. */
.cbg-duo[data-mode="0"] .cbg-duo__win.cbg-win--desktop { transform: translate(41%, 22%) scale(1.45); box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 90px rgba(86, 126, 255, .3); }
.cbg-duo[data-mode="0"] .cbg-duo__win.cbg-win--app { transform: translate(-54%, 80%) scale(.06) rotateX(70deg); opacity: 0; }
/* Mode 1 : seule l’application publiée sort du PC. */
.cbg-duo[data-mode="1"] .cbg-duo__win.cbg-win--desktop { transform: translate(41%, 90%) scale(.06) rotateX(70deg); opacity: 0; }
.cbg-duo[data-mode="1"] .cbg-duo__win.cbg-win--app { transform: translate(-54%, 10%) scale(1.5); box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 90px rgba(66, 187, 223, .3); }
.cbg-duo:is([data-mode="0"], [data-mode="1"]) .cbg-duo__user { opacity: 0; transform: translateY(10px); transition-delay: 0s; }

/* Épinglage (desktop large) */
.cbg-cinema .cbg-compare.cbg-pin .cbg-compare__track { height: 300vh; }

.cbg-cinema .cbg-compare.cbg-pin .cbg-compare__sticky {
  position: sticky;
  top: var(--cbg-topbar-h);
  min-height: calc(100svh - var(--cbg-topbar-h));
  display: grid;
  align-items: center;
}

.cbg-cinema .cbg-compare.cbg-pin { padding-block: 0; }
.cbg-cinema .cbg-compare.cbg-pin .cbg-compare__grid { padding-block: 24px; }
.cbg-cinema .cbg-compare.cbg-pin .cbg-choice:not(.is-on) :where(.cbg-choice__more, .cbg-choice__subtitle) { display: none; }
.cbg-cinema .cbg-compare.cbg-pin .cbg-choices { margin-top: 22px; gap: 8px; }
.cbg-cinema .cbg-compare.cbg-pin .cbg-choice { padding: 13px 18px; }
.cbg-cinema .cbg-compare.cbg-pin .cbg-duo { width: min(100%, 680px, calc((100svh - var(--cbg-topbar-h) - 60px) / .92)); }

/* ---------------------------------------------------------------------------
 * 03 · Continuité — pipeline
 * ------------------------------------------------------------------------ */
.cbg-continuity {
  position: relative;
  padding: clamp(110px, 14vh, 170px) 0 clamp(90px, 12vh, 140px);
  background:
    radial-gradient(ellipse 60% 34% at 50% 0%, rgba(86, 126, 255, .09), transparent 70%),
    var(--cbg-bg);
}

.cbg-pipeline {
  position: relative;
  margin-top: 64px;
}

.cbg-pipeline__fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cbg-pipeline__list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.cbg-station {
  --sc: var(--cbg-muted);
  padding: 0 4px;
}

.cbg-station--2 { --sc: var(--cbg-desktop); }
.cbg-station--3 { --sc: var(--cbg-neoo-2); }
.cbg-station--4 { --sc: var(--cbg-ok); }

.cbg-station__node {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--sc) 55%, transparent);
  border-radius: 24px;
  color: var(--sc);
  background: #070f28;
  box-shadow: 0 0 32px color-mix(in srgb, var(--sc) 22%, transparent);
}

.cbg-station__node > svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cbg-station--3 .cbg-station__node { background: radial-gradient(circle at 50% 60%, rgba(123, 97, 255, .3), #070f28 70%); }
.cbg-station__node .cbg-pc--mini { width: 150%; margin-top: 16%; }

.cbg-station__num {
  display: block;
  margin-top: 22px;
  color: var(--cbg-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.cbg-station h3 { margin: 6px 0 0; color: #fff; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }

.cbg-station ul {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.cbg-station li {
  padding-left: 16px;
  position: relative;
  color: var(--cbg-soft);
  font-size: 15px;
  line-height: 1.45;
}

.cbg-station li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--sc);
  transform: rotate(45deg);
}

.cbg-station li a { color: #dcd5ff; text-underline-offset: 3px; }
.cbg-station li a:hover { color: #fff; }

.cbg-station__hub {
  margin: 18px 0 0;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  border: 1px dashed rgba(165, 148, 255, .45);
  border-radius: 14px;
  background: rgba(123, 97, 255, .08);
  font-size: 14px;
  line-height: 1.45;
}

.cbg-station__hub b { color: #e3ddff; font-weight: 700; }
.cbg-station__hub span { color: var(--cbg-soft); }

.cbg-continuity__note {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--cbg-line);
  color: var(--cbg-soft);
  font-size: 16px;
  line-height: 1.55;
}

.cbg-unify {
  margin-top: 30px;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid var(--cbg-line-2);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(14, 22, 58, .72), rgba(5, 12, 30, .9));
}

.cbg-unify h3 { margin: 0; color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }

.cbg-unify dl {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cbg-unify dl > div {
  padding: 16px;
  border: 1px solid var(--cbg-line);
  border-radius: 16px;
  background: rgba(8, 18, 40, .5);
}

.cbg-unify dt { color: #e3ddff; font-size: 16px; font-weight: 700; }
.cbg-unify dd { margin: 6px 0 0; color: var(--cbg-soft); font-size: 14px; line-height: 1.5; }
.cbg-unify .cbg-link { margin-top: 12px; }

/* ---------------------------------------------------------------------------
 * 04 · Catalogue — les applications sortent du PC
 * ------------------------------------------------------------------------ */
.cbg-catalog {
  position: relative;
  padding: clamp(110px, 14vh, 170px) 0;
  background:
    radial-gradient(ellipse 44% 30% at 50% 22%, rgba(123, 97, 255, .14), transparent 70%),
    var(--cbg-bg);
}

.cbg-launch {
  position: relative;
  margin-top: 36px;
  display: grid;
  justify-items: center;
}

.cbg-launch__pad { width: 190px; }
.cbg-launch__tag { top: 0; right: 0; }
.cbg-launch__pad.is-launch .cbg-pc__halo { animation: cbg-launch 1.6s ease-out 3; }

/* Les cartes attendent le lancement depuis le PC (uniquement avec le module de mouvement). */
.cbg-motion .cbg-catalog__groups.is-armed .cbg-app { opacity: 0; }

.cbg-catalog__groups {
  margin-top: 26px;
  display: grid;
  gap: 34px;
}

.cbg-group h3 {
  margin: 0 0 14px;
  color: var(--cbg-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cbg-apps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  list-style: none;
}

.cbg-app {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  padding: 16px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 8px 14px;
  border: 1px solid var(--cbg-line-2);
  border-radius: 18px;
  background:
    radial-gradient(circle at var(--mx, 0%) var(--my, 0%), color-mix(in srgb, var(--ac) 14%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(12, 22, 52, .78), rgba(5, 12, 30, .92));
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--cbg-ease), border-color .3s ease;
}

.cbg-app:hover { border-color: color-mix(in srgb, var(--ac) 60%, transparent); }

.cbg-app__mono {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--ac), color-mix(in srgb, var(--ac) 45%, #0b1430));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--ac) 30%, transparent), inset 0 1px 0 rgba(255, 255, 255, .3);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.cbg-app__copy { min-width: 0; display: grid; gap: 4px; }
.cbg-app__copy b { color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.cbg-app__copy span { color: var(--cbg-soft); font-size: 14px; line-height: 1.45; }

.cbg-app__badge {
  grid-column: 2;
  justify-self: start;
  min-height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #cfe9ff;
  background: rgba(66, 187, 223, .12);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.cbg-app__badge--request { color: #ffe0b0; background: rgba(255, 181, 71, .12); }
.cbg-app__badge--sql { color: #e1dbff; background: rgba(123, 97, 255, .16); }

.cbg-specific {
  padding: clamp(22px, 2.6vw, 30px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(165, 148, 255, .35);
  border-radius: 26px;
  background: radial-gradient(circle at 0% 50%, rgba(123, 97, 255, .18), transparent 50%), rgba(6, 12, 34, .8);
}

.cbg-specific__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--cbg-neoo), #4f3fd1);
  box-shadow: 0 0 30px rgba(123, 97, 255, .4);
}

.cbg-specific__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.cbg-specific h3 { margin: 0; color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.cbg-specific p { margin: 6px 0 0; color: var(--cbg-soft); font-size: 15px; line-height: 1.55; }

/* ---------------------------------------------------------------------------
 * 05 · Expérience — le portable
 * ------------------------------------------------------------------------ */
.cbg-experience {
  position: relative;
  padding: clamp(110px, 14vh, 170px) 0;
  background:
    radial-gradient(ellipse 50% 50% at 30% 50%, rgba(86, 126, 255, .1), transparent 70%),
    var(--cbg-bg);
}

.cbg-experience__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(40px, 5vw, 90px);
}

.cbg-laptop {
  position: relative;
  width: min(100%, 700px);
  margin: 0 auto;
  padding-bottom: 46px;
}

.cbg-laptop__lid {
  padding: 2.2%;
  border: 1px solid rgba(165, 190, 255, .28);
  border-radius: 20px 20px 8px 8px;
  background: linear-gradient(180deg, #1a2342, #0b1128);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 0 80px rgba(86, 126, 255, .12);
}

.cbg-laptop__screen {
  position: relative;
  aspect-ratio: 16 / 10.4;
  overflow: hidden;
  border-radius: 10px;
  background: #060b1c;
}

.cbg-laptop__view {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(.97);
  transition: opacity .7s ease, transform 1s var(--cbg-ease);
}

.cbg-laptop[data-view="0"] [data-view-index="0"],
.cbg-laptop[data-view="1"] [data-view-index="1"] { opacity: 1; transform: none; }

.cbg-laptop__win {
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cbg-laptop__win .cbg-win__screen { aspect-ratio: auto; height: calc(100% - 26px); }
.cbg-laptop__win.cbg-win--app .cbg-appui { padding-inline: 0; }

.cbg-laptop__base {
  position: relative;
  width: 112%;
  height: 16px;
  margin-left: -6%;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, #2a3560, #111a3a);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

.cbg-laptop__base i {
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 6px;
  border-radius: 0 0 8px 8px;
  background: #0b1128;
  transform: translateX(-50%);
}

.cbg-laptop__caption {
  position: absolute;
  left: 50%;
  bottom: 0;
  min-height: 30px;
  transform: translateX(-50%);
}

.cbg-laptop__caption span {
  position: absolute;
  left: 50%;
  top: 0;
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--cbg-line-2);
  border-radius: 999px;
  color: #dfe8f7;
  background: rgba(6, 16, 38, .88);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: opacity .6s ease;
}

.cbg-laptop[data-view="0"] [data-caption="1"],
.cbg-laptop[data-view="1"] [data-caption="0"] { opacity: 0; }

.cbg-experience__copy { max-width: 600px; }

.cbg-points {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.cbg-points > li {
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--cbg-line);
  border-radius: 16px;
  background: rgba(8, 18, 40, .5);
}

.cbg-points__num { color: var(--cbg-neoo-2); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.cbg-points h3 { margin: 0; color: #fff; font-size: 17px; font-weight: 700; }
.cbg-points p { margin: 4px 0 0; color: var(--cbg-soft); font-size: 15px; line-height: 1.5; }

.cbg-tags {
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.cbg-tags li {
  min-height: 32px;
  padding: 0 12px 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--cbg-line-2);
  border-radius: 999px;
  color: #dfe8f7;
  background: rgba(6, 16, 38, .5);
  font-size: 13px;
  font-weight: 600;
}

.cbg-tags svg,
.cbg-steps__notes svg,
.cbg-plan li svg,
.cbg-finale__text li svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: var(--cbg-ok);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------------------------------------------------------------------
 * 06 · Transition — tracé au défilement
 * ------------------------------------------------------------------------ */
.cbg-process {
  position: relative;
  padding: clamp(110px, 14vh, 170px) 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 60%, rgba(103, 224, 185, .06), transparent 70%),
    var(--cbg-bg);
}

.cbg-steps {
  --p: 1;
  position: relative;
  margin-top: 64px;
}

.cbg-steps__line {
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
}

.cbg-steps__line i,
.cbg-steps__line b {
  position: absolute;
  inset: 0;
  border-radius: 2px;
}

.cbg-steps__line i { background: rgba(146, 176, 216, .18); }

.cbg-steps__line b {
  background: linear-gradient(90deg, var(--cbg-neoo), #42bbdf, #67e0b9);
  box-shadow: 0 0 16px rgba(123, 97, 255, .5);
  transform: scaleX(var(--p));
  transform-origin: left;
}

.cbg-steps__list {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
}

.cbg-step {
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.cbg-step__node {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cbg-line-2);
  border-radius: 50%;
  color: var(--cbg-muted);
  background: #06112a;
  transition: border-color .6s ease, color .6s ease, box-shadow .6s ease;
}

.cbg-step__node svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cbg-step.is-on .cbg-step__node,
:root:not(.cbg-motion) .cbg-step__node {
  border-color: rgba(165, 148, 255, .7);
  color: var(--cbg-neoo-2);
  box-shadow: 0 0 0 8px rgba(123, 97, 255, .1), 0 0 36px rgba(123, 97, 255, .35);
}

.cbg-step__num { margin-top: 22px; color: var(--cbg-muted); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.cbg-step h3 { margin: 8px 0 0; color: #fff; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.cbg-step p { max-width: 320px; margin: 10px 0 0; color: var(--cbg-soft); font-size: 15px; line-height: 1.6; }

.cbg-steps__notes {
  margin: 44px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  transition: opacity .6s ease, transform .8s var(--cbg-ease);
}

.cbg-steps__notes li {
  min-height: 38px;
  padding: 0 14px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(103, 224, 185, .4);
  border-radius: 999px;
  color: #d8fff0;
  background: rgba(103, 224, 185, .08);
  font-size: 14px;
  font-weight: 600;
}

.cbg-motion .cbg-steps:not(.is-live) .cbg-steps__notes { opacity: 0; transform: translateY(10px); }

/* ---------------------------------------------------------------------------
 * 07 · Tarifs
 * ------------------------------------------------------------------------ */
.cbg-pricing {
  position: relative;
  padding: clamp(110px, 14vh, 170px) 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 40%, rgba(123, 97, 255, .1), transparent 70%),
    var(--cbg-bg);
}

.cbg-pricing__meta {
  max-width: 980px;
  margin-top: 24px;
  display: grid;
  gap: 6px;
  color: var(--cbg-soft);
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
}

.cbg-pricing__meta p { margin: 0; }
.cbg-pricing__meta a { color: #dcd5ff; font-weight: 700; text-underline-offset: 3px; }
.cbg-pricing__meta a:hover { color: #fff; }

.cbg-plans {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.cbg-plan {
  --rx: 0deg;
  --ry: 0deg;
  --pc: var(--cbg-app);
  position: relative;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--cbg-line-2);
  border-radius: 26px;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--pc) 14%, transparent), transparent 62%),
    linear-gradient(180deg, rgba(12, 22, 52, .8), rgba(5, 12, 30, .94));
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--cbg-ease), border-color .3s ease;
}

.cbg-plan:nth-child(2) { --pc: var(--cbg-desktop); }
.cbg-plan:nth-child(3) { --pc: var(--cbg-neoo); }
.cbg-plan:hover { border-color: color-mix(in srgb, var(--pc) 60%, transparent); }

.cbg-plan--featured {
  border-color: rgba(165, 148, 255, .55);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35), 0 0 60px rgba(86, 126, 255, .18);
}

.cbg-plan__badge {
  position: absolute;
  top: -14px;
  left: 26px;
  margin: 0;
  min-height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--cbg-neoo), #567eff);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cbg-plan__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--pc);
  background: color-mix(in srgb, var(--pc) 14%, transparent);
}

.cbg-plan__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cbg-plan h3 { margin: 18px 0 0; color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }

.cbg-plan__price {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  color: var(--cbg-muted);
  font-size: 15px;
}

.cbg-plan__price strong {
  color: #fff;
  font-family: var(--cb-display-font);
  font-size: clamp(46px, 4vw, 60px);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.05em;
  line-height: 1;
}

.cbg-plan__desc { margin: 12px 0 0; color: #dbe4f4; font-size: 16px; line-height: 1.5; }

.cbg-plan ul {
  flex: 1;
  margin: 18px 0 22px;
  padding: 16px 0 0;
  display: grid;
  align-content: start;
  gap: 9px;
  border-top: 1px solid var(--cbg-line);
  list-style: none;
}

.cbg-plan li { display: flex; align-items: flex-start; gap: 9px; color: #d8e2f2; font-size: 15px; line-height: 1.4; }
.cbg-plan li svg { margin-top: 2px; }
/* Libellé de commande : peut passer sur deux lignes plutôt que d’être rogné sur petit écran. */
.cbg-plan .cbg-btn { align-self: stretch; white-space: normal; text-align: center; line-height: 1.2; }

.cbg-pricing__extra {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.cbg-storage {
  margin: 0;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  border: 1px solid var(--cbg-line-2);
  border-radius: 16px;
  background: rgba(8, 18, 40, .55);
  color: var(--cbg-soft);
  font-size: 15px;
}

.cbg-storage svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--cbg-app);
  stroke-width: 1.6;
}

.cbg-storage b { color: #fff; font-weight: 700; }

.cbg-options {
  margin-top: 8px;
  border: 1px solid var(--cbg-line);
  border-radius: 18px;
  background: rgba(8, 18, 40, .55);
}

.cbg-options summary {
  min-height: 72px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
}

.cbg-options summary::-webkit-details-marker { display: none; }
.cbg-options summary > span { display: grid; gap: 3px; }
.cbg-options summary b { color: #fff; font-size: 17px; font-weight: 700; }
.cbg-options summary small { color: var(--cbg-muted); font-size: 14px; }

.cbg-options summary::after,
.cbg-faq summary::after {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  color: var(--cbg-cta);
  transition: transform .45s var(--cbg-ease);
}

.cbg-options[open] summary::after,
.cbg-faq details[open] summary::after { transform: rotate(45deg); }

.cbg-options__grid {
  padding: 0 22px 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cbg-options__group {
  padding: 16px;
  border: 1px solid var(--cbg-line);
  border-radius: 14px;
  background: rgba(3, 8, 20, .45);
}

.cbg-options__group h3 { margin: 0; color: #e3ddff; font-size: 15px; font-weight: 700; }
.cbg-options__group dl { margin: 10px 0 0; display: grid; gap: 10px; }
.cbg-options__group dt { color: #fff; font-size: 14px; font-weight: 600; }
.cbg-options__group dd { margin: 2px 0 0; color: var(--cbg-soft); font-size: 14px; line-height: 1.5; }

/* ---------------------------------------------------------------------------
 * 08 · Sécurité — chaîne d’accès
 * ------------------------------------------------------------------------ */
.cbg-security {
  position: relative;
  padding: clamp(110px, 14vh, 170px) 0 clamp(80px, 10vh, 120px);
  background:
    radial-gradient(ellipse 50% 40% at 50% 35%, rgba(103, 224, 185, .07), transparent 70%),
    var(--cbg-bg);
}

.cbg-chain {
  position: relative;
  margin-top: 54px;
  padding: 34px clamp(18px, 3vw, 44px);
  border: 1px solid var(--cbg-line-2);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 22, 52, .7), rgba(4, 10, 26, .9));
}

.cbg-chain__fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cbg-chain__list {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.cbg-chain__node {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.cbg-chain__node > span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cbg-line-2);
  border-radius: 22px;
  color: #cfe9ff;
  background: #070f28;
}

.cbg-chain__node > span > svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cbg-chain__node.is-neoo > span {
  border-color: rgba(165, 148, 255, .6);
  background: radial-gradient(circle at 50% 60%, rgba(123, 97, 255, .35), #070f28 70%);
  box-shadow: 0 0 34px rgba(123, 97, 255, .3);
}

.cbg-chain__node .cbg-pc--mini { width: 150%; margin-top: 18%; }
.cbg-chain__node b { color: #e6eefb; font-size: 15px; font-weight: 700; }

.cbg-guards {
  margin-block: 22px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.cbg-guards li {
  padding: 18px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--cbg-line);
  border-radius: 18px;
  background: rgba(8, 18, 40, .5);
}

.cbg-guards svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--cbg-ok);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cbg-guards h3 { margin: 0; color: #fff; font-size: 17px; font-weight: 700; }
.cbg-guards p { margin: 6px 0 0; color: var(--cbg-soft); font-size: 15px; line-height: 1.55; }
.cbg-security__link { margin-top: 18px; }

/* ---------------------------------------------------------------------------
 * 09 · FAQ
 * ------------------------------------------------------------------------ */
.cbg-faq {
  position: relative;
  padding: clamp(100px, 13vh, 160px) 0 clamp(90px, 12vh, 140px);
  background: var(--cbg-bg);
}

.cbg-faq__list {
  max-width: 980px;
  margin-top: 48px;
  display: grid;
  gap: 12px;
}

.cbg-faq details {
  border: 1px solid var(--cbg-line);
  border-radius: 18px;
  background: rgba(8, 18, 40, .55);
  transition: border-color .3s ease, background-color .3s ease;
}

.cbg-faq details[open] { border-color: rgba(165, 148, 255, .36); background: rgba(12, 20, 52, .7); }

.cbg-faq summary {
  min-height: 74px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #eef3fb;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  list-style: none;
  cursor: pointer;
}

.cbg-faq summary::-webkit-details-marker { display: none; }

.cbg-faq details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--cbg-soft);
  font-size: 16px;
  line-height: 1.65;
}

/* ---------------------------------------------------------------------------
 * 10 · Finale
 * ------------------------------------------------------------------------ */
.cbg-finale {
  position: relative;
  min-height: max(820px, 100svh);
  padding: 130px 0 100px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--cbg-bg) 0%, #070a2a 60%, #120c3a 100%);
}

.cbg-finale__field { z-index: -1; }

.cbg-finale__inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.cbg-finale__statement { max-width: 1100px; }

.cbg-finale__device {
  width: min(260px, 50vw);
  margin-top: 36px;
}

.cbg-finale__card {
  width: min(100%, 1040px);
  margin-top: 30px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  border: 1px solid rgba(165, 148, 255, .3);
  border-radius: 30px;
  text-align: left;
  background: rgba(6, 10, 32, .7);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cbg-finale__card h2 { font-size: var(--cb-title-cta); }

.cbg-finale__text > p {
  margin: 10px 0 0;
  color: var(--cbg-text);
  font-size: 17px;
  line-height: 1.55;
}

.cbg-finale__text ul {
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
}

.cbg-finale__text li { display: inline-flex; align-items: center; gap: 7px; color: #dfe8f7; font-size: 14px; font-weight: 600; }

.cbg-finale__actions {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.cbg-page .cb-shared-footer {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------------------------
 * Keyframes
 * ------------------------------------------------------------------------ */
@keyframes cbg-rise {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes cbg-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cbg-line-in {
  from { transform: translate3d(0, 105%, 0); }
  to { transform: none; }
}

@keyframes cbg-cue { to { top: 100%; } }

@keyframes cbg-pulse {
  0% { box-shadow: 0 0 0 0 rgba(103, 224, 185, .6); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(103, 224, 185, 0); }
}

@keyframes cbg-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

@keyframes cbg-halo {
  0%, 100% { opacity: .65; }
  50% { opacity: 1; }
}

@keyframes cbg-launch {
  0% { opacity: .6; }
  20% { opacity: 1; filter: brightness(1.8); }
  100% { opacity: .75; filter: none; }
}

@keyframes cbg-draw {
  0% { stroke-dashoffset: 160; }
  45%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -160; }
}

@keyframes cbg-cursor {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(260%, -240%); }
  50% { transform: translate(760%, 120%); }
  75% { transform: translate(380%, 420%); }
}

@keyframes cbg-row {
  0% { transform: translateY(0); }
  33% { transform: translateY(calc(100% + 5px)); }
  66% { transform: translateY(calc(200% + 10px)); }
}

/* ---------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------ */
@media (max-width: 1320px) {
  .cbg-topbar__inner { width: min(calc(100% - 54px), 1240px); }
  .cbg-nav { gap: 20px; }
  .cbg-trust__list li { font-size: 15px; }
}

@media (max-width: 1180px) {
  .cbg-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .cbg-hero__stage { max-width: 680px; margin: 40px auto 0; }

  .cbg-compare__grid,
  .cbg-experience__grid { grid-template-columns: minmax(0, 1fr); }
  .cbg-compare__copy,
  .cbg-experience__copy { max-width: 760px; }

  .cbg-pipeline__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .cbg-unify dl { grid-template-columns: minmax(0, 1fr); }
  .cbg-plans { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .cbg-trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cbg-trust__list li { min-height: 76px; border-bottom: 1px solid var(--cbg-line); }
  .cbg-trust__list li:nth-child(2n) { border-right: 0; }
  .cbg-trust__list li:nth-child(n + 3) { border-bottom: 0; }
  .cbg-specific { grid-template-columns: auto minmax(0, 1fr); }
  .cbg-specific .cbg-actions { grid-column: 1 / -1; }
  .cbg-finale__card { grid-template-columns: minmax(0, 1fr); }
  .cbg-finale__actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 1080px) {
  .cbg-topbar__inner { grid-template-columns: auto minmax(0, 1fr); }

  .cbg-nav {
    position: fixed;
    inset: var(--cbg-topbar-h) 18px auto;
    z-index: 95;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--cbg-line-2);
    border-radius: 16px;
    background: #050b16;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    translate: 0 -12px;
    transition: opacity .2s ease, translate .2s ease, visibility .2s;
  }

  .cbg-topbar.is-menu-open .cbg-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    translate: 0 0;
  }

  .cbg-topbar.is-menu-open { background: rgba(3, 8, 20, .94); }
  .cbg-nav a { padding: 14px 12px; }
  .cbg-nav a::after { display: none; }
  .cbg-menu-toggle { display: block; }
  .cbg-topbar__actions { justify-content: flex-end; gap: 12px; }
  .cbg-topbar.is-menu-open .cbg-menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .cbg-topbar.is-menu-open .cbg-menu-toggle span:nth-child(2) { opacity: 0; }
  .cbg-topbar.is-menu-open .cbg-menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

@media (max-width: 760px) {
  .cbg-page { --cbg-shell: calc(100% - 40px); --cbg-topbar-h: 68px; }

  .cbg-topbar__inner { width: calc(100% - 28px); gap: 10px; }
  .cbg-nav { inset: var(--cbg-topbar-h) 12px auto; }
  .cbg-lang select { width: 60px; padding-left: 12px; }
  .cbg-login { justify-content: center; width: 44px; }
  .cbg-login .cb-login-trigger__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cbg-login .cb-login-trigger__icon { width: 20px; height: 20px; margin: 0; }
  .cbg-login .cb-login-trigger__chevron { display: none; }
  .cbg-topbar__cta { display: none; }

  .cbg-page .cbg-breadcrumb { left: 20px; max-width: calc(100% - 40px); overflow: hidden; white-space: nowrap; }

  .cbg-laptop__base { width: 104%; margin-left: -2%; }

  .cbg-hero__inner { padding-top: calc(var(--cbg-topbar-h) + 72px); }
  .cbg-hero__veil { background: linear-gradient(180deg, rgba(3, 8, 20, .66) 0%, rgba(3, 8, 20, .4) 55%, rgba(3, 8, 20, .2) 80%, var(--cbg-bg) 100%); }
  .cbg-hero__stage { margin-top: 34px; aspect-ratio: 1 / .96; }
  .cbg-hero__win.cbg-win--desktop { width: 60%; }
  .cbg-hero__win.cbg-win--app { width: 52%; top: 22%; }
  .cbg-tag { min-height: 26px; padding: 0 10px; font-size: 11px; }
  .cbg-tag--desktop { left: 10%; top: 42%; }
  .cbg-tag--app { right: 6%; top: 57%; }

  /* Mobile : la commande reste en tête de page au lieu de masquer les CTA en bas d’écran. */
  .cbg-pause { position: absolute; top: calc(var(--cbg-topbar-h) + 6px); right: 16px; bottom: auto; left: auto; }
  .cbg-hero__foot { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 16px; }
  .cbg-cue { display: none; }
  .cbg-hud { justify-self: start; }
  .cbg-actions .cbg-btn { flex: 1 1 auto; }

  .cbg-trust__list { grid-template-columns: 1fr; }
  .cbg-trust__list li,
  .cbg-trust__list li:nth-child(n + 3) { min-height: 62px; justify-content: flex-start; padding: 0 4px; border-right: 0; border-bottom: 1px solid var(--cbg-line); font-size: 15px; }
  .cbg-trust__list li:last-child { border-bottom: 0; }

  .cbg-choice { padding: 14px 16px; }
  .cbg-duo { aspect-ratio: 1 / 1.02; }
  .cbg-duo__user { font-size: 11px; }

  .cbg-pipeline__list { grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
  .cbg-station { padding-left: 100px; position: relative; min-height: 84px; }
  .cbg-station__node { position: absolute; left: 0; top: 0; width: 72px; height: 72px; border-radius: 20px; }
  .cbg-station__num { margin-top: 0; }

  .cbg-launch__pad { width: 150px; }
  .cbg-apps { grid-template-columns: minmax(0, 1fr); }
  .cbg-specific { grid-template-columns: minmax(0, 1fr); }

  .cbg-steps__line { top: 36px; bottom: 90px; left: 35px; right: auto; width: 2px; height: auto; }
  .cbg-steps__line b { transform: scaleY(var(--p)); transform-origin: top; }
  .cbg-steps__list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cbg-step { grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; justify-items: start; text-align: left; }
  .cbg-step__node { grid-row: 1 / span 3; }
  .cbg-step__num { margin-top: 4px; }
  .cbg-steps__notes { justify-content: flex-start; }

  .cbg-pricing__meta { text-align: left; }
  .cbg-options__grid { grid-template-columns: minmax(0, 1fr); padding: 0 16px 16px; }
  .cbg-options summary { padding: 14px 16px; }

  .cbg-chain { padding: 26px 16px; }
  .cbg-chain__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .cbg-guards { grid-template-columns: minmax(0, 1fr); }

  .cbg-faq summary { min-height: 66px; padding: 14px 18px; font-size: 16px; }
  .cbg-faq details p { padding: 0 18px 20px; font-size: 15px; }

  .cbg-finale { padding: 110px 0 90px; }
  .cbg-finale__card { padding: 24px; }
  .cbg-finale__actions { flex-direction: column; align-items: stretch; width: 100%; }
}

@media (max-width: 520px) {
  .cbg-hud__label { display: none; }
  .cbg-mode span { display: none; }
}

@media (max-width: 390px) {
  .cbg-topbar__actions { gap: 8px; }
}

/* ---------------------------------------------------------------------------
 * Mouvement réduit : états finaux, aucune boucle
 * ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .cbg-page *,
  .cbg-page *::before,
  .cbg-page *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .cbg-js [data-reveal] { opacity: 1; transform: none; }
  .cbg-cue i::after { display: none; }
}

@media (forced-colors: active) {
  .cbg-accent {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: currentColor;
  }
}
