/* ============================================================
   BemLab Design System
   Tokens + base + components for the marketing site.
   Brand source of truth: portal-bemlab-lite/static/app/css/input.css
   (the actual app's Tailwind @theme) — purple is the real primary,
   orange/green/red are the app's existing secondary accents.
   ============================================================ */

:root {
  /* Color: neutrals */
  --ink-950: #0b0a14;
  --ink-900: #111827; /* gray-900 */
  --ink-800: #1f2937; /* gray-800 */
  --ink-700: #374151; /* gray-700 */
  --ink-600: #4b5563; /* gray-600 */
  --paper: #faf9f7;
  --paper-dim: #f3f1ec;
  --ink: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;

  /* Color: brand accents (from the app's real theme) */
  --purple-700: #4c1d95; /* bemlab-purple-hover */
  --purple-600: #7c3aed; /* purple-main — PRIMARY */
  --purple-500: #9c5dc9; /* purple-light */
  --purple-400: #b98fd6;
  --purple-300: #ded0ee;
  --orange-500: #fb923c; /* orange-main */
  --orange-400: #fdba74; /* orange-light */
  --green-500: #22c55e;
  --green-400: #86efac;
  --yellow-500: #eab308; /* risk: moderado */
  --yellow-400: #fde047;

  /* Semantic */
  --success: #22c55e;
  --danger: #ef4444;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 10px rgba(10, 20, 32, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 20, 32, 0.10);
  --shadow-lg: 0 28px 72px rgba(10, 20, 32, 0.16);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Keep anchored section headings clear of the fixed nav */
section[id], header[id] { scroll-margin-top: 90px; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-5); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-9) 0; position: relative; }
.section-dark { background: var(--ink-900); color: var(--white); }
.section-tint { background: var(--paper-dim); }
@media (max-width: 640px) {
  .section { padding: var(--space-8) 0; }
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--purple-600);
}
.section-dark .eyebrow { color: var(--purple-300); }
.display-1 {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.section-dark .display-1 { color: var(--white); }
.h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.section-dark .h2 { color: var(--white); }
.h3 { font-size: 1.15rem; font-weight: 700; color: var(--ink-900); line-height: 1.3; }
.lede {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--gray-500);
  max-width: 640px;
}
.section-dark .lede { color: var(--gray-300); }
.body-text { font-size: 0.95rem; line-height: 1.65; color: var(--gray-500); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section-head { max-width: 640px; margin: 0 auto var(--space-8); text-align: center; }
.section-head.align-left { margin-left: 0; text-align: left; }
.section-head .eyebrow { margin-bottom: var(--space-3); }
.section-head .h2 { margin-bottom: var(--space-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 0.85rem 1.6rem;
  font-size: 0.9rem; font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--purple-600); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--purple-700); box-shadow: var(--shadow-md); }
.btn-ghost-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.28); }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.06); }
.btn-outline { background: var(--white); color: var(--ink-900); border-color: var(--gray-200); }
.btn-outline:hover { border-color: var(--purple-500); color: var(--purple-700); }
.btn-block { width: 100%; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gray-100); }
.icon-badge {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1rem; margin-bottom: var(--space-4);
  background: var(--purple-600);
}

/* ---------- Grid ---------- */
/* Grid/flex items default to min-width:auto, which lets long unbreakable text
   (e.g. "Conflito trabalho-família") blow out the track past the container.
   Force min-width:0 everywhere a track should shrink to the available space. */
.grid > *,
.hero-inner > *,
.showcase-row > *,
.about-grid > *,
.footer-grid > *,
.persona-grid > *,
.module-grid > *,
.impact-grid > *,
.pillars > * {
  min-width: 0;
}
.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
}
.flow-row { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; justify-content: center; }

/* ---------- Reveal (Motion hook) ---------- */
[data-reveal] > * { will-change: opacity, transform; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 249, 247, 0.7);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-scrolled { background: rgba(250, 249, 247, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--gray-200); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 30px; }
.nav-links { display: flex; align-items: center; gap: var(--space-6); }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--gray-500); transition: color 0.2s var(--ease); position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--purple-600); transition: right 0.25s var(--ease); }
.nav-links a:hover { color: var(--ink-900); }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: var(--space-4); }
.nav-login { font-size: 0.875rem; font-weight: 600; color: var(--ink-900); }
.nav-toggle { display: none; background: none; border: none; color: var(--ink-900); font-size: 1.25rem; padding: var(--space-2); }
.nav-mobile { display: none; flex-direction: column; gap: var(--space-2); padding: var(--space-4) 0 var(--space-5); border-top: 1px solid var(--gray-200); }
.nav-mobile.is-open { display: flex; }
.nav-mobile a { padding: var(--space-2) 0; font-size: 0.95rem; font-weight: 500; color: var(--gray-700); }
@media (max-width: 860px) {
  .nav-links, .nav-actions .nav-login { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 400px) {
  .container.nav-inner { padding: 0 var(--space-4); }
  .nav-actions { gap: var(--space-2); }
  .nav-actions .btn-primary { padding: 0.55rem 0.7rem; font-size: 0.72rem; }
  .nav-toggle { padding: var(--space-1); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(72px + var(--space-9));
  padding-bottom: var(--space-9);
  background: linear-gradient(180deg, var(--ink-900) 0%, #2b1854 55%, var(--ink-900) 100%);
  color: var(--white);
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.85; }
.hero-grain { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0); background-size: 28px 28px; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8); align-items: center; }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; text-align: center; } }
.hero-copy .eyebrow { margin-bottom: var(--space-4); }
.hero-copy .display-1 { margin-bottom: var(--space-5); }
.hero-copy .lede { margin-bottom: var(--space-6); }
@media (max-width: 980px) { .hero-copy .lede { margin-left: auto; margin-right: auto; } }
.hero-ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-7); }
@media (max-width: 980px) { .hero-ctas { justify-content: center; } }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-5); }
@media (max-width: 980px) { .hero-trust { justify-content: center; } }
.hero-trust-item { display: flex; align-items: center; gap: var(--space-2); font-size: 0.8rem; color: var(--gray-300); }
.hero-trust-item i { color: var(--purple-400); }

