:root {
  --primary: #2A65B8;
  --primary-light: #7AA2E3;
  --primary-dark: #1a4a8a;
  --primary-glow: rgba(42, 101, 184, 0.35);
  --accent: #7AA2E3;
  --bg-dark: #000000;
  --bg-card: rgba(0, 0, 0, 0.82);
  --bg-card-hover: rgba(6, 6, 10, 0.95);
  --bg-section: #000000;
  --bg-elevated: rgba(4, 4, 8, 0.9);
  --text: #e8edf5;
  --text-muted: #7a8aa8;
  --text-dim: #4a5568;
  --border: rgba(42, 101, 184, 0.18);
  --border-light: rgba(255, 255, 255, 0.05);
  --gradient-bar: linear-gradient(90deg, #0a0a0a 0%, var(--primary) 100%);
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 50px var(--primary-glow);
  --nav-height: 52px;
  --nav-offset: 88px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Starfield background ── */
.stars-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  contain: layout style paint;
  isolation: isolate;
  background:
    radial-gradient(ellipse 80% 45% at 50% -8%, rgba(42, 101, 184, 0.035) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 92% 72%, rgba(42, 101, 184, 0.02) 0%, transparent 50%),
    radial-gradient(ellipse 30% 22% at 6% 62%, rgba(42, 101, 184, 0.018) 0%, transparent 45%),
    #000000;
  pointer-events: none;
}

.stars-bg::before {
  content: '';
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(ellipse 45% 35% at 28% 38%, rgba(42, 101, 184, 0.03) 0%, transparent 72%),
    radial-gradient(ellipse 35% 28% at 74% 58%, rgba(60, 90, 160, 0.022) 0%, transparent 68%);
  animation: nebula-drift 32s ease-in-out infinite alternate;
  opacity: 0.55;
}

.stars-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(0.5px 0.5px at 8% 12%, rgba(255,255,255,0.42) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 22% 38%, rgba(255,255,255,0.28) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 35% 72%, rgba(255,255,255,0.22) 0%, transparent 100%),
    radial-gradient(1px 1px at 48% 18%, rgba(122,162,227,0.35) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 62% 55%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 78% 28%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 88% 68%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 12% 82%, rgba(42,101,184,0.3) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 42% 44%, rgba(255,255,255,0.22) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 95% 8%, rgba(255,255,255,0.32) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 3% 48%, rgba(255,255,255,0.18) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 55% 88%, rgba(255,255,255,0.24) 0%, transparent 100%),
    radial-gradient(1px 1px at 68% 92%, rgba(42,101,184,0.28) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 18% 58%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 72% 78%, rgba(255,255,255,0.22) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 15% 25%, rgba(255,255,255,0.26) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 52% 62%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 22%, rgba(122,162,227,0.3) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 38% 8%, rgba(255,255,255,0.22) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 92% 52%, rgba(255,255,255,0.24) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 28% 95%, rgba(255,255,255,0.16) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 65% 35%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 33% 15%, rgba(255,220,180,0.2) 0%, transparent 100%),
    radial-gradient(0.5px 0.5px at 58% 42%, rgba(255,255,255,0.18) 0%, transparent 100%);
  animation: twinkle 14s ease-in-out infinite alternate;
  opacity: 0.7;
}

.stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.62;
}

@keyframes twinkle {
  0% { opacity: 0.55; }
  100% { opacity: 0.78; }
}

@keyframes nebula-drift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  50% { transform: translate(1.5%, -1%) scale(1.03); opacity: 0.55; }
  100% { transform: translate(-1%, 1.2%) scale(1.02); opacity: 0.45; }
}

.stars-bg--canvas::before,
.stars-bg--canvas::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .stars-bg::before,
  .stars-bg::after {
    animation: none;
  }
}

a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.surge { color: #fff; }
.studio { color: var(--primary-light); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head p {
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: #fff;
  background: rgba(42, 101, 184, 0.1);
}

.btn-ghost {
  background: #fff;
  color: #000;
  border-color: #fff;
  font-weight: 700;
}

.btn-ghost:hover {
  color: #000;
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.12);
}

.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

/* ── Navigation (floating pill) ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--nav-height);
  padding: 6px 8px 6px 12px;
  background: rgba(6, 6, 8, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.nav-pill:hover {
  border-color: rgba(42, 101, 184, 0.15);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.55), 0 0 24px rgba(42, 101, 184, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: opacity var(--transition);
}

.nav-logo:hover { opacity: 0.85; }

.nav-logo img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  animation: logo-glow 5s ease-in-out infinite;
}

@keyframes logo-glow {
  0%, 100% { opacity: 0.88; filter: drop-shadow(0 0 0 transparent); }
  50% { opacity: 1; filter: drop-shadow(0 0 6px rgba(42, 101, 184, 0.35)); }
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a,
.nav-links .nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  border-radius: 100px;
  transition: color var(--transition), background var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links .nav-dropdown-toggle:hover {
  color: rgba(255, 255, 255, 0.85);
}

.nav-links a.active,
.nav-links .nav-dropdown-toggle.active,
.nav-links .nav-wip-link.active {
  color: #fff;
  font-weight: 700;
}

.nav-wip-link {
  opacity: 0.75;
}

.nav-wip-link:hover {
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.85);
}

.nav-wip-link.active {
  opacity: 1;
}

.nav-chevron {
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.open .nav-chevron {
  transform: rotate(180deg);
  opacity: 0.8;
}

.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 180px;
  background: rgba(8, 8, 10, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav-action-link {
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  border-radius: 100px;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-action-link:hover { color: rgba(255, 255, 255, 0.85); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #000;
  background: #fff;
  border-radius: 100px;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  color: #000;
  opacity: 0.92;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: var(--transition);
  margin: 0 auto;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 100px;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero-text .badge img { width: 16px; height: 16px; }

.hero-text h1 { margin-bottom: 16px; }

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-tagline .accent { color: var(--primary-light); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 460px;
  min-height: 460px;
}

.hero-rocket {
  width: 200px;
  filter: drop-shadow(0 0 60px var(--primary-glow));
  animation: float 9s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(-5deg); }
}

.hero-orbit {
  position: absolute;
  width: 450px;
  height: 450px;
  border: 1px dashed rgba(42, 101, 184, 0.18);
  border-radius: 50%;
  animation: spin 90s linear infinite;
}

.hero-orbit::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-glow);
  opacity: 0.7;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Sections ── */
section { padding: 80px 0; }

.section--alt {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(42, 101, 184, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(42, 101, 184, 0.04) 0%, transparent 50%);
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), background var(--transition), transform 0.35s ease, box-shadow var(--transition);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.card:hover {
  border-color: rgba(42, 101, 184, 0.35);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ── Image placeholder ── */
.img-placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(160deg, rgba(0,0,0,0.9) 0%, rgba(42,101,184,0.06) 100%);
  border: 1px dashed rgba(42, 101, 184, 0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

.img-placeholder--square { aspect-ratio: 1; }
.img-placeholder--portrait { aspect-ratio: 3/4; }

/* ── Team / CEO cards ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.team-card {
  text-align: center;
}

.team-card .img-placeholder {
  margin-bottom: 20px;
  border-radius: 50%;
  aspect-ratio: 1;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
}

.team-card h3 { margin-bottom: 4px; }
.team-card .role {
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.team-card p { color: var(--text-muted); font-size: 0.92rem; text-align: left; }

/* ── Timeline / Story ── */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.story-block.reverse { direction: rtl; }
.story-block.reverse > * { direction: ltr; }

.story-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(42, 101, 184, 0.2);
}

/* ── Hero modern (voltre-style) ── */
.hero-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  text-align: center;
}

.hero-modern__content {
  max-width: 720px;
}

.hero-modern__content .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 28px;
}

.hero-modern__content .badge img { display: none; }

.hero-modern__content h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-modern__lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 8px;
}

.hero-modern__lead .accent {
  color: var(--primary-light);
  font-weight: 600;
}

.hero-modern .hero-actions {
  justify-content: center;
  margin-top: 36px;
}

/* ── Split layouts ── */
.split-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: 40px;
}

.split-layout--reverse {
  grid-template-columns: 1fr minmax(220px, 300px);
}

.split-layout--reverse .split-visual { order: 2; }
.split-layout--reverse .split-copy { order: 1; }

.split-copy .eyebrow { margin-bottom: 14px; }

.split-copy h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  margin-bottom: 20px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tag-pill {
  padding: 6px 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(42, 101, 184, 0.08);
  border: 1px solid rgba(42, 101, 184, 0.22);
  border-radius: 100px;
}

.split-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 540px;
}

.split-lead strong { color: #fff; font-weight: 600; }

.split-text {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 540px;
}

.split-visual {
  margin: 0;
  justify-self: center;
  position: relative;
}

.split-visual::before {
  content: '';
  position: absolute;
  inset: 8% 0;
  background: radial-gradient(ellipse at center, rgba(42, 101, 184, 0.2) 0%, transparent 70%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
}

.portrait-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  max-height: min(68vh, 640px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.portrait-frame--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.9) 0%, rgba(42, 101, 184, 0.06) 100%);
  border-style: dashed;
  border-color: rgba(42, 101, 184, 0.25);
}

.portrait-frame--placeholder small {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.6;
}

/* ── Bento cards ── */
.bento-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.bento-card {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.bento-card:hover {
  border-color: rgba(42, 101, 184, 0.28);
  background: rgba(42, 101, 184, 0.04);
  transform: translateY(-2px);
}

.bento-num {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  opacity: 0.55;
  margin-bottom: 12px;
}

.bento-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #fff;
}

.bento-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bento-row--compact .bento-card {
  padding: 18px 20px;
}

.bento-card--inline h3 {
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.bento-card--inline p {
  font-size: 0.8rem;
}

/* ── Story page (histoire) ── */
.story-page {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 300px);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.story-page__main {
  text-align: left;
}

.story-page__main .eyebrow {
  margin-bottom: 12px;
}

.story-page__main h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.story-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.story-quote {
  margin: 0;
  padding: 18px 20px 18px 22px;
  border-left: 2px solid var(--primary);
  background: rgba(42, 101, 184, 0.05);
  border-radius: 0 14px 14px 0;
}

.story-quote--alt {
  border-left-color: rgba(122, 162, 227, 0.45);
  background: rgba(255, 255, 255, 0.02);
}

.story-quote__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.story-quote p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.story-quote strong {
  color: #fff;
  font-weight: 600;
}

.story-pillars {
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.45);
}

