/* ==========================================================================
   BIZU DO ENGENHEIRO — DESIGN SYSTEM & PÁGINA DE LINKS (BIO)
   Estilo Premium Vanilla CSS · Versão 1.1 · Copa 2026 Brandbook
   ========================================================================== */

:root {
  /* Cores Oficiais */
  --verde-profundo: #00472D;
  --verde-brasil: #009C3B;
  --ouro-hexa: #D4AF37;
  --ouro-claro: #F4D679;
  --navy-estadio: #001A4D;
  --navy-medio: #002D7A;
  --branco-ceramico: #F5F2EA;
  --branco-puro: #FFFFFF;
  --vermelho-apito: #B22222;
  --preto-carbono: #0A0A0A;
  --grafite: #1A1A1A;
  --cinza-arquibancada: #2C2C2C;

  /* Fontes */
  --fonte-display: 'Anton', sans-serif;
  --fonte-display-2: 'Bebas Neue', sans-serif;
  --fonte-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --fonte-mono: 'JetBrains Mono', Menlo, monospace;

  /* Efeitos e Transições */
  --glow-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
  --green-glow: 0 0 25px rgba(0, 71, 45, 0.4);
  --card-blur: blur(16px);
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & CONFIGURAÇÕES BÁSICAS
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  font-family: var(--fonte-body);
  background-color: var(--preto-carbono);
  color: var(--branco-ceramico);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

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

/* ==========================================================================
   BACKGROUND ANIMADO (MESH GRADIENT PREMIUM)
   ========================================================================== */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 1;
  background-color: var(--preto-carbono);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 71, 45, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0, 26, 77, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
  animation: floatGlow 12s infinite alternate ease-in-out;
}

.bg-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--verde-profundo);
  top: -100px;
  left: -100px;
}

.bg-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--navy-estadio);
  bottom: -150px;
  right: -150px;
  animation-delay: -6s;
}

@keyframes floatGlow {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.12;
  }
  50% {
    transform: translate(50px, 30px) scale(1.1);
    opacity: 0.18;
  }
  100% {
    transform: translate(-30px, -50px) scale(0.9);
    opacity: 0.12;
  }
}

/* ==========================================================================
   ESTRUTURA CONTAINER PRINCIPAL
   ========================================================================== */
.bio-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   CABEÇALHO (PERFIL)
   ========================================================================== */
.bio-header {
  text-align: center;
  margin-bottom: 40px;
  width: 100%;
}

.profile-photo-wrapper {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 20px;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--ouro-hexa);
  box-shadow: 0 10px 25px rgba(0, 71, 45, 0.3);
  transition: var(--transition-smooth);
}

.profile-photo.brand-logo-icon {
  object-fit: contain;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15), inset 0 0 15px rgba(255, 255, 255, 0.05);
}

.profile-photo-wrapper:hover .profile-photo {
  transform: scale(1.05);
  border-color: var(--branco-puro);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.profile-photo-wrapper:hover .profile-photo.brand-logo-icon {
  transform: scale(1.05) rotate(3deg);
  border-color: var(--ouro-hexa);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.08);
}

.profile-status-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background-color: var(--verde-brasil);
  border: 3px solid var(--preto-carbono);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--verde-brasil);
}

.profile-name {
  font-family: var(--fonte-display);
  font-size: 2.25rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--branco-puro);
  margin-bottom: 10px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

.profile-tagline {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--branco-ceramico);
  opacity: 0.85;
  max-width: 320px;
  margin: 0 auto 24px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Redes Sociais no Topo */
.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco-ceramico);
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  background: var(--verde-profundo);
  border-color: var(--ouro-hexa);
  color: var(--ouro-hexa);
  box-shadow: var(--green-glow);
}

/* ==========================================================================
   CARDS DE LINKS (GLASSMORPHISM)
   ========================================================================== */
.links-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: 48px;
}

.bio-link-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

/* Glow de Acompanhamento do Cursor (JS) */
.bio-link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(212, 175, 55, 0.08),
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
  pointer-events: none;
}

.bio-link-card:hover::before {
  opacity: 1;
}

