/* ============================================================
   OPSIRIS LANDING — Apollo Liquid Glass
   Inspired by apollonegoce.com, aligned with the in-app theme
   ============================================================ */

:root {
  --ap-bg-0: #050710;
  --ap-bg-1: #070a14;
  --ap-surface: #0f1523;
  --ap-surface-hi: #141b2c;
  --ap-line: rgba(255, 255, 255, 0.08);
  --ap-line-hi: rgba(255, 255, 255, 0.14);
  --ap-text: #e6ecf7;
  --ap-text-dim: #9aa3bd;
  --ap-text-mute: #5b6483;
  --ap-accent: #5eead4;
  --ap-accent-2: #7c9cff;
  --ap-accent-3: #c084fc;
  --ap-warn: #fbbf24;
  --ap-danger: #fb7185;
  --ap-success: #34d399;

  --glass-bg: linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02) 45%, rgba(255,255,255,0.06)), rgba(18,23,38,0.35);
  --glass-blur: blur(22px) saturate(180%);
  --glass-edge: linear-gradient(135deg, rgba(124,156,255,0.45), rgba(255,255,255,0.12) 35%, rgba(94,234,212,0.30) 75%, rgba(124,156,255,0.20));
  --glass-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
  --glass-inset: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 -1px 0 rgba(255,255,255,0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--ap-bg-0); color: var(--ap-text); }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "cv11", "ss01";
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.mono { font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace; font-feature-settings: "tnum"; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* ── Ambient background ─────────────────────────────────── */
.bg-gradient {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, #0a0e18 0%, #060813 60%, #04060f 100%);
}
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .3; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.bg-orb {
  position: fixed; pointer-events: none; z-index: -1;
  width: 720px; height: 720px; border-radius: 50%; filter: blur(120px); opacity: 0.55;
}
.bg-orb-1 { top: -200px; left: -200px; background: radial-gradient(closest-side, rgba(124,156,255,0.35), transparent 70%); }
.bg-orb-2 { bottom: -300px; right: -240px; background: radial-gradient(closest-side, rgba(94,234,212,0.22), transparent 70%); }

/* ── Container ──────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ── Glass primitive ────────────────────────────────────── */
.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: var(--glass-inset), var(--glass-shadow);
  overflow: hidden;
}
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; background: var(--glass-edge);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: 10px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.01em; transition: all .18s ease; white-space: nowrap;
}
.btn-lg { padding: 13px 22px; font-size: 14px; border-radius: 12px; }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 8px; }
.btn-primary {
  color: #06111c;
  background: linear-gradient(135deg, #7c9cff, #5eead4);
  box-shadow: 0 8px 28px -10px rgba(124,156,255,0.55);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.55) 50%, transparent 65%);
  transform: translateX(-100%); transition: transform .55s ease;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  color: var(--ap-text); background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); }

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(5,7,16,0.60);
  border-bottom: 1px solid var(--ap-line);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; letter-spacing: 0.20em; font-size: 14px;
  color: var(--ap-text);
}
.brand em { font-style: normal; color: var(--ap-accent); }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a {
  font-size: 13px; color: var(--ap-text-dim); font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--ap-text); }
.nav-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.lang-switch {
  display: inline-flex; padding: 3px; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.lang-btn {
  padding: 4px 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--ap-text-mute); border-radius: 6px; transition: all .15s;
  font-family: 'JetBrains Mono', monospace;
}
.lang-btn.active { background: rgba(124,156,255,0.18); color: var(--ap-text); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: 80px 0 60px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.22em; color: var(--ap-text-dim);
  padding: 6px 12px; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px; background: rgba(255,255,255,0.02);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ap-accent);
  box-shadow: 0 0 10px var(--ap-accent); animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: .4; } }
.hero-title {
  font-size: clamp(40px, 6vw, 76px); line-height: 1.05; font-weight: 700;
  letter-spacing: -0.02em; margin: 24px 0 22px;
}
.hero-title .grad {
  background: linear-gradient(135deg, #7c9cff 0%, #5eead4 60%, #c084fc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 720px; font-size: 17px; color: var(--ap-text-dim); line-height: 1.65;
}
.hero-ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* === HERO — slide d'ouverture (façon deck) === */
.hero-slide {
  padding: 0;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-slide-content {
  width: 100%;
  max-width: 1100px;
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 88px;
}
.hero-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-brand-name {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: 0.20em;
  color: var(--ap-text);
  line-height: 1;
}
.hero-brand-name em {
  font-style: normal;
  color: var(--ap-accent);
}
.hero-brand-rule {
  width: 56px;
  height: 1px;
  background: var(--ap-accent);
  opacity: 0.55;
  border-radius: 1px;
}
.hero-brand-tagline {
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--ap-text-dim);
  text-transform: uppercase;
}
.hero-title-slide {
  text-align: center;
  font-size: clamp(44px, 7.2vw, 96px);
  margin: 0;
  max-width: 16ch;
}
@media (max-width: 720px) {
  .hero-slide { min-height: calc(100vh - 64px); }
  .hero-slide-content { gap: 56px; padding: 24px 16px; }
  .hero-title-slide { max-width: 100%; }
}

/* ── Hero background video ───────────────────────────────── */
.hero-slide { overflow: hidden; }
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* plein cadre, sans masque : faible opacité pour garder le fond foncé
     et préserver la lisibilité du texte. Les vidéos s'enchaînent en fondu :
     seule la vidéo .is-active est visible (0.35), les autres à 0. */
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-bg-video.is-active {
  opacity: 0.35;
}
.hero-slide-content {
  position: relative;
  z-index: 2;
}

/* Stats row */
.stat-row {
  margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 28px 32px; border-radius: 18px;
}
.stat { text-align: left; }
.stat + .stat { border-left: 1px solid var(--ap-line); padding-left: 32px; }
.stat-num {
  font-size: 32px; font-weight: 600; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #b8c1d9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-num em { font-style: normal; color: var(--ap-accent); margin-left: 2px; }
.stat-label { font-size: 12px; color: var(--ap-text-mute); margin-top: 6px; letter-spacing: 0.04em; }

/* ── Trusted band ───────────────────────────────────────── */
.band { padding: 24px 0; border-top: 1px solid var(--ap-line); border-bottom: 1px solid var(--ap-line); }
.band-inner {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 12px; color: var(--ap-text-mute); letter-spacing: 0.16em;
}
.band-label { color: var(--ap-text-dim); margin-right: 8px; }
.band-item { font-weight: 500; }
.band-sep { color: var(--ap-text-mute); opacity: .5; }

/* ── Section base ───────────────────────────────────────── */
.section { padding: 100px 0; position: relative; }
.section-dark { background: rgba(0,0,0,0.18); border-top: 1px solid var(--ap-line); border-bottom: 1px solid var(--ap-line); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow {
  font-size: 11px; letter-spacing: 0.22em; color: var(--ap-accent);
  display: inline-block; margin-bottom: 14px;
}
.h2 {
  font-size: clamp(30px, 4vw, 46px); line-height: 1.1; font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #b8c1d9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-sub { margin-top: 16px; font-size: 16px; color: var(--ap-text-dim); }

/* ── Cards ──────────────────────────────────────────────── */
.card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px; padding: 28px;
  transition: transform .25s ease, border-color .25s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; background: var(--glass-edge);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: .55;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.14); }

.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.module-card h3 {
  font-size: 18px; font-weight: 600; margin: 18px 0 8px; color: var(--ap-text);
  letter-spacing: -0.01em;
}
.module-card p { color: var(--ap-text-dim); font-size: 14px; }
.module-card ul { list-style: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); }
.module-card li {
  font-size: 13px; color: var(--ap-text-dim); padding: 4px 0 4px 18px; position: relative;
}
.module-card li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px;
  background: linear-gradient(90deg, var(--ap-accent), transparent);
}
.module-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(124,156,255,0.15), rgba(94,234,212,0.10));
  border: 1px solid rgba(124,156,255,0.20); color: var(--ap-accent);
}
.module-icon svg { width: 22px; height: 22px; }

/* ── Manifesto section ──────────────────────────────────── */
.manifesto-section { padding: 90px 0 100px; }
.manifesto-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin: 16px 0 48px;
}
.manifesto-col {
  position: relative; padding: 28px 24px;
  border: 1px dashed rgba(255,255,255,0.10); border-radius: 16px;
  background: rgba(255,255,255,0.015);
}
.manifesto-num {
  font-size: 36px; font-weight: 700; letter-spacing: -0.02em;
  background: linear-gradient(180deg, rgba(124,156,255,0.6), rgba(124,156,255,0.05));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 8px;
}
.manifesto-col h4 {
  font-size: 16px; font-weight: 600; color: var(--ap-text);
  margin: 6px 0 10px; letter-spacing: -0.01em;
}
.manifesto-col p { font-size: 13px; color: var(--ap-text-dim); line-height: 1.65; }

