/* ════════════════════════════════════════════════════════════════
   PÁGINA "QUEM SOMOS" (.qs-) — escopo próprio.
   Reusa os tokens + nav + footer + botões do Design System (style.css).
   Tipografia: Plus Jakarta Sans (display) · DM Sans (seções/labels) ·
   Inter (body). Paleta roxa · fundo gelo #e9ebef · cards de vidro.
   ════════════════════════════════════════════════════════════════ */

/* ---------- HERO (moldura escura, como a home, sem vídeo) ---------- */
.qs-hero {
  position: relative;
  z-index: 1;
  margin: 14px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% -10%, rgba(139, 92, 246, 0.35) 0%, transparent 60%),
    radial-gradient(45% 40% at 85% 8%, rgba(181, 156, 255, 0.18) 0%, transparent 70%),
    #0a0a0f;
  color: #fff;
}
/* vídeo de fundo — mesmo estilo cinematográfico da página inicial */
.qs-hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* scrim para o texto branco continuar legível sobre o vídeo */
.qs-hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(72% 62% at 50% 34%, rgba(10, 10, 15, 0.32), rgba(10, 10, 15, 0.72) 100%),
    linear-gradient(180deg, rgba(10, 10, 15, 0.18) 0%, rgba(10, 10, 15, 0.62) 100%);
}
.qs-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: 188px 32px 120px;
  text-align: center;
}
.qs-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #c9b7ff;
  margin-bottom: 24px;
}
.qs-hero-eyebrow::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%;
  border: 1.5px solid rgba(181, 156, 255, 0.7);
}
.qs-hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #fff;
}
.qs-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #b59cff 0%, #8b5cf6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.qs-hero-lead {
  font-family: var(--f-body);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
  max-width: 620px;
  margin: 26px auto 0;
}
.qs-hero-ctas {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 14px; margin-top: 38px;
}

/* trio/par de estatísticas no hero (kit compartilhado) */
.tc-herostats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 18px 44px; margin-top: 46px;
}
.tc-stat { position: relative; text-align: center; }
.tc-stat-n {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1; color: #fff;
}
.tc-stat-n .u {
  background: linear-gradient(135deg, #b59cff 0%, #8b5cf6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tc-stat-l {
  margin-top: 8px; font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 620px) {
  .tc-stat + .tc-stat::before {
    content: ""; position: absolute; left: -22px; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 36px; background: rgba(255, 255, 255, 0.12);
  }
}

/* ---------- bloco base de seção clara ---------- */
.qs-section {
  position: relative;
  z-index: 1;
  background: #e9ebef;
  color: #0c0e14;
  padding: clamp(80px, 9vw, 130px) 24px;
}
.qs-inner { max-width: 1140px; margin: 0 auto; }

/* eyebrow + título no padrão DS (igual .adv-eyebrow / .adv-title) */
.qs-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--purple-dark);
}
.qs-eyebrow::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%;
  border: 1.5px solid rgba(139, 92, 246, 0.6);
}
.qs-title {
  margin-top: 16px;
  font-family: var(--f-section);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #0c0e14;
  max-width: 22ch;
}
.qs-title em {
  font-style: normal;
  background: linear-gradient(135deg, #9b5cff 0%, #7c3aed 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.qs-lead {
  margin-top: 18px;
  font-family: var(--f-body);
  font-size: 16px; line-height: 1.6;
  color: rgba(12, 14, 20, 0.62);
  max-width: 56ch;
}

/* ---------- MISSÃO (2 colunas: título | texto) ---------- */
.qs-mission .qs-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .qs-mission .qs-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
}
.qs-mission-text p {
  font-family: var(--f-body);
  font-size: 16px; line-height: 1.7;
  color: rgba(12, 14, 20, 0.62);
}
.qs-mission-text p + p { margin-top: 18px; }
.qs-mission-text strong { color: #0c0e14; font-weight: 600; }

/* ---------- FILOSOFIA (4 cards de vidro com chip de ícone) ---------- */
.qs-philos-grid {
  margin-top: 52px;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 680px)  { .qs-philos-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .qs-philos-grid { grid-template-columns: repeat(4, 1fr); } }

/* lift no hover dos cards (a home anima via GSAP/adv.js; aqui via CSS) */
.qs-philos-grid .adv-card {
  transition: transform 0.4s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}
.qs-philos-grid .adv-card:hover { transform: translateY(-6px); }

.qs-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(12, 14, 20, 0.08);
  border-radius: 22px;
  padding: 28px 26px 30px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 8px rgba(12, 14, 20, 0.06),
    0 12px 32px rgba(12, 14, 20, 0.07);
  transition: transform 0.4s var(--ease, ease), box-shadow 0.4s ease, border-color 0.4s ease;
}
.qs-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.30);
  box-shadow: 0 28px 64px rgba(12, 14, 20, 0.12);
}
.qs-card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  color: var(--purple-dark);
  background: rgba(124, 58, 237, 0.08);
  border-radius: 13px;
  margin-bottom: 22px;
}
.qs-card-ico svg { width: 24px; height: 24px; }
.qs-card h3 {
  font-family: var(--f-section);
  font-size: 16px; font-weight: 700;
  letter-spacing: -0.01em;
  color: #0c0e14;
  margin-bottom: 10px;
}
.qs-card p {
  font-family: var(--f-body);
  font-size: 13.5px; line-height: 1.6;
  color: rgba(12, 14, 20, 0.62);
}

