/* =========================================================
   ZapTrace — sistema visual
   Fundo grafite-azulado, verde de destaque e texto gelo.
   ========================================================= */

/* Tokens (cores, raios, fontes) vivem em tokens.css. */

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 16px;
  line-height: 1.5;
  color: var(--texto);
  background: var(--brilho) fixed, var(--fundo);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { font-family: var(--f-marca); font-weight: 800; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--foco); }
[hidden] { display: none !important; }

.ic { display: inline-flex; width: 20px; height: 20px; flex: none; }
.ic svg { width: 100%; height: 100%; }

/* ---------- Marca ---------- */

.marca {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-marca);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gelo);
  text-decoration: none;
}
.marca img { flex: none; }
.marca__destaque { color: var(--verde); }

/* Barra de marca fixa no topo. Só aparece abaixo de 900px, onde a
   lateral — que já carrega a marca — fica escondida. */
.barra-marca {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: rgba(11, 20, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha);
}
.marca--compacta { font-size: 1.05rem; letter-spacing: 0.14em; gap: 0.5rem; }
@media (min-width: 900px) { .barra-marca { display: none; } }
/* A barra já absorve o recorte da tela, então a página não repete o espaço. */
@media (max-width: 899px) { .pagina { padding-top: 16px; } }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--primario);
  color: var(--primario-texto);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.12s, background-color 0.2s, opacity 0.2s;
}
.btn:hover { background: var(--primario-hover); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn .ic { width: 18px; height: 18px; }

.btn--claro { background: var(--superficie-2); color: var(--texto); box-shadow: inset 0 0 0 1px var(--linha); }
.btn--claro:hover { background: var(--linha); }
.btn--perigo { background: var(--perigo-fundo); color: var(--perigo); }
.btn--perigo:hover { background: rgba(241, 92, 109, 0.2); }
.btn--bloco { width: 100%; }
.btn--pequeno { height: 32px; padding: 0 14px; font-size: .82rem; }

.btn-icone {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--superficie);
  color: var(--texto);
  box-shadow: inset 0 0 0 1px var(--linha);
  text-decoration: none;
  cursor: pointer;
}
.btn-icone--plano { background: var(--superficie-2); box-shadow: none; }

.link { color: var(--verde); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Formulários ---------- */

.form { display: grid; gap: 1rem; }
.campo { display: grid; gap: 0.4rem; }
.campo > label { font-size: 0.875rem; font-weight: 600; color: var(--texto-2); }
.input {
  width: 100%;
  height: 52px;
  padding: 0 1rem;
  border: 1px solid var(--linha);
  border-radius: 12px;
  background: var(--grafite-950);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:hover { border-color: var(--grafite-600); }
.input:focus { outline: none; border-color: var(--verde); box-shadow: var(--foco); }
.input::placeholder { color: var(--texto-3); }
.input:-webkit-autofill,
.input:-webkit-autofill:hover,
.input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--texto);
  box-shadow: 0 0 0 1000px var(--grafite-950) inset;
  transition: background-color 9999s ease-in-out 0s;
}
.erro-form { min-height: 1.35em; margin: -0.25rem 0; color: var(--perigo); font-size: 0.9rem; font-weight: 500; }
.erro-form:empty { min-height: 0; margin: 0; }
.dica { color: var(--texto-2); font-size: 0.8125rem; }

/* ---------- Telas de entrada (login / cadastro) ---------- */

.auth {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 40px 16px;
}
.auth__caixa { width: 100%; max-width: 410px; display: grid; justify-items: center; gap: 28px; }
.auth__cartao {
  width: 100%;
  padding: 28px;
  border-radius: var(--raio-g);
  background: var(--superficie);
  box-shadow: inset 0 0 0 1px var(--linha), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.auth__cartao h1 { font-size: 1.6rem; }
.auth__cartao .sub { margin: 0.35rem 0 1.5rem; color: var(--texto-2); }
.auth__rodape { color: var(--texto-2); font-size: 0.95rem; text-align: center; }
.auth__rodape a { color: var(--verde); font-weight: 600; text-decoration: none; }
.auth__rodape a:hover { text-decoration: underline; }
.auth .marca { font-size: 1.6rem; }

/* ---------- Estrutura do app ---------- */

.shell { min-height: 100dvh; }
.lateral { display: none; }
.tela { padding: 0 16px calc(104px + env(safe-area-inset-bottom)); outline: none; }

.pagina { max-width: 900px; margin: 0 auto; padding-top: calc(16px + env(safe-area-inset-top)); display: grid; gap: 20px; animation: subir 0.35s ease-out; }
.pagina--estreita { max-width: 540px; }
@keyframes subir { from { opacity: 0; transform: translateY(8px); } }

.cabecalho { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.cabecalho__titulo { flex: 1; min-width: 0; display: grid; }
.cabecalho h1 { font-size: 1.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 599px) { .cabecalho h1 { font-size: 1.4rem; } }

/* Saldo de moedas (canto superior direito) */
.saldo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px 0 6px;
  flex: none;
  border-radius: 999px;
  background: var(--superficie);
  box-shadow: inset 0 0 0 1px var(--linha);
  white-space: nowrap;
}
.saldo__moeda {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, var(--ouro) 55%, #c8871a);
  box-shadow: 0 0 14px -3px rgba(var(--ouro-rgb), 0.6);
}
/* anel interno da moeda */
.saldo__moeda::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px solid rgba(11, 20, 26, 0.45);
}
.saldo__valor { font-family: var(--f-marca); font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.saldo__rotulo { font-size: 0.8rem; color: var(--texto-2); }
.saldo__add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--verde);
  color: #fff;
  cursor: pointer;
  margin-left: 4px;
  padding: 0;
  transition: background .2s, transform .15s;
}
.saldo__add .ic { width: 16px; height: 16px; }
.saldo__add:hover { background: var(--verde-escuro); transform: scale(1.1); }
@media (max-width: 599px) {
  .saldo { height: 38px; padding-right: 8px; }
  .saldo__moeda { width: 26px; height: 26px; }
  .saldo__moeda::after { inset: 5px; }
  .saldo__rotulo { display: none; }
  .saldo__add { width: 24px; height: 24px; }
  .saldo__add .ic { width: 14px; height: 14px; }
}

/* ---------- Loja de créditos ---------- */

.loja { display: grid; gap: 16px; }
.loja__sub {
  font-size: .88rem;
  color: var(--texto-2);
  text-align: center;
  margin-top: -6px;
}

/* Empilhado sempre: a folha trava em 460px, e duas colunas com três cards
   deixariam um órfão na última linha. */
.loja-grade { display: grid; gap: 12px; }

.loja-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: var(--raio);
  background: var(--fundo);
  border: 1px solid var(--linha);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, background .2s, transform .15s;
}
.loja-card:hover { border-color: var(--texto-3); background: var(--superficie-2); transform: translateY(-2px); }
.loja-card:disabled { opacity: .55; cursor: progress; transform: none; }

/* O mais vendido usa o verde da marca; o de melhor custo, o ouro dos créditos. */
.loja-card--destaque {
  border-color: var(--verde);
  background: linear-gradient(150deg, rgba(var(--verde-rgb), .08), transparent 60%), var(--fundo);
  box-shadow: 0 0 24px -8px rgba(var(--verde-rgb), .35);
}
.loja-card--melhor {
  border-color: var(--ouro);
  background: linear-gradient(150deg, rgba(var(--ouro-rgb), .08), transparent 60%), var(--fundo);
  box-shadow: 0 0 24px -8px rgba(var(--ouro-rgb), .35);
}

