/* Soares Marketing — Pix checkout (estilo app de banco)
   Paleta original: preto, verde #00e676, lime #5cff1a, cinza #a0aaa2.
   Referência: apps de banco digitais (cartão-saldo, ações circulares,
   abas segmentadas, listas agrupadas, botão fixo inferior). Sem linhas divisórias. */

:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #0e100f;
  --surface-2: #161a17;
  --surface-3: #1e231f;
  --ink: #fff;
  --ink-2: #dfe5e0;
  --muted: #a0aaa2;
  --muted-2: #6c766f;
  --green: #00e676;
  --green-hover: #5cff9f;
  --lime: #5cff1a;
  --green-ink: #02150a;
  --green-soft: rgba(0, 230, 118, .12);

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;

  --font: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --col: 460px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
p, h1, h2, h3, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; }
svg { flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
:where(a, button, input):focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 360px at 50% -80px, rgba(0, 230, 118, .16), transparent 70%),
    radial-gradient(400px 300px at 100% 100%, rgba(92, 255, 26, .05), transparent 70%);
}

/* ---------- Coluna do app ---------- */
.app {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 18px calc(120px + env(safe-area-inset-bottom));
}

/* Barra superior */
.appbar {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.appbar-brand img { width: 84px; height: auto; mix-blend-mode: screen; }
.chip-status {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 12px;
  background: var(--green-soft);
  border-radius: 999px;
  color: var(--green);
  font-size: 12px; font-weight: 700;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2.4s var(--ease) infinite; }
.chip-status.off { background: var(--surface-2); color: var(--muted); }
.chip-status.off .dot { animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,230,118,.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(0,230,118,0); } }

/* Saudação */
.greeting { padding: 14px 4px 18px; }
.greeting-small { color: var(--muted); font-size: 14px; font-weight: 500; }
.greeting-name {
  margin-top: 2px;
  font-size: 24px; font-weight: 700;
  letter-spacing: -.025em; line-height: 1.2;
}

/* ---------- Cartão Platinum (palco) ---------- */
.card-stage {
  position: relative;
  margin: 4px -18px 0;
  padding: 44px 18px 30px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.stage-deco {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* desvanece suavemente nas bordas em vez de cortar seco */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 26%, #000 70%, transparent 100%);
}
.ring {
  position: absolute; left: 50%; top: 42%;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.r1 { width: 300px; height: 300px; }
.r2 { width: 470px; height: 470px; border-color: rgba(255,255,255,.045); }
.r3 { width: 660px; height: 660px; border-color: rgba(255,255,255,.03); }
.diamond {
  position: absolute; left: 50%; top: 42%;
  width: 250px; height: 250px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.035), transparent 60%);
  transform: translate(-50%, -50%) rotate(45deg);
}
.shard {
  position: absolute;
  width: 130px; height: 130px;
  filter: blur(5px);
  opacity: .6;
  animation: float 7s ease-in-out infinite;
}
.s1 { left: 4px; top: 6%; width: 104px; height: 104px; transform: rotate(-16deg); }
.s2 { right: 0; top: 56%; width: 120px; height: 120px; transform: rotate(14deg); animation-delay: -3.5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.card-wrap {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
  perspective: 1000px;
  animation: rise .8s var(--ease) both;
}
.card-back {
  position: absolute; left: 9%; right: 9%; top: -14px; height: 60%;
  border-radius: 18px;
  background: linear-gradient(120deg, #5cff1a, #00e676 50%, #009e52);
  box-shadow: 0 0 40px rgba(0,230,118,.35);
}
.card-back::after {
  content: ""; position: absolute; left: 7%; right: 7%; top: -9px; height: 30px;
  border-radius: 14px 14px 0 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-bottom: 0;
  z-index: -1;
}

.pcard {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
  position: relative; overflow: hidden;
  aspect-ratio: 1.586;
  padding: 18px 20px;
  display: flex; flex-direction: column; justify-content: space-between;
  text-align: left;
  border-radius: 18px;
  background:
    repeating-linear-gradient(100deg, rgba(255,255,255,.012) 0 2px, transparent 2px 4px),
    radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.09), transparent 45%),
    linear-gradient(140deg, #1f2221 0%, #0d0f0e 45%, #141716 75%, #090a0a 100%);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow:
    0 40px 70px -25px rgba(0,0,0,.9),
    0 0 0 1px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .4s var(--ease);
}
.pcard-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,255,255,.10), transparent 60%);
  mix-blend-mode: screen;
}
.pcard-panel {
  /* painel geométrico como na referência */
  position: absolute; right: 0; bottom: 0;
  width: 46%; height: 62%;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border-top: 1px solid rgba(255,255,255,.08);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%, 0 26%);
  pointer-events: none;
}
.pcard-panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 70% at 70% 65%, rgba(0,230,118,.14), transparent 70%);
}

