/* ════════════════════════════════════════════════════════════════
   CICLOINVEST — HERO + DOBRAS
   Tipografia (Design System v1.0): Plus Jakarta Sans (display/H1) ·
   DM Sans (H2–H4, dados/labels) · Inter (body)
   Paleta: roxo #7b39fc/#8b5cf6/#7c3aed · ink #1f2433 · fundo #e9ebef
   ════════════════════════════════════════════════════════════════ */

:root {
  --purple: #8b5cf6;
  --purple-dark: #7c3aed;
  --purple-brand: #7b39fc;
  --ink: #1f2433;
  --muted: #5b6072;

  /* tipografia do design system */
  --f-display: "Plus Jakarta Sans", sans-serif;
  --f-section: "DM Sans", sans-serif;
  --f-body: "Inter", sans-serif;
  /* papel "mono/labels" assumido pela DM Sans (JetBrains Mono removida) */
  --f-mono: "DM Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { overflow-x: clip; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  background: #e9ebef; /* moldura clara ao redor da hero (framed container) */
}

/* Água WebGL (Unicorn Studio): fixa na viewport, ATRÁS do <main> (z-index 2).
   Começa invisível e só aparece atrás das dobras .spec/.tst/.cta
   (transparentes), controlado por opacity no JS (final do index.html). */
#water-bg {
  position: fixed;
  inset: 0;
  z-index: 0;            /* abaixo do <main> */
  opacity: 0;
  pointer-events: none;  /* o efeito capta o mouse pela window; não bloqueia cliques */
}

main { position: relative; z-index: 2; }

/* ---------- HERO: container emoldurado (margem + cantos arredondados) ---------- */
.hero {
  position: relative;
  z-index: 1;
  margin: 14px;
  height: calc(100vh - 28px);
  height: calc(100dvh - 28px);
  border-radius: 28px;
  background: #0a0a0f; /* fallback enquanto o vídeo carrega */
  overflow: hidden;
}