/* ---------- BANDA DE NÚMEROS (card escuro premium) ---------- */
.qs-stat { background: #e9ebef; padding: 0 24px clamp(80px, 9vw, 130px); }
.qs-stat-card {
  max-width: 1140px; margin: 0 auto;
  position: relative; overflow: hidden;
  background: #0b0b12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: clamp(48px, 6vw, 72px) clamp(28px, 5vw, 72px);
  display: grid; gap: 40px;
}
@media (min-width: 820px) {
  .qs-stat-card { grid-template-columns: 1fr 1fr; align-items: center; }
}
.qs-stat-card::before {
  content: "";
  position: absolute; inset: -30%;
  pointer-events: none;
  background:
    radial-gradient(32% 40% at 22% 20%, rgba(139, 92, 246, 0.16), transparent 70%),
    radial-gradient(30% 36% at 82% 78%, rgba(109, 63, 224, 0.12), transparent 70%);
}
.qs-stat-item { position: relative; z-index: 1; }
.qs-stat-n {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  color: #fff;
}
.qs-stat-n .u {
  background: linear-gradient(135deg, #b59cff 0%, #8b5cf6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.qs-stat-l {
  margin-top: 14px;
  font-family: var(--f-body);
  font-size: 15px; line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  max-width: 34ch;
}

/* ---------- JORNADA DO CLIENTE — cards escuros animados (Fase 1–5)
   reusa os visuais da home (.imv-visual / .ivz-*, definidos em style.css).
   Layout: 2 + 2 + 1 (a 5ª etapa ocupa a largura toda). ---------- */
.qs-fase-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.qs-fase {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0b0b12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px 30px 30px;
  min-height: 380px;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.qs-fase:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 30px 70px rgba(12, 14, 20, 0.20);
}
/* glow suave no topo do card */
.qs-fase::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(56% 40% at 80% 0%, rgba(139, 92, 246, 0.16), transparent 70%);
}
.qs-fase > * { position: relative; z-index: 1; }

.qs-fase-pill {
  align-self: flex-start;
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 99px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.qs-fase h3 {
  font-family: var(--f-section);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
  color: #fff;
  margin-bottom: 12px;
}
.qs-fase p {
  font-family: var(--f-body);
  font-size: 14px; line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 42ch;
  margin-bottom: 22px; /* respiro garantido até o visual/animação abaixo */
}

/* área do visual reusado: empurra para a base, em moldura própria */
.qs-fase .imv-visual {
  margin-top: auto;
  margin-bottom: 0;
  min-height: 200px;
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
}
/* trama de pontos clara sobre o card escuro (mockups) */
.qs-fase .imv-visual--dots {
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* corpo de texto do card largo: flex column para a pill respeitar o
   margin-bottom (num div comum o <span> fica inline e cola no título) */
.qs-fase-body { display: flex; flex-direction: column; align-items: flex-start; }

/* 5ª etapa: ocupa as 2 colunas; no desktop fica texto | visual */
.qs-fase--wide { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .qs-fase--wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 40px;
    padding: 44px 44px;
  }
  .qs-fase--wide .imv-visual { margin-top: 0; min-height: 220px; }
}

@media (max-width: 760px) {
  .qs-fase-grid { grid-template-columns: 1fr; }
  .qs-fase { min-height: 0; }
}

/* ---------- Fase 1 · gráfico de linha animado (Diagnóstico Patrimonial)
   linha que se desenha + pontos que surgem e pulsam + eixo Y + toolbar ---------- */
.qsd { position: relative; }
.qsd-toolbar {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: flex; gap: 6px;
}
.qsd-tool {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
}
.qsd-tool:first-child {
  color: #b59cff;
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.30);
}
.qsd-tool svg { width: 11px; height: 11px; }

.qsd-yaxis {
  position: absolute; left: 12px; top: 46px; bottom: 16px; z-index: 2;
  width: 34px;
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  text-align: right;
}
.qsd-yaxis li {
  font-family: var(--f-mono);
  font-size: 8px; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.32);
}

