/* ================================================================
   LINK NA BIO — Versão All Black & Linhas Cinzas
   Efeito de Vidro Desfocado Branco no Botão | Paleta Preto, Branco & Cinza
   ================================================================ */
:root {
  --bg: #000000;
  --card: #0a0a0c;
  --card-2: #141418;
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.65);
  --dim: rgba(255, 255, 255, 0.40);
  --accent: #ffffff;
  --accent-2: #a1a1aa;
  --sans: "Bricolage Grotesque", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@property --pillang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Fundo: Linhas Cinzas no Canvas + Brilho Branco/Cinza ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bglines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.glow {
  position: absolute;
  left: 50%;
  top: -14%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  max-width: 140vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(200, 200, 200, 0.03) 35%, transparent 70%);
  filter: blur(28px);
}

.cursorfx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 80;
  pointer-events: none;
}

/* ---------- Coluna central ---------- */
.wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: clamp(52px, 9vh, 92px) 22px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---------- Avatar ---------- */
.avatar {
  position: relative;
  width: 108px;
  height: 108px;
  margin-bottom: 22px;
}

.avatar__ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ffffff, #666666, #ffffff, #222222, #ffffff);
  animation: spin 7s linear infinite;
  filter: blur(0.4px);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.avatar__img,
.avatar__fb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 3px solid #000000;
  box-shadow: 0 12px 35px -8px rgba(255, 255, 255, 0.15), 0 0 20px rgba(0, 0, 0, 0.9);
}

.avatar__fb {
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #27272a, #09090b);
  font-size: 38px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* ---------- Pílula de status ---------- */
.statuspill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  margin-bottom: 22px;
}

.statuspill::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--pillang),
    transparent 0turn,
    transparent 0.52turn,
    rgba(255, 255, 255, 0.95) 0.70turn,
    #71717a 0.79turn,
    transparent 0.92turn,
    transparent 1turn
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  animation: pillRing 5s linear infinite;
  pointer-events: none;
}

@keyframes pillRing {
  to { --pillang: 360deg; }
}

.statuspill i {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #d4d4d8 55%, #71717a);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
  animation: pulseDot 2.6s ease-out infinite;
}

.statuspill i::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  animation: pillPing 2.6s ease-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 7px rgba(255, 255, 255, 0.6); }
  50% { box-shadow: 0 0 15px rgba(255, 255, 255, 1); }
}

@keyframes pillPing {
  0% { transform: scale(0.65); opacity: 0.9; }
  75% { opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ---------- Textos do Perfil ---------- */
.name {
  font-size: clamp(26px, 6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
}

.handle {
  color: var(--accent-2);
  font-size: 14.5px;
  margin-top: 7px;
  letter-spacing: -0.01em;
}

.bio {
  color: var(--muted);
  font-size: 15px;
  margin-top: 14px;
  max-width: 36ch;
  line-height: 1.55;
}

.bio em {
  font-style: italic;
  font-family: "Instrument Serif", serif;
  color: #ffffff;
  font-size: 1.15em;
}

/* ---------- Redes Sociais ---------- */
.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #e4e4e7;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}

.socials a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.socials svg {
  width: 18px;
  height: 18px;
}

/* ---------- Container do Botão ---------- */
.links {
  width: 100%;
  margin-top: 32px;
}

/* ================================================================
   BOTÃO ÚNICO — EFEITO VIDRO BRANCO DESFOCADO (FROSTED GLASS)
   Com textos em preto, ícone estilizado e seta de ação
   ================================================================ */
.link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  
  /* Vidro fosco branco */
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 16px 36px -10px rgba(255, 255, 255, 0.14),
    0 4px 18px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px 0 rgba(255, 255, 255, 1);
  
  color: #000000;
  transition: transform 0.28s var(--ease), border-color 0.25s, background 0.25s, box-shadow 0.28s;
}

.link:hover {
  transform: translateY(-3px) scale(1.01);
  background: rgba(255, 255, 255, 0.96);
  border-color: #ffffff;
  box-shadow:
    0 24px 50px -10px rgba(255, 255, 255, 0.26),
    0 0 35px rgba(255, 255, 255, 0.20),
    0 8px 24px rgba(0, 0, 0, 0.5),
    inset 0 1px 2px rgba(255, 255, 255, 1);
}

/* Faixa de luz que atravessa o vidro no hover */
.link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    115deg,
    transparent 15%,
    rgba(255, 255, 255, 0.4) 42%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0.4) 58%,
    transparent 85%
  );
  transform: translateX(-140%);
  transition: transform 0.85s var(--ease);
  pointer-events: none;
}

