/* ==========================================================================
   assoSys Landing Page — ReactFlow.dev-Inspired Light Design System
   Colors extracted directly from official assoSys PNG logos:
   - Brand Blue:   #0090C7
   - Brand Orange: #F6881F
   - Deep Ink:     #0F172A
   ========================================================================== */

:root {
  --brand-blue: #0090C7;
  --brand-blue-dark: #00729E;
  --brand-blue-soft: rgba(0, 144, 199, 0.08);
  --brand-orange: #F6881F;
  --brand-orange-dark: #D96F0C;
  --brand-orange-soft: rgba(246, 136, 31, 0.11);

  --bg-page: #FCFDFF;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F4F8FB;
  --background: #F8FAFC; /* Used by .bg-background */

  --ink: #0F172A;
  --ink-secondary: #334155;
  --ink-muted: #475569;
  --ink-subtle: #64748B;

  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  --shadow-node: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -6px rgba(15, 23, 42, 0.07);
  --shadow-window: 0 2px 6px rgba(15, 23, 42, 0.04), 0 24px 48px -16px rgba(0, 144, 199, 0.14);
  --shadow-hover: 0 12px 28px -8px rgba(0, 144, 199, 0.18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --font-brand: 'M PLUS Rounded 1c', 'Nunito', ui-rounded, 'SF Pro Rounded', sans-serif;
}

.brand-wordmark {
  display: inline-block;
  font-family: var(--font-brand);
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.02em;
}

.brand-wordmark > span {
  color: var(--brand-blue);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg-page);
  background-image: radial-gradient(#DCE5F0 1px, transparent 1px);
  background-size: 24px 24px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Signature ReactFlow.dev-inspired container utility classes */
.bg-background {
  background-color: var(--background);
  background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
  background-size: 18px 18px;
}

.relative {
  position: relative;
}

.flex {
  display: flex;
}

.rounded-b-2xl {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.p-3 {
  padding: 0.75rem;
}

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.2s ease,
              background-color 0.2s ease,
              border-color 0.2s ease;
  white-space: nowrap;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 14px 24px;
  font-size: 0.96rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px -6px rgba(0, 144, 199, 0.55);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(0, 144, 199, 0.65);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--primary:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.btn--ghost {
  background: #FFFFFF;
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn--ghost:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue-dark);
  background: var(--bg-subtle);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-secondary);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  margin-bottom: 20px;
}

.eyebrow-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 3px var(--brand-orange-soft);
}

.text-gradient-brand {
  background: linear-gradient(110deg, var(--brand-blue) 15%, var(--brand-orange) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252, 253, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.18s ease;
}

.site-nav__link:hover {
  color: var(--brand-blue);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #FFFFFF;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  background: #FFFFFF;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__link {
  padding: 8px 0;
  font-weight: 500;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Scroll-Coordinated Telemetry (Top Bar on Small Screens + Side Rail on Wide)
   ========================================================================== */
.scroll-flow-topbar {
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  z-index: 55;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: none;
}

.scroll-flow-topbar__track {
  height: 3px;
  width: 100%;
  background: #E2E8F0;
}

.scroll-flow-topbar__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange));
  transition: width 0.1s linear;
}

.scroll-flow-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.flow-rail {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 152px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.flow-rail.is-complete {
  border-color: rgba(246, 136, 31, 0.55);
  box-shadow: 0 12px 32px -8px rgba(246, 136, 31, 0.24);
}

.flow-rail__header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 8px;
}

.flow-rail__dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-blue);
  flex-shrink: 0;
}

.flow-rail.is-complete .flow-rail__dot-live {
  background: var(--brand-orange);
  box-shadow: 0 0 0 3px var(--brand-orange-soft);
}

.flow-rail__percent {
  margin-left: auto;
  color: var(--brand-blue-dark);
}

.flow-rail.is-complete .flow-rail__percent {
  color: var(--brand-orange-dark);
}

.flow-rail__diagram {
  position: relative;
  height: 210px;
}