.qsd-plot { position: absolute; inset: 16px 16px 16px 52px; }
.qsd-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.qsd-area { fill: url(#qsdArea); opacity: 0; animation: qsd-fade 0.8s ease 1.1s forwards; }
.qsd-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: qsd-draw 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}
@keyframes qsd-draw { to { stroke-dashoffset: 0; } }
@keyframes qsd-fade { to { opacity: 1; } }

.qsd-dot {
  position: absolute; z-index: 2;
  width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff;
  transform: scale(0); opacity: 0;
  animation:
    qsd-pop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards var(--d, 1s),
    qsd-glow 2.6s ease-in-out infinite calc(var(--d, 1s) + 0.6s);
}
@keyframes qsd-pop { 0% { transform: scale(0); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes qsd-glow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06), 0 0 8px rgba(255, 255, 255, 0.35); }
  50%      { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0), 0 0 14px rgba(181, 156, 255, 0.7); }
}

@media (prefers-reduced-motion: reduce) {
  .qsd-line { animation: none; stroke-dashoffset: 0; }
  .qsd-area { animation: none; opacity: 1; }
  .qsd-dot { animation: none; transform: scale(1); opacity: 1; }
}

/* ---------- Fase 2 · hub de moedas (Planejamento Multidimensional)
   busca central (anel tracejado girando) + 6 moedas conectadas ---------- */
.qsh { position: relative; }
.qsh::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(42% 52% at 50% 50%, rgba(139, 92, 246, 0.16), transparent 70%);
}
.qsh-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.qsh-links line {
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  animation: qsh-linepulse 4.5s ease-in-out infinite;
}
@keyframes qsh-linepulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 0.95; } }

.qsh-node {
  position: absolute;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--f-display);
  font-size: 16px; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  z-index: 1;
  animation: qsh-pop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards var(--d, 0.3s);
}
.qsh-node svg { width: 18px; height: 18px; }
@keyframes qsh-pop { to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

/* nó central: busca, com anel tracejado girando */
.qsh-node--c {
  left: 50%; top: 50%;
  width: 42px; height: 42px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(181, 156, 255, 0.5);
  color: #d8ccff;
  z-index: 3;
  animation: qsh-pop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.1s,
             qsh-corepulse 3s ease-in-out infinite 0.7s;
}
@keyframes qsh-corepulse {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 0 0 rgba(181,156,255,0.4); }
  50%      { box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 0 7px rgba(181,156,255,0); }
}
.qsh-ring {
  position: absolute; left: 50%; top: 50%;
  width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-radius: 50%;
  border: 1px dashed rgba(181, 156, 255, 0.5);
  z-index: 2;
  animation: qsh-spin 14s linear infinite;
}
@keyframes qsh-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .qsh-node, .qsh-node--c { animation: none; transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .qsh-ring { animation: none; }
  .qsh-links line { animation: none; opacity: 0.6; }
}