/* vídeo full-bleed de fundo (sem overlay) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ---------- NAVBAR ---------- */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--f-display);
  font-weight: 700; font-size: 19px; letter-spacing: -0.02em;
  color: #fff;
}
.brand .bars { display: flex; align-items: flex-end; gap: 2.5px; height: 18px; }
.brand .bars i { width: 4px; background: #e9e6f4; border-radius: 1.5px; display: block; }
.brand .bars i:nth-child(1) { height: 8px; }
.brand .bars i:nth-child(2) { height: 13px; }
.brand .bars i:nth-child(3) { height: 18px; }
.brand b { font-weight: 800; }

/* links numerados + underline animado */
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  position: relative;
  font-family: var(--f-body);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  padding-bottom: 4px;
  transition: opacity 0.2s ease;
}
.nav-links a:hover { opacity: 0.8; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
/* ---------- BOTÕES (Manrope caixa alta editorial) ---------- */
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- MENU MOBILE (hambúrguer + overlay tela cheia) ---------- */
.nav-burger {
  display: none;            /* só aparece no mobile (ver media query) */
  position: relative; z-index: 1;
  width: 30px; height: 22px; padding: 0;
  border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: #fff; border-radius: 2px;
}
.nav-burger span:nth-child(1) { top: 2px; }
.nav-burger span:nth-child(2) { top: 10px; }
.nav-burger span:nth-child(3) { top: 18px; }

.nav-mobile {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  padding: 92px 28px 44px;
  background: #0a0a0f;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.nav-mobile.is-open { opacity: 1; visibility: visible; }

.nav-mobile-close {
  position: absolute; top: 24px; right: 22px;
  width: 40px; height: 40px; padding: 0;
  border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-close::before, .nav-mobile-close::after {
  content: ""; position: absolute; left: 8px; right: 8px; top: 19px;
  height: 2px; background: #fff; border-radius: 2px;
}
.nav-mobile-close::before { transform: rotate(45deg); }
.nav-mobile-close::after  { transform: rotate(-45deg); }

.nav-mobile-links { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.nav-mobile-links a {
  font-family: var(--f-display);
  font-size: 30px; font-weight: 700; letter-spacing: -0.02em;
  color: #fff; text-decoration: none;
  padding: 11px 10px; opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.nav-mobile-links a:hover,
.nav-mobile-links a.active { color: var(--purple-brand); opacity: 1; }
.nav-mobile-cta { margin-top: 24px; }

body.nav-open { overflow: hidden; }

/* ---------- BOTÃO FLUTUANTE WHATSAPP (global) ----------
   Fixo no canto inferior direito. Fica acima do conteúdo, porém
   ABAIXO do menu mobile (.nav-mobile z-index 80) — e some quando ele abre. */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.25s cubic-bezier(0.2,0.7,0.3,1), background 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.wa-float svg { width: 30px; height: 30px; display: block; }
.wa-float:hover {
  transform: translateY(-3px) scale(1.06);
  background: #1ebe5d;
  box-shadow: 0 16px 38px rgba(0,0,0,0.34), 0 3px 10px rgba(0,0,0,0.24);
}
.wa-float:active { transform: translateY(-1px) scale(1.02); }
.wa-float:focus-visible { outline: 3px solid rgba(37,211,102,0.55); outline-offset: 3px; }

/* pulso suave de atenção (anel que emana de trás do botão) */
.wa-float::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: 50%; background: #25d366;
  animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* some enquanto o menu mobile está aberto */
body.nav-open .wa-float { opacity: 0; visibility: hidden; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; }
  .wa-float:hover, .wa-float:active { transform: none; }
  .wa-float::after { animation: none; display: none; }
}

@media (max-width: 768px) {
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .wa-float svg { width: 28px; height: 28px; }
}

/* ---------- ACESSIBILIDADE: foco de teclado + pular p/ conteúdo ---------- */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--purple-brand);
  outline-offset: 3px;
  border-radius: 6px;
}
/* superfícies escuras (menu mobile / rodapé): anel claro p/ contraste */
.nav-mobile :focus-visible,
.foot :focus-visible { outline-color: #c4b4f5; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 10px 16px; border-radius: 8px;
  background: var(--purple-brand); color: #fff;
  font-family: var(--f-body); font-weight: 700; font-size: 13px;
  text-decoration: none; transform: translateY(-220%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: none; }

/* amplia a área de toque do burger p/ >=44px sem mudar o visual */
.nav-burger::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
}

/* no mobile, garante que o rodapé não fique sob o botão flutuante do WhatsApp */
@media (max-width: 768px) {
  .foot-bottom { padding-bottom: 64px; }
}

.btn-nav, .btn-hero {
  font-family: var(--f-body);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  font-size: 12.5px;
  border: none;
  cursor: pointer;
  text-decoration: none; /* botões usados também como <a> não devem sublinhar */
}
.btn-nav {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 8px;
  background: var(--purple-brand); color: #fafafa;
  box-shadow: 0 4px 14px rgba(123,57,252,0.35);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-nav:hover { background: #8b4dff; transform: translateY(-1px); }

/* ---------- CONTEÚDO CENTRAL ---------- */
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 32px;
  will-change: transform, opacity;
}

/* pill glassmorphism */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(85, 80, 110, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(164, 132, 215, 0.5);
  border-radius: 10px;
  height: 38px;
  padding: 0 12px 0 5px;
  margin-bottom: 30px;
}
.badge .tag {
  background: var(--purple-brand); color: #fff;
  border-radius: 6px; padding: 4px 10px;
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.badge .label {
  color: #fff; padding-right: 4px;
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* headline display do design system — "máximo" em gradiente da marca.
   Largura maior + fonte levemente menor → quebra em exatamente 3 linhas:
   "Sua carteira com o / máximo retorno em / todas as fases da economia." */
.hero-content h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 1240px;
  margin-bottom: 22px;
}
.hero-content h1 em {
  font-style: normal;
  padding: 0 0.04em;
  background: linear-gradient(135deg, #b59cff 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* .hl = linha do headline (quebra controlada, 3 linhas fixas) */
.hero-content h1 .hl { display: block; }

/* reveal por palavras: .hw = máscara (overflow hidden) · .hw-i = palavra que
   sobe. Sem JS, nada fica oculto (estado inicial só via GSAP). */
.hw {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: 0 0.045em 0.11em;
  margin: 0 -0.045em -0.11em;
}
.hw-i { display: inline-block; will-change: transform; }

/* subtext */
.hero-content p {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  max-width: 662px;
  margin: 0 auto 36px;
}

/* CTAs */
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-hero {
  border-radius: 10px;
  padding: 15px 30px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-hero:hover { transform: translateY(-1px); }
.btn-hero--primary { background: var(--purple-brand); color: #fff; }
.btn-hero--primary:hover { background: #8b4dff; }
.btn-hero--dark { background: #2b2344; color: #f6f7f9; }
.btn-hero--dark:hover { background: #3a2f5c; }

/* tags editoriais (✳ separador) */
.hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 38px;
  padding: 0 12px;
}
.hero-tags li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.hero-tags li + li::before {
  content: "✳";
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

/* ════════════════════════════════════════════════════════════════
   DOBRAS IMERSIVAS (.imv-) — escopo próprio, nenhum seletor global.
   Tema claro: fundo #fafafc · texto #0c0e14 · secundário
   rgba(12,14,20,0.62) · acentos #4f7cff (azul) e #9b5cff (violeta).
   ════════════════════════════════════════════════════════════════ */

/* ---------- DOBRA 01 · túnel de texto ---------- */
.imv-tunnel {
  position: relative;
  background: #e9ebef; /* mesmo "gelo" da moldura do hero */
  color: #0c0e14;
}
.imv-tunnel-stage {
  height: 100vh;
  perspective: 900px;
  perspective-origin: 50% 45%;
  overflow: hidden;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}
.imv-line {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 6vw;
  will-change: transform, opacity;
}
.imv-line--ghost {
  font-family: var(--f-display); /* mesma família das linhas display */
  font-size: clamp(1.1rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(12, 14, 20, 0.62);
}
.imv-line--display {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #0c0e14 30%, rgba(12, 14, 20, 0.62));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- DOBRA 02 · cards em profundidade ---------- */
.imv-depth {
  position: relative;
  background: #e9ebef; /* mesmo "gelo" da moldura do hero */
  color: #0c0e14;
}
/* terreno wireframe (Three.js) — atrás de todo o conteúdo da dobra */
#depthTerrain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
#depthTerrain canvas { display: block; width: 100%; height: 100%; }
.imv-depth-stage {
  position: relative;
  z-index: 1; /* conteúdo acima do terreno */
  height: 100vh;
  perspective: 1100px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.imv-depth-title {
  position: absolute;
  top: 12vh;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--f-section);
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0c0e14;
  padding: 0 6vw;
  will-change: transform, opacity;
}
.imv-cardrow {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  transform-style: preserve-3d;
  padding: 0 5vw;
}

/* ---- layout "bento" (desktop): 2 cards em cima + 1 largo embaixo ----
   Ordem no DOM: 1) Sem comissões · 2) Personalizada · 3) Transparência.
   O card 2 vai para a linha de baixo ocupando as 2 colunas. */
@media (min-width: 1024px) {
  .imv-cardrow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    width: min(100%, 840px);
    margin: 0 auto;
    padding: 0;
  }
  .imv-cardrow .imv-card {
    width: 100%;
    height: clamp(240px, 26vw, 310px);
  }
  .imv-cardrow .imv-card:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    height: auto;
    min-height: 225px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    grid-template-areas:
      "title visual"
      "desc  visual";
    align-content: center;
    column-gap: 28px;
    row-gap: 10px;
  }
  .imv-cardrow .imv-card:nth-child(2) .imv-visual {
    grid-area: visual;
    margin: 0;
    min-height: 180px;
  }
  .imv-cardrow .imv-card:nth-child(2) .imv-card-value {
    grid-area: title;
    align-self: end;
  }
  .imv-cardrow .imv-card:nth-child(2) .imv-card-desc {
    grid-area: desc;
    align-self: start;
    max-width: 34ch;
  }
}
.imv-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  width: clamp(220px, 25vw, 310px);
  height: clamp(340px, 36vw, 450px); /* + espaço p/ o visual animado no topo */
  border-radius: 22px;
  padding: 26px 24px;
  background: rgba(240, 242, 246, 0.32); /* vidro claro, quase branco —
                                             linhas do terreno sob o blur */
  border: 1px solid rgba(12, 14, 20, 0.08);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 8px rgba(12, 14, 20, 0.06),
    0 24px 64px rgba(12, 14, 20, 0.08);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
}
.imv-card-eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-dark);
}
.imv-card-value {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: #0c0e14;
}
.imv-card-desc {
  margin: 0;
  font-family: var(--f-body);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(12, 14, 20, 0.62);
}

/* ════════ VISUAIS ANIMADOS dos cards (ivz-) — tema claro do DS ════════
   Portados da dobra bento do projeto anterior (somente as animações):
   mockups c/ parallax · widget de status (pulse/equalizer/pill) ·
   diagrama orbital. Acentos na paleta roxa; superfícies brancas. */
.imv-visual {
  position: relative;
  flex: 1;
  min-height: 150px;
  margin-bottom: 10px;
  border-radius: 14px;
  /* sem overflow:hidden — as sombras dos widgets respiram sem corte
     (o border-radius continua recortando o fundo pontilhado) */
}
.imv-visual--dots {
  background-image: radial-gradient(rgba(12, 14, 20, 0.07) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* ---- mockups flutuantes (card Aportes) — rotate é propriedade separada,
   o parallax x/y do GSAP não a sobrescreve ---- */
.ivz-mock {
  position: absolute;
  background: #14141c; /* quase black (surface do DS) — destaque na dobra */
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(12, 14, 20, 0.30);
  will-change: transform;
}
.ivz-mock--panel { top: 12px; left: 10px; width: 56%; padding: 10px; rotate: -4deg; }
.ivz-bar  { display: block; width: 34%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); margin-bottom: 7px; }
.ivz-line { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); margin-bottom: 5px; }
.ivz-line--short { width: 62%; }
.ivz-chart { display: flex; align-items: flex-end; gap: 4px; height: 30px; margin-top: 8px; }
.ivz-chart i { flex: 1; border-radius: 2px 2px 0 0; background: rgba(255, 255, 255, 0.16); }
.ivz-chart i:nth-child(1) { height: 38%; }
.ivz-chart i:nth-child(2) { height: 58%; }
.ivz-chart i:nth-child(3) { height: 46%; }
.ivz-chart i:nth-child(4) { height: 78%; }
.ivz-chart i:nth-child(5) { height: 100%; background: var(--purple); }
.ivz-mock--list { top: 26px; right: 8px; width: 38%; padding: 9px; rotate: 3deg; }
.ivz-mock-row { display: flex; align-items: center; gap: 6px; padding: 4px 0; }
.ivz-mock-row b { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.ivz-check {
  width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(139, 92, 246, 0.28);
  border: 1px solid rgba(181, 156, 255, 0.7);
  position: relative;
}
.ivz-check::after {
  content: ""; position: absolute; left: 3.5px; top: 1px;
  width: 3px; height: 6px;
  border: solid #c9b7ff; border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.ivz-check--off { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.20); }
.ivz-check--off::after { display: none; }
.ivz-mock--notif {
  bottom: 12px; left: 18px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; rotate: -2deg;
}
.ivz-notif-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto;
  background: var(--purple);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.55);
}
.ivz-notif-txt b { display: block; font-family: var(--f-body); font-size: 10.5px; font-weight: 700; color: #f4f4f8; }
.ivz-notif-txt i { display: block; font-family: var(--f-body); font-style: normal; font-size: 9px; color: rgba(255, 255, 255, 0.55); }

/* ---- widget de STATUS (card Rentabilidade) ---- */
.ivz-status {
  position: absolute;
  inset: 6px 2px 8px; /* ocupa a altura toda do visual (sem vão abaixo) */
  display: flex;
  flex-direction: column;
  background: #14141c; /* quase black — destaque na dobra */
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 11px 12px;
  box-shadow: 0 18px 40px rgba(12, 14, 20, 0.30), 0 4px 12px rgba(12, 14, 20, 0.14);
  will-change: transform;
}
.ivz-status-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ivz-status-t b { display: block; font-family: var(--f-section); font-size: 11px; font-weight: 700; color: #f4f4f8; }
.ivz-status-t i { font-family: var(--f-body); font-style: normal; font-size: 9px; color: rgba(255, 255, 255, 0.55); }
.ivz-live {
  width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto;
  background: var(--purple);
  animation: ivz-pulse 1.9s ease-out infinite;
}
@keyframes ivz-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.40); }
  70%  { box-shadow: 0 0 0 7px rgba(139, 92, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}
.ivz-row { display: flex; align-items: center; gap: 7px; padding-top: 7px; margin-top: 7px; flex: 1; }
.ivz-row + .ivz-row { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.ivz-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 7px; flex: 0 0 auto;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.28);
  color: #b59cff;
}
.ivz-ic svg { width: 11px; height: 11px; }
.ivz-row-t { flex: 1; min-width: 0; }
.ivz-row-t b { display: block; font-family: var(--f-body); font-size: 9.5px; font-weight: 700; color: #f4f4f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ivz-row-t i { display: block; font-family: var(--f-body); font-style: normal; font-size: 8px; color: rgba(255, 255, 255, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ivz-row em { font-family: var(--f-mono); font-style: normal; font-size: 8.5px; color: rgba(255, 255, 255, 0.45); }
.ivz-eq { display: flex; align-items: flex-end; gap: 2px; height: 11px; }
.ivz-eq i {
  width: 2.5px; height: 100%; border-radius: 2px; background: var(--purple);
  transform-origin: bottom; will-change: transform;
  animation: ivz-eq 0.9s ease-in-out infinite alternate;
}
.ivz-eq i:nth-child(2) { animation-delay: 0.18s; }
.ivz-eq i:nth-child(3) { animation-delay: 0.36s; }
.ivz-eq i:nth-child(4) { animation-delay: 0.54s; }
@keyframes ivz-eq { from { transform: scaleY(0.4); } to { transform: scaleY(1); } }
.ivz-pill {
  font-family: var(--f-mono);
  font-size: 8px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #c9b7ff;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.40);
  padding: 2px 7px; border-radius: 99px;
}
.ivz-load { display: flex; gap: 3px; }
.ivz-load i {
  width: 4px; height: 4px; border-radius: 50%; background: var(--purple);
  animation: ivz-load 1.2s ease-in-out infinite;
}
.ivz-load i:nth-child(2) { animation-delay: 0.2s; }
.ivz-load i:nth-child(3) { animation-delay: 0.4s; }
@keyframes ivz-load { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ---- diagrama ORBITAL (card Liquidez) — anéis em sentidos opostos;
   satélites contra-rotacionam p/ ficarem sempre na vertical ---- */
.ivz-orbit {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  /* contém o diagrama dentro do visual (anel externo de 204px
     vazava do card) — escala mantém proporções e animações */
  transform: scale(0.74);
}
.ivz-ring {
  position: absolute;
  border: 1px dashed rgba(12, 14, 20, 0.18);
  border-radius: 50%;
  will-change: transform;
}
.ivz-ring--1 { width: 134px; height: 134px; animation: ivz-spin 60s linear infinite; }
.ivz-ring--2 { width: 204px; height: 204px; animation: ivz-spin-rev 90s linear infinite; }
@keyframes ivz-spin     { to { transform: rotate(360deg); } }
@keyframes ivz-spin-rev { to { transform: rotate(-360deg); } }
.ivz-ring-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: rgba(12, 14, 20, 0.30); }
.ivz-ring--1 .ivz-ring-dot { bottom: -3px; left: calc(50% - 3px); }
.ivz-ring--2 .ivz-ring-dot { top: calc(50% - 3px); right: -3px; }
.ivz-sat {
  position: absolute;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: #14141c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(12, 14, 20, 0.28);
  color: #b59cff;
  will-change: transform;
}
.ivz-sat svg { width: 15px; height: 15px; }
.ivz-ring--1 .ivz-sat { top: -17px; left: calc(50% - 17px); animation: ivz-spin-rev 60s linear infinite; }
.ivz-ring--2 .ivz-sat { top: calc(50% - 17px); left: -17px; animation: ivz-spin 90s linear infinite; }
.ivz-core {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 17px;
  background: #14141c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(12, 14, 20, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.ivz-core-bars { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.ivz-core-bars i { width: 4.5px; border-radius: 2px; background: var(--purple); }
.ivz-core-bars i:nth-child(1) { height: 45%; opacity: 0.55; }
.ivz-core-bars i:nth-child(2) { height: 75%; opacity: 0.78; }
.ivz-core-bars i:nth-child(3) { height: 100%; }

/* a11y: sem loops infinitos para quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  .ivz-ring, .ivz-sat, .ivz-eq i, .ivz-live, .ivz-load i { animation: none; }
}

@media (max-width: 1023px) {
  /* layout mobile da dobra: título no fluxo (sem absolute) + cards
     empilhados com altura livre — nada sobrepõe nada */
  .imv-depth-stage {
    display: block;
    height: auto;
    min-height: 0;
    padding: 72px 20px;
  }
  .imv-depth-title {
    position: static;
    padding: 0;
    margin-bottom: 28px;
  }
  .imv-cardrow {
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 18px;
  }
  .imv-card {
    width: min(100%, 380px);
    height: auto;
    min-height: 0;
  }
  /* visuais com altura garantida: o widget de status (absoluto dentro
     do visual) precisa desse espaço p/ não vazar sobre o título */
  .imv-visual { min-height: 215px; }
}

/* ---------- GRÃO DE FILME (overlay global, estático = leve) ---------- */
#grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.040;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 768px) {
  .nav-actions, .nav-links { display: none; }
  .nav-burger { display: block; }

  /* hero blocado em 1 tela: tipografia e respiros reduzidos */
  .hero-content { padding: 0 22px; }
  .badge { height: 34px; margin-bottom: 20px; }
  .badge .label { font-size: 9.5px; letter-spacing: 0.08em; }
  .hero-content h1 {
    font-size: clamp(30px, 8.6vw, 40px);
    line-height: 1.08;
    margin-bottom: 14px;
  }
  .hero-content p {
    font-size: 15px;
    line-height: 1.5;
    max-width: 34ch;
    margin-bottom: 24px;
  }
  .btn-hero { padding: 13px 24px; }
  .hero-ctas { flex-direction: column; width: 100%; max-width: 320px; gap: 10px; }
  .hero-tags { margin-top: 22px; gap: 8px 12px; }
  .hero-tags li { font-size: 9.5px; letter-spacing: 0.12em; gap: 12px; }
}
/* telas baixas (landscape/phones pequenos): tags saem p/ o hero caber em 100dvh */
@media (max-width: 768px) and (max-height: 700px) {
  .hero-tags { display: none; }
}
@media (max-width: 520px) {
  .nav { padding: 18px 20px; }
}

/* ════════════════════════════════════════════════════════════════
   DOBRA 04 — "Vantagens de Investir com base em Ciclos" (.adv-)
   Portada do projeto anterior e adaptada ao Design System v1.0:
   DM Sans (H2, eyebrow) · Inter (body) · paleta
   roxa · fundo "gelo" #e9ebef (dá sequência à dobra 03 / jornada).
   Animações em adv.js (parallax convergente + arcos stroke-draw).
   ════════════════════════════════════════════════════════════════ */
.adv {
  position: relative;
  z-index: 8;
  /* gelo nas bordas (emenda com a jornada acima e a .spec abaixo);
     lavanda sutil no miolo → os cards brancos ganham destaque */
  background: linear-gradient(180deg, #e9ebef 0%, #ece9f4 32%, #eae6f3 68%, #e9ebef 100%);
  color: #0c0e14;
  padding: 120px 24px 160px;
}
.adv-inner { max-width: 1140px; margin: 0 auto; }
.adv-head { margin-bottom: 48px; }

/* eyebrow no padrão do DS (mono caixa alta + anel, igual .imj-eyebrow) */
.adv-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);
}
.adv-eyebrow::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%;
  border: 1.5px solid rgba(139, 92, 246, 0.6);
}
.adv-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: 760px;
}
.adv-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;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.adv-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(12, 14, 20, 0.08);
  border-radius: 22px; /* mesmo raio dos .imv-card */
  padding: 30px 28px 34px;
  /* sombra de BASE: card já "flutua" sobre o fundo mesmo sem hover */
  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);
  /* o MOVIMENTO do hover (lift/tilt) é feito via GSAP em adv.js — o transform
     inline da entrada sobrepõe transform de :hover no CSS */
  transition: box-shadow 0.45s ease, border-color 0.45s ease;
  will-change: transform;
}
.adv-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 34px 80px rgba(12, 14, 20, 0.14), 0 6px 18px rgba(12, 14, 20, 0.06);
}

/* brilho que VARRE o card no hover */
.adv-card::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(124, 58, 237, 0.07) 50%, transparent 62%);
  background-size: 260% 100%;
  background-position: 130% 0;
  transition: background-position 0.9s cubic-bezier(0.25, 0.6, 0.2, 1);
}
.adv-card:hover::after { background-position: -30% 0; }