.flow-rail__svg {
  position: absolute;
  left: -6px;
  top: 0;
  width: 48px;
  height: 100%;
  pointer-events: none;
}

.flow-rail__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.flow-rail__step a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 4px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-subtle);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.flow-rail__step a:hover {
  background: var(--bg-subtle);
  color: var(--ink);
}

.flow-rail__node {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  margin-left: 12px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.flow-rail__step.is-passed .flow-rail__node,
.flow-rail__step.is-active .flow-rail__node {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-soft);
}

.flow-rail__step.is-active a {
  color: var(--ink);
  font-weight: 600;
}

.flow-rail__step--success.is-active .flow-rail__node,
.flow-rail__step--success.is-passed .flow-rail__node {
  border-color: var(--brand-orange);
  background: var(--brand-orange);
  box-shadow: 0 0 0 4px var(--brand-orange-soft);
}

.flow-rail__footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-subtle);
  text-align: center;
}

.flow-rail.is-complete .flow-rail__footer {
  color: var(--brand-orange-dark);
  font-weight: 600;
}

/* ==========================================================================
   Section 1: Hero & Interactive ReactFlow-Inspired Canvas
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 58px 0 26px;
  overflow: hidden;
}

.hero-backdrop-grid {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(0, 144, 199, 0.08), transparent 45%),
              radial-gradient(circle at 82% 24%, rgba(246, 136, 31, 0.08), transparent 42%);
  pointer-events: none;
}

.hero-intro {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
  position: relative;
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.4vw, 3.45rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.brand-statement {
  margin: 0 auto 52px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.028em;
}

.hero-subtitle {
  margin: 0 auto 28px;
  max-width: 690px;
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  color: var(--ink-muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ReactFlow Window Frame */
.rf-window {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-window);
  overflow: hidden;
}

.rf-window__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.rf-window__dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.rf-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.rf-dot--blue { background: var(--brand-blue); }
.rf-dot--orange { background: var(--brand-orange); }
.rf-dot--slate { background: #CBD5E1; }

.rf-window__tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.rf-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.rf-tab__indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #CBD5E1;
}

.rf-tab.is-active {
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.rf-tab.is-active .rf-tab__indicator {
  background: var(--brand-blue);
}

.rf-tab[data-scenario="equipes"].is-active .rf-tab__indicator {
  background: var(--brand-orange);
}

.rf-pill-hint {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-subtle);
  background: var(--bg-subtle);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.rf-canvas-shell {
  width: 100%;
}

.rf-canvas {
  position: relative;
  width: 100%;
  height: 510px;
  border-radius: 12px;
  border: 1px solid rgba(203, 213, 225, 0.75);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

.rf-canvas__viewport {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  width: 1200px;
  height: 620px;
}

.rf-edges-svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.rf-edge-base {
  stroke: #CBD5E1;
  stroke-width: 2.2;
  fill: none;
  transition: stroke 0.25s ease, stroke-width 0.25s ease, opacity 0.25s ease;
}

.rf-edge-flow {
  stroke: var(--brand-blue);
  stroke-width: 2.4;
  stroke-dasharray: 7 7;
  fill: none;
  animation: rfFlowDash 1.4s linear infinite;
  transition: stroke 0.25s ease, opacity 0.25s ease;
}

.rf-edge-flow--orange {
  stroke: var(--brand-orange);
}

.rf-edge-group.is-dimmed .rf-edge-base {
  opacity: 0.28;
}

.rf-edge-group.is-dimmed .rf-edge-flow {
  opacity: 0.12;
}

.rf-edge-group.is-highlighted .rf-edge-base {
  stroke: rgba(0, 144, 199, 0.28);
  stroke-width: 4;
}

@keyframes rfFlowDash {
  to {
    stroke-dashoffset: -28;
  }
}

/* Custom Nodes */
.rf-node {
  position: absolute;
  width: 236px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  box-shadow: var(--shadow-node);
  cursor: grab;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.25s ease, transform 0.2s ease;
}

.rf-node:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-hover);
  z-index: 15;
}

