/* ============================================================
   ASTREN — REDESIGN 2026
   Premium, futuristic, sovereign French AI
   ============================================================ */

:root {
  --bg-0: #07070b;
  --bg-1: #0b0b12;
  --bg-2: #101018;
  --bg-3: #161622;
  --ink-1: #f6f6f9;
  --ink-2: #b8b8c8;
  --ink-3: #7a7a8c;
  --ink-4: #4a4a5c;
  --line: rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.12);
  --brand: #9810FA;
  --brand-2: #b547ff;
  --brand-3: #6b0bb5;
  --cool: #6aa9ff;
  --warm: #ff8bd1;
  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --radius-sm: 0.75rem;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Geist', 'Satoshi', 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  --font-body: 'Geist', 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;
}

/* ------- Base reset for redesign pages ------- */
html { background: var(--bg-0); }
body.rd-2026 {
  background: transparent;
  color: var(--ink-1);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
}

body.rd-2026 * { box-sizing: border-box; }
body.rd-2026 img { max-width: 100%; display: block; }
body.rd-2026 ::selection { background: var(--brand); color: #fff; }

/* Fixed grain overlay */
body.rd-2026::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.rd-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-size: clamp(2.75rem, 7.5vw, 6.5rem);
}
.rd-h1 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; font-size: clamp(2.25rem, 5.5vw, 4.5rem); }
.rd-h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(1.75rem, 3.8vw, 3rem); }
.rd-h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; font-size: clamp(1.25rem, 2vw, 1.625rem); }
.rd-body { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.65; max-width: 62ch; }
.rd-body-sm { color: var(--ink-3); font-size: 0.9375rem; line-height: 1.55; }
.rd-mono { font-family: var(--font-mono); letter-spacing: -0.01em; }

/* Eyebrow pill */
.rd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.425rem 0.875rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.rd-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(152,16,250,0.8);
  animation: rd-pulse 2.4s var(--ease-smooth) infinite;
}
@keyframes rd-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

/* Gradient accent text */
.rd-grad-text {
  background: linear-gradient(92deg, #ffffff 0%, #d9c2ff 45%, #9810FA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   CONTAINERS & LAYOUT
   ============================================================ */
.rd-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
}
.rd-container-narrow {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.rd-section { padding: clamp(5rem, 10vw, 9rem) 0; position: relative; }
.rd-section-sm { padding: clamp(3rem, 6vw, 5rem) 0; position: relative; }

/* ============================================================
   NAVIGATION — Floating glass pill
   ============================================================ */
.rd-nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  background: rgba(14, 14, 22, 0.72);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 20px 60px -20px rgba(0,0,0,0.6);
  transition: transform 0.6s var(--ease-smooth), top 0.35s var(--ease-smooth), background 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth), padding 0.35s var(--ease-smooth);
}
.rd-nav.is-hidden { transform: translateX(-50%) translateY(-150%); }
.rd-nav.is-scrolled {
  top: 0.75rem;
  background: rgba(10, 10, 18, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 14px 40px -14px rgba(0,0,0,0.7);
}
.rd-nav__logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-1);
  font-size: 1rem;
  padding-right: 0.75rem;
  border-right: 1px solid var(--line-2);
  margin-right: 0.25rem;
}
.rd-nav__logo img { height: 22px; width: auto; }
.rd-nav__links { display: flex; align-items: center; gap: 0.125rem; }
.rd-nav__link {
  padding: 0.5rem 0.875rem;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 450;
  border-radius: var(--radius-pill);
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.rd-nav__link:hover { color: var(--ink-1); background: rgba(255,255,255,0.05); }
.rd-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.55rem 0.55rem 1.125rem;
  background: var(--ink-1);
  color: var(--bg-0);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s var(--ease-bounce), background 0.3s var(--ease-out);
  margin-left: 0.375rem;
}
.rd-nav__cta:hover { transform: translateY(-1px); }
.rd-nav__cta:active { transform: scale(0.97); }
.rd-nav__cta .rd-ico {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-bounce);
}
/* effet hover sur l'icône retiré (bouger/lever) — gardé sobre */
.rd-nav__burger { display: none; }

@media (max-width: 900px) {
  .rd-nav { padding: 0.45rem 0.45rem 0.45rem 1rem; }
  .rd-nav__links { display: none; }
  .rd-nav__logo { border-right: 0; padding-right: 0; margin-right: 0; }
  .rd-nav__burger {
    display: inline-flex;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--line-2);
    align-items: center; justify-content: center;
    color: var(--ink-1);
    margin-left: 0.5rem;
  }
  .rd-nav__cta span { display: none; }
  .rd-nav__cta { padding: 0.45rem; }
}

/* Mobile overlay menu */
.rd-menu-overlay {
  position: fixed; inset: 0;
  z-index: 999;
  background: rgba(7,7,11,0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex; flex-direction: column;
  padding: 6rem 2rem 3rem;
  gap: 0.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-smooth);
}
.rd-menu-overlay.is-open { opacity: 1; pointer-events: auto; }
.rd-menu-overlay a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-1);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.6s var(--ease-smooth), opacity 0.6s var(--ease-smooth);
}
.rd-menu-overlay.is-open a { transform: translateY(0); opacity: 1; }
.rd-menu-overlay a:nth-child(1) { transition-delay: 0.08s; }
.rd-menu-overlay a:nth-child(2) { transition-delay: 0.14s; }
.rd-menu-overlay a:nth-child(3) { transition-delay: 0.20s; }
.rd-menu-overlay a:nth-child(4) { transition-delay: 0.26s; }
.rd-menu-overlay a:nth-child(5) { transition-delay: 0.32s; }
.rd-menu-overlay a:nth-child(6) { transition-delay: 0.38s; }

/* ============================================================
   BUTTONS — Premium, magnetic, button-in-button
   ============================================================ */