.loja-card__etiqueta {
  position: absolute;
  top: -9px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--primario-texto);
  background: var(--verde);
}
.loja-card--melhor .loja-card__etiqueta { background: var(--ouro); color: #2a1e02; }

.loja-card__topo { display: flex; align-items: center; gap: 10px; }
.loja-card__moeda {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: none;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, var(--ouro) 55%, #c8871a);
  box-shadow: 0 0 12px -3px rgba(var(--ouro-rgb), .5);
}
.loja-card__moeda::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px solid rgba(11, 20, 26, .4);
}
.loja-card__qtd { display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.loja-card__qtd strong {
  font-family: var(--f-marca);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.loja-card__qtd span { font-size: .8rem; color: var(--texto-2); }

.loja-card__bonus {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-self: start;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--verde);
  background: rgba(var(--verde-rgb), .12);
}
.loja-card__bonus .ic { width: 12px; height: 12px; }

.loja-card__precos { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.loja-card__de {
  font-size: .82rem;
  color: var(--texto-3);
  text-decoration: line-through;
}
.loja-card__preco {
  font-family: var(--f-marca);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ouro);
  letter-spacing: -.02em;
}
.loja-card__unit { font-size: .74rem; color: var(--texto-3); }
.loja-card__economia { font-size: .78rem; font-weight: 600; color: var(--verde); }

.loja-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  height: 40px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--primario-texto);
  background: var(--verde);
  transition: background .2s;
}
.loja-card:hover .loja-card__cta { background: var(--verde-hover); }
.loja-card__cta .ic { width: 15px; height: 15px; }
.loja-card--melhor .loja-card__cta { background: var(--ouro); color: #2a1e02; }
.loja-card--melhor:hover .loja-card__cta { background: var(--ouro-claro); }

.loja-selos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 4px;
  border-top: 1px solid var(--linha);
  margin-top: 2px;
}
.loja-selo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  font-size: .76rem;
  color: var(--texto-2);
}
.loja-selo .ic { width: 14px; height: 14px; color: var(--verde); }

/* Barra de abas (celular) */
.abas {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 20;
  display: flex;
  padding: 6px 8px calc(8px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--grafite-900) 90%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--linha);
}
.aba {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 6px 0 2px;
  border-radius: 12px;
  color: var(--texto-3);
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.aba .ic { width: 23px; height: 23px; }
.aba[aria-current='page'] { color: var(--texto); }
.aba[aria-current='page'] .ic { color: var(--verde); }

/* Menu lateral (computador) */
@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: 264px 1fr; }
  .abas { display: none; }
  .tela { padding: 36px 44px 64px; }
  .pagina { padding-top: 0; }

  .lateral {
    position: sticky;
    top: 0;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 28px 18px 20px;
    background: var(--grafite-900);
    border-right: 1px solid var(--linha);
  }
  .lateral .marca { padding: 0 10px; font-size: 1.15rem; }
  .nav-lateral { display: grid; gap: 4px; }
  .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--texto-2);
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
  }
  .nav-item:hover { background: var(--superficie-2); color: var(--texto); }
  .nav-item[aria-current='page'] { background: var(--verde-fundo); color: var(--texto); box-shadow: inset 3px 0 0 var(--verde); }
  .nav-item[aria-current='page'] .ic { color: var(--verde); }

  .lateral__rodape { margin-top: auto; display: grid; gap: 8px; }
  .lateral__usuario { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--superficie-2); min-width: 0; }
  .lateral__nome { display: grid; min-width: 0; line-height: 1.3; }
  .lateral__nome strong, .lateral__nome span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lateral__nome span { font-size: 0.8rem; color: var(--texto-2); }
  .lateral__sair { justify-content: flex-start; background: transparent; color: var(--texto-2); padding: 0 14px; font-weight: 500; }
  .lateral__sair:hover { background: var(--superficie-2); color: var(--texto); }
}

/* ---------- Blocos ---------- */

.bloco { padding: 8px; border-radius: var(--raio-g); background: var(--superficie); box-shadow: inset 0 0 0 1px var(--linha); }
.bloco--pad { padding: 22px; display: grid; gap: 16px; }
.secao-titulo { font-size: 1.1rem; }

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--verde-fundo);
  color: var(--verde);
  font-family: var(--f-marca);
  font-weight: 800;
  font-size: 0.95rem;
}
.avatar--g { width: 76px; height: 76px; font-size: 1.6rem; }

.selo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--verde-fundo);
  color: var(--verde);
  font-family: var(--f-texto);
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
  letter-spacing: 0;
}
.selo .ic { width: 12px; height: 12px; }

.vazio { display: grid; justify-items: center; gap: 6px; padding: 36px 16px; text-align: center; }
.vazio__icone { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 50%; background: var(--superficie-2); color: var(--texto-3); }
.vazio strong { font-family: var(--f-marca); font-size: 1.05rem; }
.vazio p { max-width: 32ch; color: var(--texto-2); font-size: 0.9rem; }

/* ---------- Início: boas-vindas ---------- */

.boas-vindas {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 6px;
  padding: 22px;
  border-radius: var(--raio-g);
  color: var(--texto);
  background:
    radial-gradient(90% 140% at 6% 0%, rgba(var(--verde-rgb), 0.16), transparent 62%),
    linear-gradient(160deg, var(--grafite-800), var(--grafite-900));
  box-shadow: inset 0 0 0 1px var(--linha), 0 18px 40px -26px rgba(0, 0, 0, 0.9);
}
/* fio verde no topo: identidade sem pintar o cartão inteiro */
.boas-vindas::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--verde), transparent 72%);
}
.boas-vindas__etiqueta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--verde); }
.boas-vindas__etiqueta .ic { width: 18px; height: 18px; }
.boas-vindas__titulo { font-size: 1.9rem; letter-spacing: -0.02em; margin-top: 4px; }
.boas-vindas__sub { color: var(--texto-2); font-size: 0.95rem; }

.creditos {
  display: grid;
  gap: 8px;
  max-width: 320px;
  margin-top: 12px;
  padding: 14px 16px 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 0 1px var(--linha);
}
.creditos__topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.creditos__rotulo { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--texto-2); }
.creditos__rotulo .ic { color: var(--ouro); }
.creditos__rotulo .ic { width: 15px; height: 15px; }
.creditos__mais {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--verde);
  color: var(--primario-texto);
  cursor: pointer;
  transition: background-color 0.15s, transform 0.12s;
}
.creditos__mais:hover { background: var(--verde-hover); }
.creditos__mais:active { transform: scale(0.92); }
.creditos__mais .ic { width: 16px; height: 16px; }
.creditos__valor { font-family: var(--f-marca); font-size: 2rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ouro); }

@media (max-width: 599px) {
  .boas-vindas { padding: 18px; }
  .boas-vindas__titulo { font-size: 1.5rem; }
  .creditos { max-width: none; }
}

/* ---------- Serviços ---------- */