/* ── Quotidien (4 cartes : 3 angles morts + 1 carte ouverte) ── */
.h2 .h2-dim {
  background: none;
  -webkit-background-clip: initial; background-clip: initial;
  -webkit-text-fill-color: var(--ap-text-mute);
  color: var(--ap-text-mute);
}
.h2 .grad,
.h2.grad {
  background: linear-gradient(135deg, #7c9cff 0%, #5eead4 60%, #c084fc 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.quotidien-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.quotidien-card {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 22px;
  border: 1px solid var(--ap-line);
  border-radius: 14px;
  background: rgba(255,255,255,0.015);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.quotidien-card:hover {
  border-color: var(--ap-line-hi);
  background: rgba(255,255,255,0.03);
  transform: translateY(-2px);
}
.quotidien-num {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ap-accent);
}
.quotidien-card h4 {
  font-size: 16px; font-weight: 600; color: var(--ap-text);
  margin: 0; letter-spacing: -0.01em;
}
.quotidien-card p {
  font-size: 13.5px; color: var(--ap-text-dim);
  line-height: 1.65; margin: 0;
}
.quotidien-card strong {
  color: var(--ap-accent);
  font-weight: 600;
}
.quotidien-card-open {
  border: 1px dashed rgba(255,255,255,0.18);
  background: transparent;
}
.quotidien-card-open:hover {
  border-color: rgba(255,255,255,0.32);
  background: transparent;
}
.quotidien-num-plus {
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1;
  color: var(--ap-accent);
}
.quotidien-footer {
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--ap-line);
  max-width: 820px;
  text-align: center;
  font-size: 15px;
  color: var(--ap-text-dim);
  line-height: 1.65;
}
.quotidien-footer strong {
  color: var(--ap-accent);
  font-weight: 600;
}
@media (max-width: 960px) {
  .quotidien-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .quotidien-grid { grid-template-columns: 1fr; }
  .quotidien-footer { margin-top: 40px; font-size: 14px; }
}

/* ── La réponse (modules sur mesure → résultats) ───────── */
.reponse-section { padding: 90px 0 100px; }

.reponse-section .section-sub strong {
  color: var(--ap-accent);
  font-weight: 600;
}

.reponse-chain {
  list-style: none; padding: 0;
  margin: 0 auto 56px;
  max-width: 900px;
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.reponse-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--ap-line);
  font-size: 14px; font-weight: 500;
  color: var(--ap-text-dim);
  letter-spacing: 0.01em;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.reponse-pill:hover {
  border-color: var(--ap-line-hi);
  background: rgba(255,255,255,0.04);
  color: var(--ap-text);
  transform: translateY(-1px);
}
.reponse-pill-accent {
  background: rgba(94,234,212,0.08);
  border-color: rgba(94,234,212,0.32);
  color: var(--ap-accent);
}
.reponse-pill-accent:hover {
  background: rgba(94,234,212,0.13);
  border-color: rgba(94,234,212,0.50);
  color: var(--ap-accent);
}
.reponse-arrow {
  display: inline-flex; align-items: center;
  color: var(--ap-text-mute);
  font-size: 18px;
  padding: 0 2px;
  user-select: none;
}

.reponse-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.reponse-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px;
  padding: 44px 36px;
  border: 1px solid var(--ap-line);
  border-radius: 16px;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(94,234,212,0.10), transparent 60%),
    rgba(255,255,255,0.015);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.reponse-card:hover {
  border-color: var(--ap-line-hi);
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(94,234,212,0.16), transparent 60%),
    rgba(255,255,255,0.025);
  transform: translateY(-3px);
}
.reponse-num {
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--ap-accent);
}
.reponse-card h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600; line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ap-text);
  margin: 0;
}

.reponse-footer { margin-top: 56px; }

@media (max-width: 720px) {
  .reponse-chain {
    flex-direction: column; align-items: stretch;
    gap: 8px; max-width: 320px;
  }
  .reponse-pill { width: 100%; }
  .reponse-arrow {
    transform: rotate(90deg);
    align-self: center;
    padding: 2px 0;
  }
  .reponse-grid { grid-template-columns: 1fr; }
  .reponse-card { padding: 34px 26px; }
  .reponse-footer { margin-top: 40px; font-size: 14px; }
}

.manifesto-answer {
  position: relative; padding: 38px 44px; border-radius: 22px;
  text-align: left;
}
.manifesto-answer::before {
  content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px;
  background: linear-gradient(180deg, var(--ap-accent-2), var(--ap-accent));
  border-radius: 2px;
}
.answer-tag {
  display: inline-block; font-size: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(94,234,212,0.10); color: var(--ap-accent); border: 1px solid rgba(94,234,212,0.20);
  letter-spacing: 0.18em; margin-bottom: 14px;
}
.manifesto-answer h3 {
  font-size: 26px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em;
  background: linear-gradient(180deg, #fff, #b8c1d9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.manifesto-answer > p { font-size: 15px; color: var(--ap-text-dim); line-height: 1.65; max-width: 880px; }
.answer-pillars {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.answer-pillars span {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12px; color: var(--ap-text-dim);
}
.answer-pillars b {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ap-accent); font-family: 'JetBrains Mono', monospace;
}

/* ── V2 section styling ─────────────────────────────────── */
.v2-section { padding: 100px 0 90px; }
.v2-eyebrow {
  display: inline-flex !important; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(192,132,252,0.10); border: 1px solid rgba(192,132,252,0.25);
  color: var(--ap-accent-3) !important;
}
.v2-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ap-accent-3);
  box-shadow: 0 0 10px var(--ap-accent-3); animation: pulse 1.8s infinite;
}
.v2-note {
  margin-top: 26px; padding: 16px 18px; border-radius: 12px;
  display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(135deg, rgba(124,156,255,0.06), rgba(94,234,212,0.04));
  border: 1px solid rgba(124,156,255,0.15);
}
.v2-arrow {
  font-size: 18px; color: var(--ap-accent-2); flex-shrink: 0;
  line-height: 1.4;
}
.v2-note span { font-size: 13px; color: var(--ap-text-dim); line-height: 1.6; }
.v2-note strong { color: var(--ap-text); display: block; margin-bottom: 2px; font-weight: 600; }
.v2-head { max-width: 820px; }

.v2-promise-row {
  margin-top: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start;
}
.v2-promise-row .check-list { margin-top: 0; }

/* ── Brain Graph (Obsidian-style, sober) ────────────────── */
.brain-graph {
  margin-top: 40px;
  padding: 18px 22px 20px;
  border-radius: 18px;
  position: relative;
}
.graph-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px; margin-bottom: 6px;
  border-bottom: 1px solid var(--ap-line);
  font-size: 10px; gap: 16px;
}
.graph-title {
  color: var(--ap-text-dim); letter-spacing: 0.18em;
  display: inline-flex; align-items: center; gap: 8px;
}
.graph-hint { color: var(--ap-text-mute); letter-spacing: 0.04em; }

.graph-svg {
  width: 100%; height: auto; display: block;
  background: rgba(0,0,0,0.18);
  border-radius: 12px;
  cursor: default;
}

/* Edges — uniform, very subtle */
.graph-edges line {
  stroke: rgba(255,255,255,0.07);
  stroke-width: 1;
  transition: stroke .25s, stroke-width .25s, opacity .25s;
}
.graph-edges line.dimmed { opacity: 0.30; }
.graph-edges line.active {
  stroke: rgba(232,196,107,0.55);
  stroke-width: 1.4;
}

/* Nodes — small, uniform dots */
.graph-nodes .node { cursor: pointer; transition: opacity .25s; }
.node-body { transition: r .2s, fill .2s; }
.node.dimmed { opacity: 0.30; }
.node.active .node-body { r: 8; }
.node.linked .node-body { r: 7; }
.node:hover .node-body { r: 7; }

.node-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; font-weight: 500;
  fill: var(--ap-text-mute);
  pointer-events: none;
  letter-spacing: 0.02em;
  transition: fill .25s, opacity .25s;
}
.node.dimmed .node-label { opacity: 0.45; }
.node:hover .node-label,
.node.active .node-label,
.node.linked .node-label { fill: var(--ap-text); }