.rd-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 0.875rem 0.875rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.35s var(--ease-bounce), background 0.3s var(--ease-out), color 0.3s var(--ease-out);
  white-space: nowrap;
}
.rd-btn:active { transform: scale(0.97); }
.rd-btn__ico {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.35s var(--ease-bounce);
}
/* effet hover sur l'icône retiré (bouger/lever) — gardé sobre */

.rd-btn--primary {
  background: var(--ink-1);
  color: var(--bg-0);
  box-shadow: 0 10px 30px -10px rgba(255,255,255,0.25);
}
.rd-btn--primary .rd-btn__ico { background: rgba(0,0,0,0.08); }
.rd-btn--primary:hover { transform: translateY(-2px); }

.rd-btn--brand {
  background: linear-gradient(180deg, var(--brand-2) 0%, var(--brand) 100%);
  color: #fff;
  box-shadow: 0 12px 40px -10px rgba(152,16,250,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.rd-btn--brand .rd-btn__ico { background: rgba(0,0,0,0.18); }
.rd-btn--brand:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -10px rgba(152,16,250,0.75), inset 0 1px 0 rgba(255,255,255,0.3); }

.rd-btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--ink-1);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.rd-btn--ghost .rd-btn__ico { background: rgba(255,255,255,0.06); }
.rd-btn--ghost:hover { background: rgba(255,255,255,0.07); }

.rd-btn--sm { padding: 0.625rem 0.625rem 0.625rem 1.125rem; font-size: 0.8125rem; }
.rd-btn--sm .rd-btn__ico { width: 26px; height: 26px; }

/* Ghost link (no bg) */
.rd-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 450;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.rd-link:hover { color: var(--ink-1); border-bottom-color: var(--line-2); }

/* ============================================================
   HERO — Cinematic
   ============================================================ */
.rd-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}

.rd-hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 72% 30%, rgba(152,16,250,0.28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 18% 80%, rgba(106,169,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 100% 60% at 50% 110%, rgba(181,71,255,0.18) 0%, transparent 70%);
}
.rd-hero__stars {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
}
/* Global starfield — fixed behind every section */
.rd-stars-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.9;
}
/* Global blueprint grid — fixed behind every section (subtle) */
body.rd-2026::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 95%);
}
.rd-hero__grid {
  position: absolute; inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,0,0,0.9) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,0,0,0.9) 0%, transparent 75%);
  opacity: 0.55;
}

.rd-hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .rd-hero__inner { grid-template-columns: 1fr; gap: 3rem; }
}

.rd-hero__content > * + * { margin-top: 1.5rem; }
.rd-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.94;
  font-size: clamp(2.75rem, 7vw, 6rem);
  color: var(--ink-1);
}
.rd-hero__title em { font-style: normal; }
/* Gradient applied on the inner rise-span (there's exactly one per em → continuous gradient) */
.rd-hero__title em .word > span {
  background: linear-gradient(100deg, #ffffff 0%, #e4cfff 40%, #9810FA 80%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.rd-hero__title .word {
  display: inline-block;
  vertical-align: baseline;
}
.rd-hero__title .word > span {
  display: inline-block;
  transform: translateY(50%);
  opacity: 0;
  animation: rd-rise 0.95s var(--ease-smooth) forwards;
  /* extend bg-paint area below baseline so 'g','j','y','p','q' descenders render with the gradient */
  padding-bottom: 0.22em;
  margin-bottom: -0.22em;
}
.rd-hero__title .word:nth-child(1) > span { animation-delay: 0.05s; }
.rd-hero__title .word:nth-child(2) > span { animation-delay: 0.12s; }
.rd-hero__title .word:nth-child(3) > span { animation-delay: 0.19s; }
.rd-hero__title .word:nth-child(4) > span { animation-delay: 0.26s; }
.rd-hero__title .word:nth-child(5) > span { animation-delay: 0.33s; }
.rd-hero__title .word:nth-child(6) > span { animation-delay: 0.40s; }
.rd-hero__title .word:nth-child(7) > span { animation-delay: 0.47s; }
@keyframes rd-rise {
  to { transform: translateY(0); opacity: 1; }
}

.rd-hero__sub {
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 36rem;
  opacity: 0;
  animation: rd-fade-up 0.9s var(--ease-smooth) 0.6s forwards;
}
@keyframes rd-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.rd-hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.875rem;
  opacity: 0;
  animation: rd-fade-up 0.9s var(--ease-smooth) 0.8s forwards;
}
.rd-hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: rd-fade-up 0.9s var(--ease-smooth) 1s forwards;
}
.rd-hero__meta-item { display: flex; flex-direction: column; gap: 0.125rem; }
.rd-hero__meta-item .k { font-family: var(--font-mono); font-size: 1.5rem; color: var(--ink-1); letter-spacing: -0.03em; }
.rd-hero__meta-item .l { font-size: 0.75rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.14em; }

/* Hero visual — floating device frame */
.rd-hero__stage {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: calc(var(--radius-lg) + 0.5rem);
  padding: 0.625rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--line-2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 50px 120px -40px rgba(152,16,250,0.45),
    0 25px 60px -20px rgba(0,0,0,0.7);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
  animation: rd-float 7s ease-in-out infinite;
}
@keyframes rd-float {
  0%, 100% { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg) translateY(-10px); }
}
.rd-hero__stage-inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(152,16,250,0.25) 0%, transparent 60%),
    linear-gradient(160deg, #16162a 0%, #0a0a14 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), inset 0 -30px 60px rgba(0,0,0,0.4);
}
.rd-hero__stage-inner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.rd-hero__stage-hud {
  position: absolute; top: 1rem; left: 1rem; right: 1rem;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}