/* ---------- Fase 3 · grafo de rede / auditoria (Auditoria dos Investimentos)
   circuito com nós + diamante ETH + badge "Análise Feita" + cursor ---------- */
.qsa { position: relative; }
.qsa::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(52% 62% at 48% 55%, rgba(139, 92, 246, 0.10), transparent 72%);
}
.qsa-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.qsa-line {
  fill: none; stroke: rgba(255, 255, 255, 0.13); stroke-width: 1;
  vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round;
}
.qsa-flow {
  fill: none; stroke: rgba(181, 156, 255, 0.9); stroke-width: 1.4;
  vector-effect: non-scaling-stroke; stroke-linecap: round;
  stroke-dasharray: 2 230; stroke-dashoffset: 0;
  animation: qsa-flow 3.4s linear infinite;
}
.qsa-flow--b { animation-duration: 4.2s; animation-delay: 1.1s; }
@keyframes qsa-flow { to { stroke-dashoffset: -232; } }
.qsa-node { fill: rgba(255, 255, 255, 0.40); }

/* diamante ethereum em destaque (centro) */
.qsa-diamond {
  position: absolute; left: 46.9%; top: 50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px; color: #fff; z-index: 2;
  animation: qsa-dpulse 3s ease-in-out infinite;
}
.qsa-diamond svg { width: 100%; height: 100%; }
@keyframes qsa-dpulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(181, 156, 255, 0.35)); }
  50%      { filter: drop-shadow(0 0 12px rgba(181, 156, 255, 0.7)); }
}