.story-pillars__title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 18px;
}

.story-pillars ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.story-pillars li {
  position: relative;
  padding-left: 14px;
}

.story-pillars li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

.story-pillars strong {
  display: block;
  color: #fff;
  font-size: 0.86rem;
  margin-bottom: 4px;
}

.story-pillars span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.section-intro {
  text-align: center;
  margin-bottom: 28px;
}

.screen--top .section-intro { margin-bottom: 22px; }
.screen--top .section-intro h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.screen--top .section-copy { font-size: 0.92rem; margin-top: 12px; }
.screen--top .section-copy--muted { font-size: 0.86rem; margin-top: 8px; }
.screen--top .tag-row { margin-bottom: 14px; }
.screen--top .bento-row { gap: 10px; }
.screen--top .bento-card { padding: 16px 18px; }
.screen--top .bento-card h3 { font-size: 0.88rem; margin-bottom: 6px; }
.screen--top .bento-card p { font-size: 0.8rem; line-height: 1.5; }
.screen--top .bento-num { margin-bottom: 8px; }
.screen--top .story-page { align-items: center; }
.screen--top .founders-row { gap: 12px; }
.screen--top .founder-profile { padding: 18px; }
.screen--top .founder-profile__photo { width: 68px; height: 68px; }
.screen--top .founder-profile__avatar { font-size: 0.82rem; }
.screen--top .founder-profile__bio { font-size: 0.78rem; line-height: 1.55; }
.screen--top .founder-profile h3 { font-size: 1rem; }
.screen--top .founder-profile__role { font-size: 0.74rem; }
.screen--top .founder-profile__tags li { font-size: 0.62rem; padding: 4px 9px; }
.screen--top .direction-page__head { margin-bottom: 22px; }
.screen--top .direction-page__head h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.screen--top .direction-page__head p { font-size: 0.88rem; }

.section-intro--wide {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 12px auto 0;
}

.section-copy {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 16px;
}

.section-copy strong { color: #fff; font-weight: 600; }

.section-copy--muted {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-top: 12px;
}

.tag-row--center { justify-content: center; margin-top: 4px; }

/* ── Direction / fondateurs ── */
.direction-page {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.direction-page__head {
  text-align: left;
  margin-bottom: 28px;
  max-width: 560px;
}

.direction-page__head .eyebrow {
  margin-bottom: 12px;
}

.direction-page__head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.direction-page__head p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.founders-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.founders-row--solo {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.founders-row--clips {
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .founders-row--clips {
    grid-template-columns: 1fr;
  }
}

.founder-profile--clips {
  padding: 26px 28px;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(42, 101, 184, 0.12) 0%, transparent 55%),
    rgba(255, 255, 255, 0.02);
  border-color: rgba(122, 162, 227, 0.22);
}

.founder-profile--clips .founder-profile__photo {
  width: 96px;
  height: 96px;
}

.founder-profile {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  transition: border-color var(--transition), background var(--transition);
}

.founder-profile:hover {
  border-color: rgba(42, 101, 184, 0.28);
  background: rgba(42, 101, 184, 0.03);
}

.founder-profile__photo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(42, 101, 184, 0.35);
  box-shadow: 0 0 28px rgba(42, 101, 184, 0.12);
}

.founder-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-profile__avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--primary-light);
  background: linear-gradient(160deg, rgba(42, 101, 184, 0.2) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.founder-profile__content {
  flex: 1;
  min-width: 0;
}

.founder-profile__header {
  margin-bottom: 10px;
}

.founder-profile h3 {
  font-size: 1.1rem;
  margin-bottom: 3px;
}

.founder-profile__role {
  color: var(--primary-light);
  font-size: 0.78rem;
  font-weight: 600;
}

.founder-profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-bottom: 12px;
}

.founder-profile__tags li {
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(42, 101, 184, 0.1);
  border: 1px solid rgba(42, 101, 184, 0.22);
  border-radius: 100px;
}

.founder-profile__bio {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.founder-profile__bio strong {
  color: #fff;
  font-weight: 600;
}

/* ── CTA panel ── */
.cta-panel {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 36px 32px;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(42, 101, 184, 0.1) 0%, transparent 60%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(42, 101, 184, 0.22);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.cta-panel__head {
  margin-bottom: 28px;
}

.cta-panel__head .eyebrow {
  margin-bottom: 14px;
}

.cta-panel h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-panel__accent {
  color: var(--primary-light);
}

.cta-panel__lead {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto;
}

.cta-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-bottom: 28px;
}

.cta-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.cta-card:hover {
  border-color: rgba(42, 101, 184, 0.35);
  background: rgba(42, 101, 184, 0.06);
  transform: translateX(4px);
  color: inherit;
}

.cta-card--primary {
  border-color: rgba(42, 101, 184, 0.35);
  background: rgba(42, 101, 184, 0.08);
}

.cta-card--primary:hover {
  background: rgba(42, 101, 184, 0.14);
  border-color: rgba(42, 101, 184, 0.5);
}

.cta-card__step {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary-light);
  background: rgba(42, 101, 184, 0.12);
  border: 1px solid rgba(42, 101, 184, 0.25);
  border-radius: 50%;
}

.cta-card__body {
  flex: 1;
  min-width: 0;
}

.cta-card__body strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.cta-card__body span {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.cta-card__arrow {
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--primary-light);
  opacity: 0.5;
  transition: opacity var(--transition), transform var(--transition);
}

.cta-card:hover .cta-card__arrow {
  opacity: 1;
  transform: translateX(3px);
}

.cta-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-dim);
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-footer__sep {
  opacity: 0.4;
}

/* ── Base / Scripts hero ── */
.base-hero,
.scripts-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  min-height: calc(100vh - var(--nav-offset) - 48px);
}

.base-hero__main,
.scripts-hero__main {
  text-align: left;
}

.base-hero__main .eyebrow,
.scripts-hero__main .eyebrow {
  margin-bottom: 14px;
}

.base-hero__main h1,
.scripts-hero__main h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.base-hero__lead,
.scripts-hero__lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 440px;
}

.base-hero__panel,
.scripts-hero__panel {
  padding: 28px 26px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(42, 101, 184, 0.16) 0%, transparent 55%),
    rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(122, 162, 227, 0.28);
  border-radius: 20px;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.35),
    inset 0 0 60px rgba(42, 101, 184, 0.06);
}

.scripts-hero__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(42, 101, 184, 0.12);
  border: 1px solid rgba(42, 101, 184, 0.3);
  border-radius: 100px;
}

.base-hero__panel-title,
.scripts-hero__panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.35;
}

.base-hero__accent,
.scripts-hero__accent {
  color: var(--primary-light);
}

.base-hero__features,
.scripts-hero__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.base-hero__features li,
.scripts-hero__features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.base-hero__check,
.scripts-hero__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  background: rgba(42, 101, 184, 0.12);
  border: 1px solid rgba(42, 101, 184, 0.28);
  border-radius: 50%;
  margin-top: 1px;
}

.base-hero__check .lucide,
.base-hero__check [data-lucide],
.scripts-hero__check .lucide,
.scripts-hero__check [data-lucide] {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.base-hero__features strong,
.scripts-hero__features strong {
  display: block;
  color: #fff;
  font-size: 0.88rem;
  margin-bottom: 3px;
}

.base-hero__features span,
.scripts-hero__features span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.base-hero__actions,
.scripts-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ── Clips présentation (Surge Clips) ── */
.clips-channel-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.clips-channel-sep {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.clips-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #dbeafe;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s;
}

.clips-channel-link .lucide,
.clips-channel-link [data-lucide] {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.clips-contact-panel__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.clips-contact-panel__actions .btn .lucide,
.clips-contact-panel__actions .btn [data-lucide] {
  width: 16px;
  height: 16px;
}

.clips-channel-link:hover {
  background: rgba(88, 101, 242, 0.28);
  border-color: rgba(88, 101, 242, 0.55);
}

.clips-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.clips-service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 18px;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(42, 101, 184, 0.1) 0%, transparent 60%),
    rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.clips-service-card:hover {
  border-color: rgba(122, 162, 227, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.clips-service-card--featured {
  border-color: rgba(42, 101, 184, 0.45);
  box-shadow:
    0 0 0 1px rgba(42, 101, 184, 0.15),
    0 20px 48px rgba(42, 101, 184, 0.12);
}

.clips-service-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(42, 101, 184, 0.15);
  border: 1px solid rgba(42, 101, 184, 0.28);
  color: var(--primary-light);
}

.clips-service-card__icon .lucide,
.clips-service-card__icon [data-lucide] {
  width: 20px;
  height: 20px;
}

.clips-service-card__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 4px;
}

.clips-service-card h3 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 6px;
}

.clips-service-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.clips-service-card__meta {
  display: block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-light);
  opacity: 0.85;
}

.clips-service-card__demo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: color var(--transition);
}

.clips-service-card__demo:hover {
  color: #fff;
}