.rd-hero__stage-hud .left { display: flex; align-items: center; gap: 0.5rem; }
.rd-hero__stage-hud .live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 10px #4ade80;
  animation: rd-pulse 1.8s ease-in-out infinite;
}
.rd-hero__stage-caption {
  position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem;
  padding: 0.875rem 1rem;
  background: rgba(10,10,20,0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 0.875rem;
}
.rd-hero__stage-caption .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: url('/img/solan.jpg') center/cover no-repeat, linear-gradient(135deg, var(--brand-2), var(--cool));
  flex: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 0 0 1px rgba(255,255,255,0.1);
}
.rd-hero__stage-caption .meta { flex: 1; min-width: 0; }
.rd-hero__stage-caption .name { color: var(--ink-1); font-weight: 500; font-size: 0.875rem; letter-spacing: -0.01em; }
.rd-hero__stage-caption .role { color: var(--ink-3); font-family: var(--font-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.12em; }

/* Scroll indicator */
.rd-hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.625rem;
  opacity: 0;
  animation: rd-fade-up 0.9s var(--ease-smooth) 1.4s forwards;
}
.rd-hero__scroll::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--ink-3), transparent);
  animation: rd-scroll-line 2.2s ease-in-out infinite;
}
@keyframes rd-scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  40% { transform: scaleY(1); transform-origin: top; }
  60% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   TRUST / CLIENT BAND — Full-bleed marquee
   ============================================================ */
.rd-trust {
  position: relative;
  z-index: 1;
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}
.rd-trust__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.rd-marquee {
  width: 100vw;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.rd-marquee__track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: rd-marquee 48s linear infinite;
}
.rd-marquee--reverse .rd-marquee__track { animation-direction: reverse; animation-duration: 58s; }
@keyframes rd-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.rd-marquee__item {
  display: flex; align-items: center; gap: 0.875rem;
  color: var(--ink-3);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  white-space: nowrap;
  transition: color 0.3s var(--ease-out);
}
.rd-marquee__item:hover { color: var(--ink-1); }
.rd-marquee__item img { height: 56px; width: auto; max-width: 180px; object-fit: contain; opacity: 0.45; filter: grayscale(1) brightness(1.3); transition: opacity 0.3s, filter 0.3s; }
.rd-marquee__item:hover img { opacity: 1; filter: grayscale(0) brightness(1.8); }

/* ============================================================
   MANIFESTO — Editorial split
   ============================================================ */
.rd-manifesto { padding: clamp(5rem, 10vw, 9rem) 0; }
.rd-manifesto__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .rd-manifesto__inner { grid-template-columns: 1fr; gap: 2rem; } }
.rd-manifesto__lead {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: clamp(1.875rem, 3.6vw, 3rem);
  color: var(--ink-2);
}
.rd-manifesto__lead strong { color: var(--ink-1); font-weight: 500; }
.rd-manifesto__lead em {
  font-style: normal;
  background: linear-gradient(100deg, #ffffff 0%, #b547ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rd-manifesto__side { padding-top: 1rem; }
.rd-manifesto__side p { color: var(--ink-2); font-size: 1rem; line-height: 1.75; margin-bottom: 1rem; }
.rd-manifesto__signature {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 0.875rem;
}
.rd-manifesto__signature .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--cool));
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 1px rgba(181, 71, 255, 0.25), 0 4px 14px -4px rgba(152, 16, 250, 0.5);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rd-manifesto__signature .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.rd-manifesto__signature .meta .n { color: var(--ink-1); font-size: 0.9375rem; font-weight: 500; }
.rd-manifesto__signature .meta .r { color: var(--ink-3); font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; }

/* ============================================================
   AGENT SHOWCASE CAROUSEL
   ============================================================ */
.rd-agents {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(5rem, 10vw, 9rem);
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(152,16,250,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(106,169,255,0.10) 0%, transparent 60%),
    rgba(7, 7, 11, 0.4);
  overflow: hidden;
  isolation: isolate;
}
/* Quadrillage local retiré : le background global du site fournit déjà le grid, éviter le doublon visuel */
.rd-agents__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  margin-bottom: 4rem;
}
@media (max-width: 900px) { .rd-agents__head { flex-direction: column; align-items: stretch; gap: 1.5rem; } }
.rd-agents__head h2 { max-width: 20ch; }
.rd-agents__head p { max-width: 32rem; color: var(--ink-2); }

/* Stage */
.rd-agents__stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 680px;
}
@media (max-width: 960px) {
  .rd-agents__stage { grid-template-columns: 1fr; gap: 2rem; min-height: auto; }
}

/* Left: the agent visual frame (device-like) */
.rd-agent-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: calc(var(--radius-lg) + 0.5rem);
  padding: 0.625rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.02) 60%);
  border: 1px solid var(--line-2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 60px 140px -50px rgba(152,16,250,0.5),
    0 30px 70px -30px rgba(0,0,0,0.8);
}
.rd-agent-frame__inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, rgba(152,16,250,0.35) 0%, transparent 60%), linear-gradient(160deg, #1a1a2e 0%, #07070b 75%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -60px 120px rgba(0,0,0,0.5);
}
.rd-agent-frame__stage-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s var(--ease-smooth), transform 1.5s var(--ease-smooth);
}
.rd-agent-frame__stage-img.is-active { opacity: 1; transform: scale(1); }
.rd-agent-frame__hud {
  position: absolute; top: 1.25rem; left: 1.25rem; right: 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}
.rd-agent-frame__hud .live {
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.rd-agent-frame__hud .live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 10px #4ade80;
  animation: rd-pulse 1.8s ease-in-out infinite;
}
.rd-agent-frame__corner {
  position: absolute; width: 26px; height: 26px;
  border: 1px solid rgba(255,255,255,0.3);
}
.rd-agent-frame__corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.rd-agent-frame__corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.rd-agent-frame__corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.rd-agent-frame__corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* Orbit rings animation decoration */
.rd-agent-frame__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 90%; aspect-ratio: 1;
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rd-spin 40s linear infinite;
  pointer-events: none;
}
.rd-agent-frame__ring.r2 { width: 70%; animation-duration: 28s; animation-direction: reverse; border-style: solid; border-color: rgba(255,255,255,0.05); }
@keyframes rd-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes rd-rotate { to { transform: rotate(360deg); } }

