/* v45 — prioridade visual: fundo atrás, conteúdo acima, transparência discreta nos cards */

/* O overlay animado permanece acima do canvas, mas atrás de todo o conteúdo da Home. */
body.cash-pasted9-bg-v40 > #root .ai-system-overlay {
  position: absolute !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* O shell cria uma camada própria acima do fundo e do overlay de partículas. */
body.cash-pasted9-bg-v40 > #root .cash-shell {
  position: relative !important;
  z-index: 1 !important;
}

/* Header, texto do hero e saquinho ficam inequivocamente acima das partículas. */
body.cash-pasted9-bg-v40 > #root .cash-shell .cash-header,
body.cash-pasted9-bg-v40 > #root .cash-shell .cash-introduction,
body.cash-pasted9-bg-v40 > #root .cash-shell .cash-introduction-copy,
body.cash-pasted9-bg-v40 > #root .cash-shell .cash-introduction-bag {
  position: relative !important;
  z-index: 3 !important;
}

body.cash-pasted9-bg-v40 > #root .cash-shell .cash-introduction-copy h1,
body.cash-pasted9-bg-v40 > #root .cash-shell .cash-introduction-copy p,
body.cash-pasted9-bg-v40 > #root .cash-shell .cash-introduction-copy button,
body.cash-pasted9-bg-v40 > #root .cash-shell .cash-introduction-copy span {
  position: relative !important;
  z-index: 4 !important;
  opacity: 1 !important;
}

/* Cards superiores: ainda fechados e legíveis, com passagem muito discreta do fundo. */
body.cash-pasted9-bg-v40 > #root .cash-shell #ct-section,
body.cash-pasted9-bg-v40 > #root .cash-shell #ct-section .ct-card {
  position: relative !important;
  z-index: 2 !important;
}

body.cash-pasted9-bg-v40 > #root .cash-shell #ct-section .ct-card .ct-body {
  background: linear-gradient(145deg, rgba(15,40,19,.90) 0%, rgba(8,20,11,.94) 100%) !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Os três blocos do prompt8 ficam acima do overlay e deixam apenas um sinal fraco passar. */
body.cash-pasted9-bg-v40 > #root [data-prompt8-mounted="true"] > div > div {
  position: relative !important;
  z-index: 2 !important;
}

body.cash-pasted9-bg-v40 > #root [data-prompt8-mounted="true"] > div > .glow-card > div:first-child {
  background: linear-gradient(160deg, rgba(11,33,24,.88) 0%, rgba(7,21,16,.92) 100%) !important;
  z-index: 0 !important;
}

body.cash-pasted9-bg-v40 > #root [data-prompt8-mounted="true"] > div > .glow-card > div:nth-child(2),
body.cash-pasted9-bg-v40 > #root [data-prompt8-mounted="true"] > div > div:nth-child(2) {
  position: relative !important;
  z-index: 3 !important;
}

/* Suporte com transparência leve, sem permitir que partículas cubram a escrita. */
body.cash-pasted9-bg-v40 > #root [data-prompt8-mounted="true"] > div > div:nth-child(2) {
  background: linear-gradient(125deg, rgba(14,66,40,.90) 0%, rgba(27,107,68,.92) 45%, rgba(12,54,32,.90) 100%) !important;
}

body.cash-pasted9-bg-v40 > #root [data-prompt8-mounted="true"] > div > div:nth-child(2) > div:not(:first-child) {
  position: relative !important;
  z-index: 3 !important;
}


/* v46: precedência específica para a estrutura real publicada. */
body.cash-pasted9-bg-v40 > #root .cash-shell.cash-first-visual-exact .ai-system-overlay {
  position: absolute !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

body.cash-pasted9-bg-v40 > #root .cash-shell.cash-first-visual-exact .cash-main > :not(.ai-system-overlay) {
  position: relative !important;
  z-index: 1 !important;
}

body.cash-pasted9-bg-v40 > #root .cash-shell.cash-first-visual-exact .cash-introduction,
body.cash-pasted9-bg-v40 > #root .cash-shell.cash-first-visual-exact .cash-introduction-copy,
body.cash-pasted9-bg-v40 > #root .cash-shell.cash-first-visual-exact .cash-introduction-bag,
body.cash-pasted9-bg-v40 > #root .cash-shell.cash-first-visual-exact .cash-header {
  position: relative !important;
  z-index: 3 !important;
}

body.cash-pasted9-bg-v40 > #root .cash-shell.cash-first-visual-exact .ct-body {
  background: linear-gradient(145deg, rgba(15,40,19,.90) 0%, rgba(8,20,11,.94) 100%) !important;
  position: relative !important;
  z-index: 2 !important;
}

body.cash-pasted9-bg-v40 > #root .cash-shell.cash-first-visual-exact .glow-card {
  position: relative !important;
  z-index: 2 !important;
}

body.cash-pasted9-bg-v40 > #root .cash-shell.cash-first-visual-exact .glow-card > div:first-child {
  background: linear-gradient(160deg, rgba(11,33,24,.88) 0%, rgba(7,21,16,.92) 100%) !important;
  z-index: 0 !important;
}

body.cash-pasted9-bg-v40 > #root .cash-shell.cash-first-visual-exact .glow-card > div:nth-child(2) {
  position: relative !important;
  z-index: 3 !important;
}

body.cash-pasted9-bg-v40 > #root .cash-shell.cash-first-visual-exact .glow-card + div {
  position: relative !important;
  z-index: 2 !important;
  background: linear-gradient(125deg, rgba(14,66,40,.90) 0%, rgba(27,107,68,.92) 45%, rgba(12,54,32,.90) 100%) !important;
}

body.cash-pasted9-bg-v40 > #root .cash-shell.cash-first-visual-exact .glow-card + div > div:not(:first-child) {
  position: relative !important;
  z-index: 3 !important;
}

/* v48: no mobile, camada de leitura somente na faixa acima do saquinho. */
@media (max-width: 600px) {
  body.cash-pasted9-bg-v40 > #root .cash-shell.cash-first-visual-exact .cash-introduction::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 0 34% 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(
      to bottom,
      rgba(1, 15, 5, .72) 0%,
      rgba(1, 15, 5, .48) 48%,
      rgba(1, 15, 5, 0) 100%
    ) !important;
  }
}