/* ---------- Hero dashboard mock ---------- */
.dash-mock {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.4s var(--ease);
}
.hero-inner:hover .dash-mock { transform: perspective(1200px) rotateY(-2deg) rotateX(0.5deg); }
@media (max-width: 980px) { .dash-mock { transform: none; max-width: 460px; margin: 0 auto; } }
.dash-mock-bar { display: flex; align-items: center; gap: var(--space-2); padding-bottom: var(--space-4); margin-bottom: var(--space-4); border-bottom: 1px solid rgba(255,255,255,0.1); }
.dash-mock-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.dash-mock-url { margin-left: var(--space-2); font-size: 0.7rem; color: var(--gray-400); font-family: monospace; }
.dash-mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-bottom: var(--space-4); }
.dash-tile { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-sm); padding: var(--space-4); }
.dash-tile-label { font-size: 0.68rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-2); }
.dash-tile-value { font-size: 1.4rem; font-weight: 700; color: var(--white); }
.dash-gauge { grid-column: span 2; display: flex; align-items: center; gap: var(--space-4); }
.dash-bars { display: flex; align-items: flex-end; gap: var(--space-2); height: 44px; }
.dash-bars span { width: 8px; border-radius: 3px; background: var(--purple-500); }
.dash-rows { display: flex; flex-direction: column; gap: var(--space-3); }
.dash-row-label { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--gray-300); margin-bottom: 4px; }
.dash-row-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.dash-row-fill { height: 100%; border-radius: 3px; }

/* ---------- Trust / compliance strip ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-5); }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }
.pillar { text-align: center; padding: var(--space-5) var(--space-3); border-radius: var(--radius-md); transition: background 0.25s var(--ease); }
.pillar:hover { background: var(--paper-dim); }
.pillar-mark { font-size: 1.5rem; font-weight: 800; color: var(--ink-900); margin-bottom: var(--space-2); letter-spacing: -0.01em; }
.pillar-desc { font-size: 0.8rem; color: var(--gray-500); }

/* ---------- Problem section ---------- */
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-7); }
@media (max-width: 860px) { .impact-grid { grid-template-columns: 1fr; } }
.impact-item { display: flex; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius-md); border: 1px solid var(--gray-200); background: var(--white); }
.impact-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius-sm); background: rgba(239, 87, 119, 0.1); color: var(--orange-500); display: flex; align-items: center; justify-content: center; }

/* ---------- Ecosystem (solution modules) ---------- */
.module-ring { position: relative; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
@media (max-width: 860px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .module-grid { grid-template-columns: 1fr; } }
.module-card { position: relative; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: var(--space-5); }
.module-index { font-size: 0.7rem; font-weight: 700; color: var(--purple-600); letter-spacing: 0.08em; margin-bottom: var(--space-2); }

/* ---------- How it works timeline ---------- */
.hiw-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); position: relative; }
@media (max-width: 860px) { .hiw-track { grid-template-columns: 1fr; } }
.hiw-line { position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px; background: var(--gray-200); z-index: 0; }
@media (max-width: 860px) { .hiw-line { display: none; } }
.hiw-step { position: relative; z-index: 1; text-align: center; padding: var(--space-4); border-radius: var(--radius-md); transition: background 0.3s var(--ease); }
@media (max-width: 860px) {
  .hiw-step { text-align: left; display: flex; gap: var(--space-4); align-items: flex-start; }
  .hiw-step > div:last-child { min-width: 0; }
}
.hiw-num {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto var(--space-4);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--gray-400); background: var(--white); border: 2px solid var(--gray-200);
  transition: all 0.3s var(--ease); flex-shrink: 0;
}
@media (max-width: 860px) { .hiw-num { margin: 0; } }
.hiw-step.is-active { background: var(--paper-dim); }
.hiw-step.is-active .hiw-num { color: var(--white); background: var(--purple-600); border-color: var(--purple-600); box-shadow: 0 0 0 6px rgba(15, 118, 110, 0.12); }

/* ---------- Platform showcase (editorial alternating, product realism) ---------- */
.platform-section { position: relative; overflow: hidden; }
.platform-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(680px 480px at 85% 10%, rgba(124, 58, 237, 0.06), transparent 70%),
    radial-gradient(560px 420px at 5% 90%, rgba(45, 212, 191, 0.05), transparent 70%);
}
.platform-section .container { position: relative; z-index: 1; }