.clips-voix-player {
  width: min(500px, 92%);
  padding: 24px 24px 20px;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(42, 101, 184, 0.24) 0%, transparent 58%),
    linear-gradient(180deg, rgba(18, 22, 32, 0.96) 0%, rgba(8, 10, 14, 0.94) 100%);
  border: 1px solid rgba(122, 162, 227, 0.32);
  border-radius: 24px;
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.58),
    0 0 48px rgba(42, 101, 184, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.clips-voix-picker {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.clips-voix-picker__btn {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.clips-voix-picker__btn [data-voix-picker-label] {
  display: block;
  line-height: 1.35;
}

.clips-voix-picker__btn:hover {
  color: #fff;
}

.clips-voix-picker__btn.is-active {
  color: #fff;
  background: rgba(42, 101, 184, 0.35);
  box-shadow: inset 0 0 0 1px rgba(122, 162, 227, 0.35);
  font-size: 0.68rem;
  font-weight: 500;
}

.clips-voix-player__top {
  text-align: center;
  margin-bottom: 20px;
}

.clips-voix-player__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 10px 0 6px;
  letter-spacing: -0.02em;
}

.clips-voix-player__sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.clips-voix-player__wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 56px;
  margin-bottom: 22px;
  padding: 0 8%;
  opacity: 0.55;
  transition: opacity 0.3s;
}

.clips-voix-player.is-playing .clips-voix-player__wave {
  opacity: 1;
}

.clips-voix-player__wave span {
  flex: 1;
  max-width: 6px;
  border-radius: 4px;
  background: linear-gradient(to top, var(--primary), var(--primary-light));
  animation: clips-wave 1.2s ease-in-out infinite;
  animation-play-state: paused;
}

.clips-voix-player.is-playing .clips-voix-player__wave span {
  animation-play-state: running;
}

.clips-voix-player__wave span:nth-child(1) { height: 28%; animation-delay: 0s; }
.clips-voix-player__wave span:nth-child(2) { height: 45%; animation-delay: 0.05s; }
.clips-voix-player__wave span:nth-child(3) { height: 62%; animation-delay: 0.1s; }
.clips-voix-player__wave span:nth-child(4) { height: 38%; animation-delay: 0.15s; }
.clips-voix-player__wave span:nth-child(5) { height: 72%; animation-delay: 0.2s; }
.clips-voix-player__wave span:nth-child(6) { height: 55%; animation-delay: 0.25s; }
.clips-voix-player__wave span:nth-child(7) { height: 80%; animation-delay: 0.3s; }
.clips-voix-player__wave span:nth-child(8) { height: 48%; animation-delay: 0.35s; }
.clips-voix-player__wave span:nth-child(9) { height: 65%; animation-delay: 0.4s; }
.clips-voix-player__wave span:nth-child(10) { height: 35%; animation-delay: 0.45s; }
.clips-voix-player__wave span:nth-child(11) { height: 58%; animation-delay: 0.5s; }
.clips-voix-player__wave span:nth-child(12) { height: 42%; animation-delay: 0.55s; }
.clips-voix-player__wave span:nth-child(13) { height: 70%; animation-delay: 0.6s; }
.clips-voix-player__wave span:nth-child(14) { height: 50%; animation-delay: 0.65s; }
.clips-voix-player__wave span:nth-child(15) { height: 32%; animation-delay: 0.7s; }
.clips-voix-player__wave span:nth-child(16) { height: 60%; animation-delay: 0.75s; }
.clips-voix-player__wave span:nth-child(17) { height: 44%; animation-delay: 0.8s; }
.clips-voix-player__wave span:nth-child(18) { height: 75%; animation-delay: 0.85s; }
.clips-voix-player__wave span:nth-child(19) { height: 52%; animation-delay: 0.9s; }
.clips-voix-player__wave span:nth-child(20) { height: 38%; animation-delay: 0.95s; }

.clips-voix-player__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

#realisations .screen-head {
  margin-bottom: 48px;
}

#realisations .clips-stage--showcase {
  margin-top: 8px;
}

#realisations .screen-inner {
  gap: 0;
}

#realisations .screen-head h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin-bottom: 6px;
  background: linear-gradient(135deg, #fff 30%, rgba(122, 162, 227, 0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#realisations .screen-head p {
  font-size: 0.86rem;
  max-width: 480px;
}

.clips-voix-player__play {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(122, 162, 227, 0.5);
  background: rgba(42, 101, 184, 0.2);
  color: #fff;
  cursor: pointer;
  transition: all var(--transition);
}

.clips-voix-player__play:hover {
  border-color: var(--primary-light);
  background: rgba(42, 101, 184, 0.4);
  box-shadow: 0 0 24px rgba(42, 101, 184, 0.35);
}

.clips-voix-player__play .lucide,
.clips-voix-player__play [data-lucide] {
  width: 22px;
  height: 22px;
}

.clips-voix-player__play [data-voix-icon-play] {
  margin-left: 3px;
}

.clips-voix-player__play [data-voix-icon-pause] {
  display: none;
}

.clips-voix-player.is-playing .clips-voix-player__play [data-voix-icon-play] {
  display: none;
}

.clips-voix-player.is-playing .clips-voix-player__play [data-voix-icon-pause] {
  display: block;
}

.clips-voix-player__track-wrap {
  flex: 1;
  min-width: 0;
}

.clips-voix-player__seek {
  width: 100%;
  height: 4px;
  margin-bottom: 8px;
  appearance: none;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  cursor: pointer;
}

.clips-voix-player__seek::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 8px var(--primary-glow);
}

.clips-voix-player__seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--primary-light);
}

.clips-voix-player__times {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.clips-voix-player audio {
  display: none;
}

.clips-audience {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 22px;
  text-align: center;
  background: rgba(42, 101, 184, 0.06);
  border: 1px solid rgba(122, 162, 227, 0.2);
  border-radius: 16px;
}

.clips-audience__lead {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.clips-audience__lead strong {
  color: #fff;
  font-weight: 600;
}

/* Clips showcase stage */
.clips-stage {
  max-width: 920px;
  margin: 0 auto;
  flex-shrink: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.clips-stage--showcase {
  padding: 12px;
  border-radius: 28px;
  background:
    linear-gradient(165deg, rgba(42, 101, 184, 0.1) 0%, transparent 38%),
    rgba(4, 6, 12, 0.82);
  border: 1px solid rgba(122, 162, 227, 0.22);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.clips-stage-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

.clips-stage-nav {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.clips-stage-nav:hover {
  border-color: rgba(122, 162, 227, 0.5);
  background: rgba(42, 101, 184, 0.15);
  color: #fff;
  transform: scale(1.04);
}

.clips-stage-nav .lucide,
.clips-stage-nav [data-lucide] {
  width: 18px;
  height: 18px;
}

.clips-stage-tabs {
  display: flex;
  flex: 1;
  gap: 6px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
  justify-content: center;
}

.clips-stage-tabs::-webkit-scrollbar { display: none; }

.clips-stage-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.clips-stage-tab:hover:not(.is-active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.clips-stage-tab .lucide,
.clips-stage-tab [data-lucide] {
  width: 15px;
  height: 15px;
  opacity: 0.8;
}

.clips-stage-tab.is-active {
  background: linear-gradient(135deg, var(--primary) 0%, #3d7fd4 100%);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow:
    0 8px 28px rgba(42, 101, 184, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.clips-stage-tab.is-active .lucide,
.clips-stage-tab.is-active [data-lucide] {
  opacity: 1;
  color: #fff;
}

.clips-stage-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(122, 162, 227, 0.22);
  backdrop-filter: blur(8px);
}

.clips-stage-kicker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 12px var(--primary-glow);
  flex-shrink: 0;
}

.clips-stage-viewport {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(240px, 38vh, 360px);
  padding: 0;
  background: #030508;
  border: 1px solid rgba(122, 162, 227, 0.14);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -60px 90px rgba(42, 101, 184, 0.04);
}

.clips-stage[data-active-clip="tiktok"] .clips-stage-viewport {
  min-height: clamp(340px, 54vh, 540px);
}

.clips-stage-viewport__ambient,
.clips-stage-viewport__spotlight,
.clips-stage-viewport__floor {
  position: absolute;
  pointer-events: none;
}

.clips-stage-viewport__ambient {
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(42, 101, 184, 0.16) 0%, transparent 68%),
    radial-gradient(ellipse 45% 35% at 85% 80%, rgba(80, 50, 160, 0.08) 0%, transparent 60%);
  opacity: 0.85;
  transition: opacity 0.5s ease;
}

.clips-stage[data-active-clip="trailer"] .clips-stage-viewport__ambient {
  background:
    radial-gradient(ellipse 80% 50% at 50% 42%, rgba(42, 101, 184, 0.2) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 75%, rgba(100, 60, 200, 0.12) 0%, transparent 55%);
}

.clips-stage[data-active-clip="voix"] .clips-stage-viewport__ambient {
  background:
    radial-gradient(ellipse 65% 50% at 50% 35%, rgba(42, 101, 184, 0.22) 0%, transparent 62%),
    radial-gradient(ellipse 40% 30% at 75% 85%, rgba(122, 162, 227, 0.1) 0%, transparent 55%);
}

.clips-stage[data-active-clip="montage"] .clips-stage-viewport__ambient {
  background:
    radial-gradient(ellipse 75% 48% at 50% 40%, rgba(42, 101, 184, 0.14) 0%, transparent 64%),
    radial-gradient(ellipse 35% 28% at 15% 70%, rgba(245, 197, 24, 0.08) 0%, transparent 50%);
}

.clips-stage-viewport__spotlight {
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 72%);
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 162, 227, 0.18) 0%, transparent 72%);
  filter: blur(36px);
  animation: clips-stage-glow 7s ease-in-out infinite alternate;
}

.clips-stage-viewport__floor {
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 38%;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(42, 101, 184, 0.12) 0%, transparent 72%);
  opacity: 0.7;
}

@keyframes clips-stage-glow {
  from { opacity: 0.55; transform: translateX(-50%) scale(1); }
  to { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

.clips-stage-viewport__head {
  display: none !important;
}

.clips-stage-viewport__canvas {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px 16px;
}

.clips-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: clips-preview-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes clips-preview-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.clips-preview[hidden] {
  display: none;
}

.clips-stage-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
}

.clips-stage-footer a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(42, 101, 184, 0.12);
  border: 1px solid rgba(122, 162, 227, 0.25);
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.clips-stage-footer a:hover {
  background: rgba(42, 101, 184, 0.22);
  border-color: rgba(122, 162, 227, 0.45);
  color: #fff;
  transform: translateY(-1px);
}

.clips-stage-footer a .lucide,
.clips-stage-footer a [data-lucide] {
  width: 15px;
  height: 15px;
}

.clips-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.62),
    0 0 48px rgba(42, 101, 184, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.clips-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 38px 84px rgba(0, 0, 0, 0.68),
    0 0 64px rgba(42, 101, 184, 0.14),
    0 0 0 1px rgba(122, 162, 227, 0.24);
}

.clips-frame--tiktok {
  width: min(220px, 42vw);
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(145deg, #1a1a22, #0a0a0f);
}

/* TikTok embed — aperçu réel */
.clips-tiktok-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.5vw, 14px);
  width: 100%;
}

.clips-tiktok-nav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: all var(--transition);
  z-index: 4;
}