.rf-node.is-dragging {
  cursor: grabbing;
  box-shadow: 0 18px 36px -10px rgba(0, 144, 199, 0.28);
  border-color: var(--brand-blue);
  z-index: 25;
}

.rf-node.is-dimmed {
  opacity: 0.36;
}

.rf-node.is-focus-orange {
  border-color: var(--brand-orange);
  box-shadow: 0 10px 26px -8px rgba(246, 136, 31, 0.30);
}

.rf-node__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  border-bottom: 1px solid var(--border);
  border-radius: 12px 12px 0 0;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
}

.rf-node__header--blue {
  background: rgba(0, 144, 199, 0.07);
  color: var(--brand-blue-dark);
}

.rf-node__header--orange {
  background: rgba(246, 136, 31, 0.10);
  color: var(--brand-orange-dark);
}

.rf-node__header--success {
  background: linear-gradient(90deg, rgba(0, 144, 199, 0.12), rgba(246, 136, 31, 0.14));
  color: var(--ink);
}

.rf-node__code {
  opacity: 0.72;
}

.rf-node__body {
  padding: 11px 13px 10px;
}

.rf-node__body h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
}

.rf-node__body p {
  margin: 0;
  font-size: 0.77rem;
  line-height: 1.44;
  color: var(--ink-muted);
}

.rf-node__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 13px 9px;
  border-top: 1px dashed var(--border);
  font-size: 0.71rem;
}

.rf-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue-dark);
  font-weight: 600;
}

.rf-tag--orange {
  background: var(--brand-orange-soft);
  color: var(--brand-orange-dark);
}

.rf-tag--success {
  background: linear-gradient(90deg, var(--brand-blue-soft), var(--brand-orange-soft));
  color: var(--ink);
}

.rf-metric, .rf-status-ok {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: var(--ink-subtle);
  font-weight: 500;
}

.rf-arrow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--brand-orange);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Handles */
.rf-handle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid var(--brand-blue);
  box-shadow: 0 0 0 2px #FFFFFF;
}

.rf-node--pillar.is-team-focus .rf-handle,
.rf-node--control .rf-handle {
  border-color: var(--brand-orange);
}

.rf-handle--left {
  left: -6px;
}

.rf-handle--right {
  right: -6px;
}

/* Canvas Controls, Insight Panel & MiniMap */
.rf-controls {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.rf-ctrl-btn {
  width: 32px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.rf-ctrl-btn:last-child {
  border-bottom: 0;
}

.rf-ctrl-btn:hover {
  background: var(--bg-subtle);
  color: var(--brand-blue);
}

.rf-ctrl-btn[aria-pressed="true"] {
  background: var(--brand-orange-soft);
  color: var(--brand-orange-dark);
}

.rf-insight-caption {
  max-width: 760px;
  margin: 20px auto 0;
  padding: 0 8px;
  text-align: center;
}

.rf-insight-caption__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue-dark);
  margin-bottom: 5px;
}

.rf-insight-caption__text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.rf-minimap {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 28;
  width: 148px;
  height: 84px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
}

.rf-minimap svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Shared Editorial Section Headers
   ========================================================================== */
.section-editorial,
.section-matrix,
.section-convergence,
.section-contact {
  padding: 86px 0;
}

.section-editorial {
  padding-top: 26px;
}

.section-matrix {
  background: linear-gradient(180deg, rgba(244, 248, 251, 0.5) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue-dark);
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.section-lead {
  margin: 0;
  font-size: 1.04rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Section 2: Quote & Team Pillar Cards
   ========================================================================== */
.quote-node {
  position: relative;
  margin: 0 0 36px;
  padding: 30px 32px 26px 38px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-node);
}

.quote-node__accent {
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-orange));
}

.quote-node__text {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink);
}

.quote-node__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-subtle);
}

.quote-node__brand {
  font-weight: 600;
  color: var(--brand-blue-dark);
}

.pillars-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.node-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 24px;
  box-shadow: var(--shadow-node);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.node-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 144, 199, 0.45);
  box-shadow: var(--shadow-hover);
}