/* arco decorativo no canto superior direito — gira/avança no hover */
.adv-arc {
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  pointer-events: none;
  transform-origin: 100% 0%;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.5s ease;
}
.adv-card:hover .adv-arc { transform: rotate(9deg) scale(1.08); opacity: 1; }

/* ícone em CHIP — preenche roxo no hover, ícone vira branco */
.adv-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  color: var(--purple-dark);
  background: rgba(124, 58, 237, 0.08);
  border-radius: 14px;
  margin-bottom: 48px; /* espaço até o título, deixando o arco respirar */
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
.adv-ico svg { width: 26px; height: 26px; }
.adv-card:hover .adv-ico {
  background: var(--purple-dark);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.38);
}

.adv-card-title {
  font-family: var(--f-section);
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em;
  color: #0c0e14;
  margin-bottom: 10px;
  transition: color 0.35s ease;
}
.adv-card:hover .adv-card-title { color: #5b21b6; }
.adv-card-desc {
  font-family: var(--f-body);
  font-size: 14px; line-height: 1.6;
  color: rgba(12, 14, 20, 0.62);
  max-width: 30ch;
  transition: color 0.35s ease;
}
.adv-card:hover .adv-card-desc { color: rgba(12, 14, 20, 0.72); }

@media (max-width: 920px) {
  .adv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .adv { padding: 90px 20px 100px; }
  .adv-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* ════════════════════════════════════════════════════════════════
   DOBRA 05 — Especialista (Mayra Akemi) (.spec-)
   Portada do projeto anterior e adaptada ao DS: Plus Jakarta Sans
   (nome) · DM Sans (H2) · Inter (bio) · mono (role/tags) · fundo
   gelo contínuo. Animações em spec.js (reveal + parallax na foto).
   ════════════════════════════════════════════════════════════════ */
.spec {
  position: relative;
  z-index: 9;
  background: transparent; /* deixa a água fixa (#water-bg) aparecer atrás */
  color: #0c0e14;
  padding: 110px 24px 160px;
}
/* degradê no topo: funde o gelo da .adv (acima) na água → sem corte duro */
.spec::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 300px;
  background: linear-gradient(180deg, #e9ebef 0%, rgba(233, 235, 239, 0) 100%);
  z-index: 0; /* acima da água (atrás do conteúdo) */
  pointer-events: none;
}
.spec-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; } /* acima do #water-bg e do degradê */
.spec-title {
  margin-top: 16px;
  font-family: var(--f-section);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #0c0e14;
  max-width: 880px;
  margin-bottom: 60px;
}
.spec-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;
}

