/* ==========================================================================
   iDSI — DÔME SPATIAL & VITRINES ORBITALES (SYSTÈME VISUEL PARALLAX 2026)
   Palette : Cosmos #060B17 · Dôme #0A1326 · Vitrine #0E1B33 · Cyan #38BDF8 · Teal #2DD4BF
   Typographie : Bricolage Grotesque (Display) · Figtree (UI & Lecture) · JetBrains Mono (Données)
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg-void: #040812;
  --bg-cosmos: #060b17;
  --bg-dome: #0a1326;
  --bg-stage: #0e1b33;
  --bg-elevated: #132442;
  --bg-hover: rgba(56, 189, 248, 0.12);

  --line-subtle: rgba(148, 184, 224, 0.14);
  --line-rim: rgba(125, 211, 252, 0.25);
  --line-active: rgba(56, 189, 248, 0.56);

  --ink-primary: #f8fafc;
  --ink-secondary: #cbd5e1;
  --ink-muted: #9fb2cc;

  --accent-cyan: #38bdf8;
  --accent-cyan-hover: #7dd3fc;
  --accent-cyan-ink: #04101f;
  --accent-teal: #2dd4bf;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #fb7185;

  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 6px 18px rgba(2, 6, 16, 0.42);
  --shadow-md: 0 16px 42px rgba(2, 6, 16, 0.56);
  --shadow-lg: 0 28px 72px rgba(1, 4, 12, 0.72);

  --wrap-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--ink-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  caret-color: var(--accent-cyan);
  scrollbar-width: thin;
  scrollbar-color: rgba(125, 211, 252, 0.3) var(--bg-void);
}

body {
  margin: 0;
  background-color: var(--bg-cosmos);
  color: var(--ink-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background-color: rgba(56, 189, 248, 0.28);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg-void);
}

::-webkit-scrollbar-thumb {
  background: rgba(125, 211, 252, 0.26);
  border-radius: 999px;
  border: 2px solid var(--bg-void);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(125, 211, 252, 0.46);
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}

button,
input {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

.tabular,
[data-curr-bundle],
[data-curr-course] {
  font-variant-numeric: tabular-nums;
}

/* Lien d'évitement clavier */
.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-cyan);
  color: var(--accent-cyan-ink);
  font-weight: 700;
  font-size: 0.875rem;
  transition: top 0.25s var(--ease-expo);
}

.skip-link:focus {
  top: 16px;
}

/* Barre de progression orbitale fine */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-teal));
  z-index: 1200;
  pointer-events: none;
}

.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding: 0 24px;
}

.ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 1.75;
}

/* ==========================================================================
   1. NAVIGATION ORBITALE FLOTTANTE
   ========================================================================== */
.orbital-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: var(--wrap-max);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(8, 15, 30, 0.82);
  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-md);
  transition: padding 0.3s var(--ease-expo), border-color 0.3s ease, background-color 0.3s ease;
}

.orbital-nav.scrolled {
  padding: 10px 18px;
  background: rgba(5, 10, 22, 0.92);
  border-color: var(--line-rim);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.96);
  padding: 4px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
  overflow: hidden;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-secondary);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-links a:hover {
  color: var(--ink-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Sélecteur Langue & Devise */
.locale-wrap {
  position: relative;
}

.locale-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-subtle);
  background: rgba(19, 36, 66, 0.55);
  color: var(--ink-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.locale-btn:hover {
  border-color: var(--line-rim);
  color: var(--ink-primary);
}

.locale-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 244px;
  padding: 16px;
  border-radius: 18px;
  background: #0b1528;
  border: 1px solid var(--line-rim);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease-expo), transform 0.25s var(--ease-expo), visibility 0.25s;
  z-index: 1100;
}

.locale-popover.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.locale-group-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.lang-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}

.lang-btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-subtle);
  background: var(--bg-stage);
  color: var(--ink-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--accent-cyan);
  color: var(--ink-primary);
}

.curr-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.curr-opt {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.curr-opt:hover {
  background: rgba(56, 189, 248, 0.1);
  color: var(--ink-primary);
}

.curr-opt.active {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.45);
  color: var(--ink-primary);
  font-weight: 700;
}