.servicos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.servico {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px;
  border: 0;
  border-radius: var(--raio-g);
  background: var(--superficie);
  box-shadow: inset 0 0 0 1px var(--linha);
  color: var(--texto);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.12s, box-shadow 0.15s;
}
.servico:hover { background: var(--superficie-2); box-shadow: inset 0 0 0 1px var(--grafite-600); transform: translateY(-2px); }
.servico:active { transform: scale(0.97); }

.servico__icone {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--servico-cor) 15%, transparent);
  color: var(--servico-cor);
}
.servico__icone .ic { width: 24px; height: 24px; }

.servico__nome {
  font-family: var(--f-marca);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.servico__desc {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--texto-2);
  flex: 1;
}

.servico__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.servico__badge .ic { width: 13px; height: 13px; }

/* Custo é informação, não alerta: pílula neutra, só a moeda em ouro. */
.servico__badge--custo {
  background: rgba(255, 255, 255, 0.04);
  color: var(--texto-2);
  box-shadow: inset 0 0 0 1px var(--linha);
}
.servico__badge--custo .preco { color: var(--texto); font-weight: 700; }
.servico__badge--custo .ic { color: var(--ouro); }

@media (max-width: 320px) {
  .servicos-grid { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .servico { padding: 14px; }
  .servico__icone { width: 40px; height: 40px; border-radius: 12px; }
  .servico__icone .ic { width: 20px; height: 20px; }
  .servico__nome { font-size: 0.9rem; }
  .servico__desc { font-size: 0.75rem; }
}

/* ---------- Investigação ---------- */

.investiga {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: var(--raio-g);
  background: var(--superficie);
  box-shadow: inset 0 0 0 1px var(--linha);
}

.investiga__topo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.investiga__icone {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 16px;
  background: color-mix(in srgb, var(--servico-cor) 15%, transparent);
  color: var(--servico-cor);
}
.investiga__icone .ic { width: 26px; height: 26px; }

.investiga__titulo {
  font-size: 1.3rem;
}

.investiga__sub {
  color: var(--texto-2);
  font-size: 0.875rem;
  margin-top: 2px;
}

.investiga__dica {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--linha);
  border-left: 3px solid var(--verde);
  color: var(--texto-2);
  font-size: 0.85rem;
  line-height: 1.5;
}

.investiga__dica-label {
  color: var(--verde);
  font-weight: 700;
}

.investiga__label {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--texto);
}

.investiga__campo {
  display: flex;
  align-items: center;
  border: 1px solid var(--linha);
  border-radius: 14px;
  background: var(--grafite-950);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.investiga__campo:focus-within {
  border-color: var(--verde);
  box-shadow: var(--foco);
}

.investiga__arroba {
  display: grid;
  place-items: center;
  width: 48px;
  height: 52px;
  flex: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--texto-3);
  border-right: 1px solid var(--linha);
  background: var(--superficie-2);
}

.investiga__input {
  flex: 1;
  height: 52px;
  padding: 0 16px;
  border: 0;
  background: transparent;
}
.investiga__input:focus { outline: none; box-shadow: none; }

.btn--grande {
  height: 54px;
  font-size: 1rem;
  border-radius: 14px;
}

@media (max-width: 599px) {
  .investiga { padding: 18px; gap: 16px; }
  .investiga__titulo { font-size: 1.1rem; }
  .investiga__icone { width: 44px; height: 44px; border-radius: 12px; }
  .investiga__icone .ic { width: 22px; height: 22px; }
}

/* ---------- Progresso da investigação ---------- */

.prog {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--raio-g);
  background: var(--superficie);
  box-shadow: inset 0 0 0 1px var(--linha);
}

.prog__topo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.prog__icone {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #c23a8f, var(--srv-instagram), #ff8a4a);
  color: #fff;
}
.prog__icone .ic { width: 24px; height: 24px; }

.prog__user {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.prog__user strong {
  font-family: var(--f-marca);
  font-size: 1.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prog__status {
  font-size: 0.825rem;
  color: var(--texto-2);
}

.prog__pct {
  flex: none;
  font-family: var(--f-marca);
  font-weight: 800;
  font-size: 1rem;
  color: var(--texto-2);
}

.prog__barra {
  height: 6px;
  border-radius: 3px;
  background: var(--superficie-2);
  overflow: hidden;
}
.prog__barra-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--srv-instagram), #ff8a5c);
  transition: width 0.6s ease;
}

.prog__etapas {
  display: grid;
  gap: 4px;
}

.prog__etapa {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--texto-3);
  transition: background-color 0.3s, color 0.3s;
}

.prog__etapa-dot {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--texto-3);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.prog__etapa--ok {
  background: rgba(var(--verde-rgb), 0.06);
  color: var(--texto);
}
.prog__etapa--ok .prog__etapa-dot {
  border-color: var(--verde);
  background: var(--verde);
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.4);
}

.prog__etapa--ativo {
  background: rgba(var(--verde-rgb), 0.1);
  color: var(--texto);
}
.prog__etapa--ativo .prog__etapa-dot {
  border-color: var(--verde);
  background: transparent;
  animation: pulsar 1.2s ease-in-out infinite;
}
@keyframes pulsar {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--verde-rgb), 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(var(--verde-rgb), 0); }
}

.prog__info {
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(var(--ouro-rgb), 0.07);
  border: 1px solid rgba(var(--ouro-rgb), 0.2);
}
.prog__info strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-marca);
  font-size: 0.95rem;
}
.prog__info strong .ic { width: 16px; height: 16px; color: var(--ouro); }
.prog__info-detalhe {
  font-size: 0.825rem;
  color: var(--texto-2);
}

.prog__demora {
  text-align: center;
  color: var(--texto-3);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Acelerar custa créditos, então usa o ouro — não o verde de ação primária. */
.prog__acelerar {
  background: linear-gradient(135deg, var(--ouro-claro), var(--ouro));
  color: #2a1e02;
  border-radius: 14px;
  height: 54px;
  font-size: 1rem;
  box-shadow: 0 10px 26px -14px rgba(var(--ouro-rgb), 0.9);
}
.prog__acelerar:hover {
  background: linear-gradient(135deg, #ffdd8a, #e9a91c);
}
.prog__acelerar .preco { color: #2a1e02; font-weight: 800; }
.prog__acelerar .ic { width: 18px; height: 18px; }

@media (max-width: 599px) {
  .prog { padding: 18px; }
  .prog__icone { width: 42px; height: 42px; }
  .prog__icone .ic { width: 20px; height: 20px; }
  .prog__user strong { font-size: 1rem; }
}

/* ---------- Popup senha (hack) ---------- */

.hack-dialog { max-width: 420px; }

.hack__header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hack__titulo { font-family: var(--f-marca); font-size: 1.15rem; }
.hack__sub { font-size: 0.85rem; color: var(--texto-2); }

.hack__senha-box {
  display: grid;
  gap: 6px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--grafite-950);
  border: 1px solid var(--linha);
}
.hack__label { font-size: 0.8rem; color: var(--texto-3); }
.hack__tentativa {
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--verde);
  letter-spacing: 0.08em;
  animation: piscar 0.3s steps(1) infinite;
}
@keyframes piscar { 50% { opacity: 0.5; } }

.hack__barra {
  height: 5px;
  border-radius: 3px;
  background: var(--superficie-2);
  overflow: hidden;
}
.hack__barra-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--verde), var(--verde-hover));
  transition: width 0.3s;
}
.hack__progresso { display: grid; gap: 6px; }
.hack__nums { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--texto-2); }