.pcard-top { display: flex; align-items: flex-start; justify-content: space-between; position: relative; }
.pcard-chips { display: flex; align-items: center; gap: 10px; }
.emv {
  position: relative;
  width: 38px; height: 28px; border-radius: 6px;
  background: linear-gradient(135deg, #e8ebe9 0%, #9aa29d 40%, #d9dedb 60%, #7d8580 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
}
.emv::before, .emv::after {
  content: ""; position: absolute; inset: 6px 0;
  border-top: 1px solid rgba(0,0,0,.28); border-bottom: 1px solid rgba(0,0,0,.28);
}
.emv::after { inset: 0 13px; border: 0; border-left: 1px solid rgba(0,0,0,.28); border-right: 1px solid rgba(0,0,0,.28); }
.nfc { width: 20px; height: 20px; color: rgba(255,255,255,.55); }
.pcard-holder { text-align: right; line-height: 1.25; }
.pcard-holder span {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.pcard-holder b {
  display: block;
  font-size: 10px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase;
  background: linear-gradient(90deg, #f4f6f5, #9ba49f, #f4f6f5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.pcard-mid { position: relative; }
.pcard-label { color: rgba(255,255,255,.55); font-size: 11.5px; font-weight: 500; }
.pcard-amount {
  margin-top: 2px;
  font-size: 30px; font-weight: 700;
  letter-spacing: -.03em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #b9c2bd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.pcard-bottom { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pcard-number {
  margin-top: 3px;
  font-size: 16px; font-weight: 600;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  color: #eef1ef;
}
.pix-logo {
  width: 54px; height: 54px; flex: none;
  filter: drop-shadow(0 6px 16px rgba(0,230,118,.45));
}

.stage-title {
  margin-top: 30px;
  font-size: 20px; font-weight: 700; letter-spacing: -.02em;
}
.stage-title span { color: var(--green); }
.stage-sub { margin: 6px auto 0; max-width: 30ch; color: var(--muted); font-size: 13.5px; }

@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.97); } }

/* ---------- Motion de luxo: luz na borda prateada ---------- */
@property --edge-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.pcard-edge {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: 17px;
  padding: 1px;
  background: conic-gradient(from var(--edge-angle),
    transparent 0deg,
    transparent 240deg,
    rgba(0, 230, 118, .25) 275deg,
    #00e676 296deg,
    #d8ffe9 305deg,
    #5cff1a 314deg,
    rgba(92, 255, 26, .25) 335deg,
    transparent 360deg);
  filter: drop-shadow(0 0 2px rgba(0, 230, 118, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: edge-spin 8s linear infinite;
}
@keyframes edge-spin { to { --edge-angle: 360deg; } }

/* faixa de luz que atravessa o cartão de tempos em tempos */
.pcard-sweep {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg,
    transparent 38%,
    rgba(255,255,255,.04) 44%,
    rgba(255,255,255,.18) 49%,
    rgba(220,255,235,.06) 53%,
    transparent 60%);
  background-size: 260% 100%;
  background-position: 160% 0;
  mix-blend-mode: screen;
  animation: sweep 6s cubic-bezier(.45,.05,.25,1) 1.2s infinite;
}
@keyframes sweep {
  0% { background-position: 160% 0; }
  38%, 100% { background-position: -60% 0; }
}

/* brilho metálico no texto PLATINUM e no chip */
.pcard-holder b {
  background: linear-gradient(100deg, #8d968f 0%, #f7f9f8 20%, #9ba49f 40%, #ffffff 55%, #8d968f 75%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: metal 4s linear infinite;
}
.emv {
  background:
    linear-gradient(100deg, transparent 30%, rgba(255,255,255,.75) 45%, transparent 60%) 0 0 / 250% 100%,
    linear-gradient(135deg, #e8ebe9 0%, #9aa29d 40%, #d9dedb 60%, #7d8580 100%);
  animation: metal 4s linear infinite;
}
@keyframes metal { from { background-position: 125% 0, 0 0; } to { background-position: -125% 0, 0 0; } }

/* pulsar suave do logo Pix */
.pix-logo { animation: pix-glow 3.2s ease-in-out infinite; }
@keyframes pix-glow {
  0%, 100% { filter: drop-shadow(0 6px 14px rgba(0,230,118,.35)); }
  50% { filter: drop-shadow(0 6px 24px rgba(92,255,26,.7)); }
}

/* contorno do cartão de trás também reflete */
.card-back::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%);
  background-size: 260% 100%;
  animation: sweep 6s cubic-bezier(.45,.05,.25,1) 1.5s infinite;
}

/* desktop: palco mais largo para a decoração respirar ao lado do cartão */
@media (min-width: 820px) {
  .card-stage { margin-inline: -150px; padding-inline: 168px; padding-top: 56px; }
  .stage-deco {
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 45%, #000 55%, transparent 100%);
            mask-image: radial-gradient(ellipse 50% 50% at 50% 45%, #000 55%, transparent 100%);
  }
  .ring { top: 40%; }
  .s1 { left: 9%; top: 12%; width: 120px; height: 120px; }
  .s2 { right: 8%; top: 46%; width: 130px; height: 130px; }
}

@media (max-width: 360px) {
  .pcard { padding: 14px 16px; }
  .pcard-amount { font-size: 25px; }
  .pcard-number { font-size: 14px; }
  .pix-logo { width: 44px; height: 44px; }
}

/* Ações rápidas */
.actions {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 22px 0 26px;
}
.action {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink-2);
}
.action-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2);
  color: var(--ink);
  transition: background .2s var(--ease), transform .15s var(--ease), color .2s;
}
.action-icon svg { width: 22px; height: 22px; }
.action:first-child .action-icon { background: var(--green); color: var(--green-ink); }
.action:hover .action-icon { background: var(--surface-3); }
.action:first-child:hover .action-icon { background: var(--green-hover); }
.action:active .action-icon { transform: scale(.92); }
.action-label { font-size: 12.5px; font-weight: 600; }
.action.is-copied .action-icon { background: var(--lime); color: var(--green-ink); }