/* Boutons d'action unifiés */
.btn-primary,
.btn-secondary,
.btn-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-expo), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s var(--ease-expo);
}

.btn-primary {
  padding: 13px 24px;
  font-size: 0.95rem;
  background: var(--accent-cyan);
  color: var(--accent-cyan-ink);
  box-shadow: 0 12px 28px rgba(1, 4, 12, 0.52);
}

.btn-primary:hover {
  background: var(--accent-cyan-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(1, 4, 12, 0.66);
}

.btn-secondary {
  padding: 13px 22px;
  font-size: 0.95rem;
  background: rgba(14, 27, 51, 0.84);
  border-color: var(--line-rim);
  color: var(--ink-primary);
}

.btn-secondary:hover {
  background: rgba(22, 42, 76, 0.95);
  border-color: var(--line-active);
  transform: translateY(-2px);
}

.btn-portal {
  padding: 8px 16px;
  font-size: 0.85rem;
  white-space: nowrap;
  background: var(--ink-primary);
  color: var(--bg-void);
}

.btn-portal:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.burger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid var(--line-subtle);
  background: rgba(19, 36, 66, 0.6);
  color: var(--ink-primary);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 74px;
  left: 16px;
  right: 16px;
  z-index: 995;
  padding: 20px;
  border-radius: 22px;
  background: rgba(8, 15, 30, 0.97);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-rim);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a,
.mobile-menu .m-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-subtle);
  color: var(--ink-primary);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

/* ==========================================================================
   2. DÔME SPATIAL HERO + RAIL 4-EN-1 + VITRINE PARALLAX
   ========================================================================== */
.dome-hero {
  position: relative;
  padding: 132px 0 88px;
  overflow: hidden;
  background: linear-gradient(180deg, #0c1b36 0%, var(--bg-cosmos) 44%, var(--bg-dome) 100%);
}

/* Couches Parallax spatiales (pilotées par rAF GPU translate3d) */
.parallax-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.starfield-layer {
  position: absolute;
  inset: -80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='320' viewBox='0 0 420 320'%3E%3Ccircle cx='58' cy='64' r='1.2' fill='%23f8fafc' fill-opacity='0.48'/%3E%3Ccircle cx='142' cy='128' r='1' fill='%237dd3fc' fill-opacity='0.44'/%3E%3Ccircle cx='308' cy='52' r='1.3' fill='%232dd4bf' fill-opacity='0.46'/%3E%3Ccircle cx='364' cy='148' r='1' fill='%23f8fafc' fill-opacity='0.4'/%3E%3Ccircle cx='252' cy='214' r='1.2' fill='%237dd3fc' fill-opacity='0.36'/%3E%3Ccircle cx='116' cy='248' r='1' fill='%23f8fafc' fill-opacity='0.34'/%3E%3C/svg%3E");
  background-size: 420px 320px;
  will-change: transform;
}

.orbital-arc {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.14);
  will-change: transform;
}

.orbital-arc.arc-inner {
  width: 1120px;
  height: 580px;
  top: 118px;
  margin-left: -560px;
}

.orbital-arc.arc-outer {
  width: 1540px;
  height: 820px;
  top: 28px;
  margin-left: -770px;
  border-color: rgba(45, 212, 191, 0.09);
}

.orbital-arc.arc-horizon {
  width: 1860px;
  height: 920px;
  top: 340px;
  margin-left: -930px;
  border-color: rgba(56, 189, 248, 0.12);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.06) 0%, rgba(10, 19, 38, 0) 52%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.032em;
  color: #ffffff;
  text-wrap: balance;
}