/* nó "clicado" + anel pulsante + cursor */
.qsa-hot {
  position: absolute; left: 82%; top: 30%;
  transform: translate(-50%, -50%);
  width: 11px; height: 11px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.7); z-index: 2;
}
.qsa-hot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: qsa-ring 2.2s ease-out infinite;
}
@keyframes qsa-ring { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(2.4); opacity: 0; } }
.qsa-cursor {
  position: absolute; left: 85%; top: 37%;
  width: 16px; height: 16px; color: #fff; z-index: 3;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

/* badge "Análise Feita" */
.qsa-badge {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 9px 6px 12px; border-radius: 99px;
  background: rgba(20, 20, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  font-family: var(--f-section); font-size: 11px; font-weight: 600; color: #fff;
  opacity: 0; transform: translateY(-6px) scale(0.9);
  animation: qsa-badge 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.9s;
}
@keyframes qsa-badge { to { opacity: 1; transform: translateY(0) scale(1); } }
.qsa-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: #1f9d57; color: #fff;
}
.qsa-check svg { width: 11px; height: 11px; }

/* faíscas de fundo */
.qsa-spark {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #fff; opacity: 0;
  animation: qsa-twinkle 3.6s ease-in-out infinite;
}
@keyframes qsa-twinkle { 0%, 100% { opacity: 0; transform: scale(0.6); } 50% { opacity: 0.5; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .qsa-flow { animation: none; opacity: 0; }
  .qsa-diamond, .qsa-hot::after, .qsa-spark { animation: none; }
  .qsa-badge { animation: none; opacity: 1; transform: none; }
}

/* ---------- Fase 4 · mockup de painel Previdência (Avaliação da Previdência)
   header c/ toggle + card "Previdência" com cursor + lista de opções ---------- */
.qsp { position: relative; }
.qsp-head {
  position: absolute; top: 16px; left: 16px; right: 16px; height: 30px;
  display: flex; align-items: center; justify-content: space-between;
}
.qsp-head-bars { display: flex; flex-direction: column; gap: 6px; }
.qsp-hbar { height: 6px; width: 58px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
.qsp-hbar--2 { height: 4px; width: 92px; background: rgba(255, 255, 255, 0.07); }
.qsp-toggle {
  display: flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 5px 0 12px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
}
.qsp-toggle .ln { width: 28px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.5); }
.qsp-toggle .knob {
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  animation: qsp-knob 3.4s ease-in-out infinite;
}
@keyframes qsp-knob {
  0%, 100% { box-shadow: 0 0 6px rgba(255, 255, 255, 0.3); }
  50%      { box-shadow: 0 0 12px rgba(181, 156, 255, 0.7); }
}

.qsp-body {
  position: absolute; left: 16px; right: 16px; top: 60px; bottom: 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.qsp-panel {
  position: relative; overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.qsp-left { display: flex; align-items: center; justify-content: center; }
.qsp-left::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 16px 16px; opacity: 0.5;
}
.qsp-chip {
  position: relative; z-index: 1;
  padding: 8px 18px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff; font-family: var(--f-body); font-size: 13px; font-weight: 600;
  animation: qsp-chip 3s ease-in-out infinite;
}
@keyframes qsp-chip {
  0%, 100% { border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
  50%      { border-color: rgba(181, 156, 255, 0.5); box-shadow: 0 0 18px rgba(139, 92, 246, 0.25); }
}
.qsp-cursor {
  position: absolute; z-index: 2; left: 56%; top: 60%;
  width: 16px; height: 16px; color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
  animation: qsp-cursor 3s ease-in-out infinite;
}
@keyframes qsp-cursor { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-3px, -3px); } }

.qsp-right { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.qsp-field {
  display: flex; align-items: center; gap: 7px;
  height: 24px; padding: 0 9px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08);
}
.qsp-field i {
  width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto;
  background: #b59cff; box-shadow: 0 0 6px rgba(181, 156, 255, 0.7);
  animation: qsp-blink 2s ease-in-out infinite;
}
.qsp-field b { height: 5px; width: 60%; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
@keyframes qsp-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.qsp-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 12px; }
.qsp-row {
  display: flex; align-items: center; gap: 7px;
  opacity: 0; transform: translateY(6px);
  animation: qsp-rowin 0.5s ease forwards var(--d, 0.4s);
}
.qsp-row i {
  width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.qsp-row.is-on i { background: rgba(139, 92, 246, 0.5); border-color: rgba(181, 156, 255, 0.7); }
.qsp-row b { height: 5px; flex: 1; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
@keyframes qsp-rowin { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .qsp-toggle .knob, .qsp-chip, .qsp-cursor, .qsp-field i { animation: none; }
  .qsp-row { animation: none; opacity: 1; transform: none; }
}

/* ---------- Fase 5 · vórtice de linhas (Plano Mestre Patrimonial)
   raios radiais torcidos formando um anel central — gerados em quem.js ---------- */
.qsm { position: relative; }
.qsm::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(26% 38% at 50% 50%, rgba(139, 92, 246, 0.28), transparent 70%);
}
.qsm-burst {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 66%, transparent 99%);
  mask: radial-gradient(circle at 50% 50%, #000 66%, transparent 99%);
}
.qsm-rot {
  transform-box: fill-box; transform-origin: center;
  animation: qsm-spin 52s linear infinite;
}
@keyframes qsm-spin { to { transform: rotate(360deg); } }
.qsm-burst line {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1; vector-effect: non-scaling-stroke;
}
.qsm-ring {
  fill: none; stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1.2; vector-effect: non-scaling-stroke;
}
.qsm-spark { fill: rgba(255, 255, 255, 0.6); animation: qsm-twinkle 3s ease-in-out infinite; }
@keyframes qsm-twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.85; } }

@media (prefers-reduced-motion: reduce) {
  .qsm-rot, .qsm-spark { animation: none; }
}

/* ---------- ACOMPANHAMENTO (título | lista de features) ---------- */
.qs-support .qs-grid { display: grid; gap: 44px; }
@media (min-width: 900px) {
  .qs-support .qs-grid { grid-template-columns: 0.85fr 1fr; gap: 64px; align-items: start; }
}
.qs-features { list-style: none; display: grid; gap: 14px; }
.qs-feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px; align-items: start;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(12, 14, 20, 0.08);
}
.qs-feature:last-child { border-bottom: none; }
.qs-feature-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  color: var(--purple-dark);
  background: rgba(124, 58, 237, 0.08);
}
.qs-feature-ic svg { width: 19px; height: 19px; }
.qs-feature b {
  display: block;
  font-family: var(--f-section);
  font-size: 15px; font-weight: 700; color: #0c0e14;
  margin-bottom: 4px;
}
.qs-feature span {
  font-family: var(--f-body);
  font-size: 13.5px; line-height: 1.55;
  color: rgba(12, 14, 20, 0.62);
}