.spec-body {
  display: grid;
  grid-template-columns: 0.85fr 1fr 0.95fr;
  gap: 44px;
  align-items: stretch;
}

/* coluna esquerda: nome/cargo no topo, tags embaixo */
.spec-meta { display: flex; flex-direction: column; }
.spec-name {
  font-family: var(--f-display);
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.02em;
  color: #0c0e14;
  margin-bottom: 8px;
}
.spec-role {
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(12, 14, 20, 0.65);
}
.spec-tags {
  list-style: none; margin-top: auto; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 20px;
}
.spec-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);
}
.spec-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;
}

/* foto (parallax vertical via spec.js) */
.spec-photo {
  will-change: transform;
  border-radius: 16px;
  overflow: hidden; /* a foto desliza dentro da moldura no parallax */
}
.spec-photo img {
  display: block; width: 100%; height: 100%;
  max-height: 380px; object-fit: cover;
  border-radius: 16px;
}

/* bio */
.spec-bio { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.spec-bio p {
  font-family: var(--f-body);
  font-size: 16px; line-height: 1.75;
  color: rgba(12, 14, 20, 0.62);
}

@media (max-width: 860px) {
  .spec-body { grid-template-columns: 1fr 1fr; gap: 32px; }
  .spec-meta { order: 1; }
  .spec-photo { order: 2; }
  .spec-bio { order: 3; grid-column: 1 / -1; }
  .spec-tags { margin-top: 24px; }
}
@media (max-width: 560px) {
  .spec { padding: 80px 20px 110px; }
  .spec-body { grid-template-columns: 1fr; }
  .spec-photo img { max-height: 420px; }
}

/* ════════════════════════════════════════════════════════════════
   DOBRA 06 — Depoimentos (carrossel) (.tst-)
   Portada do projeto anterior e adaptada ao DS: DM Sans (H2) ·
   Inter (texto) · mono (eyebrow/role) · fundo gelo contínuo.
   Setas/reveal em tst.js.
   ════════════════════════════════════════════════════════════════ */
.tst {
  position: relative;
  z-index: 10;
  background: transparent; /* deixa a água fixa (#water-bg) continuar atrás */
  color: #0c0e14;
  padding: 40px 24px 150px;
}
.tst-panel {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;            /* recorta os cards do carrossel na borda */
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 14, 20, 0.08);
  border-radius: 28px;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 30px 70px rgba(12, 14, 20, 0.07);
  padding: 46px 48px 50px;
}

