/* =========================================================
   FERNANDO LISBOA — página de links (formato "link na bio")
   Paleta herdada do site principal: carvão/índigo + violeta + ciano
   ========================================================= */
:root {
  --bg: #0a0a12;
  --surface: #14141f;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --violet: #7c5cff;
  --violet-light: #a78bfa;
  --cyan: #34e2e2;
  --whatsapp: #25d366;

  --text: #f3f3f8;
  --text-muted: #9d9db2;
  --text-soft: #c7c7dd;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { overflow-x: hidden; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Fundo ambiente */
.bio-aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bio-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.ba1 { width: 420px; height: 420px; top: -140px; left: -120px; background: var(--violet); }
.ba2 { width: 380px; height: 380px; bottom: -160px; right: -100px; background: var(--cyan); opacity: 0.22; }

.bio-wrap {
  max-width: 460px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

/* Header / perfil */
.bio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.bio-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--violet);
  box-shadow: 0 0 0 5px rgba(124, 92, 255, 0.18), 0 20px 40px rgba(124, 92, 255, 0.25);
  margin-bottom: 14px;
}

.bio-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  letter-spacing: -0.01em;
}

.bio-name span {
  background: linear-gradient(135deg, var(--violet-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bio-handle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.bio-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.bio-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text-soft);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bio-social a:hover {
  color: var(--violet-light);
  border-color: var(--violet);
  transform: translateY(-2px);
}

/* Cartão de contato */
.bio-contact {
  display: block;
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bio-contact:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.bio-contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.bio-contact-title {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.bio-contact-title b {
  color: var(--text);
}

.bio-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--whatsapp);
  white-space: nowrap;
}

.bio-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
}

.bio-contact-bubble {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-soft);
}

.bio-contact-bubble svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--whatsapp);
}

.bio-contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--violet-light);
}

/* Lista de links */
.bio-links {
  margin-top: 22px;
}

/* CTA piscante */
.cta-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  background-size: 200% 200%;
  animation: banner-flow 8s ease-in-out infinite, cta-blink 1.8s ease-in-out infinite;
}

.cta-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.55);
  animation: cta-ring 1.8s ease-out infinite;
  pointer-events: none;
}

.cta-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta-text.is-fading {
  opacity: 0;
  transform: translateY(4px);
}

.cta-banner .banner-arrow {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cta-banner:hover .banner-arrow {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.32);
}

@keyframes cta-blink {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
}

@keyframes cta-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); }
  100% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .cta-banner,
  .cta-pulse {
    animation: none;
  }
}

/* Portfólio */
.bio-portfolio {
  margin-top: 30px;
}

.bio-portfolio h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--violet-light);
  letter-spacing: 0.02em;
}

.bio-portfolio-lead {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 14px;
}

/* Banners dinâmicos — portfólio + serviço */
.banner-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 116px;
  padding: 18px 20px;
  margin-bottom: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--c1, var(--violet)), var(--c2, var(--cyan)));
  background-size: 200% 200%;
  animation: banner-flow 10s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-card:last-child { margin-bottom: 0; }

.banner-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 40px -14px var(--c2, var(--cyan));
}

.banner-emoji {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  font-size: 2.6rem;
  line-height: 1;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.banner-emoji-neon {
  width: 3.4rem;
  height: 3.4rem;
  filter: drop-shadow(0 0 4px #ff3ee0) drop-shadow(0 0 10px #ff3ee0) drop-shadow(0 0 16px #8b5cf6) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.banner-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: banner-zoom 14s ease-in-out infinite alternate;
}

.banner-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 10, 18, 0.78) 0%, rgba(10, 10, 18, 0.4) 55%, rgba(10, 10, 18, 0.55) 100%);
}

.banner-content {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.banner-content strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-content span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.banner-arrow {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: transform 0.25s ease, background 0.25s ease;
}

.banner-card:hover .banner-arrow {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.3);
}

@keyframes banner-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes banner-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .banner-card,
  .banner-photo-img {
    animation: none;
  }
}

/* Sobre */
.bio-about {
  margin-top: 30px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.bio-about h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--violet-light);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.bio-about p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.bio-about p:last-child { margin-bottom: 0; }

/* Rodapé */
.bio-footer {
  margin-top: 30px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