.hack__status {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--texto-2);
  padding: 8px;
  border-radius: 10px;
  background: var(--superficie-2);
}
.hack__status--ok { color: var(--verde); background: var(--verde-fundo); }

/* ---------- Resultado — perfil estilo Instagram ---------- */

.ig-perfil {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--raio-g);
  background: var(--superficie);
  box-shadow: inset 0 0 0 1px var(--linha);
}

.ig-perfil__topo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ig-perfil__foto {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background: linear-gradient(var(--superficie), var(--superficie)) padding-box,
              linear-gradient(135deg, #c23a8f, var(--srv-instagram), #ff8a4a) border-box;
  flex-shrink: 0;
}
.ig-perfil__foto--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--superficie-2);
  border: 3px solid var(--linha);
}
.ig-perfil__foto--placeholder .ic { width: 36px; height: 36px; }

.ig-perfil__stats {
  display: flex;
  gap: 16px;
  flex: 1;
}

.ig-perfil__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.ig-perfil__stat strong { font-size: 1.1rem; }
.ig-perfil__stat span { font-size: 0.75rem; color: var(--texto-2); }

.ig-perfil__info {
  display: grid;
  gap: 2px;
}
.ig-perfil__nome { font-size: 0.95rem; }
.ig-perfil__user { font-size: 0.85rem; color: var(--texto-2); }
.ig-perfil__bio {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--texto-2);
  line-height: 1.45;
  white-space: pre-line;
}
.ig-perfil__link {
  font-size: 0.82rem;
  color: #4fc3f7;
  text-decoration: none;
  margin-top: 2px;
}
.ig-perfil__link:hover { text-decoration: underline; }

.ig-perfil__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ig-perfil__badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--superficie-2);
  color: var(--texto-2);
}
.ig-perfil__badge--ok { color: var(--verde); background: var(--verde-fundo); }
.ig-perfil__badge--alerta { color: #f59e0b; background: rgba(245, 158, 11, 0.12); }

/* Botão Acessar perfil */

.ig-acessar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--srv-instagram);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  text-decoration: none;
  text-align: center;
}
.ig-acoes { display: flex; align-items: stretch; gap: 8px; }
.ig-acoes__voltar { flex: none; padding: 0 12px; white-space: nowrap; }
.ig-acoes__voltar .ic { width: 16px; height: 16px; }
.ig-acoes .ig-acessar { flex: 1; min-width: 0; padding: 0 10px; }
@media (max-width: 400px) {
  .ig-acoes .ig-acessar { font-size: 0.86rem; gap: 6px; }
  .ig-acoes__voltar { font-size: 0.86rem; }
}
@media (max-width: 380px) {
  /* Medido com o texto em inglês, que é mais longo que o original em
     português: abaixo disto o rótulo do custo não cabe e é cortado. */
  .ig-acoes { flex-direction: column; }
  .ig-acoes__voltar { order: 2; }
}
.ig-acessar:hover { background: #d13a72; }
/* Dentro de um botão já colorido, o preço acompanha o texto do botão. */
.ig-acessar .preco { color: inherit; }
.ig-acessar .ic { width: 18px; height: 18px; }

/* Grid de fotos */

.ig-fotos {
  display: grid;
  gap: 12px;
}
.ig-fotos__titulo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-marca);
  font-size: 1rem;
}
.ig-fotos__titulo .ic { width: 18px; height: 18px; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  border-radius: var(--raio);
  overflow: hidden;
}

.ig-grid__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--superficie-2);
}
.ig-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ig-grid__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}
.ig-grid__item:hover .ig-grid__overlay { opacity: 1; }

/* ---------- Investigação Instagram ---------- */

.cabecalho__servico-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: color-mix(in srgb, var(--servico-cor, var(--srv-instagram)) 15%, transparent);
  color: var(--servico-cor, var(--srv-instagram));
  border-radius: 10px;
  margin-right: 8px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--servico-cor, var(--srv-instagram)) 30%, transparent);
}
.cabecalho__servico-icone .ic { width: 20px; height: 20px; }

.cabecalho__ig-titulo {
  color: var(--texto);
  letter-spacing: 0.06em;
}

.iginv__resumo {
  background: var(--superficie);
  border-radius: var(--raio-g);
  padding: 24px 20px;
  box-shadow: inset 0 0 0 1px var(--linha);
}
.iginv__resumo-label {
  display: inline-block;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primario);
  margin-bottom: 8px;
}
.iginv__resumo-titulo {
  font-family: var(--f-marca);
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 6px;
}
.iginv__resumo-user {
  font-size: .85rem;
  color: var(--texto-2);
}
.iginv__resumo-desc {
  font-size: .82rem;
  color: var(--texto-2);
  line-height: 1.5;
  margin: 10px 0 16px;
}
.iginv__stats {
  display: grid;
  gap: 8px;
}
.iginv__stat {
  padding: 14px 16px;
  border-radius: var(--raio);
  display: grid;
  gap: 2px;
}
.iginv__stat-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .85;
}
.iginv__stat strong {
  font-family: var(--f-marca);
  font-size: 1.1rem;
}
.iginv__stat--roxo {
  background: rgba(var(--srv-instagram-rgb), .12);
  color: var(--srv-instagram);
  border: 1px solid rgba(var(--srv-instagram-rgb), .25);
}
.iginv__stat--rosa {
  background: rgba(var(--srv-local-rgb), .12);
  color: var(--srv-local);
  border: 1px solid rgba(var(--srv-local-rgb), .25);
}
.iginv__stat--escuro { background: rgba(100, 100, 100, .10); color: var(--texto-2); border: 1px solid rgba(100, 100, 100, .25); }

/* Seções */

.iginv__secao {
  background: var(--superficie);
  border-radius: var(--raio-g);
  padding: 22px 18px;
  box-shadow: inset 0 0 0 1px var(--linha);
  display: grid;
  gap: 14px;
}
.iginv__secao-titulo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-marca);
  font-size: 1rem;
  margin: 0;
}
.iginv__secao-titulo .ic { width: 18px; height: 18px; }
.iginv__secao-desc {
  font-size: .8rem;
  color: var(--texto-2);
  line-height: 1.5;
  margin: 0;
}

/* Conversas */

.iginv__lista { display: grid; gap: 12px; }

.iginv__conv {
  position: relative;
  background: linear-gradient(135deg, var(--superficie-2) 0%, rgba(var(--srv-instagram-rgb),0.06) 100%);
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--linha);
  transition: transform 0.15s, box-shadow 0.15s;
}
.iginv__conv::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--srv-instagram);
}
.iginv__conv:hover {
  box-shadow: inset 0 0 0 1px rgba(var(--srv-instagram-rgb), 0.3), 0 4px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}