.showcase-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-7); align-items: center; margin-bottom: var(--space-8); }
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse { grid-template-columns: 1.4fr 1fr; }
.showcase-row.reverse .showcase-visual { order: 1; }
.showcase-row.reverse .showcase-copy { order: 2; }
@media (max-width: 900px) {
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; }
  .showcase-row.reverse .showcase-visual, .showcase-row.reverse .showcase-copy { order: unset; }
}
.showcase-copy .h3 { margin-bottom: var(--space-3); font-size: 1.4rem; }
.showcase-copy ul { margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.showcase-copy li { display: flex; gap: var(--space-2); font-size: 0.9rem; color: var(--gray-700); align-items: flex-start; }
.showcase-copy li i { color: var(--purple-600); margin-top: 3px; }

/* Entrance variants, toggled via IntersectionObserver */
.showcase-visual-wrap { opacity: 0; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transform-style: preserve-3d; }
.showcase-row .showcase-visual-wrap { transform: translateX(28px); }
.showcase-row.reverse .showcase-visual-wrap { transform: translateX(-28px); }
.showcase-row.depth .showcase-visual-wrap { transform: scale(0.94); }
.showcase-row.is-visible .showcase-visual-wrap { opacity: 1; transform: translateX(0) scale(1); }

/* Product preview — a light, bordered card. This must read as BemLab itself,
   not as an art-directed dashboard, so no dark chrome, no fake browser bar. */
.product-preview { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); overflow: hidden; }
.product-preview-header { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--gray-100); }
.product-preview-icon { width: 30px; height: 30px; border-radius: var(--radius-sm); background: rgba(124, 58, 237, 0.1); color: var(--purple-600); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.product-preview-title { font-weight: 700; font-size: 0.88rem; color: var(--ink-900); }
.product-preview-body { padding: var(--space-6); }
@media (max-width: 640px) { .product-preview-body { padding: var(--space-5); } }

/* Showcase 1 — visão geral do ciclo */
.cycle-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-bottom: var(--space-6); }
@media (max-width: 480px) { .cycle-kpis { grid-template-columns: 1fr 1fr; } .cycle-kpis > :last-child { grid-column: span 2; } }
.cycle-kpi { background: var(--paper-dim); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); text-align: center; }
.cycle-kpi-value { font-size: 1.3rem; font-weight: 800; color: var(--ink-900); }
.cycle-kpi-label { font-size: 0.66rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

.preview-label { font-size: 0.7rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-2); }
.risk-classification { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); flex-wrap: wrap; }
.risk-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.85rem; }
.risk-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.risk-pill.is-baixo { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.risk-pill.is-moderado { background: rgba(234, 179, 8, 0.14); color: #a16207; }
.risk-pill.is-alto { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }

.risk-distribution-bar { display: flex; height: 14px; border-radius: var(--radius-pill); overflow: hidden; background: var(--gray-100); margin-bottom: var(--space-3); }
.risk-distribution-bar span { display: block; height: 100%; width: 0; transition: width 1s var(--ease); }
.product-preview.is-visible .risk-distribution-bar .is-green { width: 45%; background: var(--green-500); }
.product-preview.is-visible .risk-distribution-bar .is-yellow { width: 35%; background: var(--yellow-500); transition-delay: 0.12s; }
.product-preview.is-visible .risk-distribution-bar .is-red { width: 20%; background: #ef4444; transition-delay: 0.24s; }
.risk-distribution-legend { display: flex; gap: var(--space-4); margin-bottom: var(--space-6); flex-wrap: wrap; }
.risk-distribution-legend-item { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--gray-600); }
.risk-distribution-legend-dot { width: 8px; height: 8px; border-radius: 50%; }

.dimension-row { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) 0; border-top: 1px solid var(--gray-100); }
.dimension-row:first-of-type { border-top: none; }
.dimension-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dimension-dot.is-baixo { background: var(--green-500); }
.dimension-dot.is-moderado { background: var(--yellow-500); }
.dimension-dot.is-alto { background: #ef4444; }
.dimension-name { font-size: 0.85rem; color: var(--ink-900); flex: 1; }
.dimension-level { font-size: 0.72rem; font-weight: 700; }
.dimension-level.is-baixo { color: #15803d; }
.dimension-level.is-moderado { color: #a16207; }
.dimension-level.is-alto { color: #b91c1c; }

/* Showcase 2 — heatmap (dimensão × departamento) */
.heatmap-table { display: grid; grid-template-columns: 168px repeat(4, 1fr); gap: 6px; font-size: 0.72rem; }
@media (max-width: 640px) {
  .heatmap-table { grid-template-columns: 84px repeat(4, 1fr); gap: 4px; font-size: 0.58rem; }
  .heatmap-row-label { line-height: 1.15; }
  /* aspect-ratio:1 lets a tall wrapped row-label force cells wider to match —
     decouple width from height here so a long dimension name can never blow out the grid. */
  .heatmap-cell { aspect-ratio: auto; height: 26px; }
}
.heatmap-col-label { color: var(--gray-500); font-weight: 600; text-align: center; align-self: end; padding-bottom: 6px; }
.heatmap-row-label { color: var(--gray-700); display: flex; align-items: center; padding-right: 8px; }
.heatmap-cell {
  aspect-ratio: 1; border-radius: 6px; cursor: default; position: relative;
  border: 1px solid rgba(15, 23, 42, 0.05);
  transform: scale(0.5); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), box-shadow 0.15s var(--ease);
}
.heatmap-table.is-visible .heatmap-cell { transform: scale(1); opacity: 1; }
.heatmap-cell[data-level="baixo"] { background: rgba(34, 197, 94, 0.28); }
.heatmap-cell[data-level="moderado"] { background: rgba(234, 179, 8, 0.32); }
.heatmap-cell[data-level="alto"] { background: rgba(239, 68, 68, 0.32); }
.heatmap-cell:hover, .heatmap-cell.is-crosshair { box-shadow: 0 0 0 2px var(--purple-500) inset; z-index: 4; }
.heatmap-cell::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--ink-900); color: var(--white); font-size: 0.68rem; font-weight: 600;
  padding: 6px 10px; border-radius: 6px; white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity 0.15s var(--ease); z-index: 5; box-shadow: var(--shadow-md);
}
.heatmap-cell:hover::after { opacity: 1; }
.heatmap-row-label.is-crosshair, .heatmap-col-label.is-crosshair { color: var(--purple-600); }

/* Showcase 3 — estrutura organizacional */
.org-chart { display: flex; flex-direction: column; align-items: center; }
.org-root { background: var(--white); border: 1.5px solid var(--purple-600); color: var(--purple-700); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-5); font-size: 0.85rem; font-weight: 700; margin-bottom: var(--space-4); }
.org-connector { width: 1px; height: 18px; background: var(--gray-300); }
.org-branches { display: flex; gap: var(--space-6); position: relative; padding-top: 18px; }
@media (max-width: 1180px) and (min-width: 641px) {
  .org-branches { gap: var(--space-3); flex-wrap: wrap; justify-content: center; row-gap: var(--space-4); }
  .org-dept { padding: var(--space-2) 10px; font-size: 0.68rem; gap: 5px; }
  .org-node-sm { font-size: 0.58rem; padding: 3px 6px; }
  .org-risk-tag { font-size: 0.55rem; padding: 1px 5px; margin-left: 2px; }
}
.org-branches::before { content: ''; position: absolute; top: 0; left: 15.2%; right: 13.6%; height: 1px; background: var(--gray-300); }
@media (max-width: 640px) { .org-branches { flex-direction: column; align-items: center; gap: var(--space-4); } .org-branches::before { display: none; } }
.org-branch { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); transition: opacity 0.25s var(--ease); position: relative; }
.org-branch::before { content: ''; position: absolute; top: -18px; left: 50%; width: 1px; height: 18px; background: var(--gray-300); }
@media (max-width: 640px) { .org-branch::before { display: none; } }
.org-dept { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-4); font-size: 0.8rem; font-weight: 600; color: var(--ink-900); cursor: default; box-shadow: var(--shadow-sm); transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.org-dept i { color: var(--purple-600); }
.org-risk-tag { font-size: 0.6rem; font-weight: 700; padding: 1px 7px; border-radius: var(--radius-pill); margin-left: 4px; }
.org-risk-tag.is-low { background: rgba(34, 197, 94, 0.14); color: #15803d; }
.org-risk-tag.is-mid { background: rgba(234, 179, 8, 0.16); color: #a16207; }
.org-children { display: flex; gap: var(--space-2); }
.org-node-sm { background: var(--paper-dim); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 4px 10px; font-size: 0.68rem; color: var(--gray-600); }
.org-chart:has(.org-branch:hover) .org-branch:not(:hover) { opacity: 0.45; }
.org-branch:hover .org-dept { border-color: var(--purple-500); background: rgba(124, 58, 237, 0.05); }

/* Showcase 4 — plano de ação */
.plan-table-scroll { overflow-x: auto; margin: 0 calc(-1 * var(--space-6)); padding: 0 var(--space-6); }
.plan-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.82rem; }
.plan-table th { text-align: left; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-400); font-weight: 700; padding: 0 var(--space-3) var(--space-3); border-bottom: 1px solid var(--gray-200); }
.plan-table td { padding: var(--space-3); border-top: 1px solid var(--gray-100); vertical-align: middle; color: var(--ink-900); }
.plan-table tr:hover td { background: var(--paper-dim); }