.hero-lead {
  margin: 20px auto 28px;
  max-width: 64ch;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.62;
  color: var(--ink-secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

/* Rail sélecteur horizontal fixe 4-en-1 */
.orbital-rail-wrap {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.orbital-rail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(7, 14, 28, 0.88);
  border: 1px solid var(--line-rim);
  box-shadow: var(--shadow-md);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.orbital-rail::-webkit-scrollbar {
  display: none;
}

.rail-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.rail-tab:hover {
  color: var(--ink-primary);
  background: rgba(255, 255, 255, 0.04);
}

.rail-tab.active {
  background: var(--bg-elevated);
  border-color: var(--line-active);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.rail-pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(45, 212, 191, 0.16);
  color: var(--accent-teal);
}

/* Vitrine Spécimen 3D Flottante + Reflet Spéculaire au Sol */
.specimen-stage-outer {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin-inline: auto;
  will-change: transform;
}

.specimen-stage {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(16, 31, 58, 0.96) 0%, rgba(9, 18, 36, 0.98) 100%);
  border: 1px solid var(--line-rim);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.specimen-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-right: 1px solid var(--line-subtle);
  background: linear-gradient(160deg, rgba(20, 42, 78, 0.48) 0%, rgba(7, 14, 28, 0.76) 100%);
}

.specimen-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.specimen-subtabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.subview-btn {
  padding: 8px 14px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line-subtle);
  background: rgba(6, 12, 24, 0.65);
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.subview-btn:hover {
  color: var(--ink-primary);
}

.subview-btn.active {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.5);
  color: #ffffff;
}

.zoom-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line-subtle);
  background: rgba(19, 36, 66, 0.6);
  color: var(--ink-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.zoom-trigger:hover {
  border-color: var(--line-active);
  color: #ffffff;
}

.specimen-screen {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 184, 224, 0.18);
  background: #050a14;
  aspect-ratio: 16 / 10;
  cursor: zoom-in;
}

.specimen-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-expo), opacity 0.25s ease;
}

.specimen-screen:hover img {
  transform: scale(1.018);
}

.specimen-telemetry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.telemetry-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-teal);
}

.telemetry-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-teal);
}

.specimen-details {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.specimen-details h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.024em;
  color: #ffffff;
}

.specimen-desc {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.specimen-specs {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.specimen-specs li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-secondary);
}

.specimen-specs svg {
  color: var(--accent-cyan);
  margin-top: 2px;
}

/* Double bandeau d'accès B2C + B2B dans la vitrine */
.audience-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.aud-slot {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(6, 12, 24, 0.58);
  border: 1px solid var(--line-subtle);
}

.aud-slot-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 3px;
}

.aud-slot-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.aud-slot-note {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  margin-top: 2px;
}

.specimen-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.specimen-actions .btn-primary,
.specimen-actions .btn-secondary {
  padding: 12px 18px;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* Plan d'horizon réfléchissant sous la vitrine */
.horizon-reflection {
  height: 46px;
  margin-inline: 28px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.14) 0%, rgba(45, 212, 191, 0.04) 45%, rgba(10, 19, 38, 0) 100%);
  filter: blur(10px);
  opacity: 0.75;
  pointer-events: none;
}

/* Ruban de repères factuels sobre */
.metrics-strip {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 26px auto 0;
  padding: 24px 28px;
  border-radius: 20px;
  background: rgba(10, 19, 38, 0.72);
  border: 1px solid var(--line-subtle);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-item strong {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.metric-item span {
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

/* ==========================================================================
   3. PARCOURS PARALLAX EN 3 TEMPS (B2C INDIVIDUEL & B2B ENTREPRISE)
   ========================================================================== */
.trajectory-section {
  position: relative;
  padding: 104px 20px;
  border-top: 1px solid var(--line-subtle);
  background: linear-gradient(180deg, var(--bg-dome) 0%, var(--bg-cosmos) 100%);
}

.trajectory-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}

.trajectory-sticky {
  position: sticky;
  top: 112px;
}

.trajectory-sticky h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: #ffffff;
  text-wrap: balance;
}

.trajectory-sticky p {
  margin: 0 0 28px;
  max-width: 48ch;
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--ink-secondary);
}

/* Astrolabe / Compas orbital Parallax au scroll */
.astrolabe-dial {
  position: relative;
  width: 268px;
  height: 268px;
  padding: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-rim);
  background: linear-gradient(155deg, rgba(19, 36, 66, 0.92) 0%, rgba(6, 11, 23, 0.98) 100%);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.astrolabe-ring-mid {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.34);
  will-change: transform;
}

