/* ============================================================
 * Link da Bio — página pública
 * Design clean, mobile-first, inspirado em Linktree.
 * ============================================================ */

*,*::before,*::after { box-sizing: border-box; }

.bio-body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  min-height: 100vh;
  color: #1a1a1a;
  background: #f5f5f7;
  padding: 24px 16px 40px;
  -webkit-font-smoothing: antialiased;
}

.bio-body.bio-dark { color: #f2f2f2; background: #0f1115; }

.bio-wrap {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Header ─────────────────────────────────────────────── */
.bio-header { text-align: center; padding: 20px 12px 8px; }
.bio-logo {
  width: 110px; height: 110px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
}
.bio-dark .bio-logo { background: rgba(255,255,255,0.06); box-shadow: 0 4px 20px rgba(0,0,0,0.6); }
.bio-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-title { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.2px; }
.bio-desc { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: inherit; opacity: .85; white-space: pre-wrap; }

/* ── Botões ─────────────────────────────────────────────── */
.bio-links { display: flex; flex-direction: column; gap: 12px; }
.bio-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; min-height: 56px;
  background: #fff; color: #1a1a1a;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600; font-size: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.bio-btn:hover,
.bio-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  background: #fafafa;
  outline: none;
}
.bio-btn:active { transform: translateY(0); }
.bio-dark .bio-btn { background: #1b1e25; color: #f2f2f2; border-color: rgba(255,255,255,0.08); box-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.bio-dark .bio-btn:hover { background: #232732; }

.bio-btn-icon {
  width: 36px; height: 36px; flex: 0 0 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--bio-accent) 15%, transparent);
  color: var(--bio-accent);
}
.bio-dark .bio-btn-icon { background: color-mix(in srgb, var(--bio-accent) 25%, transparent); }
.bio-btn-label { flex: 1; }

/* ── Seção Consultores ──────────────────────────────────── */
.bio-consultores {
  padding: 4px 0 4px;
  display: flex; flex-direction: column; gap: 8px;
}
.bio-consultores-header {
  display: flex; align-items: center; gap: 8px;
  padding: 0 6px;
  font-size: 13px; letter-spacing: 0.3px; text-transform: uppercase;
  color: var(--bio-accent);
  font-weight: 700;
}
.bio-consultores-header h2 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.3px; }
.bio-consultores-header svg { width: 18px; height: 18px; }
.bio-consultores-list { display: flex; flex-direction: column; gap: 10px; }

.bio-consultor {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; min-height: 60px;
  background: #fff; color: #1a1a1a;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform .12s ease, box-shadow .2s ease;
}
.bio-consultor:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.10); }
.bio-dark .bio-consultor { background: #1b1e25; color: #f2f2f2; border-color: rgba(255,255,255,0.08); }

.bio-consultor-foto {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 50%;
  object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  background: var(--bio-accent); color: #fff;
  font-weight: 700; font-size: 16px;
  text-transform: uppercase;
}
.bio-consultor-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.bio-consultor-nome { font-weight: 700; font-size: 15px; }
.bio-consultor-tel { font-size: 12px; opacity: 0.7; }
.bio-consultor-icon { color: #25D366; display: flex; }
.bio-consultor-icon svg { width: 22px; height: 22px; }

/* ── Voltar para a página do grupo (loja listada numa home de grupo) ── */
.bio-voltar {
  align-self: center; display: inline-flex; align-items: center; gap: 2px;
  margin-top: 4px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.75); border: 1px solid rgba(0,0,0,0.06);
  color: inherit; text-decoration: none; font-size: 14px; font-weight: 600;
  transition: background .15s ease, box-shadow .15s ease;
}
.bio-voltar svg { width: 20px; height: 20px; flex: 0 0 20px; }
.bio-voltar:hover,
.bio-voltar:focus-visible { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.06); outline: none; }
.bio-dark .bio-voltar { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.08); }
.bio-dark .bio-voltar:hover,
.bio-dark .bio-voltar:focus-visible { background: rgba(255,255,255,0.12); }

/* ── Página do grupo: um cartão por loja (molde arezzorp.com.br) ── */
.bio-pg-grupo .bio-title { font-size: 26px; }
.bio-grupo { display: flex; flex-direction: column; gap: 12px; }
.bio-grupo-secao {
  margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
  color: inherit; opacity: .62;
}
.bio-grupo-secao svg { width: 18px; height: 18px; flex: 0 0 18px; }
.bio-loja {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; min-height: 60px;
  background: #fff; color: #1a1a1a;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
/* espaço à esquerda do tamanho da seta: o nome fica no centro exato do cartão */
.bio-loja::before { content: ""; width: 20px; flex: 0 0 20px; }
.bio-loja:hover,
.bio-loja:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-color: color-mix(in srgb, var(--bio-accent) 35%, transparent);
  outline: none;
}
.bio-loja:active { transform: translateY(0); }
.bio-loja-nome { flex: 1; min-width: 0; text-align: center; font-size: 16px; font-weight: 600; }
.bio-loja-seta { display: flex; color: #b4b4b4; transition: color .15s ease; }
.bio-loja-seta svg { width: 20px; height: 20px; }
.bio-loja:hover .bio-loja-seta { color: var(--bio-accent); }
.bio-dark .bio-loja { background: #1b1e25; color: #f2f2f2; border-color: rgba(255,255,255,0.08); }
.bio-dark .bio-loja-seta { color: #6b7180; }

.bio-grupo-social {
  align-self: center; display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px; padding: 8px 14px; border-radius: 999px;
  color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; opacity: .8;
}
.bio-grupo-social svg { width: 18px; height: 18px; color: var(--bio-accent); }
.bio-grupo-social:hover { opacity: 1; background: color-mix(in srgb, var(--bio-accent) 10%, transparent); }

/* ── Footer ─────────────────────────────────────────────── */
.bio-footer { margin-top: 18px; text-align: center; font-size: 11px; opacity: .65; }
.bio-footer a { color: inherit; text-decoration: none; }
.bio-footer a:hover { text-decoration: underline; }

/* ── Acessibilidade ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .bio-btn, .bio-consultor, .bio-loja, .bio-voltar { transition: none; }
}

/* ── Telas maiores ──────────────────────────────────────── */
@media (min-width: 768px) {
  .bio-body { padding-top: 48px; }
  .bio-title { font-size: 26px; }
}