/* cabeçalho */
.tst-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  margin-bottom: 26px;
}
.tst-title {
  margin: 16px 0 12px;
  font-family: var(--f-section);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #0c0e14;
}
.tst-lead {
  font-family: var(--f-body);
  font-size: 15px;
  color: rgba(12, 14, 20, 0.62);
}

/* setas */
.tst-nav { display: flex; gap: 12px; flex: 0 0 auto; }
.tst-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  background: #dfe2e8; color: #0c0e14;
  transition: background 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}
.tst-arrow svg { width: 18px; height: 18px; }
.tst-arrow:hover { transform: translateY(-2px); }
.tst-arrow--dark { background: var(--purple-dark); color: #fff; }
.tst-arrow:disabled { opacity: 0.4; cursor: default; transform: none; }

.tst-divider { height: 1px; background: rgba(12, 14, 20, 0.08); margin: 0 0 34px; }

/* trilho / carrossel */
.tst-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;             /* Firefox */
  -ms-overflow-style: none;          /* IE/Edge */
  padding-bottom: 4px;
}
.tst-track::-webkit-scrollbar { display: none; }   /* Chrome/Safari */

/* card */
.tst-card {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);  /* 3 visíveis (2 gaps de 24px) */
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(12, 14, 20, 0.08);
  border-radius: 16px;
  padding: 28px 26px 24px;
  min-height: 280px;
}
.tst-quote {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--f-display);
  font-size: 56px; line-height: 1; color: #d3d3dd;
  pointer-events: none;
}
.tst-text {
  font-family: var(--f-body);
  font-style: italic; font-size: 14.5px; line-height: 1.65;
  color: rgba(12, 14, 20, 0.72);
  margin-bottom: 22px;
}
.tst-author {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid rgba(12, 14, 20, 0.08);
}
.tst-avatar {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--purple-dark); color: #fff;
  font-family: var(--f-display);
  font-size: 15px; font-weight: 600;
}
.tst-name {
  font-family: var(--f-body);
  font-size: 14px; font-weight: 700; color: #0c0e14;
}
.tst-role {
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(12, 14, 20, 0.65);
}