.clips-tiktok-nav:hover {
  border-color: rgba(122, 162, 227, 0.55);
  background: rgba(42, 101, 184, 0.28);
  color: #fff;
  transform: scale(1.05);
}

.clips-tiktok-nav .lucide,
.clips-tiktok-nav [data-lucide] {
  width: 20px;
  height: 20px;
}

.clips-tiktok-carousel--single .clips-tiktok-nav {
  display: none;
}

.clips-tiktok-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(8px, 2vw, 18px);
  flex: 1;
  min-width: 0;
}

.clips-tiktok {
  position: relative;
  display: block;
  width: min(260px, 42vw);
  padding: 13px;
  text-decoration: none;
  color: inherit;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #2e2e38 0%, #14141a 55%, #0a0a0f 100%);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.clips-tiktok--featured {
  width: min(280px, 46vw);
  padding: 15px;
  z-index: 2;
}

.clips-tiktok--side {
  width: min(210px, 34vw);
  padding: 11px;
  opacity: 0.5;
  transform: translateY(10px) scale(0.94);
  filter: saturate(0.65);
  pointer-events: none;
}

.clips-tiktok::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  z-index: 4;
  pointer-events: none;
}

.clips-tiktok--featured:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(122, 162, 227, 0.28),
    0 0 40px rgba(42, 101, 184, 0.16);
}

.clips-tiktok__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(52vh, 440px);
  margin: 0 auto;
  background: #000;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.clips-tiktok--side .clips-tiktok__screen {
  max-height: min(44vh, 360px);
}

.clips-tiktok__screen--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(165deg, rgba(42, 101, 184, 0.12) 0%, transparent 55%),
    rgba(8, 10, 16, 0.92);
}

.clips-tiktok__soon {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(122, 162, 227, 0.35);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.clips-tiktok__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.clips-tiktok__play {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.28s ease;
}

.clips-tiktok__play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.26s ease,
    background 0.26s ease,
    border-color 0.26s ease,
    box-shadow 0.26s ease;
}

.clips-tiktok__play:hover .clips-tiktok__play-icon {
  transform: scale(1.06);
  background: rgba(42, 101, 184, 0.42);
  border-color: rgba(147, 197, 253, 0.55);
  box-shadow:
    0 14px 40px rgba(42, 101, 184, 0.35),
    0 0 0 1px rgba(122, 162, 227, 0.28),
    0 0 28px rgba(42, 101, 184, 0.2);
}

.clips-tiktok__play-icon svg {
  width: 30px;
  height: 30px;
}

.clips-tiktok__play-icon [data-tiktok-icon-play] {
  margin-left: 4px;
}

.clips-tiktok__play-icon [data-tiktok-icon-pause] {
  display: none;
}

.clips-tiktok__play.is-playing {
  background: transparent;
}

.clips-tiktok__play.is-playing .clips-tiktok__play-icon {
  opacity: 0;
  transform: scale(0.72);
}

.clips-tiktok__play.is-playing [data-tiktok-icon-play] {
  display: none;
}

.clips-tiktok__play.is-playing [data-tiktok-icon-pause] {
  display: block;
}

.clips-tiktok__play.is-playing:hover {
  background: rgba(0, 0, 0, 0.24);
}

.clips-tiktok__play.is-playing:hover .clips-tiktok__play-icon {
  opacity: 1;
  transform: scale(1);
}

.clips-tiktok__actions {
  position: absolute;
  right: 8px;
  top: 34%;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
}

.clips-tiktok__profile {
  position: relative;
  margin-bottom: 0;
}

.clips-tiktok__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: contain;
  padding: 5px;
  background: #0a0c14;
  box-sizing: border-box;
}

.clips-tiktok__follow {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fe2c55;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.clips-tiktok__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.clips-tiktok__action .lucide,
.clips-tiktok__action [data-lucide] {
  width: 22px;
  height: 22px;
  stroke: #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.clips-tiktok__action--like .lucide,
.clips-tiktok__action--like [data-lucide] {
  stroke: #fe2c55;
  fill: #fe2c55;
}

.clips-tiktok__action--save .lucide,
.clips-tiktok__action--save [data-lucide] {
  stroke: #f5c518;
  fill: #f5c518;
}

.clips-tiktok__action span {
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.clips-tiktok__disc {
  width: 34px;
  height: 34px;
  margin-top: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #222;
  background: #0a0c14;
  animation: clips-tiktok-spin 4s linear infinite;
}

.clips-tiktok__disc img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  box-sizing: border-box;
}

@keyframes clips-tiktok-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.clips-tiktok__bottom {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 44px 10px 10px;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
}

.clips-tiktok__user {
  font-size: 0.66rem;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.clips-tiktok__user strong {
  font-weight: 700;
}

.clips-tiktok__caption {
  font-size: 0.62rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.clips-tiktok__hashtags {
  font-size: 0.6rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.clips-frame--trailer {
  width: min(620px, 92%);
  border-radius: 14px;
}

.clips-frame--voix,
.clips-frame--montage {
  width: min(500px, 88%);
  border-radius: 16px;
}

.clips-frame__chrome {
  display: flex;
  gap: 5px;
  padding: 0 4px 8px;
}

.clips-frame__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.clips-frame__content {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  background: #0a0c12;
}

.clips-frame__content--tiktok {
  aspect-ratio: 9 / 16;
  border-radius: 20px;
}

.clips-frame__content--trailer {
  aspect-ratio: 16 / 9;
}

.clips-frame__content--voix,
.clips-frame__content--montage {
  aspect-ratio: 16 / 10;
}

.clips-frame__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(42, 101, 184, 0.5) 0%, transparent 45%),
    linear-gradient(320deg, rgba(120, 60, 200, 0.35) 0%, transparent 50%),
    linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.85) 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}

.clips-frame__gradient--wide {
  background:
    linear-gradient(120deg, rgba(20, 40, 80, 0.9) 0%, rgba(42, 101, 184, 0.4) 40%, transparent 70%),
    linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(100, 160, 255, 0.25), transparent);
}

.clips-frame__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 4px
  );
  pointer-events: none;
  opacity: 0.4;
}

.clips-frame__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 18px;
  z-index: 2;
}

.clips-frame__overlay--wide {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px 32px;
}