/* Painéis */
.panel {
  background: var(--surface);
  border-radius: var(--r-lg);
}

/* Pagamento + abas */
.payment { padding: 6px 6px 22px; scroll-margin-top: 16px; }
.segmented {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 4px;
  background: var(--surface-2);
  border-radius: 16px;
}
.seg {
  position: relative; z-index: 1;
  height: 40px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px; font-weight: 600;
  transition: color .2s;
}
.seg.is-active { color: var(--ink); }
.seg-thumb {
  position: absolute; z-index: 0; top: 4px; left: 4px;
  width: calc(50% - 4px); height: 40px;
  background: var(--surface-3);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  transition: transform .35s var(--ease);
}
.segmented[data-active="key"] .seg-thumb { transform: translateX(100%); }

.tab-view { display: none; padding: 22px 16px 0; animation: fade .3s var(--ease); }
.tab-view.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.qr-tile {
  width: 236px; margin: 0 auto;
  padding: 14px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 0 0 6px var(--surface-2), 0 20px 40px -20px rgba(0, 230, 118, .35);
}
.qr-tile img { width: 208px; height: 208px; object-fit: contain; }

.muted { color: var(--muted); font-size: 13.5px; }
.muted b { color: var(--ink); font-weight: 700; }
.center { text-align: center; margin-top: 20px; }

.field-caption { color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; }
.key-value {
  display: block; width: 100%;
  margin-top: 8px;
  padding: 0; border: 0; outline: 0; background: transparent;
  color: var(--ink);
  font: 800 28px/1.2 var(--font);
  letter-spacing: -.02em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.btn-secondary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 20px auto 0;
  height: 44px; padding: 0 20px;
  background: var(--green-soft);
  border-radius: 999px;
  color: var(--green);
  font-size: 14px; font-weight: 700;
  transition: background .2s var(--ease);
}
.btn-secondary svg { width: 18px; height: 18px; }
.btn-secondary:hover { background: rgba(0,230,118,.2); }

.payment.inactive .qr-tile,
.payment.inactive .key-value { opacity: .3; filter: grayscale(1); }

/* Grupos */
.group { margin-top: 28px; }
.group-title {
  margin: 0 4px 12px;
  font-size: 17px; font-weight: 700; letter-spacing: -.015em;
}

/* Linhas de lista (sem divisórias) */
.list { padding: 6px; }
.row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px;
  border-radius: 16px;
  transition: background .2s var(--ease);
}
a.row:hover { background: var(--surface-2); }
.row > div { flex: 1; min-width: 0; }
.row-icon {
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: var(--green-soft);
  color: var(--green);
  font-size: 15px; font-weight: 800;
}
.row-icon svg { width: 20px; height: 20px; }
.row-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.row-sub { margin-top: 1px; font-size: 13px; color: var(--muted); }
.chev { width: 18px; height: 18px; color: var(--muted-2); transition: transform .2s var(--ease); }
a.row:hover .chev { transform: translateX(3px); color: var(--green); }