/* Below 640px a wide scrolling table reads as silently clipped, not "swipeable" —
   reflow each row into a stacked label/value card instead of relying on overflow-x. */
@media (max-width: 640px) {
  .plan-table-scroll { overflow-x: visible; margin: 0; padding: 0; }
  .plan-table { min-width: 0; }
  .plan-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .plan-table, .plan-table tbody, .plan-table tr, .plan-table td { display: block; width: 100%; }
  .plan-table tr { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-3); }
  .plan-table tr:last-child { margin-bottom: 0; }
  .plan-table td { border-top: none; padding: 6px 0; padding-left: 42%; position: relative; }
  .plan-table td:first-child { padding-left: 0; padding-top: 0; font-weight: 600; }
  .plan-table td::before {
    content: attr(data-label);
    position: absolute; left: 0; top: 6px; width: 38%;
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--gray-400);
  }
  .plan-table td:first-child::before { display: none; }
}
.plan-pill { display: inline-block; padding: 2px 9px; border-radius: var(--radius-pill); font-size: 0.68rem; font-weight: 700; }
.plan-pill.is-high { background: rgba(239, 68, 68, 0.1); color: #b91c1c; }
.plan-pill.is-mid { background: rgba(234, 179, 8, 0.14); color: #a16207; }
.plan-pill.is-low { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.plan-pill.is-done { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.plan-pill.is-progress { background: rgba(234, 179, 8, 0.14); color: #a16207; }
.plan-pill.is-planned { background: var(--gray-100); color: var(--gray-500); }

/* ---------- Data-to-action flow (storytelling rail) ---------- */
.flow-section { position: relative; overflow: hidden; }
.flow-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(560px 380px at 12% 15%, rgba(124, 58, 237, 0.07), transparent 70%),
    radial-gradient(480px 380px at 90% 85%, rgba(251, 146, 60, 0.06), transparent 70%);
}
.flow-section .container { position: relative; z-index: 1; }

.flow-rail { position: relative; max-width: 640px; margin: 0 auto; }
.flow-rail::after {
  content: ''; position: absolute; left: 26px; top: 0; width: 4px; height: 4px; border-radius: 50%;
  background: var(--purple-500); box-shadow: 0 0 10px rgba(124, 58, 237, 0.8); opacity: 0;
}
.flow-rail.is-visible::after { animation: flow-travel 9s linear infinite 0.6s; }
@keyframes flow-travel {
  0% { top: 0; opacity: 0; }
  5% { opacity: 1; }
  92% { opacity: 1; }
  100% { top: 96%; opacity: 0; }
}

.flow-stage { position: relative; display: flex; gap: var(--space-5); padding-bottom: var(--space-7); }
.flow-stage:last-child { padding-bottom: 0; }
.flow-stage::before {
  content: ''; position: absolute; left: 27px; top: 56px; bottom: calc(-1 * var(--space-7));
  width: 2px; background: linear-gradient(180deg, var(--purple-400), var(--gray-200));
}
.flow-stage:last-child::before { display: none; }

.flow-marker {
  position: relative; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 2px solid var(--gray-200); color: var(--gray-400);
  font-size: 1.05rem; z-index: 1;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.flow-stage.is-active .flow-marker { border-color: var(--purple-600); color: var(--purple-600); box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.12); }

.flow-card {
  flex: 1; min-width: 0; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  padding: var(--space-5); opacity: 0; transform: translateX(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.flow-stage.is-active .flow-card { opacity: 1; transform: translateX(0); }
.flow-card:hover { box-shadow: var(--shadow-md); border-color: var(--purple-300); transform: translateY(-2px); }
.flow-card h3 { margin-bottom: 4px; }

.flow-visual { height: 34px; margin-bottom: var(--space-3); display: flex; align-items: center; gap: 6px; }

/* Colaboradores — floating avatar dots */
.flow-visual-people span { width: 16px; height: 16px; border-radius: 50%; background: var(--purple-400); }
.flow-visual-people span:nth-child(2) { background: var(--orange-400); }
.flow-visual-people span:nth-child(3) { background: var(--green-400); }
.flow-visual-people span:nth-child(4) { background: var(--purple-300); }
.flow-visual-people span:nth-child(5) { background: var(--orange-400); opacity: 0.7; }
.flow-stage.is-active .flow-visual-people span { animation: flow-bob 2.4s ease-in-out infinite; }
.flow-visual-people span:nth-child(2) { animation-delay: 0.15s; }
.flow-visual-people span:nth-child(3) { animation-delay: 0.3s; }
.flow-visual-people span:nth-child(4) { animation-delay: 0.45s; }
.flow-visual-people span:nth-child(5) { animation-delay: 0.6s; }
@keyframes flow-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Questionários — mini form rows filling in */
.flow-visual-form { flex-direction: column; align-items: stretch; gap: 5px; height: auto; }
.flow-form-row { display: block; height: 6px; border-radius: 4px; background: var(--gray-100); overflow: hidden; }
.flow-form-row i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--purple-400); transition: width 0.8s var(--ease); }
.flow-stage.is-active .flow-form-row:nth-child(1) i { width: 70%; transition-delay: 0.05s; }
.flow-stage.is-active .flow-form-row:nth-child(2) i { width: 45%; transition-delay: 0.2s; }
.flow-stage.is-active .flow-form-row:nth-child(3) i { width: 85%; transition-delay: 0.35s; }

/* Dados agregados — bars growing into shape */
.flow-visual-aggregate span { width: 7px; border-radius: 2px; background: var(--purple-400); align-self: flex-end; height: 4px; transition: height 0.5s var(--ease); }
.flow-stage.is-active .flow-visual-aggregate span:nth-child(1) { height: 14px; transition-delay: 0s; }
.flow-stage.is-active .flow-visual-aggregate span:nth-child(2) { height: 24px; background: var(--orange-400); transition-delay: 0.06s; }
.flow-stage.is-active .flow-visual-aggregate span:nth-child(3) { height: 32px; transition-delay: 0.12s; }
.flow-stage.is-active .flow-visual-aggregate span:nth-child(4) { height: 18px; background: var(--green-400); transition-delay: 0.18s; }
.flow-stage.is-active .flow-visual-aggregate span:nth-child(5) { height: 28px; transition-delay: 0.24s; }
.flow-stage.is-active .flow-visual-aggregate span:nth-child(6) { height: 16px; background: var(--orange-400); transition-delay: 0.3s; }

/* Diagnóstico — tiny heatmap */
.flow-visual-heatmap { display: grid; grid-template-columns: repeat(5, 9px); gap: 3px; height: auto; }
.flow-visual-heatmap span { width: 9px; height: 9px; border-radius: 2px; background: var(--gray-100); transition: background 0.4s var(--ease); }
.flow-stage.is-active .flow-visual-heatmap span:nth-child(3n+1) { background: var(--purple-300); transition-delay: 0.05s; }
.flow-stage.is-active .flow-visual-heatmap span:nth-child(3n+2) { background: var(--orange-400); transition-delay: 0.12s; }
.flow-stage.is-active .flow-visual-heatmap span:nth-child(3n+3) { background: var(--purple-500); transition-delay: 0.19s; }

/* Riscos prioritários — severity signals */
.flow-visual-alerts span { width: 11px; height: 11px; border-radius: 50%; }
.flow-visual-alerts .is-high { background: var(--danger); }
.flow-visual-alerts .is-mid { background: var(--orange-500); }
.flow-visual-alerts .is-low { background: var(--green-500); }
.flow-stage.is-active .flow-visual-alerts .is-high { animation: flow-alert-pulse 1.8s ease-out infinite; }
@keyframes flow-alert-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Plano de ação — checklist rows */
.flow-visual-tasks { flex-direction: column; align-items: flex-start; gap: 5px; height: auto; }
.flow-visual-tasks span { display: block; width: 70px; height: 8px; border-radius: 4px; background: var(--gray-100); }
.flow-stage.is-active .flow-visual-tasks .is-done { background: var(--green-500); transition: background 0.4s var(--ease) 0.2s; }

/* Monitoramento — loop pulse ring */
.flow-visual-loop { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--gray-100); border-top-color: var(--purple-500); }
.flow-stage.is-active .flow-visual-loop { animation: flow-spin 2.2s linear infinite; }
@keyframes flow-spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .flow-marker { width: 46px; height: 46px; font-size: 0.9rem; }
  .flow-stage::before { left: 22px; top: 46px; }
  .flow-rail::after { left: 21px; }
  .flow-card { padding: var(--space-4); }
}

@media (prefers-reduced-motion: reduce) {
  .flow-rail::after { display: none; }
  .flow-stage.is-active .flow-visual-people span,
  .flow-stage.is-active .flow-visual-alerts .is-high,
  .flow-stage.is-active .flow-visual-loop {
    animation: none;
  }
}

/* ---------- Persona tabs ---------- */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 860px) { .persona-grid { grid-template-columns: 1fr; } }
.persona-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: var(--space-6); border-top: 3px solid var(--purple-600); }
.persona-card:nth-child(2) { border-top-color: var(--orange-500); }
.persona-card:nth-child(3) { border-top-color: var(--green-500); }
.persona-role { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-400); margin-bottom: var(--space-2); }