/* Right: details panel */
.rd-agent-panel {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.rd-agent-panel__index {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.rd-agent-panel__index .bar { flex: 1; height: 1px; background: var(--line); }
.rd-agent-panel__name {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
}
.rd-agent-panel__name em {
  font-style: normal;
  background: linear-gradient(100deg, #ffffff 0%, #b547ff 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rd-agent-panel__role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: inline-flex; align-items: center; gap: 0.625rem;
}
.rd-agent-panel__role::before {
  content: ""; width: 24px; height: 1px; background: var(--brand-2);
}
.rd-agent-panel__tagline {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  color: var(--ink-1);
}
.rd-agent-panel__desc {
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 34rem;
}
.rd-agent-panel__cases {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
  max-width: 34rem;
}
.rd-agent-panel__cases li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.55;
}
.rd-agent-panel__cases li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.35em;
  width: 0.875rem; height: 0.875rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%239810FA' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8.5l3.5 3.5L13 4.5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.rd-agent-panel__stats {
  display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center;
  padding: 0.875rem 1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(152,16,250,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--line-2);
}
.rd-agent-panel__metric {
  display: flex; flex-direction: column; gap: 0.125rem;
  padding-right: 1.25rem;
  border-right: 1px solid var(--line-2);
}
.rd-agent-panel__metric .k {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink-1);
  line-height: 1;
  background: linear-gradient(100deg, #ffffff 0%, #e4cfff 45%, #9810FA 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-bottom: 0.12em;
}
.rd-agent-panel__metric .l {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.rd-agent-panel__price {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ink-1);
  letter-spacing: 0.01em;
}
.rd-agent-panel__price-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.6);
}
.rd-agent-panel__tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.rd-agent-panel__tag {
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.rd-agent-panel__actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Carousel animation state */
.rd-agent-panel > * {
  transition: opacity 0.5s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}
.rd-agent-panel.is-leaving > * { opacity: 0; transform: translateY(-10px); }
.rd-agent-panel.is-entering > * { opacity: 0; transform: translateY(18px); }

/* Carousel controls */
.rd-agents__controls {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 600px) {
  .rd-agents__controls { grid-template-columns: 1fr; gap: 1rem; }
}
.rd-agents__arrows { display: flex; gap: 0.5rem; }
.rd-carousel-arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
  color: var(--ink-1);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.35s var(--ease-bounce);
}
.rd-carousel-arrow:hover { background: rgba(255,255,255,0.08); transform: scale(1.08); }
.rd-carousel-arrow:active { transform: scale(0.95); }
.rd-carousel-arrow svg { width: 20px; height: 20px; stroke-width: 1.5; }

/* Floating variant — overlaid on the agent photo */
.rd-carousel-arrow--float {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  background: rgba(14, 14, 22, 0.55);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 24px -8px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out), transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
  z-index: 3;
}
.rd-agent-frame:hover .rd-carousel-arrow--float,
.rd-carousel-arrow--float:focus-visible { opacity: 1; }
.rd-carousel-arrow--float:hover {
  transform: translateY(-50%) scale(1.08);
  background: rgba(152, 16, 250, 0.6);
  border-color: var(--brand-2);
}
.rd-carousel-arrow--float:active { transform: translateY(-50%) scale(0.94); }
.rd-carousel-arrow--float.rd-carousel-arrow--prev { left: 0.75rem; }
.rd-carousel-arrow--float.rd-carousel-arrow--next { right: 0.75rem; }
.rd-carousel-arrow--float svg { width: 18px; height: 18px; }

/* On touch devices, always show the floating arrows */
@media (hover: none) {
  .rd-carousel-arrow--float { opacity: 0.9; }
}

.rd-agents__dots {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
}
.rd-carousel-dot {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.rd-carousel-dot:hover { color: var(--ink-1); border-color: var(--line-2); }
.rd-carousel-dot.is-active {
  background: rgba(152,16,250,0.14);
  border-color: rgba(152,16,250,0.5);
  color: var(--ink-1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 0 20px -5px rgba(152,16,250,0.5);
}
.rd-carousel-dot__initial {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.625rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.rd-agents__progress {
  position: relative;
  height: 1px;
  background: var(--line);
  width: 100%;
}
.rd-agents__progress-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.6s var(--ease-smooth);
}

/* ============================================================
   CAPACITIES BENTO
   ============================================================ */
.rd-capabilities { padding: clamp(5rem, 10vw, 9rem) 0; }
.rd-capabilities__head { max-width: 44rem; margin-bottom: 3.5rem; }
.rd-capabilities__head h2 { margin-top: 1rem; }
.rd-capabilities__head p { margin-top: 1rem; color: var(--ink-2); }

.rd-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(210px, auto);
  gap: 1rem;
}
@media (max-width: 900px) { .rd-bento { grid-template-columns: 1fr; gap: 1rem; } }
.rd-bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  padding: 1.75rem;
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s;
}
.rd-bento-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.rd-bento-card .tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.rd-bento-card h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; font-size: clamp(1.25rem, 2vw, 1.625rem); color: var(--ink-1); }
.rd-bento-card p { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.65; }

/* Bento layout spans */
.rd-bento-card.sp-1 { grid-column: span 7; grid-row: span 2; }
.rd-bento-card.sp-2 { grid-column: span 5; }
.rd-bento-card.sp-3 { grid-column: span 5; }
.rd-bento-card.sp-4 { grid-column: span 4; }
.rd-bento-card.sp-5 { grid-column: span 4; }
.rd-bento-card.sp-6 { grid-column: span 4; }
@media (max-width: 900px) {
  .rd-bento-card.sp-1, .rd-bento-card.sp-2, .rd-bento-card.sp-3,
  .rd-bento-card.sp-4, .rd-bento-card.sp-5, .rd-bento-card.sp-6 {
    grid-column: span 1; grid-row: auto;
  }
}

/* Bento visuals */
.rd-bento-card__viz {
  position: relative;
  flex: 1;
  min-height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 30%, rgba(152,16,250,0.2) 0%, transparent 60%), var(--bg-3);
  border: 1px solid var(--line);
}