.clips-frame__overlay--center {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.clips-frame__overlay--bottom {
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.clips-frame__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(122, 162, 227, 0.35);
  border-radius: 100px;
}

.clips-frame__title {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.clips-frame__sub {
  margin-top: 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

.clips-frame__ui {
  position: absolute;
  right: 10px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
}

.clips-frame__ui span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.clips-frame__play {
  margin-top: 16px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: default;
  backdrop-filter: blur(8px);
}

.clips-frame__play .lucide,
.clips-frame__play [data-lucide] {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.clips-frame__wave {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 10%;
  opacity: 0.7;
}

.clips-frame__wave span {
  flex: 1;
  max-width: 6px;
  height: calc(20% + var(--i, 0) * 1px);
  background: linear-gradient(to top, var(--primary), var(--primary-light));
  border-radius: 4px;
  animation: clips-wave 1.2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.05s);
}

.clips-frame__wave span:nth-child(1) { --i: 1; height: 28%; }
.clips-frame__wave span:nth-child(2) { --i: 2; height: 45%; }
.clips-frame__wave span:nth-child(3) { --i: 3; height: 62%; }
.clips-frame__wave span:nth-child(4) { --i: 4; height: 38%; }
.clips-frame__wave span:nth-child(5) { --i: 5; height: 72%; }
.clips-frame__wave span:nth-child(6) { --i: 6; height: 55%; }
.clips-frame__wave span:nth-child(7) { --i: 7; height: 80%; }
.clips-frame__wave span:nth-child(8) { --i: 8; height: 48%; }
.clips-frame__wave span:nth-child(9) { --i: 9; height: 65%; }
.clips-frame__wave span:nth-child(10) { --i: 10; height: 35%; }
.clips-frame__wave span:nth-child(11) { --i: 11; height: 58%; }
.clips-frame__wave span:nth-child(12) { --i: 12; height: 42%; }
.clips-frame__wave span:nth-child(13) { --i: 13; height: 70%; }
.clips-frame__wave span:nth-child(14) { --i: 14; height: 50%; }
.clips-frame__wave span:nth-child(15) { --i: 15; height: 32%; }
.clips-frame__wave span:nth-child(16) { --i: 16; height: 60%; }
.clips-frame__wave span:nth-child(17) { --i: 17; height: 44%; }
.clips-frame__wave span:nth-child(18) { --i: 18; height: 75%; }
.clips-frame__wave span:nth-child(19) { --i: 19; height: 52%; }
.clips-frame__wave span:nth-child(20) { --i: 20; height: 38%; }

@keyframes clips-wave {
  0%, 100% { transform: scaleY(0.65); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

.clips-timeline {
  position: absolute;
  inset: 18% 6% auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clips-timeline__track {
  display: flex;
  gap: 4px;
  height: 28px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.clips-timeline__track span {
  width: var(--w, 20%);
  border-radius: 4px;
  background: rgba(42, 101, 184, 0.55);
  border: 1px solid rgba(122, 162, 227, 0.4);
}

.clips-timeline__track--audio span {
  background: rgba(100, 180, 120, 0.45);
  border-color: rgba(100, 200, 140, 0.35);
}

.clips-timeline__track--sfx span {
  height: 18px;
  align-self: center;
  background: rgba(200, 140, 60, 0.5);
  border-color: rgba(220, 160, 80, 0.35);
}

.clips-contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 24px 28px;
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(42, 101, 184, 0.18) 0%, transparent 55%),
    rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(122, 162, 227, 0.28);
  border-radius: 20px;
}

.clips-contact-panel__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.clips-contact-panel__text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
}

.clips-contact-panel__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.clips-supplements__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.clips-tarifs-ref {
  font-size: 0.82rem;
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.clips-tarifs-ref:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .clips-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .clips-contact-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .clips-contact-panel__actions {
    align-items: center;
  }

  .clips-contact-panel__text {
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .clips-services {
    grid-template-columns: 1fr;
  }

  .clips-stage--showcase {
    padding: 10px;
    border-radius: 20px;
  }

  .clips-stage-toolbar {
    gap: 6px;
    padding: 5px;
  }

  .clips-stage-tab {
    padding: 9px 12px;
    font-size: 0.72rem;
  }

  .clips-stage-viewport {
    min-height: clamp(220px, 36vh, 320px);
    border-radius: 18px;
  }

  .clips-stage[data-active-clip="tiktok"] .clips-stage-viewport {
    min-height: clamp(300px, 50vh, 460px);
  }

  .clips-stage-viewport__canvas {
    padding: 4px 10px 14px;
  }

  .clips-tiktok-carousel {
    gap: 4px;
  }

  .clips-tiktok-nav {
    width: 34px;
    height: 34px;
  }

  .clips-tiktok-nav .lucide,
  .clips-tiktok-nav [data-lucide] {
    width: 17px;
    height: 17px;
  }

  .clips-tiktok-row {
    gap: 6px;
  }

  .clips-tiktok--side {
    display: none;
  }

  .clips-tiktok--featured {
    width: min(250px, 82vw);
    padding: 14px;
  }

  .clips-tiktok--featured .clips-tiktok__screen {
    max-height: min(54vh, 420px);
  }

  .clips-tiktok__play-icon {
    width: 62px;
    height: 62px;
  }

  .clips-tiktok__play-icon svg {
    width: 28px;
    height: 28px;
  }
}

.values-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.values-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.values-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 9px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-glow);
  flex-shrink: 0;
}

.values-list strong { display: block; margin-bottom: 4px; color: #fff; }
.values-list span { font-size: 0.88rem; color: var(--text-muted); }

/* ── Page hero (subpages) ── */
.page-hero {
  padding: 60px 0 40px;
  text-align: center;
}

.page-hero h1 { margin-bottom: 12px; }

/* ── Subnav tabs ── */
.subnav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.subnav a {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}

.subnav a:hover,
.subnav a.active {
  background: var(--primary);
  color: #fff;
}

/* ── Architecture graph ── */
.arch-graph-wrap {
  position: relative;
  width: 100%;
  height: 600px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(122, 162, 227, 0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    inset 0 0 100px rgba(42, 101, 184, 0.1),
    0 0 48px rgba(42, 101, 184, 0.08);
}

.arch-graph-wrap svg { width: 100%; height: 100%; }

.arch-nodes .arch-node-label {
  paint-order: stroke fill;
  stroke: rgba(3, 5, 10, 0.95);
  stroke-linejoin: round;
  pointer-events: none;
  user-select: none;
}

.arch-graph-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
  pointer-events: none;
  z-index: 2;
}

.arch-graph-info__meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.arch-graph-controls {
  display: flex;
  gap: 8px;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.arch-graph-controls button {
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
}

.arch-graph-controls button:hover {
  border-color: var(--primary);
  color: #fff;
}

/* ── UI showcase (voltre-style stage) ── */
.ui-stage {
  max-width: 1040px;
  margin: 0 auto;
  flex-shrink: 0;
}

.ui-stage-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.ui-stage-nav {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
}

.ui-stage-nav:hover {
  border-color: var(--primary);
  color: #fff;
}

.ui-stage-tabs {
  display: flex;
  flex: 1;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
}

.ui-stage-tabs::-webkit-scrollbar { display: none; }

.ui-stage-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.55);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.ui-stage-tab .lucide,
.ui-stage-tab [data-lucide] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

.ui-stage-tab.is-active .lucide {
  opacity: 1;
  color: #0a0a0f;
}

.ui-stage-nav .lucide {
  width: 18px;
  height: 18px;
}

.ui-viewer-btn .lucide {
  width: 18px;
  height: 18px;
}

.ui-lightbox-close .lucide,
.ui-lightbox-nav .lucide {
  width: 20px;
  height: 20px;
}

.ui-lightbox-placeholder .lucide {
  width: 48px;
  height: 48px;
  color: var(--primary-light);
}

.ui-stage-tab:hover {
  border-color: rgba(122, 162, 227, 0.45);
  color: var(--text);
}

.ui-stage-tab.is-active {
  background: #fff;
  border-color: #fff;
  color: #0a0a0f;
  box-shadow: 0 8px 28px rgba(122, 162, 227, 0.22);
}

.ui-stage-kicker {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.ui-stage-viewport {
  position: relative;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 162, 227, 0.24);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(42, 101, 184, 0.18) 0%, transparent 65%),
    rgba(0, 0, 0, 0.42);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 80px rgba(42, 101, 184, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

.ui-stage-viewport::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 12px,
    rgba(42, 101, 184, 0.03) 12px,
    rgba(42, 101, 184, 0.03) 13px
  );
  pointer-events: none;
}

.ui-preview {
  display: none;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  animation: ui-preview-in 0.45s ease;
}

.ui-preview.is-active {
  display: flex;
}

.ui-preview[hidden] {
  display: none !important;
}

/* ── Viewer bar & controls ── */
.ui-viewer-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.ui-viewer-bar.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.ui-viewer-bar-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.55);
}

.ui-viewer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
}

.ui-viewer-btn:hover:not(:disabled) {
  border-color: rgba(122, 162, 227, 0.35);
  background: rgba(42, 101, 184, 0.2);
  color: #fff;
}

.ui-viewer-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ui-viewer-btn--help {
  font-size: 0.9rem;
}

.ui-viewer-level {
  min-width: 48px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary-light);
}

.ui-viewer-help-panel {
  max-width: 520px;
  margin: 0 auto 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(122, 162, 227, 0.22);
  background: rgba(0, 0, 0, 0.65);
  font-size: 0.78rem;
  color: var(--text-muted);
  animation: ui-preview-in 0.3s ease;
}

.ui-viewer-help-panel strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.82rem;
}

.ui-viewer-help-panel ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.ui-viewer-help-panel kbd {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font);
  font-size: 0.7rem;
  color: var(--text);
}

/* ── Image viewer (hauteur adaptée à la capture) ── */
.ui-viewer {
  width: 100%;
  max-width: 100%;
}

.ui-viewer-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(122, 162, 227, 0.22);
  background: #050508;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  touch-action: none;
  cursor: zoom-in;
  line-height: 0;
}

.ui-viewer-stage.is-pannable {
  cursor: grab;
}

.ui-viewer-stage.is-grabbing {
  cursor: grabbing;
}

.ui-viewer-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(62vh, 600px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.ui-viewer-stage.is-pannable .ui-viewer-img {
  will-change: transform;
}

.ui-viewer-stage--lightbox {
  width: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.ui-viewer-stage--lightbox .ui-viewer-img {
  max-height: min(calc(100vh - 240px), 62vh);
}

/* Legacy shot button (converted to viewer by JS) */
.ui-shot {
  position: relative;
  display: block;
  width: 100%;
  max-width: 960px;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(122, 162, 227, 0.22);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  background: #050508;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.ui-shot:hover,
.ui-shot:focus-visible {
  border-color: rgba(122, 162, 227, 0.5);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(122, 162, 227, 0.25) inset,
    0 0 40px rgba(42, 101, 184, 0.15);
  outline: none;
}

.ui-shot:active {
  transform: scale(0.995);
}

.ui-shot img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  vertical-align: middle;
  pointer-events: none;
}

.ui-shot-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(122, 162, 227, 0.35);
  color: #fff;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.ui-shot:hover .ui-shot-zoom,
.ui-shot:focus-visible .ui-shot-zoom {
  opacity: 1;
  transform: translateY(0);
}

.ui-preview--inventory .ui-shot {
  max-width: 100%;
}

.ui-shot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 960px;
  min-height: 280px;
  margin: 0 auto;
  padding: 48px 24px;
  border-radius: 12px;
  border: 1px dashed rgba(122, 162, 227, 0.28);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(42, 101, 184, 0.1) 0%, transparent 70%),
    rgba(0, 0, 0, 0.45);
  color: var(--text-muted);
  text-align: center;
}

.ui-shot-placeholder svg {
  color: var(--primary-light);
  opacity: 0.85;
}

.ui-shot-placeholder strong {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.ui-shot-placeholder span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.ui-lightbox-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: min(60vh, 480px);
  padding: 48px 24px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(42, 101, 184, 0.12) 0%, transparent 70%),
    #050508;
  color: var(--text-muted);
  text-align: center;
}

.ui-lightbox-placeholder svg {
  color: var(--primary-light);
}

.ui-lightbox-placeholder strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.ui-lightbox-placeholder span {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ── Lightbox interfaces ── */
body.ui-lightbox-open {
  overflow: hidden;
}

.ui-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ui-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.ui-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  cursor: zoom-out;
}

.ui-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: ui-lightbox-in 0.35s ease;
}

.ui-lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  margin-bottom: 10px;
}

.ui-lightbox-topbar .ui-viewer-bar-actions {
  background: rgba(0, 0, 0, 0.7);
}

.ui-viewer-help-panel--lightbox {
  width: 100%;
  max-width: none;
  margin-bottom: 10px;
}

@keyframes ui-lightbox-in {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.ui-lightbox-figure {
  width: 100%;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(122, 162, 227, 0.28);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  background: #050508;
  display: flex;
  flex-direction: column;
}

.ui-lightbox-img {
  /* styles via .ui-viewer-img */
}

.ui-lightbox-caption {
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(122, 162, 227, 0.12);
}

.ui-lightbox-counter {
  margin: 14px 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.ui-lightbox-close {
  position: static;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(122, 162, 227, 0.3);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
}

.ui-lightbox-close:hover {
  border-color: var(--primary-light);
  background: rgba(42, 101, 184, 0.35);
}

.ui-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(122, 162, 227, 0.3);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
}

.ui-lightbox-nav:hover {
  border-color: var(--primary-light);
  background: rgba(42, 101, 184, 0.4);
}

.ui-lightbox-nav--prev { left: -56px; }
.ui-lightbox-nav--next { right: -56px; }

@media (max-width: 900px) {
  .ui-lightbox {
    padding: 16px;
  }

  .ui-lightbox-nav--prev { left: 8px; }
  .ui-lightbox-nav--next { right: 8px; }

  .ui-viewer-stage .ui-viewer-img {
    max-height: min(42vh, 360px);
  }

  .ui-viewer-bar-actions {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 14px;
  }

  .ui-viewer-help-panel {
    font-size: 0.72rem;
  }

  .ui-viewer-stage--lightbox .ui-viewer-img {
    max-height: calc(100vh - 220px);
  }
}

@keyframes ui-preview-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── NUI mocks (Surge blue) ── */
.mock-nui {
  width: 100%;
  max-width: 720px;
  background: linear-gradient(165deg, rgba(8, 12, 22, 0.98) 0%, rgba(4, 6, 12, 0.99) 100%);
  border: 1px solid rgba(122, 162, 227, 0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.mock-nui-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(122, 162, 227, 0.12);
  background: rgba(42, 101, 184, 0.08);
}

.mock-nui-brand {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary-light);
}

.mock-nui-title {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.mock-nui-pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(42, 101, 184, 0.25);
  color: var(--primary-light);
  border: 1px solid rgba(122, 162, 227, 0.25);
}

.mock-nui-pill--danger {
  background: rgba(180, 60, 60, 0.2);
  border-color: rgba(220, 90, 90, 0.35);
  color: #f0a0a0;
}

.mock-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.mock-hint {
  margin-top: 12px;
  font-size: 0.68rem;
  color: var(--text-dim);
}

.mock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: default;
}