/* ---------- Continuous-management orbital cycle ---------- */
.cycle-section { position: relative; overflow: hidden; }
.cycle-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(480px 480px at 74% 45%, rgba(124, 58, 237, 0.08), transparent 70%),
    radial-gradient(rgba(124, 58, 237, 0.07) 1px, transparent 1px);
  background-size: auto, 26px 26px;
}
.cycle-section .container { position: relative; z-index: 1; }

.cycle-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-8); align-items: center; }
@media (max-width: 900px) { .cycle-layout { grid-template-columns: 1fr; } }

.cycle-copy .lede { margin-bottom: var(--space-5); }
.cycle-points { display: flex; flex-direction: column; gap: var(--space-3); }
.cycle-points li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 0.9rem; color: var(--gray-700); }
.cycle-points i { color: var(--purple-600); margin-top: 3px; }

.cycle-visual { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin: 0 auto; }
@media (max-width: 900px) { .cycle-visual { max-width: 360px; } }
@media (max-width: 480px) { .cycle-visual { max-width: 300px; } }

.cycle-orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cycle-track { fill: none; stroke: var(--gray-200); stroke-width: 1.5; }
.cycle-progress { fill: none; stroke: url(#cycleGradient); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 24 128; }
.cycle-particle { fill: var(--purple-500); filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.7)); }
.cycle-spin { transform-origin: 200px 200px; animation: none; }
.cycle-visual.is-visible .cycle-spin { animation: cycle-rotate 32s linear infinite; }
@keyframes cycle-rotate { to { transform: rotate(360deg); } }