/* Viz 1 — flowing lines */
.viz-flow {
  background: radial-gradient(ellipse at 50% 50%, rgba(152,16,250,0.3) 0%, transparent 70%), #0a0a18;
}
.viz-flow::before {
  content: "";
  position: absolute; inset: -40%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(152,16,250,0.4) 20%, transparent 40%, rgba(106,169,255,0.3) 60%, transparent 80%);
  animation: rd-rotate 20s linear infinite;
  transform-origin: center;
  filter: blur(40px);
  opacity: 0.5;
}
.viz-flow::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(10,10,24,0.85) 80%);
  pointer-events: none;
}
/* ==== Constellation orbitale ==== */
/* Anneaux guides décoratifs (très discrets) */
.viz-flow__orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 86%;
  aspect-ratio: 1 / 1;
  max-height: 340px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(181, 71, 255, 0.10);
  pointer-events: none;
  z-index: 1;
}
.viz-flow__orbit-ring--inner {
  height: 52%;
  max-height: 210px;
  border-color: rgba(181, 71, 255, 0.08);
  animation: viz-flow-ring 60s linear infinite reverse;
}
@keyframes viz-flow-ring {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Conteneur centré qui porte les 6 bras orbitaux */
.viz-flow__satellites {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 86%;
  aspect-ratio: 1 / 1;
  max-height: 340px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

/* Chaque bras orbital : carré centré, il tourne autour du hub.
   --i = index du satellite (0..5). Les 6 sont espacés de 60°. */
.viz-flow__orbit {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  animation: viz-flow-spin 38s linear infinite;
  animation-delay: calc(var(--i) * -38s / 6);
}

@keyframes viz-flow-spin {
  to { transform: rotate(360deg); }
}

/* Le rayon : trait pointillé qui part du centre vers le satellite */
.viz-flow__beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 1px;
  transform-origin: 0 50%;
  background-image: linear-gradient(
    to right,
    rgba(181, 71, 255, 0.00) 0%,
    rgba(181, 71, 255, 0.06) 8%,
    rgba(181, 71, 255, 0.45) 55%,
    rgba(181, 71, 255, 0.22) 100%
  );
  mask-image: repeating-linear-gradient(
    to right,
    #000 0 4px,
    transparent 4px 8px
  );
  -webkit-mask-image: repeating-linear-gradient(
    to right,
    #000 0 4px,
    transparent 4px 8px
  );
  filter: drop-shadow(0 0 3px rgba(181, 71, 255, 0.25));
}

/* Pastille logo, positionnée au bout du bras (100% = bord droit du carré) */
.viz-flow__node {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #f3f3f7 70%, #e7e6ec 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: auto;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(0,0,0,0.08),
    0 8px 20px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.12),
    0 0 20px rgba(181,71,255,0.28);
  /* Contre-rotation pour que le logo reste toujours droit pendant l'orbite */
  animation: viz-flow-upright 38s linear infinite;
  animation-delay: calc(var(--i) * -38s / 6);
}

@keyframes viz-flow-upright {
  to { transform: rotate(-360deg); }
}

.viz-flow__node img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.viz-flow__fallback {
  font-family: var(--font-display, "Inter", system-ui, sans-serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1e5bc6;
  user-select: none;
}
.viz-flow__fallback[data-brand="zeendoc"] {
  background: linear-gradient(135deg, #1e5bc6 0%, #0ea5b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Pause l'orbite au survol pour permettre une lecture tranquille */
.viz-flow:hover .viz-flow__orbit,
.viz-flow:hover .viz-flow__node {
  animation-play-state: paused;
}

/* Accessibilité : respecte prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .viz-flow__orbit,
  .viz-flow__node,
  .viz-flow__orbit-ring--inner {
    animation: none !important;
  }
}
/* Central hub — logo Astren (fond transparent, liseré brand 2px, logo plein cadre) */
.viz-flow__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
  z-index: 4;
  box-shadow:
    0 0 0 2px var(--brand),
    0 14px 32px rgba(0,0,0,0.55),
    0 0 40px rgba(152, 16, 250, 0.6);
}
.viz-flow__hub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  border-radius: 50%;
}
.viz-flow__hub-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  margin: -70px 0 0 -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 71, 255, 0.5) 0%, rgba(152, 16, 250, 0.15) 40%, transparent 70%);
  z-index: 2;
  animation: viz-flow-hub-pulse 2.5s ease-in-out infinite;
}
@keyframes viz-flow-hub-pulse {
  0%, 100% { transform: scale(0.85); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* Viz 2 — data pulse */
.viz-pulse {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 1.25rem;
  gap: 4px;
  background: var(--bg-3);
}
.viz-pulse .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--brand-2), var(--brand-3));
  border-radius: 2px;
  animation: rd-eq 1.6s ease-in-out infinite;
  transform-origin: bottom;
}
.viz-pulse .bar:nth-child(1) { animation-delay: 0s; }
.viz-pulse .bar:nth-child(2) { animation-delay: 0.1s; }
.viz-pulse .bar:nth-child(3) { animation-delay: 0.2s; }
.viz-pulse .bar:nth-child(4) { animation-delay: 0.3s; }
.viz-pulse .bar:nth-child(5) { animation-delay: 0.4s; }
.viz-pulse .bar:nth-child(6) { animation-delay: 0.5s; }
.viz-pulse .bar:nth-child(7) { animation-delay: 0.6s; }
.viz-pulse .bar:nth-child(8) { animation-delay: 0.7s; }
.viz-pulse .bar:nth-child(9) { animation-delay: 0.8s; }
.viz-pulse .bar:nth-child(10) { animation-delay: 0.9s; }
@keyframes rd-eq {
  0%, 100% { transform: scaleY(0.35); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Viz 3 — orbit dots */
.viz-orbit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(181,71,255,0.18) 0%, transparent 65%), var(--bg-3);
}