.link:hover::after {
  transform: translateX(140%);
}

/* Ícone dentro do botão */
.link__ic {
  position: relative;
  z-index: 1;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.10);
  color: #000000;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.link:hover .link__ic {
  transform: scale(1.04);
}

.link__ic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link__ic img.link__logo {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.2);
  transition: filter 0.25s var(--ease);
}

.link__ic svg {
  width: 24px;
  height: 24px;
  stroke: #000000;
}

/* Textos dentro do botão (PRETO) */
.link__tx {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.link__tx b {
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.015em;
  color: #000000;
  line-height: 1.25;
}

.link__tx span {
  font-size: 12.5px;
  color: rgba(0, 0, 0, 0.70);
  line-height: 1.45;
  font-weight: 450;
}

/* Botão de seta para a direita */
.link__go {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: #000000;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}

.link:hover .link__go {
  transform: translateX(3px);
  background: #000000;
  color: #ffffff;
}

/* ---------- Rodapé ---------- */
.foot {
  margin-top: 36px;
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.foot a {
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.foot a:hover {
  color: #ffffff;
}

/* ---------- Efeito de Reveal (Entrada em Cascata) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.link.reveal {
  transition-delay: 150ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .avatar__ring,
  .statuspill::before,
  .statuspill i,
  .statuspill i::after {
    animation: none;
  }
}

/* Linhas do fundo com metade da intensidade. */
.bglines { opacity: 0.5; }

/* Cartões com ícones SVG de tamanho uniforme. */
.link { width:100%; font:inherit; text-align:left; cursor:pointer; }
.link .link__ic { width:46px; height:46px; flex:0 0 46px; color:#fff; border:1px solid rgba(255,255,255,.25); background-size:180% 180%; background-position:0% 0%; box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 3px 8px rgba(0,0,0,.15); transition:background-position .4s ease,transform .3s ease,box-shadow .3s ease; }
.link--whatsapp .link__ic { background-image:linear-gradient(135deg,#32da7b 0%,#159c50 55%,#087638 100%); }
.link--youtube .link__ic { background-image:linear-gradient(135deg,#ff5555 0%,#e11919 55%,#a90000 100%); }
.link--mentoria .link__ic { background-image:linear-gradient(135deg,#414141 0%,#121212 55%,#000 100%); }
.link .link__ic svg { display:block; width:26px; height:26px; color:#fff; stroke:none; }
.link:hover .link__ic { background-position:100% 100%; transform:translateY(-1px) scale(1.05); box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 5px 12px rgba(0,0,0,.25); }
.link:focus-visible { outline:2px solid white; outline-offset:5px; }
@media(prefers-reduced-motion:reduce) { .link .link__ic { transition:none; } .link:hover .link__ic { transform:none; } }

/* Espaçamento da referência e cartões mais estreitos. */
.links { display:flex; flex-direction:column; gap:13px; width:100%; max-width:400px; margin-top:30px; }
.link { padding:15px 16px; gap:15px; border-radius:16px; }
.link__tx > span { min-height:2.9em; font-size:12.5px; line-height:1.45; }
.link .link__go { background:#000; color:#fff; border-color:#000; }
.link:hover .link__go { background:#fff; color:#000; border-color:rgba(0,0,0,.12); }
@media(max-width:380px) { .link { padding:14px 12px; gap:10px; } .link__tx > span { font-size:11px; } .link__tx b { font-size:14px; } }

/* Preserva o degradê no hover e aprofunda o tom em 50%. */
.link--whatsapp { --icon-gradient:linear-gradient(135deg,#32da7b 0%,#159c50 55%,#087638 100%); }
.link--youtube { --icon-gradient:linear-gradient(135deg,#ff5555 0%,#e11919 55%,#a90000 100%); }
.link--mentoria { --icon-gradient:linear-gradient(135deg,#414141 0%,#121212 55%,#000 100%); }
.link:hover .link__ic { background-image:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),var(--icon-gradient); color:#fff; }

/* Linhas mais visíveis nas telas de celular. */
@media (max-width: 600px) { .bglines { opacity: 1; } }