/* ---------- FUNDADORA (Mayra) ---------- */
.qs-founder .qs-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .qs-founder .qs-grid { grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
}
.qs-founder-photo {
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, #ece9f4, #e2dcf3);
  border: 1px solid rgba(12, 14, 20, 0.08);
}
.qs-founder-photo img { display: block; width: 100%; height: auto; }
.qs-founder-name {
  font-family: var(--f-display);
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  color: #0c0e14; margin-top: 20px;
}
.qs-founder-role {
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--purple-dark);
  margin-top: 6px;
}
.qs-founder-bio p {
  font-family: var(--f-body);
  font-size: 15.5px; line-height: 1.7;
  color: rgba(12, 14, 20, 0.62);
}
.qs-founder-bio p + p { margin-top: 16px; }
.qs-founder-tags {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 26px;
}
.qs-founder-tags li {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(12, 14, 20, 0.65);
}
.qs-founder-tags li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  border: 1.5px solid rgba(139, 92, 246, 0.6); flex: 0 0 auto;
}

/* ---------- CTA (card escuro premium) ---------- */
.qs-cta { background: #e9ebef; padding: 0 24px clamp(90px, 10vw, 150px); }
.qs-cta-card {
  max-width: 1140px; margin: 0 auto;
  position: relative; overflow: hidden;
  background: #0b0b12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: clamp(64px, 9vw, 104px) clamp(28px, 6vw, 80px);
  text-align: center;
}
.qs-cta-card::before {
  content: "";
  position: absolute; inset: -30%;
  pointer-events: none;
  background:
    radial-gradient(34% 40% at 24% 22%, rgba(139, 92, 246, 0.13), transparent 70%),
    radial-gradient(30% 36% at 78% 72%, rgba(109, 63, 224, 0.10), transparent 70%);
}
.qs-cta-card > * { position: relative; z-index: 1; }
.qs-cta-card h2 {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.08;
  color: #fff; max-width: 18ch; margin: 0 auto;
}
.qs-cta-card p {
  font-family: var(--f-body);
  font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 46ch; margin: 20px auto 0;
}
.qs-cta-actions {
  display: flex; flex-direction: column; align-items: center;
  gap: 18px; margin-top: 40px;
}
.qs-cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #0c0e14; border: none; border-radius: 14px; text-decoration: none;
  padding: 13px 15px 13px 26px;
  font-family: var(--f-body);
  text-transform: uppercase; letter-spacing: 0.09em;
  font-size: 12.5px; font-weight: 700; cursor: pointer;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.qs-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 54px rgba(139, 92, 246, 0.30); }
.qs-cta-btn-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: rgba(12, 14, 20, 0.08);
}
.qs-cta-btn-ic svg { width: 16px; height: 16px; }
.qs-cta-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body);
  font-size: 13.5px; font-weight: 500;
  color: rgba(255, 255, 255, 0.6); text-decoration: none;
  transition: color 0.25s ease, gap 0.25s ease;
}
.qs-cta-link svg { width: 14px; height: 14px; }
.qs-cta-link:hover { color: #fff; gap: 12px; }

/* ---------- reveal de entrada (fade-up) ---------- */
.qs-reveal { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  .qs-reveal { opacity: 1; transform: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 768px) {
  .qs-hero-inner { padding: 150px 22px 90px; }
  .qs-section { padding: 72px 20px; }
  .qs-stat, .qs-cta { padding-left: 16px; padding-right: 16px; }
  .qs-step { grid-template-columns: 48px 1fr; padding: 22px 22px; }
}