/* Chef d'orchestre central */
.viz-orbit__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff 0%, var(--brand-2) 55%, var(--brand-3) 100%);
  box-shadow:
    0 0 30px rgba(152,16,250,0.75),
    0 0 80px rgba(152,16,250,0.35),
    inset 0 2px 0 rgba(255,255,255,0.35);
  z-index: 3;
  animation: viz-orbit-core-pulse 3s ease-in-out infinite;
}
@keyframes viz-orbit-core-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(152,16,250,0.75), 0 0 80px rgba(152,16,250,0.35), inset 0 2px 0 rgba(255,255,255,0.35); }
  50%      { transform: scale(1.05); box-shadow: 0 0 44px rgba(181,71,255,0.9), 0 0 110px rgba(152,16,250,0.45), inset 0 2px 0 rgba(255,255,255,0.4); }
}

/* Rails (trajectoires) visibles des orbites — éléments fixes, décoratifs */
.viz-orbit__track {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px dashed rgba(181, 71, 255, 0.16);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}
.viz-orbit__track--outer { height: 86%; max-height: 280px; }
.viz-orbit__track--inner { height: 60%; max-height: 200px; border-style: solid; border-color: rgba(152, 16, 250, 0.22); }

/* Anneaux porteurs — conteneurs qui tournent. Chaque bras interne se positionne sur le cercle grâce à --i/--count. */
.viz-orbit__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}
.viz-orbit__ring--outer {
  height: 86%;
  max-height: 280px;
}
.viz-orbit__ring--inner {
  height: 60%;
  max-height: 200px;
}

/* Chaque bras tourne autour du centre et est décalé selon son index.
   La rotation est obtenue via animation-delay négatif = position initiale. */
.viz-orbit__arm {
  position: absolute;
  inset: 0;
  animation: viz-orbit-spin 24s linear infinite;
  animation-delay: calc(var(--i) / var(--count) * -24s);
}
.viz-orbit__ring--inner .viz-orbit__arm {
  animation: viz-orbit-spin 16s linear infinite reverse;
  animation-delay: calc(var(--i) / var(--count) * -16s);
}
@keyframes viz-orbit-spin {
  to { transform: rotate(360deg); }
}

/* Agent : le petit globe lumineux au bout du bras.
   Positionné à droite (12h après rotation -90° via l'initialisation) */
.viz-orbit__agent {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #e6d4ff 55%, var(--brand-2) 100%);
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.55),
    0 0 22px rgba(181, 71, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.viz-orbit__agent--sm {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, var(--brand-2) 60%, var(--brand) 100%);
  box-shadow:
    0 0 10px rgba(181, 71, 255, 0.8),
    0 0 18px rgba(152, 16, 250, 0.5);
}

/* Pause au survol + accessibilité */
.viz-orbit:hover .viz-orbit__arm {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .viz-orbit__arm,
  .viz-orbit__core { animation: none !important; }
}

/* Viz 4 — terminal */
.viz-terminal {
  padding: 1rem;
  background: #07070e;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #8b8b9e;
  line-height: 1.6;
  overflow: hidden;
}
.viz-terminal .row { white-space: nowrap; }
.viz-terminal .row .cmd { color: var(--ink-1); }
.viz-terminal .row .ok { color: #4ade80; }
.viz-terminal .row .brand { color: var(--brand-2); }
.viz-terminal .cursor {
  display: inline-block; width: 8px; height: 0.85em; background: var(--brand-2);
  vertical-align: -2px;
  animation: rd-blink 1s steps(1) infinite;
}
@keyframes rd-blink { 50% { opacity: 0; } }

/* Viz 5 — availability ring */
.viz-ring {
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  background: var(--bg-3);
}
.viz-ring__circle {
  position: relative;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) 0deg, var(--brand-2) 360deg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px -5px rgba(152,16,250,0.5);
  animation: rd-rotate 8s linear infinite;
}
.viz-ring__circle::before {
  content: ""; position: absolute; inset: 4px;
  border-radius: 50%; background: var(--bg-3);
}
.viz-ring__circle .v {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ink-1);
  letter-spacing: -0.02em;
  animation: rd-rotate 8s linear infinite reverse;
}

/* Viz 6 — map dots */
.viz-map {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(152,16,250,0.12) 0%, transparent 55%),
    var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}
.viz-map__svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}
/* France : surbrillance violette + halo pulsant */
.viz-map__france {
  filter: drop-shadow(0 0 6px rgba(181, 71, 255, 0.55));
  animation: viz-map-fr-pulse 3.2s ease-in-out infinite;
}
@keyframes viz-map-fr-pulse {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(181, 71, 255, 0.45)); }
  50%      { filter: drop-shadow(0 0 12px rgba(181, 71, 255, 0.9)); }
}
/* Capitales discrètes qui clignotent en décalé */
.viz-map__caps circle {
  animation: viz-map-cap-blink 4s ease-in-out infinite;
}
.viz-map__caps circle:nth-child(2) { animation-delay: 0.5s; }
.viz-map__caps circle:nth-child(3) { animation-delay: 1s; }
.viz-map__caps circle:nth-child(4) { animation-delay: 1.5s; }
.viz-map__caps circle:nth-child(5) { animation-delay: 2s; }
.viz-map__caps circle:nth-child(6) { animation-delay: 2.5s; }
.viz-map__caps circle:nth-child(7) { animation-delay: 3s; }
.viz-map__caps circle:nth-child(8) { animation-delay: 3.5s; }
@keyframes viz-map-cap-blink {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 0.8; }
}
/* Pin SVG sur la France */
.viz-map__pin-core {
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.9))
          drop-shadow(0 0 6px rgba(181,71,255,0.9));
}
.viz-map__pin-halo {
  animation: viz-map-halo 2.5s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes viz-map-halo {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50%      { opacity: 0.65; transform: scale(1.15); }
}
.viz-map__pin-ring {
  transform-origin: center;
  transform-box: fill-box;
  animation: viz-map-ping 2.4s ease-out infinite;
  opacity: 0;
}
.viz-map__pin-ring--2 { animation-delay: 1.2s; }
@keyframes viz-map-ping {
  0%   { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(3.8); opacity: 0; }
}
/* Ruban "EU-WEST · FR" en haut à gauche */
.viz-map__ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 20, 0.7);
  border: 1px solid rgba(181, 71, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  z-index: 3;
  pointer-events: none;
}
.viz-map__ribbon .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
  animation: rd-pulse 1.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .viz-map__france,
  .viz-map__caps circle,
  .viz-map__pin-halo,
  .viz-map__pin-ring,
  .viz-map__ribbon .dot { animation: none !important; }
}