.node-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.node-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.node-badge--blue {
  background: var(--brand-blue-soft);
  color: var(--brand-blue-dark);
}

.node-badge--orange {
  background: var(--brand-orange-soft);
  color: var(--brand-orange-dark);
}

.node-handle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
}

.node-handle-dot--blue {
  background: var(--brand-blue);
  box-shadow: 0 0 0 2px var(--brand-blue-soft);
}

.node-handle-dot--orange {
  background: var(--brand-orange);
  box-shadow: 0 0 0 2px var(--brand-orange-soft);
}

.node-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}

.node-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Section 3: Interactive Matrix Explorer
   ========================================================================== */
.matrix-frame {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-window);
  overflow: hidden;
}

.matrix-frame__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: #FFFFFF;
}

.matrix-frame__title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.matrix-frame__tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.matrix-frame__hint {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-subtle);
}

.matrix-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.matrix-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot-blue, .dot-orange {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-blue { background: var(--brand-blue); }
.dot-orange { background: var(--brand-orange); }

.matrix-shell {
  width: 100%;
}

.matrix-grid-layout {
  width: 100%;
  display: grid;
  grid-template-columns: 310px 90px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.matrix-pillars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.matrix-pillar-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px 15px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.matrix-pillar-btn:hover {
  border-color: var(--brand-blue);
}

.matrix-pillar-btn.is-selected {
  border-color: var(--brand-blue);
  box-shadow: 0 8px 20px -8px rgba(0, 144, 199, 0.25);
  background: linear-gradient(135deg, #FFFFFF 70%, rgba(0, 144, 199, 0.05) 100%);
}

.matrix-pillar-btn[data-pillar="equipes"].is-selected {
  border-color: var(--brand-orange);
  box-shadow: 0 8px 20px -8px rgba(246, 136, 31, 0.25);
  background: linear-gradient(135deg, #FFFFFF 70%, rgba(246, 136, 31, 0.06) 100%);
}

.matrix-pillar-btn__num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  background: var(--brand-blue-soft);
  padding: 4px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}

.matrix-pillar-btn[data-pillar="equipes"] .matrix-pillar-btn__num {
  color: var(--brand-orange-dark);
  background: var(--brand-orange-soft);
}

.matrix-pillar-btn strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.matrix-pillar-btn span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-subtle);
}

.matrix-connectors {
  display: flex;
  align-items: center;
}

.matrix-connectors svg {
  width: 100%;
  height: 100%;
}

.matrix-conn-line {
  stroke: #CBD5E1;
  stroke-width: 2;
  transition: stroke 0.25s ease, stroke-width 0.25s ease;
}

.matrix-conn-line.is-active {
  stroke: var(--brand-blue);
  stroke-width: 3;
}

.matrix-conn-line[data-conn="equipes"].is-active {
  stroke: var(--brand-orange);
}

.matrix-detail-panel {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-node);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.matrix-detail-panel__head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.matrix-detail-panel__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
  margin-bottom: 4px;
}

.matrix-detail-panel__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink);
}

.matrix-lenses {
  display: grid;
  gap: 14px;
}

.matrix-lens {
  padding: 13px 15px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.matrix-lens__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.lens-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.lens-dot--blue { background: var(--brand-blue); }
.lens-dot--orange { background: var(--brand-orange); }
.lens-dot--success { background: linear-gradient(135deg, var(--brand-blue), var(--brand-orange)); }

.matrix-lens p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Section 4: Coordinated Scroll-Driven Convergence Diagram
   ========================================================================== */
.convergence-board {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-window);
  overflow: hidden;
  transition: border-color 0.35s ease;
}

.convergence-board.is-complete {
  border-color: rgba(246, 136, 31, 0.5);
}

.convergence-board__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  background: #FFFFFF;
}

.convergence-board__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.convergence-board.is-complete .status-pulse {
  background: var(--brand-orange);
  box-shadow: 0 0 0 4px var(--brand-orange-soft);
}