@media (max-width: 860px) {
  .tst-panel { padding: 36px 30px 40px; }
  .tst-card { flex-basis: calc((100% - 24px) / 2); }   /* 2 visíveis */
}
@media (max-width: 560px) {
  .tst-head { flex-direction: column; }
  .tst-card { flex-basis: 86%; }                        /* ~1 por vez */
}

/* ════════════════════════════════════════════════════════════════
   DOBRA 07 — CTA (.cta-) — bloco escuro premium.
   Card azul-preto profundo com névoa orgânica sutil no fundo,
   conteúdo 100% centralizado. A cauda "infinita" (camadas via
   cta.js) continua: agora dissolve do escuro → gelo do fundo.
   ════════════════════════════════════════════════════════════════ */
.cta {
  position: relative;
  z-index: 11;
  background: transparent; /* deixa a água fixa (#water-bg) continuar atrás */
  padding: 60px 24px 150px;
}
/* degradê no rodapé da dobra: funde a água de volta no gelo antes do
   rodapé escuro (sem corte duro no fim) */
.cta::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(0deg, #e9ebef 0%, rgba(233, 235, 239, 0) 100%);
  z-index: -1;            /* atrás do conteúdo, sobre a água */
  pointer-events: none;
}
.cta-stack { position: relative; max-width: 1180px; margin: 0 auto; } /* mesma largura do painel de Depoimentos */