/* Como pagar — passos lado a lado */
.steps-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 18px 10px;
}
.steps-row li {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 0 4px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--green-soft);
  color: var(--green);
  font-size: 15px; font-weight: 800;
}
.step-title { margin-top: 12px; font-size: 13.5px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.step-sub { margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.3; }

/* Perfil — estilo perfil de rede social com capa */
.bio-card { position: relative; overflow: hidden; padding: 0; }
.bio-cover {
  position: relative; overflow: hidden;
  height: 92px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(92,255,26,.35), transparent 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(0,230,118,.28), transparent 60%),
    linear-gradient(140deg, #0c2a17, #06140c 60%, #030805);
}
.bio-cover::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(100deg, rgba(255,255,255,.02) 0 2px, transparent 2px 5px);
}
.bio-cover-mark {
  position: absolute; right: -18px; top: -22px;
  width: 130px; height: 130px;
  opacity: .35; filter: blur(2px);
  transform: rotate(-12deg);
}
.bio-body { padding: 0 20px 20px; }
.bio-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-top: -42px;
}
.story-ring {
  position: relative; z-index: 1;
  width: 86px; height: 86px; border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 210deg, var(--lime), var(--green), #00a85a, var(--lime));
  transition: transform .2s var(--ease);
}
.story-ring:hover { transform: scale(1.03); }
.avatar {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--surface);
}
.bio-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 6px;
  padding: 5px 10px;
  background: var(--green-soft);
  border-radius: 999px;
  color: var(--green);
  font-size: 12px; font-weight: 700;
}
.bio-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bio-name {
  margin-top: 12px;
  display: flex; align-items: center; gap: 6px;
  font-size: 21px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15;
}
.verified { width: 18px; height: 18px; fill: var(--green); }
.bio-meta { margin-top: 1px; color: var(--muted); font-size: 14px; }
.bio-headline { margin-top: 12px; color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.bio-services { margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.bio-account {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px;
  padding: 10px 10px 10px 10px;
  background: var(--surface-2);
  border-radius: 16px;
  transition: background .2s var(--ease);
}
.bio-account:hover { background: var(--surface-3); }
.bio-account img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: 0 0 0 2px var(--surface-2), 0 0 0 3px rgba(0,230,118,.6);
}
.bio-account-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.bio-account-text b { font-size: 14px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bio-account-text small { font-size: 12.5px; color: var(--muted); }
.bio-account-cta {
  flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-soft);
  color: var(--green);
  transition: transform .2s var(--ease);
}
.bio-account-cta svg { width: 16px; height: 16px; }
.bio-account:hover .bio-account-cta { transform: translate(2px, -2px); }
.bio-buttons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 18px;
}
.bio-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px;
  background: var(--surface-2);
  border-radius: 14px;
  color: var(--ink);
  font-size: 14px; font-weight: 700;
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.bio-btn svg { width: 17px; height: 17px; }
.bio-btn:hover { background: var(--surface-3); }
.bio-btn:active { transform: scale(.97); }
.bio-btn.primary { background: var(--green); color: var(--green-ink); }
.bio-btn.primary:hover { background: var(--green-hover); }

/* Segurança */
.secure {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 28px; padding: 16px;
  background: var(--surface);
  border-radius: var(--r-md);
  color: var(--muted); font-size: 13px; line-height: 1.5;
}
.secure b { color: var(--ink-2); font-weight: 600; }
.secure-icon {
  width: 36px; height: 36px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green);
}
.secure-icon svg { width: 18px; height: 18px; }
.legal { margin-top: 18px; text-align: center; color: var(--muted-2); font-size: 12px; }

/* Barra fixa inferior */
.bottom-bar {
  position: fixed; z-index: 5; left: 0; right: 0; bottom: 0;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, #000 55%, rgba(0,0,0,0));
}
.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: calc(var(--col) - 36px); margin: 0 auto;
  height: 56px;
  background: var(--green);
  border-radius: 18px;
  color: var(--green-ink);
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  box-shadow: 0 12px 30px -10px rgba(0, 230, 118, .6);
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.btn-primary svg { width: 20px; height: 20px; }
.btn-primary:hover { background: var(--green-hover); }
.btn-primary:active { transform: scale(.98); }
.btn-primary.is-copied { background: var(--lime); }

/* Toast */
.toast {
  position: fixed; z-index: 10; left: 50%; top: 18px;
  transform: translate(-50%, -12px);
  display: flex; align-items: center; gap: 10px;
  width: max-content; max-width: calc(100% - 32px);
  padding: 12px 18px 12px 14px;
  background: var(--surface-3);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
  font-size: 14px; font-weight: 600; color: var(--ink);
  opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .3s var(--ease), visibility .2s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; }
.toast-icon { display: flex; color: var(--green); }
.toast--error .toast-icon { color: #ff9c9c; }

@media (min-width: 720px) {
  .app { padding-top: 24px; }
}
@media (max-width: 360px) {
  .action-icon { width: 50px; height: 50px; }
  .hero-amount { font-size: 30px; }
  .key-value { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.key-value { font-size: clamp(.68rem, 2.8vw, 1rem); letter-spacing: 0; }