.cycle-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.85);
  width: 34%; aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.14), rgba(251, 146, 60, 0.08));
  border: 1px solid rgba(124, 58, 237, 0.25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.15);
  font-weight: 700; font-size: 0.95rem; color: var(--ink-900); line-height: 1.3;
  opacity: 0; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.cycle-visual.is-visible .cycle-core { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (max-width: 480px) { .cycle-core { font-size: 0.8rem; } }
.cycle-core::after {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.18);
}
.cycle-visual.is-visible .cycle-core::after { animation: cycle-pulse 3.6s ease-in-out infinite; }
@keyframes cycle-pulse { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.08); opacity: 0.15; } }

.cycle-node {
  position: absolute; transform: translate(-50%, -50%) scale(0.6);
  width: 92px; height: 92px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--white); border: 2px solid var(--gray-200); box-shadow: var(--shadow-sm);
  opacity: 0; text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.cycle-visual.is-visible .cycle-node {
  opacity: 1; transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.cycle-node:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.14), var(--shadow-lg); border-color: var(--purple-500); z-index: 5; }
.cycle-node.is-active { border-color: var(--purple-600); background: linear-gradient(160deg, rgba(124, 58, 237, 0.12), var(--white)); box-shadow: 0 0 0 8px rgba(124, 58, 237, 0.12), var(--shadow-md); }
.cycle-node.is-active .cycle-node-icon { color: var(--purple-600); }
.cycle-node-icon { font-size: 1.1rem; color: var(--gray-400); transition: color 0.25s var(--ease); }
.cycle-node-label { font-size: 0.72rem; font-weight: 700; color: var(--ink-900); }
@media (max-width: 900px) { .cycle-node { width: 76px; height: 76px; } .cycle-node-label { font-size: 0.65rem; } }
@media (max-width: 480px) { .cycle-node { width: 64px; height: 64px; } .cycle-node-icon { font-size: 0.95rem; } }

@media (prefers-reduced-motion: reduce) {
  .cycle-visual.is-visible .cycle-spin,
  .cycle-visual.is-visible .cycle-core::after {
    animation: none;
  }
  .cycle-particle { display: none; }
}