/* CAUDA "infinita": camadas geradas via JS (cta.js), SEM sombra.
   DEGRADÊ DE COR: do azul-preto do card → cinza → gelo
   (a cor de cada camada é setada no cta.js); motion contínuo */
.cta-ghost {
  position: absolute; inset: 0;
  z-index: 0;
  border: 1px solid rgba(12, 14, 20, 0.08);
  border-radius: 32px;
  box-shadow: none;
  pointer-events: none;
  will-change: transform, opacity;
}

/* card principal ESCURO — azul-preto profundo, bastante respiro,
   tudo centralizado; a cauda dá a profundidade externa */
.cta-card {
  position: relative;
  z-index: 2;
  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;
}

/* névoa orgânica no fundo do bloco: manchas suaves quase imperceptíveis,
   com deriva lenta (profundidade sem poluir) */
.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%),
    radial-gradient(24% 30% at 64% 16%, rgba(157, 211, 255, 0.05), transparent 70%),
    radial-gradient(26% 34% at 38% 86%, rgba(242, 183, 220, 0.04), transparent 70%);
  animation: cta-mist 18s ease-in-out infinite alternate;
}
@keyframes cta-mist {
  from { transform: translate3d(-2.5%, -2%, 0) rotate(-1.5deg); }
  to   { transform: translate3d(2.5%, 2%, 0) rotate(1.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-card::before { animation: none; }
}

/* conteúdo acima da névoa */
.cta-card > * { position: relative; z-index: 1; }

/* detalhe visual discreto no topo central */
.cta-ico {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  margin-bottom: 30px;
}
.cta-ico svg { width: 24px; height: 24px; }

/* headline grande e impactante (display do DS) — 2 linhas padronizadas:
   "Seu próximo movimento / financeiro começa agora" (.cta-br força a quebra) */
.cta-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
  max-width: none; margin: 0 auto;
}
.cta-title .cta-br { display: block; }
.cta-sub {
  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;
}

/* ações centralizadas: primário claro + secundário ghost */
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}