.mock-btn--sm {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 6px;
}

.mock-btn--ghost {
  background: rgba(180, 60, 60, 0.35);
}

/* Inventaire */
.mock-inv-body {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 16px;
  padding: 16px;
}

.mock-inv-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.mock-inv-slot {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px dashed rgba(122, 162, 227, 0.18);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 1.1rem;
}

.mock-inv-slot small {
  font-size: 0.55rem;
  color: var(--text-muted);
}

.mock-inv-slot--filled {
  border-style: solid;
  border-color: rgba(122, 162, 227, 0.35);
  background: rgba(42, 101, 184, 0.12);
}

.mock-inv-equip {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-inv-equip span {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Magasin */
.mock-shop-body {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 140px;
  gap: 10px;
  padding: 16px;
}

.mock-shop-item {
  padding: 12px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  font-size: 1.2rem;
}

.mock-shop-item strong,
.mock-shop-item em {
  display: block;
  font-style: normal;
}

.mock-shop-item strong {
  font-size: 0.72rem;
  color: var(--text);
  margin: 6px 0 2px;
}

.mock-shop-item em {
  font-size: 0.68rem;
  color: var(--primary-light);
  font-weight: 700;
}

.mock-shop-item--active {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 1px rgba(122, 162, 227, 0.35);
}

.mock-shop-cart {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(42, 101, 184, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-shop-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Menu F5 */
.mock-nui--menu {
  max-width: 380px;
}

.mock-menu-list {
  list-style: none;
  margin: 0;
  padding: 8px;
}

.mock-menu-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mock-menu-list li.is-active {
  background: rgba(42, 101, 184, 0.2);
  color: #fff;
  border-left: 3px solid var(--primary-light);
}

.mock-menu-stats {
  padding: 12px 16px 16px;
  display: grid;
  gap: 10px;
}

.mock-menu-stats small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.mock-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.mock-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

/* Banque */
.mock-nui--bank {
  max-width: 680px;
  display: grid;
  grid-template-columns: 150px 1fr;
}

.mock-bank-side {
  padding: 16px 12px;
  border-right: 1px solid rgba(122, 162, 227, 0.12);
  background: rgba(0, 0, 0, 0.25);
}

.mock-bank-logo {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 16px;
}

.mock-bank-logo span {
  display: block;
  font-size: 0.62rem;
  color: var(--primary-light);
  letter-spacing: 0.14em;
}

.mock-bank-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-bank-nav span {
  font-size: 0.72rem;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--text-dim);
  border-left: 2px solid transparent;
}

.mock-bank-nav span.is-active {
  color: #fff;
  background: rgba(42, 101, 184, 0.15);
  border-left-color: var(--primary-light);
}

.mock-bank-main { padding: 14px 16px; }

.mock-bank-welcome {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.mock-bank-welcome span { color: var(--primary-light); }

.mock-bank-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.mock-bank-cards div {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.mock-bank-cards small {
  display: block;
  font-size: 0.6rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.mock-bank-cards strong {
  font-size: 0.95rem;
  color: #fff;
}

.mock-bank-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.mock-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mock-bank-chart .mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
  margin-top: 6px;
}

.mock-bank-chart .mock-bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  opacity: 0.85;
}

/* Tablette */
.mock-tablet-frame {
  padding: 14px;
  border-radius: 22px;
  border: 2px solid rgba(122, 162, 227, 0.25);
  background: linear-gradient(145deg, #1a1a22, #0a0a0f);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.mock-nui--tablet { max-width: 520px; }

.mock-tablet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
}

.mock-mission {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(42, 101, 184, 0.08);
}

.mock-mission--locked { opacity: 0.45; }

.mock-mission-tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 6px;
}

.mock-mission strong {
  display: block;
  font-size: 0.78rem;
  color: #fff;
  margin-bottom: 4px;
}

.mock-mission p {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin: 0;
}

/* Legacy cards (autres pages) */
.ui-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.ui-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.ui-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.ui-card .img-placeholder { border: none; border-radius: 0; aspect-ratio: 16/11; }
.ui-card h4 { padding: 16px 16px 4px; font-size: 0.95rem; }
.ui-card p { padding: 0 16px 16px; font-size: 0.82rem; color: var(--text-muted); }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  position: relative;
}

.pricing-card--featured::before {
  content: 'Recommandé';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-tier {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 12px 0;
}

.pricing-price span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }

.pricing-list {
  list-style: none;
  margin: 16px 0 24px;
  flex: 1;
}

.pricing-list li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  padding-left: 20px;
  position: relative;
}

.pricing-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--primary-glow);
}

.pricing-card__media {
  margin: -28px -28px 20px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.pricing-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(42, 101, 184, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 45%);
  pointer-events: none;
}

.pricing-card__media--config {
  background: linear-gradient(135deg, #0a1428 0%, #142a52 55%, #0d1a30 100%);
}

.pricing-card__media--tenue {
  background: linear-gradient(135deg, #1a1028 0%, #2a1a48 55%, #120c20 100%);
}

.pricing-card__media--install {
  background: linear-gradient(135deg, #0a1e18 0%, #14483a 55%, #0a1814 100%);
}

.pricing-card__media--full {
  background: linear-gradient(135deg, #1a1808 0%, #3a3410 55%, #141008 100%);
}

.pricing-card__media--tebex {
  background: linear-gradient(135deg, #081a28 0%, #123a5c 55%, #081420 100%);
}

.pricing-card__media--web {
  background: linear-gradient(135deg, #180a28 0%, #3a1a5c 55%, #100818 100%);
}

.pricing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Boutique tabs ── */
.boutique-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.boutique-tab {
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  flex: 1;
  min-width: 200px;
  text-align: left;
}

.boutique-tab:hover,
.boutique-tab.active {
  border-color: var(--primary);
  background: rgba(42, 101, 184, 0.1);
  color: #fff;
}

.boutique-tab small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 4px;
}

.boutique-panel { display: none; }
.boutique-panel.active { display: block; }

.boutique-subpanel { display: none; }
.boutique-subpanel.active { display: block; }

.boutique-subtabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.boutique-subtab {
  padding: 8px 18px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.boutique-subtab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Wiki ── */
.wiki-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.wiki-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  position: sticky;
  top: calc(var(--nav-offset) + 24px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(42, 101, 184, 0.35) transparent;
}

.wiki-sidebar-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin: 0 4px;
}

.wiki-nav-section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin: 18px 4px 8px;
  padding: 0;
}

.wiki-nav-group.is-active-branch[data-wiki-group="features"],
.wiki-nav-group.is-active-branch[data-wiki-group="server-config"] {
  padding-left: 2px;
  border-left: 1px solid rgba(42, 101, 184, 0.22);
  margin-left: 4px;
  padding-bottom: 2px;
}

.wiki-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wiki-nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wiki-nav-group.is-active-branch > .wiki-nav-item--parent {
  color: var(--text);
}

.wiki-nav-group.is-active-branch .wiki-nav-sub {
  border-left-color: rgba(61, 127, 212, 0.35);
}

.wiki-nav-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(42, 101, 184, 0.18);
}

.wiki-nav-item--parent {
  flex-direction: row;
  align-items: center;
}

.wiki-nav-item--sub {
  padding: 7px 10px 7px 12px;
}

.wiki-nav-item--sub::before {
  top: 7px;
  bottom: 7px;
}

.wiki-nav-item--sub .wiki-nav-item__title {
  font-size: 0.8rem;
}

.wiki-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 10px 15px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wiki-nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 2px;
  border-radius: 1px;
  background: transparent;
  transition: background 0.2s ease;
}

.wiki-nav-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.wiki-nav-item.is-active {
  background: rgba(42, 101, 184, 0.1);
  border-color: rgba(42, 101, 184, 0.22);
}

.wiki-nav-item.is-active::before {
  background: #3d7fd4;
}

.wiki-nav-item__pin {
  display: none;
  flex-shrink: 0;
  margin-top: 2px;
  color: #7eb0ff;
  line-height: 0;
}

.wiki-nav-item--pinned .wiki-nav-item__pin {
  display: flex;
  align-items: center;
}

.wiki-nav-item--pinned {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.wiki-nav-item__pin .lucide,
.wiki-nav-item__pin svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
}

.wiki-nav-item--pinned .wiki-nav-item__title {
  flex: 1;
  min-width: 0;
}

.wiki-nav-item__title {
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.wiki-nav-item.is-active .wiki-nav-item__title {
  color: #fff;
}

.wiki-nav-item--pinned .wiki-nav-item__title {
  font-weight: 500;
  color: var(--text);
}

.wiki-sidebar-foot {
  margin: 4px 4px 0;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.76rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.wiki-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 0;
  min-width: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(42, 101, 184, 0.45) rgba(0, 0, 0, 0.15);
}

.wiki-article {
  padding: 36px 40px 44px;
  background: transparent;
  border: none;
  border-radius: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.wiki-article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.wiki-article[hidden] {
  display: none !important;
}

.wiki-article h2 { margin-bottom: 8px; }
.wiki-article .meta {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.wiki-article p { color: var(--text-muted); margin-bottom: 16px; }

.wiki-article h3 {
  margin: 28px 0 12px;
  font-size: 1.05rem;
  color: var(--text);
}

.wiki-article h4 {
  margin: 20px 0 8px;
  font-size: 0.95rem;
  color: var(--text);
}

.wiki-article ul,
.wiki-article ol {
  color: var(--text-muted);
  padding-left: 22px;
  margin-bottom: 16px;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.wiki-article li strong { color: var(--text); }

.wiki-article code {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.84em;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 2px 6px;
  color: #c8daf5;
}

.wiki-article pre {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.wiki-article pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.wiki-callout {
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.wiki-callout--info {
  background: rgba(42, 101, 184, 0.12);
  border: 1px solid rgba(42, 101, 184, 0.28);
  color: var(--text-muted);
}

.wiki-callout--warn {
  background: rgba(239, 108, 0, 0.1);
  border: 1px solid rgba(239, 108, 0, 0.3);
  color: var(--text-muted);
}

.wiki-callout--danger {
  background: rgba(229, 57, 53, 0.1);
  border: 1px solid rgba(229, 57, 53, 0.28);
  color: var(--text-muted);
}

.wiki-crosslinks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 24px;
}

.wiki-crosslinks .wiki-crosslink {
  margin: 0;
  height: 100%;
}

@media (max-width: 720px) {
  .wiki-crosslinks {
    grid-template-columns: 1fr;
  }
}

.wiki-crosslink {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin: 12px 0 20px;
  background: rgba(42, 101, 184, 0.06);
  border: 1px solid rgba(42, 101, 184, 0.18);
  border-left: 3px solid rgba(61, 127, 212, 0.75);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wiki-crosslink-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.wiki-crosslink-icon,
.wiki-crosslink .lucide {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #7eb0ff;
  stroke: currentColor;
}

.wiki-crosslink:hover .wiki-crosslink-icon,
.wiki-crosslink:hover .lucide {
  color: #fff;
}

.wiki-crosslink:hover {
  background: rgba(42, 101, 184, 0.12);
  border-color: rgba(42, 101, 184, 0.32);
}

.wiki-crosslink-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.wiki-crosslink-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #9ec5ff;
}

.wiki-crosslink:hover .wiki-crosslink-title {
  color: #fff;
}

.wiki-screenshot {
  margin: 20px 0 24px;
}

.wiki-screenshot-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px dashed rgba(42, 101, 184, 0.28);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.wiki-screenshot-slot span {
  font-size: 0.82rem;
  color: var(--text-dim);
  max-width: 420px;
  line-height: 1.5;
}

.wiki-screenshot-slot img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 1px);
  display: block;
}

.wiki-screenshot figcaption {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}

/* F10 / RageUI : menus verticaux étroits (≠ panneaux /gestion 1024px) */
#article-f10 .wiki-screenshot-slot {
  min-height: 0;
  padding: 28px 20px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(42, 101, 184, 0.1), transparent 70%),
    rgba(0, 0, 0, 0.32);
  border-style: solid;
  border-color: rgba(42, 101, 184, 0.22);
}

#article-f10 .wiki-screenshot-slot img {
  width: auto;
  max-width: min(100%, 480px);
  height: auto;
  margin: 0 auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

#article-f10 .wiki-screenshot--wide .wiki-screenshot-slot img {
  max-width: min(100%, 760px);
}

.wiki-screenshot-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0 24px;
}

@media (min-width: 768px) {
  .wiki-screenshot-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }
}