.astrolabe-ring-inner {
  position: absolute;
  inset: 62px;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.36);
  will-change: transform;
}

.astrolabe-core {
  position: relative;
  z-index: 2;
  text-align: center;
}

.astrolabe-step-num {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1.1;
}

.astrolabe-step-lbl {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-top: 4px;
}

.trajectory-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.traj-milestone {
  padding: 32px;
  border-radius: 22px;
  background: rgba(14, 27, 51, 0.74);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.traj-milestone.is-active {
  background: rgba(16, 33, 62, 0.94);
  border-color: var(--line-active);
}

.traj-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.traj-seq {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-cyan);
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.traj-clip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-subtle);
  background: rgba(6, 11, 23, 0.65);
  color: var(--ink-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.traj-clip-btn:hover {
  border-color: var(--line-rim);
  color: #ffffff;
}

.traj-milestone h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.traj-milestone p {
  margin: 0 0 18px;
  max-width: 62ch;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ink-secondary);
}

.traj-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.traj-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.traj-link:hover {
  color: var(--accent-cyan-hover);
  text-decoration: underline;
}

/* ==========================================================================
   4. PALIERS D'ACCÈS : PARTICULIERS (B2C) · PACK ÉLITE TOTAL · ENTREPRISES (B2B)
   ========================================================================== */
.pricing-section {
  position: relative;
  padding: 104px 20px;
  border-top: 1px solid var(--line-subtle);
  background: linear-gradient(180deg, #0b162c 0%, var(--bg-cosmos) 48%, var(--bg-void) 100%);
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-intro h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: #ffffff;
  text-wrap: balance;
}

.section-intro p {
  margin: 0 auto;
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.tiers-architecture {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.tier-column {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 24px;
  background: rgba(12, 23, 44, 0.84);
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-md);
}

.tier-column.tier-featured {
  background: linear-gradient(170deg, #13284c 0%, #0b1730 100%);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.tier-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.tier-tag {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(56, 189, 248, 0.16);
  color: var(--accent-cyan);
}

.tier-tag.teal {
  background: rgba(45, 212, 191, 0.16);
  color: var(--accent-teal);
}

.tier-summary {
  margin: 0 0 20px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.tier-price-hero {
  padding: 16px 18px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(6, 12, 24, 0.55);
  border: 1px solid var(--line-subtle);
}

.tier-price-val {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
}

.tier-price-sub {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* Liste modulaire à la carte (colonne B2C) */
.modular-rates {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modular-rates li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(6, 12, 24, 0.48);
  border: 1px solid var(--line-subtle);
  font-size: 0.875rem;
}

.modular-rates .mod-name {
  color: var(--ink-secondary);
  font-weight: 500;
}

.modular-rates .mod-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.tier-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.48;
  color: var(--ink-secondary);
}

.tier-checklist svg {
  color: var(--accent-teal);
  margin-top: 2px;
}

.tier-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-foot .btn-primary,
.tier-foot .btn-secondary {
  width: 100%;
}

.tier-secondary-link {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.tier-secondary-link:hover {
  color: var(--ink-primary);
  text-decoration: underline;
}

/* ==========================================================================
   5. REGISTRE OFFICIEL DE VÉRIFICATION CERTIFICATS QR
   ========================================================================== */
.verify-section {
  position: relative;
  padding: 96px 20px;
  border-top: 1px solid var(--line-subtle);
  background: var(--bg-dome);
}

.verify-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.verify-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.verify-copy p {
  margin: 0 0 24px;
  max-width: 56ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.verify-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.verify-input {
  flex: 1 1 260px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-rim);
  background: rgba(6, 11, 23, 0.85);
  color: var(--ink-primary);
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.verify-input::placeholder {
  color: var(--ink-muted);
}

.verify-feedback {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--line-subtle);
}

/* Spécimen Certificat 3D inclinable au curseur */
.cert-perspective {
  perspective: 1100px;
}

.cert-specimen {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(155deg, #112240 0%, #091326 100%);
  border: 1px solid var(--line-rim);
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease-expo);
  overflow: hidden;
}

.cert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.cert-inst {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-primary);
}

.cert-inst img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #ffffff;
  padding: 3px;
}

.cert-status-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.cert-status-pill.warn {
  background: rgba(251, 113, 133, 0.16);
  border-color: rgba(251, 113, 133, 0.45);
  color: #fda4af;
}

.cert-holder {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
}

.cert-course {
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.cert-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(5, 10, 20, 0.52);
  border: 1px solid var(--line-subtle);
}

.cert-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.cert-qr {
  width: 64px;
  height: 64px;
  padding: 6px;
  border-radius: 12px;
  background: #f8fafc;
  flex-shrink: 0;
}

/* ==========================================================================
   6. FOOTER INSTITUTIONNEL SOBRE
   ========================================================================== */
.orbital-footer {
  border-top: 1px solid var(--line-subtle);
  background: var(--bg-void);
  padding: 64px 20px 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}

.footer-about p {
  margin: 14px 0 18px;
  max-width: 50ch;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.footer-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.std-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(19, 36, 66, 0.55);
  border: 1px solid var(--line-subtle);
  color: var(--ink-secondary);
}

.footer-col h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a,
.footer-cookie-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink-secondary);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-list a:hover,
.footer-cookie-trigger:hover {
  color: var(--accent-cyan);
}

.dpo-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(14, 27, 51, 0.45);
  border: 1px solid var(--line-subtle);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(10, 19, 38, 0.55);
  border: 1px solid var(--line-subtle);
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   7. MODALES FONCTIONNELLES (LIGHTBOX HD & CINÉMA HYPERFRAMES 78s)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3, 6, 15, 0.88);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-window {
  width: 100%;
  max-width: 1040px;
  border-radius: 22px;
  background: #0a1428;
  border: 1px solid var(--line-rim);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-subtle);
}