/* Container do Ícone / Logotipo */
.card-icon {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  background: rgba(var(--icon-color-rgb, 255, 255, 255), 0.03);
  border: 1px solid rgba(var(--icon-color-rgb, 255, 255, 255), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(var(--icon-color-rgb, 255, 255, 255), 0.02);
}

/* Ajustes dos Logotipos Extraídos */
.product-logo {
  display: block;
  transition: var(--transition-smooth);
}

.product-logo.logo-contain {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.product-logo.logo-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.product-logo.logo-white {
  filter: brightness(0) invert(1);
}

/* Textos do Card */
.card-text {
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.card-text h3 {
  font-family: var(--fonte-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--branco-puro);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  transition: var(--transition-smooth);
}

.card-text p {
  font-size: 0.85rem;
  color: var(--branco-ceramico);
  opacity: 0.65;
  line-height: 1.4;
  font-weight: 400;
  transition: var(--transition-smooth);
}

/* Seta Indicativa à Direita */
.card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco-ceramico);
  opacity: 0.3;
  transform: translateX(0);
  transition: var(--transition-smooth);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Efeitos Globais de Hover nos Cards */
.bio-link-card:hover {
  transform: translateY(-4px) scale(1.015);
  background: rgba(0, 71, 45, 0.2);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 12px 40px rgba(0, 71, 45, 0.35);
}

.bio-link-card:hover .card-text h3 {
  color: var(--ouro-claro);
}

.bio-link-card:hover .card-text p {
  opacity: 0.85;
}

.bio-link-card:hover .card-icon {
  background: rgba(var(--icon-color-rgb, 255, 255, 255), 0.08);
  transform: scale(1.08) rotate(3deg);
  border-color: rgba(var(--icon-color-rgb, 255, 255, 255), 0.4);
  box-shadow: 0 0 15px rgba(var(--icon-color-rgb, 255, 255, 255), 0.25);
}

.bio-link-card:hover .product-logo {
  transform: scale(1.05);
}

.bio-link-card:hover .card-arrow {
  opacity: 0.9;
  transform: translateX(4px);
  color: var(--ouro-hexa);
}

/* Efeito de Reflexo no Hover (Glow Sweep) */
.bio-link-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  transition: 0.75s;
  pointer-events: none;
}

.bio-link-card:hover::after {
  left: 120%;
}

/* ==========================================================================
   ESTILO DO CARD EM DESTAQUE (SPOTLIGHT)
   ========================================================================== */
.bio-link-card.spotlight {
  background: linear-gradient(135deg, rgba(0, 71, 45, 0.45) 0%, rgba(0, 26, 77, 0.35) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 35px rgba(0, 71, 45, 0.4);
  animation: borderPulse 4s infinite alternate;
}

.bio-link-card.spotlight .card-icon {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
}

.bio-link-card.spotlight .card-text h3 {
  color: var(--ouro-hexa);
}

/* Badge do Spotlight */
.card-badge {
  display: inline-block;
  font-family: var(--fonte-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--preto-carbono);
  background: var(--ouro-hexa);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Hover específico para o card com spotlight */
.bio-link-card.spotlight:hover {
  border-color: var(--ouro-hexa);
  box-shadow: 0 15px 45px rgba(0, 71, 45, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
  background: linear-gradient(135deg, rgba(0, 71, 45, 0.6) 0%, rgba(0, 26, 77, 0.5) 100%);
}

.bio-link-card.spotlight:hover .card-text h3 {
  color: var(--branco-puro);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

@keyframes borderPulse {
  0% {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 35px rgba(0, 71, 45, 0.4);
  }
  100% {
    border-color: rgba(212, 175, 55, 0.75);
    box-shadow: 0 10px 35px rgba(0, 71, 45, 0.4), 0 0 15px rgba(212, 175, 55, 0.25);
  }
}

/* ==========================================================================
   RODAPÉ (COMPLIANCE E CRÉDITOS)
   ========================================================================== */
.bio-footer {
  width: 100%;
  text-align: center;
  padding: 24px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo-wrapper {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.footer-logo-wrapper:hover {
  transform: translateY(-3px) rotate(-5deg);
  border-color: var(--ouro-hexa);
  box-shadow: 0 10px 28px rgba(0, 71, 45, 0.4);
}

.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--branco-ceramico);
  opacity: 0.6;
  line-height: 1.6;
  max-width: 320px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--branco-ceramico);
}

.footer-links a {
  opacity: 0.65;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--ouro-hexa);
  border-bottom-color: var(--ouro-hexa);
}

.footer-copy {
  font-family: var(--fonte-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde-brasil);
  margin-top: 8px;
  opacity: 0.8;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */
@media (max-width: 480px) {
  .bio-container {
    padding: 32px 16px 24px;
  }

  .profile-name {
    font-size: 2rem;
  }

  .profile-tagline {
    font-size: 0.88rem;
    max-width: 280px;
  }

  .bio-link-card {
    padding: 16px 18px;
    gap: 14px;
  }

  .card-icon {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }

  .card-text h3 {
    font-size: 1rem;
  }

  .card-text p {
    font-size: 0.8rem;
  }
}