.wiki-screenshot-pair .wiki-screenshot {
  margin: 0;
}

.wiki-screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0 24px;
}

@media (min-width: 900px) {
  .wiki-screenshot-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.wiki-screenshot-gallery .wiki-screenshot {
  margin: 0;
}

.wiki-screenshot-gallery .wiki-screenshot-slot {
  padding: 20px 14px;
}

#article-f10 .wiki-screenshot-gallery .wiki-screenshot-slot img {
  max-width: 100%;
}

.wiki-steps {
  counter-reset: wiki-step;
  list-style: none;
  padding-left: 0;
}

.wiki-steps > li {
  counter-increment: wiki-step;
  position: relative;
  padding-left: 44px;
}

.wiki-steps > li::before {
  content: counter(wiki-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: rgba(42, 101, 184, 0.16);
  border: 1px solid rgba(42, 101, 184, 0.3);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9ec5ff;
}

.wiki-table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}

.wiki-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.wiki-table th,
.wiki-table td {
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  text-align: left;
  color: var(--text-muted);
}

.wiki-table th {
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font-weight: 600;
}

.wiki-table-link {
  color: #9ec5ff;
  text-decoration: none;
}

.wiki-table-link:hover {
  color: #fff;
  text-decoration: underline;
}

.wiki-table-muted {
  color: var(--text-dim);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .wiki-article {
    transition: none;
    transform: none;
  }
}

.wiki-panel::-webkit-scrollbar,
.wiki-sidebar::-webkit-scrollbar {
  width: 6px;
}

.wiki-panel::-webkit-scrollbar-track,
.wiki-sidebar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

.wiki-panel::-webkit-scrollbar-thumb,
.wiki-sidebar::-webkit-scrollbar-thumb {
  background: rgba(42, 101, 184, 0.4);
  border-radius: 4px;
}

.wiki-panel::-webkit-scrollbar-thumb:hover,
.wiki-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(42, 101, 184, 0.6);
}

/* ── FAQ ── */
.faq-search {
  max-width: 560px;
  margin: 0 auto 40px;
  position: relative;
}

.faq-search input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.faq-search input:focus { border-color: var(--primary); }

.faq-search::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border: 2px solid var(--text-dim);
  border-radius: 50%;
  pointer-events: none;
}

.faq-search::after {
  content: '';
  position: absolute;
  left: 29px;
  top: calc(50% + 4px);
  width: 6px;
  height: 2px;
  background: var(--text-dim);
  transform: rotate(45deg);
  pointer-events: none;
}

.faq-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.faq-cat-btn {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.faq-cat-btn.active,
.faq-cat-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover { border-color: rgba(42, 101, 184, 0.4); }
.faq-item.hidden { display: none; }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary-light);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.faq-answer-inner code {
  font-size: 0.82rem;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--primary-light);
}

.faq-item.open .faq-answer { max-height: 520px; }

.faq-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-light);
  background: rgba(42, 101, 184, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 48px 0 32px;
  margin-top: 40px;
  background: rgba(0, 0, 0, 0.4);
}

.footer::before {
  content: '';
  display: block;
  height: 2px;
  background: var(--gradient-bar);
  margin-bottom: 48px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a { color: var(--text-muted); font-size: 0.88rem; }
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible,
.screen:first-child .reveal,
.screen-topbar.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* ── CTA banner ── */
.cta-banner {
  text-align: center;
  padding: 60px 40px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(42,101,184,0.08) 0%, transparent 70%),
    rgba(0, 0, 0, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.card-grid .card h3::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--primary);
  margin-bottom: 14px;
  box-shadow: 0 0 10px var(--primary-glow);
}

.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 24px; }

/* ── Service cards (prestations) ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.service-card__name { font-size: 0.95rem; font-weight: 600; }
.service-card__price { font-size: 1.3rem; font-weight: 800; color: var(--primary-light); white-space: nowrap; }
.service-card__desc { font-size: 0.85rem; color: var(--text-muted); flex: 1; }

.pricing-note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
}

.pricing-was {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-bottom: 12px;
}

.pricing-setup {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pack-workload {
  margin: 12px 0 20px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-content,
  .story-block { grid-template-columns: 1fr; gap: 40px; }
  .story-block.reverse { direction: ltr; }

  .bento-row { grid-template-columns: 1fr; }
  .founders-row { grid-template-columns: 1fr; }
  .founder-profile { flex-direction: column; align-items: center; text-align: center; }
  .founder-profile__tags { justify-content: center; }
  .direction-page__head { text-align: center; margin-left: auto; margin-right: auto; }

  .cta-panel { padding: 28px 20px 24px; }
  .cta-panel h2 { font-size: 1.45rem; }

  .base-hero,
  .scripts-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }

  .base-hero__main,
  .scripts-hero__main { text-align: center; }
  .base-hero__lead,
  .scripts-hero__lead { margin-left: auto; margin-right: auto; }
  .base-hero__main .tag-row,
  .scripts-hero__main .tag-row { justify-content: center; }
  .base-hero__actions,
  .scripts-hero__actions { justify-content: center; }

  .story-page {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
  }

  .story-page__main { text-align: center; }
  .story-page__main h2 br { display: none; }
  .story-quote { text-align: left; }

  .hero-visual { order: -1; min-width: 0; min-height: 260px; }
  .hero-rocket { width: 140px; }
  .hero-orbit { width: 260px; height: 260px; }

  .split-layout,
  .split-layout--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-layout--reverse .split-visual { order: -1; }
  .split-layout--reverse .split-copy { order: 0; }

  .portrait-frame {
    max-width: 240px;
    max-height: none;
    margin: 0 auto;
  }

  .wiki-layout { grid-template-columns: 1fr; }
  .wiki-sidebar { position: static; }
}

/* ── Full-screen views (voltre-style) ── */
body.screen-mode {
  overflow: hidden;
  height: 100vh;
}

body.screen-mode .nav-pill {
  background: rgba(6, 6, 8, 0.68);
  border-color: rgba(122, 162, 227, 0.14);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 40px rgba(42, 101, 184, 0.06);
}

body.screen-mode .screen-viewport > .screen-inner,
body.screen-mode .screen-viewport--scroll .screen-body {
  background: transparent;
}


body.screen-mode .footer { display: none; }

.screen-stack {
  height: calc(100vh - var(--nav-offset));
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
}

.screen-stack::-webkit-scrollbar { width: 0; height: 0; }

.screen {
  height: calc(100vh - var(--nav-offset));
  min-height: calc(100vh - var(--nav-offset));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.screen--top {
  justify-content: center;
  padding: 24px 0;
}

.screen--top .screen-inner {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
}

.screen--top .screen-inner::-webkit-scrollbar { display: none; }

.screen--top .team-card p { color: var(--text-muted); font-size: 0.9rem; text-align: left; }

.screen-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.screen-head {
  text-align: center;
  margin-bottom: 28px;
}

.screen-head h1 { margin-bottom: 10px; }
.screen-head h2 { margin-bottom: 10px; }
.screen-head p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 0.95rem; }