.modal-bar-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-close {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.lightbox-media {
  max-height: 74vh;
  width: 100%;
  object-fit: contain;
  background: #040812;
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 22px;
  border-top: 1px solid var(--line-subtle);
  font-size: 0.875rem;
  color: var(--ink-secondary);
}

/* Cinéma HyperFrames 78s */
.hf-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #040812;
}

.hf-frame {
  width: 100%;
  height: 100%;
  border: 0;
}

.hf-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: #070e1d;
  border-top: 1px solid var(--line-subtle);
}

.hf-ctrl-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line-subtle);
  background: var(--bg-stage);
  color: var(--ink-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}

.hf-time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
  white-space: nowrap;
}

.hf-slider {
  flex: 1;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.hf-chapters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hf-chip {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-subtle);
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.hf-chip.active {
  background: rgba(56, 189, 248, 0.16);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

/* ==========================================================================
   8. RESPONSIVE & ACCESSIBILITÉ MOUVEMENT RÉDUIT
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .burger-btn {
    display: inline-flex;
  }

  .specimen-stage {
    grid-template-columns: 1fr;
  }

  .specimen-visual {
    border-right: 0;
    border-bottom: 1px solid var(--line-subtle);
  }

  .trajectory-grid,
  .tiers-architecture,
  .verify-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trajectory-sticky {
    position: static;
  }

  .astrolabe-dial {
    display: none;
  }

  .tier-column.tier-featured {
    transform: none;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }

  .orbital-nav {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px 14px;
  }

  .brand-name {
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .brand-sub,
  .nav-btn-catalog,
  .orbital-nav .btn-portal {
    display: none;
  }

  .trajectory-section,
  .pricing-section,
  .verify-section {
    padding: 72px 16px;
  }

  .specimen-details,
  .traj-milestone,
  .tier-column {
    padding: 24px;
  }

  .audience-split,
  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .specimen-actions .btn-primary,
  .specimen-actions .btn-secondary {
    width: 100%;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .starfield-layer,
  .orbital-arc,
  .specimen-stage-outer,
  .astrolabe-ring-mid,
  .astrolabe-ring-inner,
  .cert-specimen {
    transform: none !important;
    transition: none !important;
  }
}