/* ============================================================
   SOVEREIGNTY — RGPD section
   ============================================================ */
.rd-sovereign {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(106,169,255,0.08) 0%, transparent 70%),
    rgba(11, 11, 18, 0.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.rd-sovereign__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) { .rd-sovereign__inner { grid-template-columns: 1fr; } }

.rd-sovereign__viz {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(152,16,250,0.22) 0%, transparent 60%),
    linear-gradient(160deg, #12121e 0%, #07070b 80%);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 40px 100px -40px rgba(0,0,0,0.8);
  overflow: hidden;
}
.rd-sovereign__viz-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.rd-sovereign__viz .bar {
  position: absolute; top: 1.25rem; left: 1.25rem; right: 1.25rem;
  padding: 0.625rem 0.875rem;
  background: rgba(10,10,20,0.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rd-sovereign__viz .bar svg { width: 14px; height: 14px; color: #4ade80; }
.rd-sovereign__stamps {
  position: absolute; bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.rd-sovereign__stamp {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(10,10,20,0.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--ink-1);
}
.rd-sovereign__stamp .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }

.rd-sovereign__list { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: 0.75rem; }
.rd-sovereign__list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.rd-sovereign__list li .num {
  width: 28px; height: 28px; flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.6875rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.rd-sovereign__list li .t { color: var(--ink-1); font-weight: 500; font-size: 0.9375rem; }
.rd-sovereign__list li .d { color: var(--ink-3); font-size: 0.8125rem; margin-top: 0.125rem; }

/* ============================================================
   PROCESS
   ============================================================ */
.rd-process { padding: clamp(5rem, 10vw, 9rem) 0; }
.rd-process__head { max-width: 46rem; margin-bottom: 4rem; }
.rd-process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .rd-process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rd-process__grid { grid-template-columns: 1fr; } }

.rd-step {
  position: relative;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s;
}
.rd-step:hover { border-color: var(--line-2); transform: translateY(-3px); }
.rd-step::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(152,16,250,0.14), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
}
.rd-step:hover::before { opacity: 1; }
.rd-step__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.18em;
}
.rd-step__title { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; font-size: 1.375rem; line-height: 1.1; color: var(--ink-1); }
.rd-step__desc { color: var(--ink-2); font-size: 0.875rem; line-height: 1.65; }

/* ============================================================
   TESTIMONIALS — Bi-directional marquee
   ============================================================ */
.rd-testimonials {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: rgba(7, 7, 11, 0.45);
  overflow: hidden;
}
.rd-testimonials__head { max-width: 46rem; margin: 0 auto 3.5rem; text-align: center; }
.rd-testimonials__head .rd-eyebrow { margin-bottom: 1.25rem; }
.rd-testimonials__rows { display: flex; flex-direction: column; gap: 1rem; }
.rd-testimonials__row {
  width: 100vw;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
.rd-testimonials__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: rd-marquee 62s linear infinite;
}
.rd-testimonials__row.reverse .rd-testimonials__track { animation-direction: reverse; animation-duration: 72s; }
.rd-testimonials__row:hover .rd-testimonials__track { animation-play-state: paused; }

.rd-testimonial {
  width: clamp(280px, 32vw, 420px);
  flex: none;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  display: flex; flex-direction: column; gap: 1rem;
}
.rd-testimonial__stars { display: flex; gap: 2px; color: var(--brand-2); font-size: 0.75rem; }
.rd-testimonial__quote { color: var(--ink-1); font-size: 0.9375rem; line-height: 1.65; letter-spacing: -0.005em; }
.rd-testimonial__foot { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.rd-testimonial__avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-2), var(--cool)); flex: none; }
.rd-testimonial__meta .n { color: var(--ink-1); font-size: 0.875rem; font-weight: 500; }
.rd-testimonial__meta .r { color: var(--ink-3); font-family: var(--font-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.12em; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.rd-cta-final {
  position: relative;
  padding: clamp(6rem, 12vw, 10rem) 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: rgba(7, 7, 11, 0.45);
}
.rd-cta-final::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 160vw; height: 75vw;
  max-width: 1700px; max-height: 800px;
  transform: translate(-50%, -30%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(152,16,250,0.40) 0%, rgba(152,16,250,0.18) 30%, transparent 60%);
  filter: blur(60px);
  z-index: -1;
  animation: rd-orb 12s ease-in-out infinite;
}
@keyframes rd-orb {
  0%, 100% { transform: translate(-50%, -30%) scale(1); }
  50% { transform: translate(-50%, -32%) scale(1.05); }
}
/* Grille locale retirée : le quadrillage global du site (body.rd-2026::after) suffit */
.rd-cta-final__eyebrow { margin-bottom: 1.5rem; display: inline-flex; }
.rd-cta-final h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  color: var(--ink-1);
  max-width: 18ch;
  margin: 0 auto;
}
.rd-cta-final h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #ffffff 0%, #e4cfff 40%, #9810FA 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rd-cta-final p {
  max-width: 42rem; margin: 1.75rem auto 0;
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.rd-cta-final__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; justify-content: center; margin-top: 2.5rem; }

/* ============================================================
   FAQ — Accordéon rd-2026
   Compatible avec le JS price.js (.faq-item.is-open / .faq-content.is-visible)
   Override volontaire de css/style.css (border-top, margin-top, opacity transition)
   ============================================================ */