.iginv__conv-topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 16px 18px;
}
.iginv__conv-pfp {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  filter: blur(3px);
}
.iginv__conv-info { flex: 1; min-width: 0; }
.iginv__conv-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.iginv__conv-header strong {
  font-family: var(--f-marca);
  font-size: .95rem;
}
.iginv__conv-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 11px;
  background: var(--srv-instagram);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
}
.iginv__conv-hora {
  font-size: .7rem;
  color: var(--texto-3);
}
.iginv__conv-preview {
  font-size: .8rem;
  color: var(--texto-2);
  margin: 6px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.iginv__conv-acao {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.iginv__conv-custo {
  font-size: .75rem;
  font-weight: 700;
  color: var(--custo);
  background: rgba(var(--custo-rgb), 0.08);
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid rgba(var(--custo-rgb), 0.15);
}
.iginv__conv-custo--ok {
  background: var(--verde-fundo);
  color: var(--primario);
  font-weight: 700;
}
.iginv__conv-btn {
  font-size: .78rem;
  padding: 9px 18px;
  border-radius: 10px;
  background: var(--srv-instagram);
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.12s;
  box-shadow: 0 2px 8px rgba(var(--srv-instagram-rgb), 0.3);
}
.iginv__conv-btn:hover { opacity: .9; transform: scale(0.97); }

.iginv__chat-toggle-btn {
  font-size: .75rem;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--superficie-2);
  color: var(--texto-2);
  border: 1px solid var(--linha);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.iginv__chat-toggle-btn:hover {
  background: var(--linha);
  color: var(--texto);
}

.btn--outline {
  background: transparent;
  color: var(--texto-2);
  border: 1px solid var(--linha);
  font-size: .82rem;
}
.btn--outline:hover { background: var(--superficie-2); color: var(--texto); }

/* Chat área */

.iginv__chat-area {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--grafite-950);
  border-top: 1px solid var(--linha);
  max-height: 400px;
  overflow-y: auto;
}
.iginv__chat-area--aberto { display: flex; }

.igchat__msg {
  display: flex;
  flex-direction: column;
  max-width: 75%;
  gap: 2px;
}
.igchat__msg--env { align-self: flex-end; }
.igchat__msg--rec { align-self: flex-start; }

.igchat__texto {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: .82rem;
  line-height: 1.4;
  word-break: break-word;
}
.igchat__msg--env .igchat__texto {
  background: var(--srv-instagram);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.igchat__msg--rec .igchat__texto {
  background: var(--superficie-2);
  color: var(--texto);
  border-bottom-left-radius: 6px;
}
.igchat__hora {
  font-size: .6rem;
  color: var(--texto-3);
  padding: 0 6px;
}
.igchat__msg--env .igchat__hora { text-align: right; }

.igchat__aviso {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: .7rem;
  color: var(--texto-3);
  padding: 10px 0 4px;
}
.igchat__aviso .ic { width: 14px; height: 14px; }

/* Popup desbloquear */

.iginv-popup .folha__corpo { padding: 24px 20px; display: grid; gap: 18px; }
.iginv-popup__header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.iginv-popup__icone {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #a8327d, #f0554e, #ffb020);
  border-radius: 12px;
  flex-shrink: 0;
}
.iginv-popup__icone .ic { width: 22px; height: 22px; color: #fff; }
.iginv-popup__header strong { font-family: var(--f-marca); font-size: 1.05rem; }
.iginv-popup__sub { font-size: .8rem; color: var(--texto-2); display: block; }

.iginv-popup__corpo {
  background: var(--superficie-2);
  border-radius: var(--raio);
  padding: 16px;
  display: grid;
  gap: 10px;
}
.iginv-popup__corpo p {
  font-size: .82rem;
  color: var(--texto-2);
  line-height: 1.5;
  margin: 0;
}
.iginv-popup__confirmar {
  background: var(--srv-instagram) !important;
  color: #fff !important;
  border: none;
}

/* Ações rápidas */

.iginv__acoes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 500px) {
  .iginv__acoes-grid { grid-template-columns: 1fr; }
}

.iginv__acao {
  background: var(--superficie-2);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  padding: 16px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 6px;
  transition: border-color 0.2s;
}
.iginv__acao:hover { border-color: var(--texto-3); }
.iginv__acao--ok { border-color: var(--primario); cursor: default; }

.iginv__acao-topo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.iginv__acao-icone .ic { width: 22px; height: 22px; color: var(--texto-2); }
.iginv__acao-custo {
  font-size: .95rem;
  color: var(--custo);
  font-weight: 800;
  font-family: var(--f-marca);
}
.iginv__acao-custo--ok { color: var(--primario); font-size: .8rem; }
.iginv__acao-titulo {
  font-family: var(--f-marca);
  font-size: .85rem;
}
.iginv__acao-desc {
  font-size: .72rem;
  color: var(--texto-2);
  line-height: 1.45;
  margin: 0;
}
.iginv__acao-tag {
  font-size: .65rem;
  color: #c13584;
  font-weight: 600;
}

.btn--ghost {
  background: transparent;
  color: var(--texto-3);
}
.btn--ghost:hover { color: var(--texto); }

/* Destaque de preço/créditos */

.preco {
  font-family: var(--f-marca);
  font-weight: 800;
  color: var(--custo);
}

/* Barra de histórico de pesquisas */

.historico {
  display: grid;
  gap: 10px;
}
.historico__titulo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-marca);
  font-size: 1.05rem;
  font-weight: 700;
}
.historico__titulo .ic { width: 18px; height: 18px; color: var(--texto-2); }
.historico__lista {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.historico__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--superficie);
  box-shadow: inset 0 0 0 1px var(--linha);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  color: var(--texto);
  width: 100%;
  transition: background-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.historico__item:hover {
  background: var(--superficie-2);
  box-shadow: inset 0 0 0 1px rgba(var(--srv-instagram-rgb), 0.3);
  transform: translateY(-1px);
}
.historico__item:active { transform: scale(0.97); }
.historico__item .ic { width: 16px; height: 16px; }
.historico__item-user { color: var(--texto); }
.historico__item-tempo { font-size: 0.65rem; color: var(--texto-3); font-weight: 400; margin-left: 4px; }

/* ---------- Desbloqueio email ---------- */

.desbloq {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--raio-g);
  background: var(--superficie);
  box-shadow: inset 0 0 0 1px var(--linha);
}

.desbloq__topo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.desbloq__topo .giro { width: 24px; height: 24px; border-width: 2px; }
.desbloq__topo strong { font-family: var(--f-marca); font-size: 1.05rem; }

.desbloq__barra {
  height: 6px;
  border-radius: 3px;
  background: var(--superficie-2);
  overflow: hidden;
}
.desbloq__barra-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--verde), var(--verde-hover));
  transition: width 0.6s ease;
}

.desbloq__nums {
  display: flex;
  justify-content: space-between;
  font-size: 0.825rem;
  color: var(--texto-2);
}

/* ---------- Acesso Bloqueado ---------- */

.bloqueado {
  display: grid;
  gap: 16px;
  padding: 32px 22px;
  border-radius: var(--raio-g);
  background: var(--superficie);
  box-shadow: inset 0 0 0 1px var(--linha);
  text-align: center;
}

.bloqueado__icone .ic {
  width: 56px;
  height: 56px;
  color: #f59e0b;
  margin: 0 auto;
  display: block;
}

.bloqueado__titulo {
  font-family: var(--f-marca);
  font-size: 1.2rem;
  color: #f59e0b;
}

.bloqueado__msg {
  font-size: 0.92rem;
  color: var(--texto-2);
  line-height: 1.5;
}

.bloqueado__info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  background: rgba(var(--ouro-rgb), 0.07);
  border: 1px solid rgba(var(--ouro-rgb), 0.22);
  border-radius: var(--raio);
  padding: 14px;
  font-size: 0.85rem;
  color: var(--texto-2);
  line-height: 1.5;
}
.bloqueado__info .ic {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--ouro);
  margin-top: 1px;
}