/* Detail panel — discrete */
.graph-detail {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  min-height: 60px;
}
.detail-empty {
  font-size: 11px; color: var(--ap-text-mute);
  letter-spacing: 0.04em; padding: 4px 0;
}
.detail-head {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 6px;
}
.detail-name { font-size: 13px; font-weight: 500; color: var(--ap-text); letter-spacing: -0.01em; }
.detail-type {
  font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.detail-desc { font-size: 12px; color: var(--ap-text-dim); margin-bottom: 10px; line-height: 1.55; }
.detail-links { display: flex; flex-direction: column; gap: 6px; }
.detail-links > .mono { font-size: 10px; color: var(--ap-text-mute); letter-spacing: 0.08em; }
.detail-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.detail-chip-mini {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; padding: 2px 8px; border-radius: 5px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--ap-text-dim);
}

/* Legend — discrete */
.graph-legend {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--ap-line);
  font-size: 10px; color: var(--ap-text-mute);
  letter-spacing: 0.06em;
}
.leg { display: inline-flex; align-items: center; gap: 6px; }
.leg::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
}
.leg-eq   { color: #8aa4ff; }
.leg-cnt  { color: #5cc7e8; }
.leg-doc  { color: #b487e8; }
.leg-day  { color: #6bdcc4; }
.leg-crew { color: #e88aa0; }
.leg-job  { color: #d8b259; }
.leg-hand { color: #9b8ad8; }
.leg-know { color: #e8c46b; }

@media (max-width: 1100px) {
  .v2-promise-row { grid-template-columns: 1fr; gap: 22px; }
  .graph-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .graph-svg { min-height: 360px; }
}
@media (max-width: 760px) {
  .brain-graph { padding: 14px; }
  .node-label { font-size: 13px !important; }
  .graph-legend { gap: 10px; }
}

/* ── Vessel demo (left stage + right drawer, app-style) ── */
.vessel-app {
  border-radius: 20px; padding: 0; overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr;
  grid-template-columns: 1fr 340px;
}
.vessel-chrome {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-bottom: 1px solid var(--ap-line);
  background: rgba(0,0,0,0.25);
}
.chrome-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #fb7185; } .dot-y { background: #fbbf24; } .dot-g { background: #34d399; }
.chrome-url {
  flex: 1; text-align: center; font-size: 12px; color: var(--ap-text-mute);
  background: rgba(255,255,255,0.03); padding: 4px 12px; border-radius: 8px;
  max-width: 360px; margin: 0 auto;
}
.chrome-status { font-size: 10px; color: var(--ap-success); display: inline-flex; gap: 6px; align-items: center; }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--ap-success); box-shadow: 0 0 8px var(--ap-success); animation: pulse 1.6s infinite; }

.vessel-toolbar {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px; border-bottom: 1px solid var(--ap-line);
  background: rgba(255,255,255,0.015);
}
.toolbar-left { display: flex; gap: 6px; }
.tool-btn {
  padding: 6px 14px; font-size: 12px; font-weight: 500;
  border-radius: 8px; color: var(--ap-text-dim);
  border: 1px solid transparent;
}
.tool-btn.active {
  color: var(--ap-text); background: rgba(124,156,255,0.10);
  border-color: rgba(124,156,255,0.25);
}
.toolbar-right { font-size: 11px; color: var(--ap-text-mute); letter-spacing: 0.04em; }

.sev { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.sev-1 { background: #ef4444; box-shadow: 0 0 10px rgba(239,68,68,0.6); }
.sev-2 { background: #fbbf24; box-shadow: 0 0 10px rgba(251,191,36,0.6); }
.sev-3 { background: #22c55e; box-shadow: 0 0 10px rgba(34,197,94,0.6); }

.vessel-stage {
  position: relative;
  grid-column: 1 / 2; grid-row: 3 / 4;
  background: #050710;
  min-height: 460px;
  padding: 28px 28px 56px;
  display: flex; align-items: center; justify-content: center;
}
.vessel-stage::before {
  content: ''; position: absolute; inset: 14px; border-radius: 10px;
  border: 1px solid rgba(94,234,212,0.12);
  pointer-events: none;
}
.vessel-svg {
  width: 100%; height: auto; max-height: 100%;
}
.vessel-svg image {
  filter: url('#vessel-chroma-white') saturate(1.2);
}
.vessel-svg .marker-hit { cursor: pointer; }
.vessel-svg .marker-pin.selected { filter: brightness(1.2) saturate(1.3); }

/* Bottom-left severity legend overlay */
.stage-legend {
  position: absolute; left: 26px; bottom: 20px; z-index: 2;
  display: flex; gap: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--ap-text-dim); letter-spacing: 0.04em;
}
.sev-marker { display: inline-flex; align-items: center; gap: 7px; }

/* Bottom-right hint overlay */
.stage-hint {
  position: absolute; right: 26px; bottom: 20px; z-index: 2;
  font-size: 10.5px; color: var(--ap-text-mute); letter-spacing: 0.04em;
}

/* SVG marker styling */
.marker-pin {
  transform-origin: center;
  transform-box: fill-box;
  animation: floatY 3.6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.marker-shadow { fill: rgba(0,0,0,0.4); }

.vessel-drawer {
  grid-column: 2 / 3; grid-row: 3 / 4;
  border-left: 1px solid var(--ap-line);
  background: rgba(0,0,0,0.30);
  padding: 24px;
  min-height: 460px;
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer-pill {
  font-size: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(251,191,36,0.12); color: var(--ap-warn);
  border: 1px solid rgba(251,191,36,0.25); letter-spacing: 0.12em;
}
.drawer-pill.sev-1 { background: rgba(239,68,68,0.12); color: #fb7185; border-color: rgba(239,68,68,0.25); }
.drawer-pill.sev-3 { background: rgba(34,197,94,0.12); color: var(--ap-success); border-color: rgba(34,197,94,0.25); }
.drawer-code { font-size: 11px; color: var(--ap-text-mute); }
.drawer-title { font-size: 18px; font-weight: 600; margin-bottom: 12px; line-height: 1.3; }
.drawer-meta { font-size: 11px; color: var(--ap-text-mute); margin-bottom: 16px; line-height: 1.7; }
.drawer-meta span { display: block; }
.drawer-meta b { color: var(--ap-text-dim); font-weight: 500; }
.drawer-desc { font-size: 13px; color: var(--ap-text-dim); line-height: 1.6; }
.drawer-actions { margin-top: 22px; display: flex; gap: 8px; }

/* Counters ribbon */
.counters-ribbon {
  margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.counter-card { padding: 22px; border-radius: 16px; }
.counter-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 11px; color: var(--ap-text-dim); }
.counter-trend { font-size: 10px; padding: 2px 8px; border-radius: 999px; }
.counter-trend.up { background: rgba(94,234,212,0.10); color: var(--ap-accent); }
.counter-trend.down { background: rgba(251,113,133,0.10); color: var(--ap-danger); }
.counter-trend.ok { background: rgba(52,211,153,0.10); color: var(--ap-success); }
.counter-orb { position: relative; width: 100%; aspect-ratio: 1; max-width: 130px; margin: 0 auto; }
.counter-orb svg { width: 100%; height: 100%; }
.counter-val {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column;
  font-size: 20px; font-weight: 600; letter-spacing: -0.01em;
}
.counter-val em { font-style: normal; color: var(--ap-text-dim); font-weight: 400; }
.counter-val sub { font-size: 10px; color: var(--ap-text-mute); margin-top: 2px; }
.counter-foot { font-size: 10px; color: var(--ap-text-mute); text-align: center; margin-top: 14px; letter-spacing: 0.06em; }

/* ── Sectors ────────────────────────────────────────────── */
.sector-card { padding: 36px; border-radius: 20px; }
.sector-tag {
  display: inline-block; font-size: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(124,156,255,0.10); color: var(--ap-accent-2); margin-bottom: 18px;
  letter-spacing: 0.18em; border: 1px solid rgba(124,156,255,0.20);
}
.sector-offshore .sector-tag { background: rgba(192,132,252,0.10); color: var(--ap-accent-3); border-color: rgba(192,132,252,0.20); }
.sector-card h3 { font-size: 24px; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.01em; }
.sector-card > p { font-size: 14px; color: var(--ap-text-dim); margin-bottom: 26px; }
.sector-bullets { display: grid; gap: 12px; }
.bullet {
  display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 12px;
  font-size: 13px; color: var(--ap-text-dim);
  padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.05);
}
.bullet .mono {
  font-size: 11px; color: var(--ap-accent); letter-spacing: 0.06em;
}
.sector-offshore .bullet .mono { color: var(--ap-accent-3); }

/* ── Feed ───────────────────────────────────────────────── */
.feed-wrap { padding: 22px; border-radius: 20px; max-width: 920px; margin: 0 auto; }
.feed-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid var(--ap-line); margin-bottom: 8px;
}
.feed-tabs { display: flex; gap: 6px; }
.feed-tab {
  font-size: 12px; padding: 5px 12px; border-radius: 8px; color: var(--ap-text-mute);
  cursor: pointer;
}
.feed-tab.active { background: rgba(124,156,255,0.10); color: var(--ap-text); }
.feed-clock { font-size: 12px; color: var(--ap-accent); }
.feed-list { list-style: none; }
.feed-item {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 16px; padding: 14px 6px; border-bottom: 1px dashed rgba(255,255,255,0.04);
  align-items: center;
  animation: slideIn .35s ease;
}
@keyframes slideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.feed-time { font-size: 11px; color: var(--ap-text-mute); }
.feed-body { font-size: 13px; color: var(--ap-text); }
.feed-body small { display: block; color: var(--ap-text-mute); font-size: 11px; margin-top: 3px; }
.feed-tag {
  font-size: 10px; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.10em;
  font-family: 'JetBrains Mono', monospace; font-weight: 500;
}
.tag-1 { background: rgba(239,68,68,0.12); color: #fb7185; border: 1px solid rgba(239,68,68,0.25); }
.tag-2 { background: rgba(251,191,36,0.12); color: var(--ap-warn); border: 1px solid rgba(251,191,36,0.25); }
.tag-3 { background: rgba(34,197,94,0.12); color: var(--ap-success); border: 1px solid rgba(34,197,94,0.25); }
.tag-info { background: rgba(124,156,255,0.12); color: var(--ap-accent-2); border: 1px solid rgba(124,156,255,0.25); }

/* ── AI block ───────────────────────────────────────────── */
.ai-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.ai-text .h2 { text-align: left; }
.ai-text > p { margin-top: 16px; font-size: 15px; color: var(--ap-text-dim); }
.check-list { list-style: none; margin-top: 22px; }
.check-list li {
  font-size: 13px; color: var(--ap-text-dim); padding: 7px 0 7px 26px; position: relative;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(94,234,212,0.12); color: var(--ap-accent);
  font-size: 10px; display: flex; align-items: center; justify-content: center;
}
.ai-chat { padding: 22px; border-radius: 18px; }
.chat-head { font-size: 11px; color: var(--ap-text-dim); padding-bottom: 14px; border-bottom: 1px solid var(--ap-line); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.dot-mint { width: 6px; height: 6px; border-radius: 50%; background: var(--ap-success); box-shadow: 0 0 8px var(--ap-success); display: inline-block; }
.chat-msg { padding: 12px 16px; border-radius: 12px; margin: 10px 0; font-size: 13px; line-height: 1.6; }
.chat-msg.user { background: rgba(124,156,255,0.10); border: 1px solid rgba(124,156,255,0.20); margin-left: 24px; }
.chat-msg.bot { background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06); margin-right: 24px; color: var(--ap-text-dim); }
.chat-msg.bot p { margin-bottom: 8px; color: var(--ap-text); }
.chat-msg.bot ol { padding-left: 18px; }
.chat-msg.bot li { padding: 3px 0; }
.chat-cite { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--ap-line); font-size: 10px; color: var(--ap-text-mute); }

/* ── Founder note ───────────────────────────────────────── */
.founder-section { padding: 40px 0 80px; }
.founder-card {
  display: grid; grid-template-columns: 96px 1fr; gap: 32px;
  align-items: start;
  padding: 36px 44px; border-radius: 22px; max-width: 960px; margin: 0 auto;
  position: relative;
}
.founder-card::before {
  content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 3px;
  background: linear-gradient(180deg, var(--ap-accent-2), var(--ap-accent));
  border-radius: 2px;
}
.founder-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,156,255,0.18), rgba(94,234,212,0.12));
  border: 1px solid rgba(124,156,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ap-accent-2);
}
.founder-body { display: flex; flex-direction: column; gap: 14px; }
.founder-tag {
  display: inline-block; align-self: flex-start;
  font-size: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(94,234,212,0.10); color: var(--ap-accent);
  border: 1px solid rgba(94,234,212,0.20);
}
.founder-quote {
  font-size: 17px; line-height: 1.55; color: var(--ap-text);
  font-style: italic; margin: 0;
}
.founder-sig {
  display: flex; flex-direction: column; gap: 2px; margin-top: 8px;
  padding-top: 14px; border-top: 1px solid var(--ap-line);
}
.founder-name { font-size: 14px; font-weight: 600; color: var(--ap-text); }
.founder-role { font-size: 11px; color: var(--ap-text-mute); }

@media (max-width: 760px) {
  .founder-card {
    grid-template-columns: 1fr; gap: 20px;
    padding: 28px 24px;
  }
  .founder-avatar { width: 72px; height: 72px; font-size: 22px; }
}

/* ── Team grid (sous le founder-card) ───────────────────── */
.team-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.team-member {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
  border: 1px solid var(--ap-line);
  border-radius: 14px;
  background: rgba(255,255,255,0.015);
}
.team-member .team-role {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ap-accent);
  text-transform: uppercase;
}
.team-member .team-desc {
  font-size: 12.5px;
  color: var(--ap-text-dim);
  line-height: 1.55;
}
@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ── Method styles deprecated — replaced by the interactive Strategy section below ── */

/* ── Modules (2 cartes) ─────────────────────────────────── */
.modules-section { padding: 80px 0 100px; }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 22px;
}

/* Cadre coloré autour de chaque module — palette du schéma stratégie */
.module-frame {
  position: relative;
  border-radius: 22px;
  padding: 34px 24px 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0)) padding-box,
    linear-gradient(135deg, var(--frame-color, #5eead4) 0%, var(--frame-color-2, #7c9cff) 100%) border-box;
  border: 1.5px solid transparent;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.30) inset,
    0 0 40px -10px var(--frame-color, #5eead4),
    0 0 0 1px rgba(255,255,255,0.02);
  transition: box-shadow .25s ease, transform .25s ease;
}
.module-frame:hover {
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.30) inset,
    0 0 60px -8px var(--frame-color, #5eead4),
    0 0 0 1px rgba(255,255,255,0.04);
}
.module-frame--wide { grid-column: 1 / -1; }
.module-frame .module-card-wide { grid-column: auto; }

/* Carte dans un cadre coloré : fond opaque + pas de backdrop-filter
   pour éviter que le glow du cadre teinte le body via saturate() */
.module-frame .module-card {
  background: var(--ap-bg-1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.module-frame .module-card::after { display: none; }
.module-frame .module-shot {
  background:
    linear-gradient(140deg, rgba(124,156,255,0.06), rgba(94,234,212,0.04) 50%, rgba(192,132,252,0.05)),
    var(--ap-bg-1);
}

/* Variantes de couleurs (palette du schéma stratégie) */
.module-frame--cyan   { --frame-color: #5eead4; --frame-color-2: #7c9cff; }
.module-frame--violet { --frame-color: #c084fc; --frame-color-2: #ec4899; }
.module-frame--amber  { --frame-color: #fbbf24; --frame-color-2: #ec4899; }
.module-frame--green  { --frame-color: #34d399; --frame-color-2: #5eead4; }
.module-frame--yellow { --frame-color: #fde047; --frame-color-2: #facc15; }

.module-frame-title {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--ap-bg-0);
  padding: 4px 16px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--frame-color, #5eead4);
  text-shadow: 0 0 18px color-mix(in oklab, var(--frame-color, #5eead4) 70%, transparent);
  border: 1px solid color-mix(in oklab, var(--frame-color, #5eead4) 50%, transparent);
  border-radius: 999px;
  white-space: nowrap;
  max-width: calc(100% - 56px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.module-frame-title::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--frame-color, #5eead4);
  box-shadow: 0 0 10px var(--frame-color, #5eead4);
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
  animation: module-frame-pulse 2.4s ease-in-out infinite;
}
@keyframes module-frame-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--frame-color, #5eead4); }
  50%      { opacity: 0.55; box-shadow: 0 0 4px var(--frame-color, #5eead4); }
}

/* Carte CTA finale — "le prochain c'est le vôtre" */
.module-card-cta {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(52,211,153,0.08), transparent 60%),
    var(--ap-bg-1);
  border: 1px solid rgba(52,211,153,0.10);
  border-radius: 18px;
  flex-direction: column;
}
.module-cta-body {
  width: 100%;
  flex: 1 1 auto;
  padding: 72px 32px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  min-height: 220px;
}
.module-cta-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600; letter-spacing: -0.01em;
  color: var(--ap-text); margin: 0;
}
.module-cta-text {
  max-width: 620px; color: var(--ap-text-dim);
  font-size: 15px; line-height: 1.6; margin: 0;
}
.module-cta-link {
  margin-top: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(52,211,153,0.45);
  background: linear-gradient(135deg, rgba(52,211,153,0.12), rgba(94,234,212,0.08));
  color: #34d399;
  font-size: 12px; letter-spacing: 0.10em; text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.module-cta-link:hover {
  background: linear-gradient(135deg, rgba(52,211,153,0.22), rgba(94,234,212,0.14));
  border-color: rgba(52,211,153,0.70);
  transform: translateY(-1px);
}

.module-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.module-shot {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(140deg, rgba(124,156,255,0.10), rgba(94,234,212,0.06) 50%, rgba(192,132,252,0.08)),
    var(--ap-bg-1);
  border-bottom: 1px solid var(--ap-line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.module-shot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.module-shot-vessel {
  aspect-ratio: auto;
  padding: 0;
  background: #050710;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
.module-shot-vessel img {
  width: 100%;
  height: auto;
  display: block;
}
.module-shot-vessel .module-shot-link {
  margin: 14px auto 18px;
  align-self: center;
}

/* Wide card — Vue 360° spans full grid row, image left / body right */
.module-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
}
.module-card-wide .module-shot {
  flex: 1 1 62%;
  border-bottom: none;
  border-right: 1px solid var(--ap-line);
  min-width: 0;
}
.module-card-wide .module-body {
  flex: 1 1 38%;
  justify-content: center;
  padding: 32px 36px;
}
@media (max-width: 860px) {
  .module-card-wide { flex-direction: column; }
  .module-card-wide .module-shot {
    border-right: none;
    border-bottom: 1px solid var(--ap-line);
  }
  .module-card-wide .module-body { padding: 24px 26px 26px; }
}

.module-shot-planning {
  aspect-ratio: 1999 / 1570;
  padding: 0;
  background: #0a0f1a;
}
.module-shot-planning img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
}
.module-shot-link {
  color: var(--ap-accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid rgba(94,234,212,0.30);
  border-radius: 999px;
  background: rgba(94,234,212,0.06);
  transition: all .15s;
  cursor: pointer;
  animation: module-shot-link-pulse 2.2s ease-in-out infinite;
}
.module-shot-link:hover {
  background: rgba(94,234,212,0.12);
  border-color: rgba(94,234,212,0.50);
  animation: none;
  box-shadow: 0 0 16px rgba(94,234,212,0.45);
}
@keyframes module-shot-link-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(94,234,212,0.45);
    border-color: rgba(94,234,212,0.30);
    background: rgba(94,234,212,0.06);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(94,234,212,0);
    border-color: rgba(94,234,212,0.75);
    background: rgba(94,234,212,0.14);
  }
}
@media (prefers-reduced-motion: reduce) {
  .module-shot-link { animation: none; }
}
.module-body {
  padding: 24px 26px 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.module-tag {
  font-size: 10.5px;
  letter-spacing: 0.20em;
  color: var(--ap-text-mute);
}
.module-body h3 {
  font-size: 20px; font-weight: 600; color: var(--ap-text);
  margin: 0; line-height: 1.25;
}
.module-benefits {
  list-style: none; padding: 0; margin: 6px 0 0;
  display: flex; flex-direction: column; gap: 8px;
}
.module-benefits li {
  font-size: 13px;
  color: var(--ap-text-dim);
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}
.module-benefits li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ap-accent);
  opacity: 0.7;
}
@media (max-width: 880px) {
  .modules-grid { grid-template-columns: 1fr; }
}

/* ── Synergy (interactive AI hub diagram) ───────────────── */
.synergy-section { padding: 80px 0 110px; }

.synergy-stage {
  max-width: 1100px;
  margin: 40px auto 0;
}

.synergy-diagram-svg {
  width: 100%;
  height: auto;
  max-height: 620px;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.45));
  /* Flux par module — couleurs primaires des encadrements (cyan / violet / amber / green).
     Les noms de classes restent blue/teal/violet/amber par module 1→4. */
  --syn-blue:   #5eead4; /* Module 1 — cyan  */
  --syn-teal:   #c084fc; /* Module 2 — violet */
  --syn-violet: #fbbf24; /* Module 3 — amber */
  --syn-amber:  #34d399; /* Module 4 — green */
}

/* OPSIRIS universe frame — conteneur de l'écosystème */
.synergy-diagram-svg .syn-universe-frame {
  fill: rgba(94,234,212,0.03);
  stroke: rgba(94,234,212,0.38);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 2 6;
  filter: drop-shadow(0 0 20px rgba(94,234,212,0.12));
}
/* Crochets HUD aux coins du viewport */
.synergy-diagram-svg .syn-universe-corner {
  fill: none;
  stroke: rgba(94,234,212,0.6);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px rgba(94,234,212,0.45));
}
/* Étiquette OPSIRIS minimaliste posée sur le bord */
.synergy-diagram-svg .syn-universe-tab-bg {
  fill: #060912;
  stroke: none;
}
.synergy-diagram-svg .syn-universe-tab-text {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  fill: var(--ap-text, #eef2f8);
}
.synergy-diagram-svg .syn-universe-tab-em {
  fill: #5eead4;
}

/* Lit paths — colored, glowing, always-on to express continuous flow */
.synergy-diagram-svg .syn-line {
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.6;
  filter: drop-shadow(0 0 5px currentColor);
}
.synergy-diagram-svg .syn-blue   { color: var(--syn-blue);   stroke: var(--syn-blue); }
.synergy-diagram-svg .syn-teal   { color: var(--syn-teal);   stroke: var(--syn-teal); }
.synergy-diagram-svg .syn-violet { color: var(--syn-violet); stroke: var(--syn-violet); }
.synergy-diagram-svg .syn-amber  { color: var(--syn-amber);  stroke: var(--syn-amber); }
.synergy-diagram-svg .syn-dashed {
  stroke: rgba(255,255,255,0.25);
  stroke-dasharray: 5 6;
  opacity: 1;
  filter: none;
}

/* Particles */
.synergy-diagram-svg .syn-particle {
  fill: currentColor;
  filter: drop-shadow(0 0 6px currentColor);
}
.synergy-diagram-svg .syn-blue-dot   { color: var(--syn-blue); }
.synergy-diagram-svg .syn-teal-dot   { color: var(--syn-teal); }
.synergy-diagram-svg .syn-violet-dot { color: var(--syn-violet); }
.synergy-diagram-svg .syn-amber-dot  { color: var(--syn-amber); }

/* Module nodes — reprise des encadrements modules : cadre dégradé + glow + pastille titre */
.synergy-diagram-svg .syn-node-bg {
  fill: var(--ap-bg-1, #0a0f19);
  stroke: rgba(255,255,255,0.18);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}
/* Bordure dégradée 135° identique aux .module-frame--* + halo coloré */
.synergy-diagram-svg .syn-node-cyan   .syn-node-bg { stroke: url(#syn-grad-cyan);   filter: drop-shadow(0 0 14px rgba(94,234,212,0.45)); }
.synergy-diagram-svg .syn-node-violet .syn-node-bg { stroke: url(#syn-grad-violet); filter: drop-shadow(0 0 14px rgba(192,132,252,0.45)); }
.synergy-diagram-svg .syn-node-amber  .syn-node-bg { stroke: url(#syn-grad-amber);  filter: drop-shadow(0 0 14px rgba(251,191,36,0.45)); }
.synergy-diagram-svg .syn-node-green  .syn-node-bg { stroke: url(#syn-grad-green);  filter: drop-shadow(0 0 14px rgba(52,211,153,0.45)); }
.synergy-diagram-svg .syn-node-dashed .syn-node-bg {
  stroke: rgba(52,211,153,0.55);
  stroke-dasharray: 5 5;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  fill: rgba(10,15,25,0.6);
  filter: drop-shadow(0 0 12px rgba(52,211,153,0.30));
}

/* Nom du module (texte principal dans le cadre) */
.synergy-diagram-svg .syn-node-name {
  fill: var(--ap-text);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Pastille titre flottante (équivalent .module-frame-title) */
.synergy-diagram-svg .syn-node-pill-bg {
  fill: var(--ap-bg-0, #060912);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.synergy-diagram-svg .syn-node-pill-text {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
}
.synergy-diagram-svg .syn-node-pill-dot {
  animation: synPillPulse 2.4s ease-in-out infinite;
}
/* Couleur de pastille par module */
.synergy-diagram-svg .syn-node-cyan   .syn-node-pill-bg { stroke: rgba(94,234,212,0.5); }
.synergy-diagram-svg .syn-node-cyan   .syn-node-pill-text { fill: #5eead4; }
.synergy-diagram-svg .syn-node-cyan   .syn-node-pill-dot  { fill: #5eead4; }
.synergy-diagram-svg .syn-node-violet .syn-node-pill-bg { stroke: rgba(192,132,252,0.5); }
.synergy-diagram-svg .syn-node-violet .syn-node-pill-text { fill: #c084fc; }
.synergy-diagram-svg .syn-node-violet .syn-node-pill-dot  { fill: #c084fc; }
.synergy-diagram-svg .syn-node-amber  .syn-node-pill-bg { stroke: rgba(251,191,36,0.5); }
.synergy-diagram-svg .syn-node-amber  .syn-node-pill-text { fill: #fbbf24; }
.synergy-diagram-svg .syn-node-amber  .syn-node-pill-dot  { fill: #fbbf24; }
.synergy-diagram-svg .syn-node-green  .syn-node-pill-bg { stroke: rgba(52,211,153,0.5); }
.synergy-diagram-svg .syn-node-green  .syn-node-pill-text { fill: #34d399; }
.synergy-diagram-svg .syn-node-green  .syn-node-pill-dot  { fill: #34d399; }
@keyframes synPillPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

/* Texte du nœud "+ à venir" — couleur "prochain module" (green) */
.synergy-diagram-svg .syn-node-sub {
  fill: #34d399;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* AI hub */
.synergy-diagram-svg .syn-hub-ring-outer {
  fill: rgba(10,15,25,0.4);
  stroke: rgba(94,234,212,0.5);
  stroke-width: 1;
  filter: drop-shadow(0 0 24px rgba(94,234,212,0.45));
}
.synergy-diagram-svg .syn-hub-ring-inner {
  fill: rgba(10,15,25,0.92);
  stroke: rgba(94,234,212,0.85);
  stroke-width: 1.5;
  animation: synHubPulse 2.8s ease-in-out infinite;
}
@keyframes synHubPulse {
  0%, 100% { stroke-opacity: 0.6; }
  50%      { stroke-opacity: 1; }
}
.synergy-diagram-svg .syn-hub-text {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
  fill: #5eead4;
  filter: drop-shadow(0 0 10px rgba(94,234,212,0.65));
}

@media (prefers-reduced-motion: reduce) {
  .synergy-diagram-svg .syn-particle { display: none; }
  .synergy-diagram-svg .syn-hub-ring-inner { animation: none; }
  .synergy-diagram-svg .syn-node-pill-dot { animation: none; }
}

@media (max-width: 760px) {
  .synergy-diagram-svg { max-height: 440px; }
  .synergy-diagram-svg .syn-node-name { font-size: 14px; }
  .synergy-diagram-svg .syn-node-sub  { font-size: 11px; }
  .synergy-diagram-svg .syn-node-pill-text { font-size: 9px; }
  .synergy-diagram-svg .syn-universe-tab-text { font-size: 11px; letter-spacing: 0.10em; }
  .synergy-diagram-svg .syn-hub-text { font-size: 24px; }
}

/* ── Security cards ─────────────────────────────────────── */
.sec-card { text-align: left; padding: 24px; }
.sec-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(124,156,255,0.12); border: 1px solid rgba(124,156,255,0.20);
  display: flex; align-items: center; justify-content: center;
  color: var(--ap-accent-2); margin-bottom: 14px;
}
.sec-icon svg { width: 18px; height: 18px; }
.sec-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.sec-card p { font-size: 12px; color: var(--ap-text-dim); }

/* ── CTA ────────────────────────────────────────────────── */
.cta-section { padding: 100px 0 120px; }
.cta-card { padding: 56px 48px; border-radius: 22px; text-align: center; max-width: 860px; margin: 0 auto; }
.cta-card .h2 { margin-bottom: 14px; }
.cta-card > p { color: var(--ap-text-dim); font-size: 16px; margin-bottom: 32px; }
.cta-form {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; max-width: 740px; margin: 0 auto;
}
.cta-form input, .cta-form select {
  padding: 12px 14px; border-radius: 10px; font-size: 13px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: var(--ap-text); font-family: inherit;
}
.cta-form input::placeholder { color: var(--ap-text-mute); }
.cta-form input:focus, .cta-form select:focus {
  outline: 0; border-color: var(--ap-accent-2); background: rgba(124,156,255,0.06);
}
.cta-note { margin-top: 18px; font-size: 11px; color: var(--ap-text-mute); }

/* ── Footer ─────────────────────────────────────────────── */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--ap-line); margin-top: 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 60px; padding-bottom: 36px;
}
.foot-tag { font-size: 10px; color: var(--ap-text-mute); margin-top: 10px; letter-spacing: 0.20em; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot-h { display: block; font-size: 11px; color: var(--ap-text-dim); margin-bottom: 14px; letter-spacing: 0.16em; }
.foot-cols a { display: block; font-size: 13px; color: var(--ap-text-mute); padding: 4px 0; transition: color .15s; }
.foot-cols a:hover { color: var(--ap-text); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--ap-line);
  font-size: 11px; color: var(--ap-text-mute);
}
.foot-bottom span { display: inline-flex; align-items: center; gap: 8px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .vessel-app { grid-template-columns: 1fr; }
  .vessel-stage { min-height: 320px; padding: 16px 16px 48px; grid-column: 1 / -1; }
  .vessel-drawer { grid-column: 1 / -1; grid-row: auto; border-left: 0; border-top: 1px solid var(--ap-line); min-height: auto; }
  .ai-row { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 1100px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .answer-pillars { grid-template-columns: 1fr; gap: 12px; }
  .manifesto-answer { padding: 28px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .grid-6, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 22px; }
  .stat + .stat { border-left: 0; padding-left: 0; }
  .counters-ribbon { grid-template-columns: repeat(2, 1fr); }
  .cta-form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .vessel-stage { min-height: 280px; padding: 12px; }
  .feed-item { grid-template-columns: 60px 1fr auto; gap: 10px; }
  .manifesto-answer h3 { font-size: 22px; }
  .v2-note { flex-direction: column; gap: 8px; }
}

/* ── Strategy (interactive network diagram + timeline) ──── */
.strategy-section { padding: 90px 0 100px; }

.strategy-stage {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  /* Accent palette lifted here so the caption + timeline can inherit it too */
  --sp-cyan:    #5eead4;
  --sp-violet:  #c084fc;
  --sp-magenta: #ec4899;
  --sp-amber:   #fbbf24;
  --sp-green:   #34d399;
  /* Color of the currently active / locked step (updated by strategy.js) */
  --current-step-color: var(--sp-cyan);
}
.strategy-stage[data-active-color="cyan"]    { --current-step-color: var(--sp-cyan);    }
.strategy-stage[data-active-color="violet"]  { --current-step-color: var(--sp-violet);  }
.strategy-stage[data-active-color="magenta"] { --current-step-color: var(--sp-magenta); }
.strategy-stage[data-active-color="amber"]   { --current-step-color: var(--sp-amber);   }
.strategy-stage[data-active-color="green"]   { --current-step-color: var(--sp-green);   }

/* Each step exposes its own colour for active styling */
.strategy-tl-step[data-color="cyan"]    { --step-color: var(--sp-cyan);    }
.strategy-tl-step[data-color="violet"]  { --step-color: var(--sp-violet);  }
.strategy-tl-step[data-color="magenta"] { --step-color: var(--sp-magenta); }
.strategy-tl-step[data-color="amber"]   { --step-color: var(--sp-amber);   }
.strategy-tl-step[data-color="green"]   { --step-color: var(--sp-green);   }

.strategy-diagram {
  width: 100%;
  height: auto;
  max-height: 460px;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.45));
}
/* Vertical variant is mobile-only; hidden on desktop */
.strategy-diagram--vert { display: none; }

/* ── Diagram: accent palette (only used for the lit paths) ── */
.strategy-diagram {
  --sp-cyan:     #5eead4;
  --sp-violet:   #c084fc;
  --sp-magenta:  #ec4899;
  --sp-amber:    #fbbf24;
  --sp-green:    #34d399;
}

/* Base (very dim) path strokes — visible just enough to read the network,
   but quiet enough to avoid the "Christmas tree" effect */
.strategy-diagram .sp-line {
  fill: none;
  stroke-width: 1.1;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  /* Neutral grey baseline so inactive paths don't compete for attention */
  stroke: rgba(255,255,255,0.18) !important;
  opacity: 1;
  transition: stroke 0.5s ease, opacity 0.5s ease, stroke-width 0.5s ease, filter 0.5s ease;
}
.strategy-diagram .sp-dashed  { stroke-dasharray: 6 6; }

/* Active path: full color, brighter, thicker, glow */
.strategy-diagram .sp-line.is-lit {
  opacity: 1;
  stroke-width: 2.4;
  filter: drop-shadow(0 0 6px currentColor);
}
.strategy-diagram .sp-line.sp-cyan.is-lit    { color: var(--sp-cyan);    stroke: var(--sp-cyan)    !important; }
.strategy-diagram .sp-line.sp-violet.is-lit  { color: var(--sp-violet);  stroke: var(--sp-violet)  !important; }
.strategy-diagram .sp-line.sp-magenta.is-lit { color: var(--sp-magenta); stroke: var(--sp-magenta) !important; }
.strategy-diagram .sp-line.sp-amber.is-lit   { color: var(--sp-amber);   stroke: var(--sp-amber)   !important; }
.strategy-diagram .sp-line.sp-green.is-lit   { color: var(--sp-green);   stroke: var(--sp-green)   !important; }

/* Particles — hidden by default; only the active step's color flows */
.strategy-diagram .sp-particle {
  fill: currentColor;
  filter: drop-shadow(0 0 4px currentColor);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.strategy-diagram .sp-cyan-dot    { color: var(--sp-cyan);    }
.strategy-diagram .sp-violet-dot  { color: var(--sp-violet);  }
.strategy-diagram .sp-magenta-dot { color: var(--sp-magenta); }
.strategy-diagram .sp-amber-dot   { color: var(--sp-amber);   }
.strategy-diagram .sp-green-dot   { color: var(--sp-green);   }

/* Reveal only the particles whose color matches the active step */
.strategy-diagram[data-active-line~="cyan"]    .sp-cyan-dot,
.strategy-diagram[data-active-line~="violet"]  .sp-violet-dot,
.strategy-diagram[data-active-line~="magenta"] .sp-magenta-dot,
.strategy-diagram[data-active-line~="amber"]   .sp-amber-dot,
.strategy-diagram[data-active-line~="green"]   .sp-green-dot {
  opacity: 1;
}

/* Nodes */
.strategy-diagram .sp-node-halo {
  fill: rgba(124,156,255,0.0);
  stroke: rgba(124,156,255,0.0);
  stroke-width: 1.5;
  transition: fill 0.4s ease, stroke 0.4s ease, filter 0.4s ease;
}
.strategy-diagram .sp-node.is-glow .sp-node-halo {
  fill:   color-mix(in srgb, var(--current-step-color) 8%, transparent);
  stroke: color-mix(in srgb, var(--current-step-color) 60%, transparent);
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--current-step-color) 55%, transparent));
}
.strategy-diagram .sp-node-bg {
  fill: var(--ap-bg-1);
  stroke: rgba(255,255,255,0.16);
  stroke-width: 1;
  transition: stroke 0.4s ease;
}
.strategy-diagram .sp-node.is-glow .sp-node-bg {
  stroke: color-mix(in srgb, var(--current-step-color) 70%, transparent);
}
.strategy-diagram .sp-node-icon {
  fill: none;
  stroke: var(--ap-text);
  stroke-width: 1.5;
  opacity: 0.85;
  transition: stroke 0.4s ease, opacity 0.4s ease;
}
.strategy-diagram .sp-node.is-glow .sp-node-icon {
  stroke: var(--current-step-color);
  opacity: 1;
}
.strategy-diagram .sp-node-label {
  fill: var(--ap-text-dim);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: fill 0.4s ease;
}
.strategy-diagram .sp-node.is-glow .sp-node-label {
  fill: var(--ap-text);
}

/* Caption (synced with active step) — tinted with the step's signature color */
.strategy-caption {
  margin: 4px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--current-step-color, var(--ap-text-dim));
  min-height: 1.6em;
  transition: opacity 0.3s ease, color 0.4s ease;
}
.strategy-caption.is-fading { opacity: 0; }

/* Legend */
.strategy-legend {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--ap-text-mute);
  text-transform: uppercase;
}
.strategy-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.leg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px currentColor;
}
.leg-cyan    { color: #5eead4; background: currentColor; }
.leg-violet  { color: #c084fc; background: currentColor; }
.leg-magenta { color: #ec4899; background: currentColor; }
.leg-amber   { color: #fbbf24; background: currentColor; }
.leg-green   { color: #34d399; background: currentColor; }

/* Timeline of 5 steps (auto-cycling) */
.strategy-timeline {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.strategy-tl-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 16px 14px;
  border: 1px solid var(--ap-line);
  border-radius: 12px;
  background: rgba(255,255,255,0.015);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.2s ease;
}
.strategy-tl-step:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
  transform: translateY(-1px);
}
.strategy-tl-step .tl-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(124,156,255,0.08);
  border: 1px solid rgba(124,156,255,0.22);
  color: var(--ap-text-mute);
  font-size: 11px;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.strategy-tl-step .tl-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ap-text-dim);
  transition: color 0.35s ease;
}
.strategy-tl-step .tl-bar {
  position: relative;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  margin-top: auto;
}
.strategy-tl-step .tl-bar-fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, var(--ap-accent), var(--ap-accent-2));
  border-radius: inherit;
}
/* Active step picks up its own color (set via data-color) */
.strategy-tl-step.is-active {
  border-color: color-mix(in srgb, var(--step-color, var(--sp-cyan)) 55%, transparent);
  background: color-mix(in srgb, var(--step-color, var(--sp-cyan)) 6%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--step-color, var(--sp-cyan)) 14%, transparent) inset;
}
.strategy-tl-step.is-active .tl-num {
  background: color-mix(in srgb, var(--step-color, var(--sp-cyan)) 18%, transparent);
  border-color: color-mix(in srgb, var(--step-color, var(--sp-cyan)) 65%, transparent);
  color: var(--step-color, var(--sp-cyan));
  box-shadow: 0 0 12px color-mix(in srgb, var(--step-color, var(--sp-cyan)) 45%, transparent);
}
.strategy-tl-step.is-active .tl-label {
  color: var(--step-color, var(--sp-cyan));
}
.strategy-tl-step.is-active .tl-bar-fill {
  background: var(--step-color, var(--sp-cyan));
  animation: strategyTlBar 2600ms linear forwards;
}
@keyframes strategyTlBar {
  from { width: 0%; }
  to   { width: 100%; }
}
/* Locked (user clicked a step) — keep the active bar filled, no cycling */
.strategy-timeline.is-locked .strategy-tl-step.is-active .tl-bar-fill {
  animation: none;
  width: 100%;
}

/* Honor reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .strategy-diagram .sp-particle { display: none; }
  .strategy-tl-step.is-active .tl-bar-fill { animation: none; width: 100%; }
}

/* Responsive */
@media (max-width: 960px) {
  .strategy-section { padding: 70px 0 80px; }
  .strategy-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .strategy-tl-step { padding: 12px 10px; gap: 8px; }
  .strategy-tl-step .tl-label { font-size: 12px; }
}
@media (max-width: 720px) {
  /* Swap to vertical diagram, stack timeline below */
  .strategy-diagram:not(.strategy-diagram--vert) { display: none; }
  .strategy-diagram--vert {
    display: block;
    max-width: 360px;
    max-height: none;
    margin: 0 auto;
  }
  .strategy-diagram--vert .sp-node-label { font-size: 18px; }
  .strategy-legend { font-size: 10.5px; gap: 8px 14px; }
  .strategy-timeline {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .strategy-tl-step {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
  }
  .strategy-tl-step .tl-label { font-size: 14px; flex: 1; }
  .strategy-tl-step .tl-bar { width: 80px; margin-top: 0; }
}

/* ── Vessel demo modal ──────────────────────────────────── */
.demo-modal[hidden] { display: none; }
.demo-modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto;
  padding: 0;
  animation: demoModalFade .25s ease-out;
}
@keyframes demoModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.demo-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(3, 6, 14, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 0;
}
.demo-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 80px 0 80px;
  animation: demoModalSlide .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes demoModalSlide {
  from { transform: translateY(18px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.demo-modal-close {
  position: fixed;
  top: 22px; right: 26px;
  z-index: 2;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(15, 21, 35, 0.9);
  border: 1px solid var(--ap-line);
  color: var(--ap-text);
  font-size: 26px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.demo-modal-close:hover {
  background: rgba(124,156,255,0.15);
  border-color: rgba(124,156,255,0.45);
  transform: scale(1.05);
}
body.demo-modal-open { overflow: hidden; }

@media (max-width: 760px) {
  .demo-modal-panel { padding: 64px 0 60px; }
  .demo-modal-close { top: 14px; right: 14px; width: 38px; height: 38px; font-size: 22px; }
}

/* ── AI Mentor section ─────────────────────────────────── */
.ai-module-section { padding: 90px 0 100px; }
.ai-module-section .ai-badge {
  display: inline-flex; align-items: center;
  padding: 2px 8px; margin-left: 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(250,204,21,0.22), rgba(253,224,71,0.18));
  border: 1px solid rgba(250,204,21,0.40);
  color: #fde047;
  font-size: 10px; letter-spacing: 0.14em;
}

.ai-stage {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 900px) {
  .ai-stage { grid-template-columns: 1fr; }
}

/* Chat panel */
.ai-chat { padding: 0; overflow: hidden; }
.ai-chat-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--ap-line);
}
.ai-chat-name {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--ap-text);
}
.ai-chat-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ap-accent);
  box-shadow: 0 0 10px var(--ap-accent);
}
.ai-chat-sub {
  font-size: 11px; letter-spacing: 0.10em;
  color: var(--ap-text-mute); margin-top: 5px;
  padding-left: 17px;
}
.ai-chat-thread {
  padding: 18px 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
}

.ai-msg {
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px; line-height: 1.55;
  max-width: 88%;
}
.ai-msg-user {
  align-self: flex-end;
  background: rgba(124,156,255,0.10);
  border: 1px solid rgba(124,156,255,0.20);
  color: var(--ap-text);
  border-bottom-right-radius: 4px;
}
.ai-msg-bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--ap-line);
  color: var(--ap-text-dim);
  border-bottom-left-radius: 4px;
  max-width: 100%;
}

.ai-verified {
  display: inline-flex; align-items: center;
  padding: 4px 10px; margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(251,191,36,0.10);
  border: 1px solid rgba(251,191,36,0.32);
  color: var(--ap-warn);
  font-size: 10.5px; letter-spacing: 0.10em;
}
.ai-proc-title {
  font-size: 15px; font-weight: 600; color: var(--ap-text);
  margin: 0 0 14px; letter-spacing: -0.01em;
}
.ai-step { margin-top: 6px; }
.ai-step + .ai-step,
.ai-callout + .ai-step { margin-top: 14px; }
.ai-step-tag {
  display: block; font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--ap-accent-2); margin-bottom: 8px;
  text-transform: uppercase;
}
.ai-step ul { list-style: none; margin: 0; padding: 0; }
.ai-step li {
  position: relative; padding-left: 16px;
  font-size: 13px; line-height: 1.6; color: var(--ap-text-dim);
  margin-bottom: 4px;
}
.ai-step li::before {
  content: ""; position: absolute;
  left: 0; top: 11px; width: 8px; height: 1px;
  background: linear-gradient(90deg, var(--ap-accent), transparent);
}

.ai-callout {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--ap-success);
  background: rgba(52,211,153,0.07);
  border-radius: 0 10px 10px 0;
}
.ai-callout-tag {
  display: block; font-size: 10px; letter-spacing: 0.14em;
  color: var(--ap-success); margin-bottom: 6px;
}
.ai-callout p {
  margin: 0; font-style: italic;
  font-size: 13px; line-height: 1.6;
  color: var(--ap-text);
}

/* Evidence column */
.ai-evidence { display: flex; flex-direction: column; gap: 16px; }
.ai-evidence-card { padding: 20px 22px; }
.ai-evidence-title {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em; color: var(--ap-text);
  margin: 0 0 14px;
}
.ai-evidence-stock { border-color: rgba(52,211,153,0.25); }
.ai-part { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; }
.ai-part-dot {
  flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%;
  margin-top: 6px;
  background: var(--ap-success);
  box-shadow: 0 0 10px rgba(52,211,153,0.7);
}
.ai-part-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ai-part-body strong {
  font-size: 13px; color: var(--ap-text); font-weight: 600;
}
.ai-part-meta { font-size: 11px; color: var(--ap-text-mute); letter-spacing: 0.04em; }
.ai-verdict {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--ap-line);
  font-size: 12px; color: var(--ap-success); letter-spacing: 0.04em;
}

.ai-pdf-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ai-pdf { margin: 0; display: flex; flex-direction: column; gap: 7px; }
.ai-pdf-page {
  aspect-ratio: 3/4;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ai-pdf-page img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.ai-pdf:hover .ai-pdf-page {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
.ai-pdf figcaption {
  font-size: 9.5px; letter-spacing: 0.04em;
  color: var(--ap-text-mute); text-align: center;
}
.ai-pdf-note {
  margin: 14px 0 0;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--ap-text-mute);
}

.ai-evidence-learn {
  border-color: rgba(94,234,212,0.30);
  background-image: linear-gradient(150deg, rgba(94,234,212,0.07), rgba(124,156,255,0.04));
}
.ai-learn-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 4px;
}
.ai-learn-head .ai-evidence-title { margin: 0; }
.ai-learn-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ap-accent);
  box-shadow: 0 0 12px var(--ap-accent);
  animation: ai-pulse 2s ease-in-out infinite;
}
@keyframes ai-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(94,234,212,0.55), 0 0 12px var(--ap-accent); }
  50%      { box-shadow: 0 0 0 8px rgba(94,234,212,0), 0 0 12px var(--ap-accent); }
}
.ai-evidence-learn p {
  margin: 0; font-size: 13px; color: var(--ap-text-dim);
}

/* Conclusion banner */
.ai-conclusion {
  margin-top: 44px;
  text-align: center;
}
.ai-conclusion-rule {
  display: block;
  width: 84px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ap-accent), transparent);
  margin: 0 auto 18px;
}
.ai-conclusion p {
  margin: 0;
  font-size: 14px; letter-spacing: 0.02em;
  color: var(--ap-accent);
}

/* ── AI Module preview card (in modules grid) ──────────── */
.module-card-clickable { cursor: pointer; transition: transform .25s ease; }
.module-card-clickable:hover { transform: translateY(-2px); }
.module-card-clickable:focus-visible { outline: 2px solid var(--ap-accent); outline-offset: 3px; }

.module-shot-ai {
  aspect-ratio: auto;
  padding: 18px 18px 16px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background:
    linear-gradient(160deg, rgba(52,211,153,0.06), rgba(94,234,212,0.04) 60%, rgba(124,156,255,0.05)),
    var(--ap-bg-1);
  gap: 12px;
}

.mini-chat {
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
  pointer-events: none;
}
.mini-msg {
  font-size: 12.5px; line-height: 1.5;
  padding: 9px 12px;
  border-radius: 12px;
  max-width: 90%;
}
.mini-msg-user {
  align-self: flex-end;
  background: rgba(124,156,255,0.10);
  border: 1px solid rgba(124,156,255,0.22);
  color: var(--ap-text);
  border-bottom-right-radius: 4px;
}
.mini-msg-bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--ap-line);
  color: var(--ap-text-dim);
  border-bottom-left-radius: 4px;
  padding: 10px 12px 8px;
  max-width: 100%;
}
.mini-badge {
  display: inline-flex; align-items: center;
  padding: 2px 8px; margin-bottom: 6px;
  border-radius: 999px;
  background: rgba(251,191,36,0.10);
  border: 1px solid rgba(251,191,36,0.32);
  color: var(--ap-warn);
  font-size: 9.5px; letter-spacing: 0.08em;
}
.mini-title {
  margin: 0 0 8px;
  font-size: 12px; font-weight: 600;
  color: var(--ap-text);
  letter-spacing: -0.005em;
}
.mini-callout {
  padding: 7px 10px;
  border-left: 3px solid var(--ap-success);
  background: rgba(52,211,153,0.07);
  border-radius: 0 8px 8px 0;
  font-size: 11px; font-style: italic;
  line-height: 1.5; color: var(--ap-text);
}
.mini-callout-tag {
  display: block;
  font-style: normal;
  font-size: 9px; letter-spacing: 0.14em;
  color: var(--ap-success);
  margin-bottom: 3px;
}

.module-shot-ai .module-shot-link {
  align-self: center;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
