/* ══════════════════════════════════════════════════════════════════════════
   /link-na-bio — a página que explica o produto para quem chegou de fora
   (09/09/2026). Serve principalmente a quem clicou no "Link NaBio" dentro do
   256bip: a pessoa tem cinco redes e um campo só.

   Só o que é DESTA página mora aqui. Caixa mestre (.shell), botões, .tag,
   .section-title e a faixa final vêm do app.css — repintar aqui faria a página
   discordar do resto do site na primeira troca de tom.

   Regra da casa que vale em cada bloco: BOXED, nunca full-bleed. Nada encosta
   na borda da janela ([[nabio-identidade-e-regras]]).
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Abertura: texto à esquerda, o celular à direita ────────────────────── */
.lnb-abertura {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
}
/* `1fr` não encolhe abaixo do min-content: sem isto o celular empurra a
   coluna de texto e a página ganha barra lateral no celular. */
.lnb-abertura > * { min-width: 0; }

.lnb-abertura h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.08;
  font-weight: 800;
  margin: 14px 0 12px;
  letter-spacing: -.02em;
}
.lnb-abertura h1 b { color: var(--brand); font-weight: 800; }

/* A assinatura da marca dentro do texto corrido: "Link" cinza, "NaBio" azul —
   as duas cores, o B maiúsculo. É a regra da marca, não enfeite. */
.lnb-marca { font-weight: 600; color: var(--muted); }
.lnb-marca span { font-weight: 800; color: var(--brand); }

/* ── O celular ──────────────────────────────────────────────────────────── */
.lnb-palco {
  position: relative;
  display: flex;
  justify-content: center;
}

.lnb-fone {
  width: min(292px, 100%);
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(160deg, #0d3a80, #1d6fe0 58%, #17b8d4);
  box-shadow: var(--shadow-lg);
}

.lnb-fone-topo {
  display: flex;
  justify-content: center;
  padding: 6px 0 8px;
}
.lnb-fone-url {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .16);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  letter-spacing: .01em;
}

.lnb-fone-tela {
  background: #f2f6fc;
  border-radius: 24px;
  padding: 18px 16px 20px;
  overflow: hidden;
}

.lnb-cartao { display: grid; justify-items: center; gap: 0; text-align: center; }

.lnb-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}
.lnb-nome { font-size: 16px; font-weight: 800; margin-top: 10px; }
.lnb-arroba { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.lnb-bio { font-size: 12px; color: var(--muted); margin: 6px 0 14px; }

/* Os botões da página publicada: pilha larga, cantos redondos, um deles cheio.
   O mesmo desenho do card.css — se lá mudar, aqui muda junto. */
.lnb-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  margin-bottom: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e4ebf6;
  font-size: 12.5px; font-weight: 700; color: #0b1c33;
  box-shadow: var(--shadow-xs);
}
.lnb-btn svg { width: 16px; height: 16px; }
.lnb-btn--destaque {
  background: var(--wa);
  border-color: var(--wa);
  color: #fff;
}

.lnb-icones {
  display: flex; gap: 14px; margin-top: 8px;
  color: var(--brand-deep);
}
.lnb-icones i { display: inline-flex; }
.lnb-icones svg { width: 19px; height: 19px; }

/* Os dois balõezinhos que flutuam ao lado do celular. Escondidos no telefone:
   ali não há margem para eles e virariam sobreposição em cima do mockup. */
.lnb-balao {
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  font-size: 12px; font-weight: 700; color: var(--brand-deep);
  box-shadow: var(--shadow-md);
}
.lnb-balao svg { width: 15px; height: 15px; }
.lnb-balao--um { top: 14%; left: -6px; }
.lnb-balao--dois { bottom: 12%; right: -6px; }

/* ── Antes e depois ─────────────────────────────────────────────────────── */
.lnb-antes-depois {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}
.lnb-antes-depois > * { min-width: 0; }

.lnb-lado {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.lnb-lado--depois { border-color: var(--sky-2); background: linear-gradient(180deg, #fff, var(--sky)); }

.lnb-selo {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--r-pill);
  padding: 6px 13px;
  font-size: 12px; font-weight: 800;
  margin-bottom: 16px;
}
.lnb-selo svg { width: 14px; height: 14px; }
.lnb-selo--ruim { background: var(--danger-soft); color: var(--danger); }
.lnb-selo--bom { background: var(--success-soft); color: var(--success); }

.lnb-campo { display: grid; gap: 6px; margin-bottom: 16px; }
.lnb-campo-rotulo { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.lnb-campo-caixa {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 11px 13px;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  /* Endereço longo não pode estourar a caixa no celular. */
  overflow-wrap: anywhere;
}
.lnb-campo--bom .lnb-campo-caixa {
  border-color: var(--brand);
  color: var(--brand-deep);
  font-weight: 800;
}

.lnb-lista { list-style: none; display: grid; gap: 9px; }
.lnb-lista li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.5px; line-height: 1.45;
}
.lnb-lista svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.lnb-lista--ruim { color: var(--muted); }
.lnb-lista--ruim svg { color: var(--danger); }
.lnb-lista--bom svg { color: var(--success); }

.lnb-seta { color: var(--brand); opacity: .5; }
.lnb-seta svg { width: 30px; height: 30px; }

/* ── A grade de redes ───────────────────────────────────────────────────── */
.lnb-redes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.lnb-redes > * { min-width: 0; }

.lnb-rede {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 13px 14px;
  box-shadow: var(--shadow-xs);
}
/* O ícone leva a cor da PRÓPRIA rede (--rede vem do catálogo em App\Rede):
   é o que faz a grade ser reconhecida de relance, sem ninguém ler o nome. */
.lnb-rede-icone {
  grid-row: 1 / 3;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--rede) 12%, #fff);
  color: var(--rede);
}
.lnb-rede-icone svg { width: 20px; height: 20px; }
.lnb-rede b { font-size: 13.5px; font-weight: 700; }
.lnb-rede small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }

.lnb-contato-titulo {
  margin: 28px 0 12px;
  font-size: 14px; font-weight: 700; color: var(--muted);
  text-align: center;
}

/* ── Passos ─────────────────────────────────────────────────────────────── */
.lnb-passos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.lnb-passo {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.lnb-passo-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800; font-size: 15px;
  margin-bottom: 12px;
}
.lnb-passo h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.lnb-passo p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ── Perguntas ──────────────────────────────────────────────────────────── */
.lnb-faq { display: grid; gap: 10px; max-width: 780px; margin-inline: auto; }
.lnb-faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-xs);
}
.lnb-faq-item summary {
  cursor: pointer;
  font-weight: 700; font-size: 14.5px;
  list-style: none;
}
.lnb-faq-item summary::-webkit-details-marker { display: none; }
.lnb-faq-item summary::after {
  content: '+';
  float: right;
  color: var(--brand);
  font-weight: 800;
}
.lnb-faq-item[open] summary::after { content: '–'; }
.lnb-faq-item p { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ── Telas estreitas ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .lnb-abertura { grid-template-columns: 1fr; }
  .lnb-palco { order: -1; }
  .lnb-passos { grid-template-columns: 1fr; }
  .lnb-antes-depois { grid-template-columns: 1fr; }
  /* A seta aponta para BAIXO quando as caixas empilham: seta para o lado
     apontando para o nada é pior do que seta nenhuma. */
  .lnb-seta { justify-self: center; transform: rotate(90deg); }
}

@media (max-width: 560px) {
  .lnb-balao { display: none; }
  .lnb-lado { padding: 18px; }
  .lnb-redes { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