.bloqueado__aviso {
  font-size: 0.85rem;
  color: var(--texto-2);
  font-style: italic;
}

/* ---------- Perfil ---------- */

.perfil-topo { display: grid; justify-items: center; gap: 6px; padding: 28px 20px; text-align: center; }
.perfil-topo h2 { font-size: 1.4rem; margin-top: 6px; }

/* ---------- Diálogo / folha ---------- */

dialog.folha {
  width: min(100% - 32px, 460px);
  max-height: calc(100dvh - 32px);
  /* Sem isto o conteúdo que passa do max-height é cortado e o botão de ação
     fica fora do alcance — acontecia no popup de conta ativada. */
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  border: 0;
  border-radius: var(--raio-g);
  background: var(--superficie);
  color: var(--texto);
  box-shadow: inset 0 0 0 1px var(--linha), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
dialog.folha[open] { animation: subir 0.25s ease-out; }
dialog.folha::backdrop { background: rgba(5, 10, 13, 0.7); backdrop-filter: blur(3px); }
.folha__corpo { display: grid; gap: 18px; padding: 22px 22px calc(22px + env(safe-area-inset-bottom)); }
.folha__topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.folha__topo h2 { font-size: 1.3rem; }
.folha__texto { color: var(--texto-2); }
@media (max-width: 599px) {
  dialog.folha { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: var(--raio-g) var(--raio-g) 0 0; }
}

/* ---------- Avisos (toasts) ---------- */

.toasts {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  width: min(100% - 32px, 420px);
  translate: -50% 0;
  display: grid;
  gap: 8px;
  pointer-events: none;
}
@media (min-width: 900px) { .toasts { left: auto; right: 24px; bottom: 24px; translate: none; } }
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--grafite-700);
  color: var(--texto);
  font-weight: 500;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.7);
  animation: subir 0.25s ease-out;
  transition: opacity 0.25s, transform 0.25s;
}
.toast .ic { color: var(--verde); }
.toast--erro .ic { color: var(--perigo); }
.toast.saindo { opacity: 0; transform: translateY(6px); }

/* ---------- Carregando ---------- */

.carregando { display: grid; place-items: center; min-height: 50dvh; }
.giro { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--linha); border-top-color: var(--verde); animation: girar 0.8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   WhatsApp Module
   ========================================================= */

/* ---------- WA Encryption Breaking Screen ---------- */
.wa-desbloqueio {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  background: var(--grafite-950);
}
.wa-desbloqueio__inner {
  text-align: center;
  padding: 32px 24px;
  max-width: 400px;
  width: 100%;
}
.wa-desbloqueio__icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(37,211,102,.12);
  color: var(--verde);
  margin-bottom: 16px;
}
.wa-desbloqueio__icone .ic { width: 32px; height: 32px; }
.wa-desbloqueio__titulo {
  font-size: 22px;
  font-weight: 800;
  color: var(--gelo);
  margin-bottom: 6px;
}
.wa-desbloqueio__sub {
  font-size: 14px;
  color: var(--texto-2);
  margin-bottom: 28px;
}
.wa-desbloqueio__digitos {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.wa-desbloqueio__digito {
  width: 48px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  color: var(--verde);
  background: var(--grafite-800);
  border: 1px solid var(--grafite-600);
  border-radius: 10px;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.wa-desbloqueio__digito--locked {
  background: rgba(37,211,102,.15);
  border-color: var(--verde);
  box-shadow: 0 0 16px rgba(37,211,102,.4), inset 0 0 8px rgba(37,211,102,.15);
  animation: wa-digit-flash .4s ease;
}
@keyframes wa-digit-flash {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); box-shadow: 0 0 24px rgba(37,211,102,.7); }
  100% { transform: scale(1); }
}

.wa-desbloqueio__progresso { margin-bottom: 12px; }
.wa-desbloqueio__barra {
  width: 100%;
  height: 4px;
  background: var(--grafite-700);
  border-radius: 2px;
  overflow: hidden;
}
.wa-desbloqueio__barra-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #128c4b, var(--verde));
  border-radius: 2px;
  transition: width .1s linear;
}
.wa-desbloqueio__tentativa {
  display: block;
  font-size: 12px;
  color: var(--texto-2);
  margin-bottom: 16px;
}
.wa-desbloqueio__status {
  font-size: 14px;
  font-weight: 600;
  color: var(--texto-2);
  transition: color .3s;
}
.wa-desbloqueio__status--ok { color: var(--verde); font-size: 18px; font-weight: 800; }
.wa-desbloqueio--done .wa-desbloqueio__icone {
  background: rgba(37,211,102,.25);
  box-shadow: 0 0 32px rgba(37,211,102,.4);
}

/* ---------- WA Loading Transition ---------- */
.wa-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  background: var(--grafite-950);
}
.wa-loading__inner {
  text-align: center;
  padding: 32px 24px;
}
.wa-loading__icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(37,211,102,.12);
  color: var(--verde);
  margin-bottom: 20px;
  animation: wa-pulse 1.2s ease-in-out infinite;
}
.wa-loading__icone .ic { width: 40px; height: 40px; }
@keyframes wa-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,.3); }
  50% { transform: scale(1.08); box-shadow: 0 0 30px 10px rgba(37,211,102,.2); }
}
.wa-loading__icone--ok {
  animation: none;
  background: rgba(37,211,102,.25);
  box-shadow: 0 0 40px rgba(37,211,102,.5);
  color: var(--verde);
}
.wa-loading__texto {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--texto-2);
}
.wa-loading__texto--ok { color: var(--verde); font-size: 20px; font-weight: 800; }

/* ---------- WA Responsive ---------- */
@media (max-width: 480px) {
  .wa-desbloqueio__digito { width: 40px; height: 50px; font-size: 22px; }
}

/* ---------- Seletor de País (telefone) ---------- */

.tel-sel {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--superficie);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  overflow: visible;
  position: relative;
}

.tel-sel__btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 10px 10px 14px;
  background: none;
  border: none;
  border-right: 1px solid var(--linha);
  cursor: pointer;
  color: var(--texto);
  font-size: .9rem;
  white-space: nowrap;
  flex: none;
}
.tel-sel__btn:hover { background: var(--superficie-2); }

.tel-sel__bandeira {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.tel-sel__bandeira img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
}
.tel-sel__codigo { font-weight: 600; font-size: .85rem; }
.tel-sel__seta { font-size: .65rem; color: var(--texto-3); margin-left: 2px; }

.tel-sel__input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 10px 14px !important;
  font-size: .95rem;
  min-width: 0;
}
.tel-sel__input:focus { outline: none; box-shadow: none !important; }

.tel-lista {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--superficie);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.tel-lista--aberta { display: block; }

.tel-lista__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: none;
  color: var(--texto);
  cursor: pointer;
  font-size: .9rem;
  text-align: left;
}
.tel-lista__item:hover { background: var(--superficie-2); }

.tel-lista__bandeira {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.tel-lista__bandeira img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
}
.tel-lista__nome { flex: 1; }
.tel-lista__codigo { color: var(--texto-3); font-size: .8rem; font-weight: 600; flex: none; }