/* ---------- About (Venn) ---------- */
.about-section { position: relative; overflow: hidden; }
.about-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(600px 600px at 68% 45%, rgba(124, 58, 237, 0.14), transparent 70%),
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: auto, 28px 28px;
}
.about-section .container { position: relative; z-index: 1; }
.about-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: var(--space-8); align-items: center; }
@media (max-width: 900px) { .about-layout { grid-template-columns: 1fr; } }

.about-copy .lede { margin-bottom: var(--space-5); }
.about-pillars { display: flex; flex-direction: column; gap: var(--space-4); }
.about-pillar { display: flex; gap: var(--space-4); align-items: flex-start; padding-top: var(--space-4); border-top: 1px solid rgba(255,255,255,0.1); }
.about-pillar:first-child { padding-top: 0; border-top: none; }
.about-pillar i { font-size: 1.1rem; color: var(--purple-400); margin-top: 3px; flex-shrink: 0; }
.about-pillar strong { display: block; color: var(--white); font-size: 0.95rem; margin-bottom: 2px; }
.about-pillar p { font-size: 0.85rem; color: var(--gray-400); line-height: 1.55; }

/* Venn brand system */
.venn-wrap { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; margin: 0 auto; }
@media (max-width: 900px) { .venn-wrap { max-width: 420px; } }
@media (max-width: 480px) { .venn-wrap { max-width: 320px; } }

.venn-circle {
  position: absolute; width: 64%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%); mix-blend-mode: screen;
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--white);
  padding: 10%; opacity: 0; cursor: default;
  transition: opacity 0.8s var(--ease), filter 0.3s var(--ease);
}
.venn-wrap.is-visible .venn-circle { opacity: 1; }
.venn-psy {
  top: 40%; left: 36%;
  background: radial-gradient(circle at 35% 30%, rgba(168, 85, 247, 0.9), rgba(88, 28, 135, 0.5) 72%); text-align: center;
  padding: 23% 37% 0 0%; transition-delay: 0s;
}
.venn-tech {
  top: 40%; left: 64%;
  background: radial-gradient(circle at 65% 30%, rgba(124, 58, 237, 0.9), rgba(76, 29, 149, 0.5) 72%); text-align: center;
  padding: 24% 0% 0 37%; transition-delay: 0.15s;
}
.venn-data { top: 67%; left: 50%; background: radial-gradient(circle at 50% 70%, rgba(45, 212, 191, 0.9), rgba(13, 148, 136, 0.5) 72%); justify-content: flex-end; padding-bottom: 8%; transition-delay: 0.3s; }
@keyframes venn-float-a { 0%, 100% { transform: translate(-50%, -50%) translateY(0); } 50% { transform: translate(-50%, -50%) translateY(-6px); } }
@keyframes venn-float-b { 0%, 100% { transform: translate(-50%, -50%) translateX(0); } 50% { transform: translate(-50%, -50%) translateX(6px); } }
@keyframes venn-float-c { 0%, 100% { transform: translate(-50%, -50%) translate(0, 0); } 50% { transform: translate(-50%, -50%) translate(-4px, 4px); } }
.venn-circle:hover { animation: none !important; transform: translate(-50%, -50%) scale(1.045); filter: brightness(1.18) saturate(1.15); z-index: 3; }
.venn-wrap:has(.venn-circle:hover) .venn-circle:not(:hover) { opacity: 0.55; }
.venn-wrap:has(.venn-core:hover) .venn-circle { filter: brightness(1.12); }

.venn-circle i { font-size: 1.3rem; }
.venn-label { font-weight: 700; font-size: 0.92rem; }
.venn-desc { font-size: 0.68rem; opacity: 0.8; }
@media (max-width: 480px) { .venn-desc { display: none; } .venn-circle i { font-size: 1.05rem; } .venn-label { font-size: 0.78rem; } }

.venn-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.85);
  width: 30%; aspect-ratio: 1; border-radius: 50%; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.35), 0 0 90px rgba(45, 212, 191, 0.18), inset 0 0 20px rgba(255,255,255,0.08);
  opacity: 0; transition: opacity 0.7s var(--ease) 0.5s, transform 0.7s var(--ease) 0.5s;
  cursor: default;
}
.venn-wrap.is-visible .venn-core { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.venn-core-title { font-weight: 800; font-size: 1.05rem; color: var(--white); }
.venn-core-tagline { font-size: 0.62rem; color: rgba(255,255,255,0.65); max-width: 85%; line-height: 1.3; }
@media (max-width: 480px) { .venn-core-title { font-size: 0.85rem; } .venn-core-tagline { font-size: 0.55rem; } }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--gray-200); padding: var(--space-5) 0; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); font-weight: 600; font-size: 0.95rem; color: var(--ink-900); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { transition: transform 0.25s var(--ease); color: var(--gray-400); flex-shrink: 0; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p { margin-top: var(--space-3); color: var(--gray-500); font-size: 0.9rem; line-height: 1.6; }

/* ---------- Form ---------- */
.form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--gray-700); margin-bottom: var(--space-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.7rem 0.9rem; font-size: 0.9rem; font-family: inherit;
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm); color: var(--ink);
  transition: border-color 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple-500); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-950); color: var(--gray-400); padding: var(--space-8) 0 var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); margin-bottom: var(--space-7); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-heading { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-500); margin-bottom: var(--space-4); }
.footer-links li { margin-bottom: var(--space-2); }
.footer-links a { font-size: 0.85rem; color: var(--gray-400); transition: color 0.2s var(--ease); overflow-wrap: break-word; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: var(--space-5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); font-size: 0.75rem; color: var(--gray-500); }

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--purple-500); outline-offset: 2px;
}

/* ============================================================
   BemLab Lite — Product video
   ============================================================ */