/* botão principal CLARO (contraste com o bloco escuro) */
.cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #ffffff;
  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;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(139, 92, 246, 0.30);
}
.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);
}
.cta-btn-ic svg { width: 16px; height: 16px; }

/* secundário discreto (texto/ghost) */
.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;
}
.cta-link svg { width: 14px; height: 14px; }
.cta-link:hover { color: #ffffff; gap: 12px; }

@media (max-width: 560px) {
  .cta-card { padding: 56px 24px 52px; border-radius: 26px; }
  .cta-ghost { border-radius: 26px; }
}

/* ════════════════════════════════════════════════════════════════
   RODAPÉ (.foot-) — portado do projeto anterior, adaptado ao DS:
   Plus Jakarta Sans (brand, via .brand) · DM Sans (h4) · Inter
   (links/texto) · wordmark gigante apagado no fundo.
   ════════════════════════════════════════════════════════════════ */
.foot {
  position: relative;
  z-index: 13;
  overflow: hidden;
  background: #131217;
  color: #fff;
  padding: 56px 24px 0;
}
.foot-inner {
  position: relative;
  z-index: 1;            /* acima do wordmark de fundo */
  max-width: 1140px;
  margin: 0 auto;
  padding-bottom: 150px; /* reserva espaço p/ o wordmark grande */
}

.foot-top {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 26px;
}
.brand--foot { color: #fff; }
.brand--foot .bars i:nth-child(1) { background: #818cf8; }
.brand--foot .bars i:nth-child(2) { background: var(--purple); }
.brand--foot .bars i:nth-child(3) { background: var(--purple-dark); }
.foot-nav { display: flex; gap: 34px; flex-wrap: wrap; }
.foot-nav a {
  font-family: var(--f-body);
  font-size: 14px; color: rgba(255, 255, 255, 0.65); text-decoration: none;
  transition: color 0.25s ease;
}
.foot-nav a:hover, .foot-nav a.active { color: #fff; }

.foot-divider { height: 1px; background: rgba(255, 255, 255, 0.10); }

.foot-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.35fr;
  gap: 30px;
  padding: 36px 0 30px;
}
/* label de coluna (hierarquia DS: caption mono apagada acima do conteúdo) */
.foot-col h4 {
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}
.foot-col p {
  font-family: var(--f-body);
  font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.72);
}

.foot-bullets { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-bullets li { display: flex; align-items: flex-start; gap: 9px; }
.foot-bullets li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  border: 1.5px solid rgba(139, 92, 246, 0.45); margin-top: 5px; flex: 0 0 auto;
}
.foot-bullets li, .foot-bullets a {
  font-family: var(--f-body);
  font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.72);
  text-decoration: none; transition: color 0.25s ease;
}
.foot-bullets a:hover { color: #fff; }

/* barra final: separada por divisor, privacidade ↔ copyright nas pontas */
.foot-bottom {
  margin-top: 34px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 10px 24px;
}
.foot-privacy {
  font-family: var(--f-body);
  font-size: 13px; color: rgba(255, 255, 255, 0.6); text-decoration: none;
  transition: color 0.25s ease;
}
.foot-privacy:hover { color: #fff; }
.foot-copy {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}

/* wordmark gigante e bem apagado, recortado no rodapé */
.foot-wordmark {
  position: absolute;
  bottom: -22px; left: 0;
  width: 100%;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
  display: block;
}

@media (max-width: 860px) {
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-top { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 520px) {
  .foot-cols { grid-template-columns: 1fr; }
  .foot-inner { padding-bottom: 120px; }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE — ritmo vertical unificado entre as dobras.
   Mantido no FIM da folha para vencer as regras-base de cada seção.
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .imj-journey { padding: 72px 0; }
  .adv { padding: 72px 20px; }
  .spec { padding: 72px 20px 96px; }
  .tst { padding: 24px 16px 96px; }
  .cta { padding: 48px 16px 110px; }
}