/* ---------- Seletor de Gênero ---------- */

.genero { margin-bottom: 16px; }

.genero__titulo {
  font-size: .95rem;
  color: var(--texto);
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

.genero__opcoes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.genero__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--superficie);
  border: 2px solid var(--linha);
  border-radius: var(--raio);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.genero__card:hover {
  border-color: rgba(37,211,102,.4);
  background: var(--superficie-2);
}

.genero__card--ativo {
  border-color: var(--verde);
  background: rgba(37,211,102,.08);
}

.genero__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--superficie-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.genero__avatar svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--texto-2);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.genero__card--ativo .genero__avatar {
  background: rgba(37,211,102,.15);
}

.genero__card--ativo .genero__avatar svg {
  stroke: var(--verde);
}

.genero__label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--texto);
}

/* ---------- WA Investigation: resumo verde ---------- */

.iginv__resumo--wa {
  background: linear-gradient(135deg, rgba(37,211,102,.12) 0%, rgba(18,140,64,.08) 100%);
  border-color: rgba(37,211,102,.25);
}
.iginv__resumo--wa .iginv__resumo-label {
  color: var(--verde);
}

.iginv__stat--verde {
  background: rgba(37,211,102,.10);
  border-color: rgba(37,211,102,.25);
}
.iginv__stat--verde strong { color: var(--verde); }

.iginv__stat--verde-escuro {
  background: rgba(18,140,64,.10);
  border-color: rgba(18,140,64,.25);
}
.iginv__stat--verde-escuro strong { color: #128c40; }

/* ---------- WA Chat messages inside investigation cards ---------- */

.wachat__daytag {
  text-align: center;
  font-size: .7rem;
  color: var(--texto-3);
  padding: 8px 0 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.wachat__msg {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 82%;
  padding: 8px 10px 4px;
  border-radius: 8px;
  font-size: .85rem;
  line-height: 1.4;
  position: relative;
}

.wachat__msg--rec {
  align-self: flex-start;
  background: var(--superficie-2);
  border-bottom-left-radius: 2px;
  color: var(--texto);
}

.wachat__msg--env {
  align-self: flex-end;
  background: var(--verde-escuro);
  border-bottom-right-radius: 2px;
  color: var(--texto);
}

.wachat__texto { word-break: break-word; }

.wachat__texto--blur {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

.wachat__hora {
  font-size: .65rem;
  color: rgba(255,255,255,.45);
  text-align: right;
  margin-top: 2px;
}

.wachat__foto {
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 18px 14px;
  text-align: center;
  font-size: .8rem;
  color: var(--texto-3);
  filter: blur(3px);
}

.wachat__audio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: .75rem;
  color: var(--texto-2);
  filter: blur(3px);
  user-select: none;
  pointer-events: none;
}

.wachat__wave {
  display: flex;
  align-items: center;
  gap: 1px;
  height: 20px;
}
.wachat__wave i {
  display: block;
  width: 2px;
  background: rgba(37,211,102,.6);
  border-radius: 1px;
  min-height: 2px;
}

.wachat__aviso {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: var(--verde);
  padding: 10px 0 4px;
  border-top: 1px solid var(--linha);
  margin-top: 8px;
}
.wachat__aviso .ic { width: 14px; height: 14px; }

/* ---------- Messages summary ---------- */
.iginv__resumo--msg {
  border-color: rgba(255,193,7,.25);
}
.iginv__resumo--msg .iginv__resumo-label {
  color: var(--srv-msg);
}
.iginv__stat--amarelo {
  background: rgba(255,193,7,.10);
  border-color: rgba(255,193,7,.25);
}
.iginv__stat--amarelo strong { color: var(--srv-msg); }
.iginv__stat--amarelo-escuro {
  background: rgba(200,150,0,.10);
  border-color: rgba(200,150,0,.25);
}
.iginv__stat--amarelo-escuro strong { color: #c89600; }

/* ---------- Chamadas summary ---------- */
.iginv__resumo--ch {
  border-color: rgba(0,188,212,.25);
}
.iginv__resumo--ch .iginv__resumo-label {
  color: var(--srv-chamada);
}
.iginv__stat--ciano {
  background: rgba(0,188,212,.10);
  border-color: rgba(0,188,212,.25);
}
.iginv__stat--ciano strong { color: var(--srv-chamada); }
.iginv__stat--ciano-escuro {
  background: rgba(0,130,150,.10);
  border-color: rgba(0,130,150,.25);
}
.iginv__stat--ciano-escuro strong { color: #008296; }
.iginv__stat--escuro strong { color: var(--texto); }

/* ---------- Chamadas log items ---------- */
.ch-lista {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.ch-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--raio);
  background: var(--superficie);
  border: 1px solid var(--linha);
  align-items: flex-start;
  transition: border-color .2s;
}

.ch-item__icone {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ch-item__icone .ic { width: 18px; height: 18px; }
.ch-item__icone--out {
  background: rgba(37,211,102,.15);
  color: var(--verde);
}
.ch-item__icone--in {
  background: rgba(0,188,212,.15);
  color: var(--srv-chamada);
}

.ch-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ch-item__topo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ch-item__numero {
  font-size: .9rem;
  color: var(--texto);
}

.ch-item__tipo {
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.ch-item__tipo--out {
  background: rgba(37,211,102,.12);
  color: var(--verde);
}
.ch-item__tipo--in {
  background: rgba(0,188,212,.12);
  color: var(--srv-chamada);
}

.ch-item__tag {
  font-size: .68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--texto-2);
}
.ch-item__tag--empresa {
  background: rgba(255,152,0,.12);
  color: #FF9800;
}
.ch-item__tag--freq {
  background: rgba(244,67,54,.12);
  color: #F44336;
}

.ch-item__rodape {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ch-item__data {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  color: var(--texto-3);
}
.ch-item__data .ic { width: 13px; height: 13px; }

.ch-item__duracao {
  font-size: .78rem;
  color: var(--texto-2);
  font-weight: 600;
}

/* ---------- Suporte ---------- */
.suporte__hero {
  text-align: center;
  padding: 24px 16px 20px;
  margin-bottom: 8px;
}
.suporte__hero-titulo {
  font-size: 1.2rem;
  font-family: var(--f-marca);
  font-weight: 700;
  margin-bottom: 6px;
}
.suporte__hero-sub {
  font-size: .88rem;
  color: var(--texto-2);
  line-height: 1.4;
}

/* ---------- Suporte: option cards ---------- */
.sup-opcoes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 4px;
}
.sup-opcao {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 16px;
  border-radius: var(--raio);
  background: var(--superficie);
  border: 1px solid var(--linha);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, background .2s, transform .15s;
}
.sup-opcao:hover { border-color: var(--verde); background: var(--superficie-2); transform: translateY(-1px); }
.sup-opcao__icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  flex: none;
}
.sup-opcao__icone .ic { width: 22px; height: 22px; }
.sup-opcao__icone--obs {
  background: rgba(var(--srv-chamada-rgb), .12);
  color: var(--srv-chamada);
}
.sup-opcao__icone--reemb {
  background: rgba(var(--ouro-rgb), .12);
  color: var(--ouro);
}
.sup-opcao__texto { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sup-opcao__texto strong { font-size: .95rem; color: var(--texto); }
.sup-opcao__texto p { font-size: .82rem; color: var(--texto-2); line-height: 1.4; margin: 0; }

/* ---------- Suporte: form view ---------- */
.suporte__voltar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  color: var(--texto-2);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  margin-bottom: 12px;
}
.suporte__voltar:hover { color: var(--texto); }
.suporte__voltar .ic { width: 18px; height: 18px; }
.suporte__form-titulo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-family: var(--f-marca);
  font-weight: 700;
  margin-bottom: 6px;
}
.suporte__form-icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  flex: none;
}
.suporte__form-icone .ic { width: 18px; height: 18px; }
.suporte__form-icone--obs { background: rgba(var(--srv-chamada-rgb), .12); color: var(--srv-chamada); }
.suporte__form-icone--reemb { background: rgba(var(--ouro-rgb), .12); color: var(--ouro); }
.suporte__form-desc {
  font-size: .85rem;
  color: var(--texto-2);
  margin-bottom: 16px;
  line-height: 1.4;
}

/* Contact form */
.suporte__form { display: flex; flex-direction: column; gap: 12px; }
.suporte__textarea {
  resize: vertical;
  min-height: 90px;
  font-family: inherit;
}
.suporte__form-status {
  font-size: .82rem;
  min-height: 1.2em;
}


/* ---------- Serviço bloqueado (antes da ativação) ---------- */

.servico--bloqueado {
  position: relative;
  opacity: 0.45;
  cursor: not-allowed;
}
.servico--bloqueado:hover { transform: none; border-color: var(--linha); }
.servico__cadeado {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: var(--texto-2);
}
.servico__cadeado .ic { width: 14px; height: 14px; }

/* ---------- Tour de ativação ---------- */

/* A página continua rolável durante o tour: as faixas já bloqueiam o clique,
   e travar o scroll impediria o tour de trazer o alvo para a área visível. */
.tour {
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0;
  transition: opacity 0.22s ease;
  /* O container cobre a tela toda: sem isto ele engoliria o clique no alvo,
     mesmo sendo transparente. Quem bloqueia são as faixas. */
  pointer-events: none;
}
.tour--visivel { opacity: 1; }

/* Quatro faixas ao redor do alvo: escurecem e bloqueiam o clique.
   Só o buraco entre elas — o elemento do passo — continua clicável. */
.tour-faixa {
  position: fixed;
  pointer-events: auto;
  background: rgba(4, 9, 12, 0.76);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

.tour-realce {
  position: fixed;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: 0 0 0 2px var(--verde), 0 0 0 7px rgba(var(--verde-rgb), 0.22);
  animation: tour-pulsar 1.8s ease-in-out infinite;
}
@keyframes tour-pulsar {
  0%, 100% { box-shadow: 0 0 0 2px var(--verde), 0 0 0 7px rgba(var(--verde-rgb), 0.22); }
  50%      { box-shadow: 0 0 0 2px var(--verde), 0 0 0 12px rgba(var(--verde-rgb), 0.05); }
}

.tour-balao {
  position: fixed;
  pointer-events: auto;
  width: min(320px, calc(100vw - 24px));
  padding: 16px 18px;
  border-radius: var(--raio);
  background: linear-gradient(160deg, var(--grafite-800), var(--grafite-900));
  box-shadow: inset 0 0 0 1px rgba(var(--verde-rgb), 0.35), 0 20px 46px -20px rgba(0, 0, 0, 0.95);
  display: grid;
  gap: 6px;
}
.tour-balao__seta {
  position: absolute;
  left: var(--seta-x, 50%);
  top: -7px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  transform: rotate(45deg);
  background: var(--grafite-800);
  box-shadow: inset 1px 1px 0 rgba(var(--verde-rgb), 0.35);
}
.tour-balao--acima .tour-balao__seta {
  top: auto;
  bottom: -7px;
  background: var(--grafite-900);
  box-shadow: inset -1px -1px 0 rgba(var(--verde-rgb), 0.35);
}
.tour-balao__topo { display: flex; align-items: center; gap: 8px; }
.tour-balao__selo {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(var(--verde-rgb), 0.14);
  color: var(--verde);
}
.tour-balao__selo .ic { width: 13px; height: 13px; }
.tour-balao__passo {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--verde);
}
.tour-balao__titulo { font-family: var(--f-marca); font-size: 1rem; }
.tour-balao__texto { font-size: 0.86rem; line-height: 1.5; color: var(--texto-2); }

/* ---------- Card de ativação da conta ---------- */

.ativar {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: var(--raio-g);
  background:
    radial-gradient(90% 140% at 6% 0%, rgba(var(--verde-rgb), 0.16), transparent 62%),
    linear-gradient(160deg, var(--grafite-800), var(--grafite-900));
  box-shadow: inset 0 0 0 1px var(--linha), 0 18px 40px -26px rgba(0, 0, 0, 0.9);
}
.ativar::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--verde), transparent 72%);
}
.ativar__etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ouro);
}
.ativar__etiqueta .ic { width: 15px; height: 15px; }
.ativar__titulo { font-size: 1.4rem; letter-spacing: -0.02em; }
.ativar__sub { font-size: 0.9rem; color: var(--texto-2); line-height: 1.5; }
.ativar__passos {
  display: grid;
  gap: 8px;
  margin: 6px 0 2px;
  padding: 0;
  list-style: none;
}
.ativar__passo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--texto-2);
}
.ativar__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(var(--verde-rgb), 0.14);
  color: var(--verde);
  font-size: 0.75rem;
  font-weight: 700;
}
.ativar__btn { margin-top: 6px; }