.rd-faq {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.rd-faq .faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.rd-faq .faq-item:hover { border-color: var(--line-2); }
.rd-faq .faq-item.is-open {
  border-color: rgba(181,71,255,0.4);
  background: rgba(152,16,250,0.04);
}
.rd-faq .faq-button {
  width: 100%;
  background: none;
  border: 0;
  padding: 1.15rem 1.4rem;
  color: var(--ink-1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 450;
  transition: color 0.2s;
}
.rd-faq .faq-button:hover { color: rgb(202,140,255); background: none; }
.rd-faq .faq-question { display: block; }
.rd-faq .faq-icon {
  color: rgb(181,71,255);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-smooth);
}
.rd-faq .faq-content {
  padding: 0 1.4rem;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  opacity: 1;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-smooth), padding 0.35s var(--ease-smooth);
}
.rd-faq .faq-content.is-visible { padding: 0 1.4rem 1.25rem; }
.rd-faq .faq-content p { margin: 0; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.rd-reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 1s var(--ease-smooth), transform 1s var(--ease-smooth), filter 1s var(--ease-smooth);
}
.rd-reveal.is-inview {
  opacity: 1; transform: translateY(0); filter: blur(0);
}
.rd-reveal.d-1 { transition-delay: 0.08s; }
.rd-reveal.d-2 { transition-delay: 0.16s; }
.rd-reveal.d-3 { transition-delay: 0.24s; }
.rd-reveal.d-4 { transition-delay: 0.32s; }
.rd-reveal.d-5 { transition-delay: 0.40s; }
.rd-reveal.d-6 { transition-delay: 0.48s; }

/* ============================================================
   ICONS (inline SVG size helper)
   ============================================================ */
.rd-ico-svg { width: 16px; height: 16px; stroke-width: 1.5; display: inline-block; }
.rd-ico-svg--lg { width: 22px; height: 22px; }

/* ============================================================
   IMAGE INTEGRATION — tame overexposure, blend into dark UI
   ============================================================ */
/* Hero stage photo — add soft vignette + color grading overlay */
.rd-hero__stage-inner img,
.rd-agent-frame__stage-img {
  filter: saturate(0.92) contrast(1.05) brightness(0.88);
}
.rd-hero__stage-inner::after,
.rd-agent-frame__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(ellipse 120% 90% at 50% 40%, transparent 30%, rgba(7,7,15,0.55) 90%),
    linear-gradient(180deg, rgba(10,10,20,0.25) 0%, transparent 25%, transparent 55%, rgba(7,7,15,0.7) 100%),
    linear-gradient(180deg, rgba(152,16,250,0.08) 0%, transparent 60%);
  mix-blend-mode: multiply;
}
/* HUD + caption stay above overlay */
.rd-hero__stage-hud,
.rd-hero__stage-caption,
.rd-agent-frame__hud,
.rd-agent-frame__corner,
.rd-agent-frame__ring { z-index: 3; }

/* ============================================================
   FOOTER — restyled for 2026 palette
   ============================================================ */
body.rd-2026 footer {
  background: var(--bg-0) !important;
  border-top: 1px solid var(--line) !important;
  color: var(--ink-2);
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}
body.rd-2026 footer::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(152,16,250,0.08), transparent 70%);
  pointer-events: none;
}
body.rd-2026 footer > .container,
body.rd-2026 footer .container {
  max-width: 1320px;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem);
  position: relative;
}
body.rd-2026 footer .grid { gap: 3rem 2rem !important; }
body.rd-2026 footer h3 {
  font-family: var(--font-mono) !important;
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  color: var(--ink-3) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.18em !important;
  margin-bottom: 1.25rem !important;
}
body.rd-2026 footer a {
  color: var(--ink-2) !important;
  font-size: 0.9375rem !important;
  transition: color 0.3s var(--ease-out), padding-left 0.3s var(--ease-out) !important;
  position: relative;
}
body.rd-2026 footer ul a:hover {
  color: var(--ink-1) !important;
  padding-left: 0.35rem !important;
}
body.rd-2026 footer ul a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--brand-2);
  transform: translateY(-50%);
  transition: width 0.3s var(--ease-out);
}
body.rd-2026 footer ul a:hover::before { width: 0.25rem; }
body.rd-2026 footer ul { space-y: 0 !important; display: flex; flex-direction: column; gap: 0.625rem; }
body.rd-2026 footer ul li { margin: 0 !important; }
body.rd-2026 footer p { color: var(--ink-3) !important; font-size: 0.875rem !important; line-height: 1.65; }
body.rd-2026 footer img { height: 28px !important; opacity: 0.95; }

/* social icons */
body.rd-2026 footer .flex.space-x-4 { gap: 0.5rem; display: flex; margin-top: 1.25rem; }
body.rd-2026 footer .flex.space-x-4 > a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--line-2);
  display: inline-flex !important; align-items: center; justify-content: center;
  color: var(--ink-2) !important;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-bounce), color 0.3s !important;
  padding: 0 !important;
}
body.rd-2026 footer .flex.space-x-4 > a:hover {
  background: rgba(152,16,250,0.15) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  padding-left: 0 !important;
}
body.rd-2026 footer .flex.space-x-4 > a::before { display: none; }
body.rd-2026 footer .flex.space-x-4 svg { width: 16px !important; height: 16px !important; }

/* bottom bar */
body.rd-2026 footer .border-t { border-top: 1px solid var(--line) !important; }
body.rd-2026 footer .border-t.mt-12 {
  margin-top: clamp(2.5rem, 5vw, 4rem) !important;
  padding-top: clamp(1.5rem, 3vw, 2rem) !important;
}
body.rd-2026 footer .text-sm { font-size: 0.8125rem !important; }

/* ============================================================
   OVERRIDES — ensure full coverage
   ============================================================ */
body.rd-2026 #header { display: none !important; }
body.rd-2026 .hero-section { display: none !important; }