.screen-viewport {
  height: calc(100vh - var(--nav-offset));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: screen-enter 0.45s ease;
}

.screen-viewport > .screen-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.screen-viewport--scroll .screen-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 32px;
}

.screen-viewport--scroll .screen-body::-webkit-scrollbar { width: 4px; }
.screen-viewport--scroll .screen-body::-webkit-scrollbar-thumb {
  background: rgba(42, 101, 184, 0.35);
  border-radius: 4px;
}

.screen-viewport--wiki .screen-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screen-viewport--wiki .screen-body > .container {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.screen-viewport--wiki .wiki-layout {
  flex: 1;
  min-height: 0;
}

.screen-topbar {
  flex-shrink: 0;
  text-align: center;
  padding: 20px 24px 16px;
}

.screen-topbar .eyebrow { margin-bottom: 8px; }
.screen-topbar h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.screen-topbar p { color: var(--text-muted); font-size: 0.92rem; max-width: 520px; margin: 0 auto; }

.screen .arch-graph-wrap {
  height: min(52vh, 480px);
  min-height: 320px;
}

.screen .ui-stage-viewport {
  padding: 12px;
}

.screen .ui-viewer-stage .ui-viewer-img {
  max-height: min(52vh, 560px);
}

#interfaces {
  content-visibility: visible;
}

.screen .mock-nui--wide { max-width: 100%; }

.screen .mock-inv-body { grid-template-columns: 1fr 130px; }

.screen .mock-shop-body {
  grid-template-columns: repeat(2, 1fr) 120px;
}

.screen .mock-nui--bank {
  max-width: 100%;
  grid-template-columns: 120px 1fr;
}

.screen .mock-tablet-grid {
  grid-template-columns: 1fr;
}

.screen .ui-showcase {
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.screen .ui-card h4 { padding: 12px 12px 2px; font-size: 0.85rem; }
.screen .ui-card p { padding: 0 12px 12px; font-size: 0.75rem; }
.screen .ui-card .img-placeholder { aspect-ratio: 4/3; font-size: 0.75rem; }

.screen .pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.screen .pricing-card { padding: 22px; }
.screen .pricing-price { font-size: 1.6rem; margin: 8px 0; }
.screen .pricing-list { margin: 10px 0 16px; }
.screen .pricing-list li {
  font-size: 0.82rem;
  padding: 4px 0 4px 20px;
}

.screen-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.screen-dots button {
  pointer-events: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.screen-dots button:hover { background: rgba(255, 255, 255, 0.35); }

.screen-dots button.active {
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  transform: scale(1.25);
}

.screen-hint {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.4;
  pointer-events: none;
}

@keyframes screen-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-logo img,
  .hero-rocket,
  .hero-orbit,
  .stars-bg::before,
  .stars-bg::after { animation: none; }
  .card:hover { transform: none; }
}

.screen-mode .wiki-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  height: 100%;
  min-height: 0;
}

.screen-mode .wiki-sidebar,
.screen-mode .wiki-panel {
  max-height: 100%;
}

.screen-mode .wiki-article { padding: 28px 32px 36px; }

.screen-mode .faq-list { max-height: none; }

.screen .hero-content { align-items: center; }

.screen.section--alt {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(42, 101, 184, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(42, 101, 184, 0.04) 0%, transparent 50%);
}

.boutique-tabs { margin-bottom: 24px; }
.boutique-tab { min-width: 0; padding: 12px 16px; }
.boutique-tab small { font-size: 0.72rem; }

.screen-body .section-head { margin-bottom: 24px; }
.screen-body .section-head h2 { font-size: 1.4rem; }
.screen-body .section-head p { font-size: 0.88rem; }

@media (max-width: 900px) {
  .screen .card-grid[style*="repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 900px) {
  .screen .ui-showcase { grid-template-columns: repeat(2, 1fr); }
  .screen .pricing-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .screen-dots { right: 12px; }

  .ui-stage-toolbar { gap: 6px; }
  .ui-stage-tab { padding: 8px 12px; font-size: 0.72rem; }
  .ui-stage-tab svg { width: 14px; height: 14px; }
  .mock-inv-body { grid-template-columns: 1fr; }
  .mock-inv-side { order: -1; }
  .mock-shop-body { grid-template-columns: repeat(2, 1fr); }
  .mock-shop-cart { grid-column: 1 / -1; }
  .mock-nui--bank { grid-template-columns: 1fr; }
  .mock-bank-side { border-right: none; border-bottom: 1px solid rgba(122, 162, 227, 0.12); }
  .mock-bank-nav { flex-direction: row; flex-wrap: wrap; }
  .mock-bank-cards { grid-template-columns: 1fr; }

  :root { --nav-offset: 72px; }

  body.screen-mode {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100dvh;
  }

  .screen-stack {
    height: auto;
    overflow-y: visible;
    scroll-snap-type: none;
    overscroll-behavior-y: auto;
  }

  .screen {
    height: auto;
    min-height: 0;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    overflow: visible;
    padding: 40px 0;
    justify-content: flex-start;
  }

  .screen:first-child {
    min-height: calc(100dvh - var(--nav-offset));
    min-height: calc(100svh - var(--nav-offset));
    justify-content: center;
    padding: 24px 0 32px;
  }

  .screen--top .screen-inner {
    max-height: none;
    overflow-y: visible;
  }

  .screen-viewport {
    height: auto;
    min-height: calc(100dvh - var(--nav-offset));
    min-height: calc(100svh - var(--nav-offset));
    overflow: visible;
  }

  .screen-viewport--scroll .screen-body {
    overflow-y: visible;
    flex: none;
  }

  .screen-viewport--wiki .screen-body {
    overflow-y: visible;
    min-height: auto;
  }

  .screen-inner,
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .screen-topbar {
    padding: 16px 16px 12px;
  }

  .hero-modern__content h1 {
    font-size: clamp(2rem, 11vw, 2.75rem);
  }

  .hero-modern__lead {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .story-page__main h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .founder-profile {
    padding: 18px 16px;
  }

  .founder-profile__bio {
    text-align: left;
  }

  .cta-panel {
    padding: 24px 16px 20px;
    border-radius: 18px;
  }

  .cta-panel h2 {
    font-size: 1.35rem;
  }

  .cta-card {
    padding: 14px 14px;
    gap: 12px;
  }

  .cta-card:hover {
    transform: none;
  }

  .cta-footer {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .cta-footer__sep { display: none; }

  .subnav {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .subnav::-webkit-scrollbar { display: none; }

  .subnav a {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .boutique-tabs {
    flex-direction: column;
  }

  .boutique-tab {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .boutique-subtabs {
    flex-wrap: wrap;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }

  .screen .arch-graph-wrap {
    height: min(55vw, 280px);
    min-height: 220px;
  }

  .screen .card-grid[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  .screen-dots { display: none; }
  .screen-hint { display: none; }

  .screen-mode .wiki-layout {
    grid-template-columns: 1fr;
    max-height: none;
    height: auto;
  }

  .screen-mode .screen-viewport--wiki .screen-body { overflow-y: visible; }
  .screen-mode .screen-viewport--wiki .wiki-panel { max-height: none; }
  .screen-mode .wiki-sidebar,
  .screen-mode .wiki-panel { max-height: none; }
  .screen-mode .wiki-article { padding: 20px 16px 28px; }
}

@media (max-width: 768px) {
  .nav { padding: 12px 16px; }

  .nav-pill {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo toggle"
      "menu menu"
      "actions actions";
    align-items: center;
    border-radius: 20px;
    padding: 10px 12px;
    gap: 0;
  }

  .nav-pill.is-open {
    padding-bottom: 14px;
  }

  .nav-logo {
    grid-area: logo;
    justify-self: start;
  }

  .nav-toggle {
    display: flex;
    grid-area: toggle;
    margin-left: 0;
    justify-self: end;
  }

  .nav-center {
    grid-area: menu;
    flex: none;
    width: 100%;
    min-width: 0;
    order: unset;
    justify-content: stretch;
  }

  .nav-actions {
    grid-area: actions;
    flex: none;
    width: 100%;
    order: unset;
  }

  .nav-center,
  .nav-actions {
    display: none;
  }

  .nav-center.open,
  .nav-actions.open {
    display: flex;
    flex-direction: column;
  }

  .nav-center.open {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-center.open .nav-links {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 2px;
  }

  .nav-center.open .nav-links li {
    width: 100%;
  }

  .nav-center.open .nav-links a,
  .nav-center.open .nav-dropdown-toggle,
  .nav-center.open .nav-wip-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav-center.open .nav-links a:hover,
  .nav-center.open .nav-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-actions.open {
    gap: 8px;
    align-items: stretch;
    padding-top: 10px;
    margin-top: 6px;
  }

  .nav-actions.open .nav-action-link,
  .nav-actions.open .nav-cta {
    text-align: center;
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 4px 0 4px 8px;
    margin-top: 2px;
    display: none;
    min-width: 0;
  }

  .nav-dropdown:hover:not(.open) .nav-dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: flex !important;
    flex-direction: column;
    gap: 2px;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-dropdown-menu a {
    padding: 10px 14px 10px 18px;
    border-radius: 10px;
    font-size: 0.84rem;
  }

  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a.active {
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  :root { --nav-offset: 68px; }

  .nav {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
}

@media (max-width: 480px) {
  .container,
  .screen-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-pill {
    padding: 8px 10px;
  }

  .nav-logo {
    width: 32px;
    height: 32px;
  }

  .btn {
    padding: 11px 20px;
    font-size: 0.85rem;
  }

  .card {
    padding: 22px 18px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.88rem;
  }

  .faq-answer-inner {
    padding: 0 16px 16px;
    font-size: 0.85rem;
  }

  .screen .ui-showcase {
    grid-template-columns: 1fr;
  }

  .ui-stage-nav {
    width: 32px;
    height: 32px;
  }

  .page-hero {
    padding: 40px 0 28px;
  }

  section {
    padding: 48px 0;
  }
}