.convergence-board__meter {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
  background: var(--brand-blue-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.convergence-board.is-complete .convergence-board__meter {
  color: var(--brand-orange-dark);
  background: var(--brand-orange-soft);
}

.convergence-shell {
  width: 100%;
}

.convergence-canvas {
  width: 100%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(203, 213, 225, 0.75);
  border-radius: 12px;
  padding: 12px;
}

.convergence-svg {
  width: 100%;
  height: auto;
  display: block;
}

.conv-track {
  stroke: #E2E8F0;
  stroke-width: 3;
  stroke-linecap: round;
}

.conv-active {
  stroke-width: 3.5;
  stroke-linecap: round;
}

.conv-active--blue {
  stroke: var(--brand-blue);
}

.conv-active--orange {
  stroke: var(--brand-orange);
}

.conv-success-ring {
  transition: opacity 0.4s ease;
}

.convergence-board.is-complete .conv-success-ring {
  opacity: 0.9;
  animation: pulseRing 2.2s ease-in-out infinite;
}

@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.012); opacity: 0.35; }
}

/* ==========================================================================
   Section 5: Contact Form (End of Page)
   ========================================================================== */
.section-contact {
  padding-top: 64px;
  padding-bottom: 96px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: start;
}

.contact-completion-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  border: 1px solid rgba(0, 144, 199, 0.25);
  color: var(--brand-blue-dark);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.contact-completion-pill.is-complete {
  background: var(--brand-orange-soft);
  border-color: rgba(246, 136, 31, 0.4);
  color: var(--brand-orange-dark);
}

.completion-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #FFFFFF;
  font-size: 0.7rem;
}

.contact-completion-pill.is-complete .completion-check {
  background: var(--brand-orange);
}

.contact-lead {
  margin: 0 0 28px;
  font-size: 1.02rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.contact-assurances {
  display: grid;
  gap: 16px;
}

.assurance-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.assurance-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.assurance-dot--blue { background: var(--brand-blue); }
.assurance-dot--orange { background: var(--brand-orange); }

.assurance-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.assurance-item span {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.assurance-item a {
  color: var(--brand-blue-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact Window */
.contact-window {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-window);
  overflow: hidden;
}

.contact-window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: #FFFFFF;
}

.contact-window__route {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-subtle);
}

.contact-window__status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue-dark);
}

.contact-window__status.is-sent {
  background: var(--brand-orange-soft);
  color: var(--brand-orange-dark);
}

.contact-window__body {
  width: 100%;
}

.contact-form {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.char-counter {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-subtle);
}

.char-counter.is-near-limit {
  color: var(--brand-orange-dark);
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #FCFDFE;
  color: var(--ink);
  font-size: 0.94rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 112px;
  line-height: 1.5;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 144, 199, 0.14);
}

.form-feedback {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-feedback[hidden] {
  display: none;
}

.form-feedback.is-success {
  background: rgba(0, 144, 199, 0.08);
  border: 1px solid rgba(0, 144, 199, 0.35);
  color: #084C68;
}

.form-feedback.is-error {
  background: rgba(246, 136, 31, 0.11);
  border: 1px solid rgba(246, 136, 31, 0.45);
  color: #8A3F04;
}

.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.site-footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.site-footer__brand p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.site-footer__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--ink-subtle);
  flex-wrap: wrap;
}

/* ==========================================================================
   Scroll Reveal Motion
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1420px) {
  .flow-rail {
    display: none;
  }

  .scroll-flow-topbar {
    display: block;
  }
}

@media (max-width: 1024px) {
  .pillars-trio {
    grid-template-columns: 1fr;
  }

  .matrix-grid-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .matrix-connectors {
    display: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-section {
    padding-top: 48px;
  }

  .rf-window__meta {
    display: none;
  }

  .rf-canvas {
    height: 440px;
  }

  .rf-minimap {
    width: 112px;
    height: 64px;
  }

  .quote-node {
    padding: 22px 20px 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rf-edge-flow,
  .convergence-board.is-complete .conv-success-ring {
    animation: none;
  }
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