.lite-video-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      var(--paper) 0%,
      rgba(243, 241, 236, 0.65) 100%
    );
}

.lite-video-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(
      620px 440px at 82% 40%,
      rgba(124, 58, 237, 0.12),
      transparent 72%
    ),
    radial-gradient(
      480px 360px at 15% 85%,
      rgba(251, 146, 60, 0.06),
      transparent 72%
    ),
    radial-gradient(
      rgba(124, 58, 237, 0.055) 1px,
      transparent 1px
    );

  background-size:
    auto,
    auto,
    28px 28px;
}

.lite-video-section .container {
  position: relative;
  z-index: 1;
}


/* ---------- Layout ---------- */

.lite-video-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-8);
  align-items: center;
}

.lite-video-copy {
  min-width: 0;
}

.lite-video-copy .eyebrow {
  margin-bottom: var(--space-3);
}

.lite-video-copy .h2 {
  max-width: 540px;
  margin-bottom: var(--space-4);
}

.lite-video-copy .lede {
  max-width: 540px;
  margin-bottom: var(--space-6);
}


/* ---------- Feature list ---------- */

.lite-video-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.lite-video-point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.lite-video-point-icon {
  flex-shrink: 0;

  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--radius-sm);

  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.14);

  color: var(--purple-600);
  font-size: 0.88rem;
}

.lite-video-point > div {
  min-width: 0;
}

.lite-video-point strong {
  display: block;

  margin-bottom: 2px;

  color: var(--ink-900);
  font-size: 0.92rem;
}

.lite-video-point span:not(.lite-video-point-icon) {
  display: block;

  color: var(--gray-500);
  font-size: 0.84rem;
  line-height: 1.5;
}


/* ---------- CTA ---------- */

.lite-video-actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.lite-video-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);

  color: var(--gray-600);
  font-size: 0.88rem;
  font-weight: 600;

  transition:
    color 0.2s var(--ease),
    gap 0.2s var(--ease);
}

.lite-video-secondary-link:hover {
  color: var(--purple-600);
  gap: var(--space-3);
}


/* ---------- Video ---------- */

.lite-video-media {
  position: relative;
  min-width: 0;
}

.lite-video-glow {
  position: absolute;

  width: 75%;
  height: 75%;

  top: 12%;
  left: 13%;

  border-radius: 50%;

  background: rgba(124, 58, 237, 0.18);

  filter: blur(70px);

  pointer-events: none;
}

.lite-video-frame {
  position: relative;
  z-index: 1;

  overflow: hidden;

  background: var(--white);

  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: var(--radius-lg);

  box-shadow:
    0 32px 80px rgba(17, 24, 39, 0.14),
    0 12px 32px rgba(124, 58, 237, 0.08);
}


/* ---------- Header ---------- */

.lite-video-frame-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);

  padding: var(--space-4) var(--space-5);

  border-bottom: 1px solid var(--gray-100);
}

.lite-video-frame-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lite-video-logo-mark {
  width: 38px;
  height: 38px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background:
    linear-gradient(
      145deg,
      var(--purple-600),
      var(--purple-500)
    );

  color: var(--white);

  box-shadow:
    0 5px 16px rgba(124, 58, 237, 0.24);
}

.lite-video-logo-mark i {
  font-size: 0.75rem;
  transform: translateX(1px);
}

.lite-video-frame-brand > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.lite-video-frame-label {
  color: var(--gray-400);

  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lite-video-frame-brand strong {
  color: var(--ink-900);
  font-size: 0.9rem;
}

.lite-video-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 5px 10px;

  border-radius: var(--radius-pill);

  background: var(--paper-dim);

  color: var(--gray-500);

  font-size: 0.72rem;
  font-weight: 600;
}

.lite-video-duration i {
  color: #ff0000;
}


/* ---------- Embed ---------- */

.lite-video-embed {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: var(--ink-900);
}

.lite-video-embed iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
}


/* ---------- Caption ---------- */

.lite-video-caption {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);

  margin-top: var(--space-4);

  color: var(--gray-500);

  font-size: 0.76rem;
  text-align: center;
}

.lite-video-caption i {
  color: var(--purple-500);
}


/* ---------- Hover ---------- */

@media (hover: hover) {
  .lite-video-frame {
    transition:
      transform 0.35s var(--ease),
      box-shadow 0.35s var(--ease),
      border-color 0.35s var(--ease);
  }

  .lite-video-media:hover .lite-video-frame {
    transform: translateY(-4px);

    border-color: rgba(124, 58, 237, 0.24);

    box-shadow:
      0 38px 90px rgba(17, 24, 39, 0.17),
      0 18px 42px rgba(124, 58, 237, 0.12);
  }
}


/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .lite-video-layout {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .lite-video-copy {
    max-width: 680px;
  }

  .lite-video-copy .h2,
  .lite-video-copy .lede {
    max-width: 100%;
  }

  .lite-video-media {
    max-width: 820px;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .lite-video-frame-top {
    padding: var(--space-3) var(--space-4);
  }

  .lite-video-frame-brand strong {
    font-size: 0.82rem;
  }

  .lite-video-duration {
    font-size: 0.65rem;
    padding: 4px 8px;
  }

  .lite-video-actions {
    align-items: stretch;
    flex-direction: column;
    gap: var(--space-3);
  }

  .lite-video-actions .btn {
    width: 100%;
  }

  .lite-video-secondary-link {
    justify-content: center;
    padding: var(--space-2);
  }

  .lite-video-caption {
    padding: 0 var(--space-3);
  }
}