@media (max-width: 599px) {
  .ativar { padding: 18px; }
  .ativar__titulo { font-size: 1.2rem; }
}

/* ---------- Popup de conta ativada ---------- */

.parabens { display: grid; gap: 14px; justify-items: center; text-align: center; }
.parabens__selo {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(var(--verde-rgb), 0.14);
  color: var(--verde);
  box-shadow: 0 0 0 6px rgba(var(--verde-rgb), 0.06);
}
.parabens__selo .ic { width: 30px; height: 30px; }
.parabens__texto { font-size: 0.9rem; line-height: 1.55; color: var(--texto-2); }

/* ---------- Saldo insuficiente (modal central) ---------- */

/* A folha padrão nasce colada embaixo no celular; este modificador traz o
   diálogo para o meio da tela e limita a largura, virando um quadrado. */
dialog.folha.folha--centro {
  width: min(100% - 40px, 360px);
  max-width: 360px;
  margin: auto;
  border-radius: var(--raio-g);
}

.sem-cred {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 6px 0 2px;
}
.sem-cred__selo {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: var(--ouro);
  background: rgba(var(--ouro-rgb), 0.14);
  box-shadow: 0 0 0 7px rgba(var(--ouro-rgb), 0.06);
}
.sem-cred__selo .ic { width: 28px; height: 28px; }
.sem-cred__titulo { font-size: 1.25rem; letter-spacing: -0.01em; }
.sem-cred__texto { font-size: 0.9rem; line-height: 1.5; color: var(--texto-2); }
.sem-cred__texto strong { color: var(--texto); }
.sem-cred__faltam {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ouro);
  background: rgba(var(--ouro-rgb), 0.12);
}
.sem-cred__faltam .ic { width: 14px; height: 14px; }
.sem-cred__cta { margin-top: 6px; }
.sem-cred .btn { width: 100%; }
