.slide-card.pix-card,
.pv-real.pix-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 6px;
  padding: clamp(12px, 5%, 24px);
  background: linear-gradient(145deg, #f5faf6 5%, #e3f3eb 72%, #d7ede3);
  color: #173b33;
  font-family: var(--fonte, 'Ubuntu', sans-serif);
  cursor: default;
}

.pix-card-cabecalho span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #d6e8e0;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
}

.pix-card .pix-card-cabecalho img { width: 16px; height: 16px; }
.pix-card-arte { display: grid; place-items: center; min-height: 0; margin-inline: -7px; }
.pix-cena { display: block; width: 100%; height: 100%; min-height: 0; }

.pix-card-rodape { min-width: 0; text-align: center; }
.pix-card-nome {
  color: #123c32;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pix-card-acoes { display: grid; gap: 6px; }
.pix-card .btn-copiar-pix {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 44px;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: var(--botao-radius, 999px);
  background: #086959;
  color: #fff;
  font: 500 13px/1.25 var(--fonte, 'Ubuntu', sans-serif);
}
.pix-card button.btn-copiar-pix { cursor: pointer; }
.pix-card button.btn-copiar-pix:hover { filter: brightness(.94); }
.pix-card button.btn-copiar-pix:focus-visible { outline: 2px solid #086959; outline-offset: 1px; }
.pix-card .btn-copiar-pix svg { width: 15px; height: 15px; flex-shrink: 0; }
.pix-card .btn-copiar-pix span { overflow-wrap: anywhere; }
.pix-card .pix-acao-secundaria {
  border-color: #bad9ce;
  color: #165d4e;
  background: #f4faf7;
}
.pix-card-indisponivel { font-size: 12px; padding-block: 8px; }
.pix-card-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.pix-copia-manual {
  position: fixed;
  inset: 0;
  width: min(360px, calc(100% - 32px));
  height: fit-content;
  margin: auto;
  padding: 20px;
  border: 0;
  border-radius: 20px;
  color: #173b33;
  background: #fff;
  font: 400 14px/1.45 'Ubuntu', sans-serif;
}
.pix-copia-manual::backdrop { background: #132c2566; }
.pix-copia-manual p { margin-block: 6px 10px; }
.pix-copia-manual input {
  width: 100%;
  padding: 8px;
  border: 1px solid #bad9ce;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
}
.pix-copia-manual button {
  margin-top: 14px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: #086959;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.pix-pulso { transform-origin: 169px 90px; }

@media (prefers-reduced-motion: no-preference) {
  .pix-card-ativo .pix-mao-esquerda { animation: pix-aproximar-esquerda 4.8s ease-in-out infinite; }
  .pix-card-ativo .pix-mao-direita { animation: pix-aproximar-direita 4.8s ease-in-out infinite; }
  .pix-card-ativo .pix-pulso { animation: pix-pulso-contato 4.8s ease-out infinite; }
}

@keyframes pix-aproximar-esquerda {
  0%, 100% { transform: translateX(-9px); }
  36%, 70% { transform: translateX(10px); }
}
@keyframes pix-aproximar-direita {
  0%, 100% { transform: translateX(10px); }
  36%, 70% { transform: translateX(-16px); }
}
@keyframes pix-pulso-contato {
  0%, 31%, 86%, 100% { opacity: 0; transform: scale(.78); }
  46%, 67% { opacity: 1; transform: scale(1.1); }
}
