/* ==========================================================
   COMPUTECH DEV - SOBRE MIM / PORTFÓLIO PESSOAL
   Estilos customizados e utilitários de tema Cyberpunk / Dev
   (Bootstrap 5 cuida do layout; este arquivo cuida do visual)
   ========================================================== */

:root {
  --bg-dark: #050706;
  --bg-card: #0b110e;
  --bg-card-border: rgba(0, 255, 102, 0.15);
  --neon-green: #00ff66;
  --neon-cyan: #00e5ff;
  --neon-orange: #ff9100;
  --neon-amber: #ffc107;
  --text-main: #f0fdf4;
  --text-muted: #cbd5e1;
  --text-faint: #94a3b8;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body::selection {
  background: #10b981;
  color: #000;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

.texto-suave {
  color: var(--text-muted);
}

/* Efeito de Malha / Grid de Fundo */
.bg-cyber-grid {
  background-image:
    linear-gradient(to right, rgba(0, 255, 102, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 255, 102, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* Brilhos e Textos Neon */
.text-neon {
  color: var(--neon-green);
  text-shadow: 0 0 14px rgba(0, 255, 102, 0.5);
}

.text-cyan-neon {
  color: var(--neon-cyan);
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.45);
}

.text-amarelo {
  color: var(--neon-amber);
}

.link-cyan {
  color: var(--neon-cyan);
}

.cor-emerald { color: rgba(16, 185, 129, 0.55); }
.cor-cyan { color: rgba(6, 182, 212, 0.55); }
.cor-amber { color: rgba(245, 158, 11, 0.55); }

.border-neon {
  border: 1px solid rgba(0, 255, 102, 0.35);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.12);
}

.border-neon:hover {
  border-color: rgba(0, 255, 102, 0.8);
  box-shadow: 0 0 25px rgba(0, 255, 102, 0.3);
}

/* Glassmorphism Cards */
.cyber-card {
  background: rgba(11, 17, 14, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--bg-card-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cyber-card:hover {
  border-color: rgba(0, 255, 102, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(0, 255, 102, 0.2);
}

/* Botão Neon Principal */
.btn-neon {
  background-color: var(--neon-green);
  color: #030805;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 0 18px rgba(0, 255, 102, 0.35);
}

.btn-neon:hover {
  background-color: #33ff85;
  color: #030805;
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 255, 102, 0.6);
}

/* Botão Secundário Transparente */
.btn-outline-neon {
  border: 1px solid rgba(0, 255, 102, 0.4);
  color: var(--neon-green);
  background: rgba(0, 255, 102, 0.05);
  transition: all 0.25s ease;
}

.btn-outline-neon:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: rgba(0, 255, 102, 0.15);
  box-shadow: 0 0 18px rgba(0, 255, 102, 0.25);
  transform: translateY(-2px);
}

/* ================= HEADER / NAVBAR ================= */
.site-header {
  background: rgba(5, 7, 6, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 40, 24, 0.8);
}

.logo-icone {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 102, 0.5);
  background: rgba(6, 40, 24, 0.4);
  color: var(--neon-green);
  transition: transform 0.25s ease;
}

.navbar-brand:hover .logo-icone {
  transform: scale(1.05);
}

.marca-nome {
  letter-spacing: 0.05em;
  transition: color 0.25s ease;
}

.navbar-brand:hover .marca-nome {
  color: var(--neon-green) !important;
}

.marca-sub {
  font-size: 0.75rem;
}

.site-header .navbar-toggler {
  color: var(--text-muted);
}

.site-header .navbar-toggler:hover {
  color: var(--neon-green);
}

.link-menu {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.link-menu:hover,
.link-menu:focus {
  color: var(--neon-green);
}

.link-institucional {
  color: var(--neon-cyan) !important;
  font-size: 0.75rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.4rem 0.8rem !important;
  border-radius: 999px;
  background: rgba(8, 47, 73, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.link-institucional:hover {
  color: #67e8f9 !important;
}

.link-institucional-icone {
  font-size: 10px;
}

/* ================= HERO ================= */
.hero-section {
  padding: 3rem 0 5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 7rem 0;
  }
}

.badge-disponivel {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(6, 40, 24, 0.6);
  border: 1px solid rgba(0, 255, 102, 0.3);
  color: var(--neon-green);
  font-size: 0.75rem;
}

.ponto-ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  animation: ponto-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ponto-ping {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.55); }
  75%, 100% { box-shadow: 0 0 0 8px rgba(0, 255, 102, 0); }
}

.ponto-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  display: inline-block;
}

.hero-descricao {
  max-width: 42rem;
}

@media (max-width: 991.98px) {
  .hero-descricao {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-cta {
  width: 100%;
}

@media (min-width: 576px) {
  .hero-cta {
    width: auto;
  }
}

.redes-rapidas {
  color: var(--text-faint);
}

.redes-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #64748b;
}

.redes-local {
  font-size: 0.75rem;
  color: #64748b;
}

.rede-link {
  color: var(--text-faint);
  transition: color 0.25s ease;
}

.rede-link:hover {
  color: var(--neon-green);
}

/* Avatar */
.avatar-wrap {
  width: 288px;
  height: 288px;
  max-width: 100%;
}

@media (min-width: 576px) {
  .avatar-wrap {
    width: 352px;
    height: 352px;
  }
}

.avatar-ring {
  width: 100%;
  height: 100%;
  border: 2px solid rgba(0, 255, 102, 0.8);
  background: #080d0a;
  box-shadow: 0 0 35px rgba(0, 255, 102, 0.3), inset 0 0 20px rgba(0, 255, 102, 0.2);
  animation: pulse-ring 4s infinite ease-in-out;
}

.avatar-img {
  transition: transform 0.5s ease;
}

.avatar-ring:hover .avatar-img {
  transform: scale(1.05);
}

@keyframes pulse-ring {
  0%, 100% {
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.25);
  }
  50% {
    box-shadow: 0 0 50px rgba(0, 255, 102, 0.55);
  }
}

.avatar-card {
  position: absolute;
  z-index: 2;
}

.avatar-card-top {
  top: -16px;
  right: -8px;
}

.avatar-card-bottom {
  bottom: -20px;
  left: -8px;
}

@media (min-width: 576px) {
  .avatar-card-top { right: -24px; }
  .avatar-card-bottom { left: -24px; }
}

.avatar-card-icone {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: rgba(6, 40, 24, 0.8);
  border: 1px solid rgba(0, 255, 102, 0.4);
  color: var(--neon-green);
  font-size: 1.1rem;
  flex: none;
}

.avatar-card-label {
  font-size: 11px;
  color: var(--text-faint);
}

.avatar-card-valor {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

/* ================= SEÇÕES ================= */
.secao {
  padding: 5rem 0;
}

.secao-escura {
  background: rgba(6, 10, 8, 0.8);
  border-top: 1px solid rgba(6, 40, 24, 1);
}

.secao-cabecalho {
  max-width: 48rem;
}

.secao-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.metricas-section {
  border-top: 1px solid rgba(6, 40, 24, 1);
  border-bottom: 1px solid rgba(6, 40, 24, 1);
  background: rgba(8, 12, 10, 0.7);
  padding: 2.5rem 0;
}

/* Sobre */
.tag-secao {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  background: rgba(6, 40, 24, 0.7);
  border: 1px solid rgba(0, 255, 102, 0.3);
  color: var(--neon-green);
  font-size: 0.75rem;
}

.sobre-texto {
  line-height: 1.75;
}

.dados-atuacao {
  background: #070b09;
  border: 1px solid rgba(6, 60, 36, 0.5);
}

.dados-titulo {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(6, 60, 36, 0.6);
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
}

.dados-linha {
  border-bottom: 1px solid rgba(30, 41, 59, 0.4);
}

/* Projetos */
.projeto-topo {
  height: 192px;
  border-bottom: 1px solid rgba(6, 60, 36, 0.6);
}

.topo-emerald { background: linear-gradient(135deg, #022c22, #0f172a); border-bottom-color: rgba(6, 60, 36, 0.6); }
.topo-cyan { background: linear-gradient(135deg, #083344, #0f172a); border-bottom-color: rgba(8, 74, 110, 0.6); }
.topo-amber { background: linear-gradient(135deg, #451a03, #0f172a); border-bottom-color: rgba(120, 53, 15, 0.6); }

.projeto-badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 0.375rem;
  background: rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
}

.badge-emerald { color: var(--neon-green); border: 1px solid rgba(0, 255, 102, 0.3); }
.badge-cyan { color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); }
.badge-amber { color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

.projeto-icone {
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
}

.projeto-card:hover .projeto-titulo {
  color: var(--neon-green);
}

.projeto-titulo {
  transition: color 0.25s ease;
}

.projeto-descricao {
  line-height: 1.65;
}

.projeto-brilho {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  filter: blur(24px);
}

.brilho-emerald { background: rgba(16, 185, 129, 0.1); }
.brilho-cyan { background: rgba(6, 182, 212, 0.1); }
.brilho-amber { background: rgba(245, 158, 11, 0.1); }

.tag-tech {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 0.375rem;
}

.tag-emerald { background: rgba(6, 40, 24, 0.6); color: #6ee7b7; border: 1px solid rgba(6, 78, 59, 0.4); }
.tag-cyan { background: rgba(8, 47, 73, 0.6); color: #67e8f9; border: 1px solid rgba(12, 74, 110, 0.4); }
.tag-amber { background: rgba(69, 26, 3, 0.6); color: #fcd34d; border: 1px solid rgba(120, 53, 15, 0.4); }

.projeto-link {
  font-size: 0.75rem;
}

/* Stack */
.stack-icone {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  font-size: 1.25rem;
}

.icone-emerald { background: rgba(6, 40, 24, 0.8); border: 1px solid rgba(0, 255, 102, 0.3); color: var(--neon-green); }
.icone-cyan { background: rgba(8, 47, 73, 0.8); border: 1px solid rgba(6, 182, 212, 0.3); color: #22d3ee; }
.icone-purple { background: rgba(59, 7, 100, 0.8); border: 1px solid rgba(168, 85, 247, 0.3); color: #c084fc; }
.icone-amber { background: rgba(69, 26, 3, 0.8); border: 1px solid rgba(245, 158, 11, 0.3); color: #fbbf24; }

.ficha {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 0.375rem;
  background: rgba(0, 0, 0, 0.5);
}

.ficha-emerald { color: #6ee7b7; border: 1px solid rgba(6, 60, 36, 0.4); }
.ficha-cyan { color: #67e8f9; border: 1px solid rgba(8, 74, 110, 0.4); }
.ficha-purple { color: #d8b4fe; border: 1px solid rgba(88, 28, 135, 0.4); }
.ficha-amber { color: #fcd34d; border: 1px solid rgba(120, 53, 15, 0.4); }

/* Serviços */
.servico-icone {
  font-size: 1.9rem;
}

.servico-texto {
  line-height: 1.65;
}

/* Contato */
.contato-texto {
  line-height: 1.65;
}

.contato-item {
  background: #070b09;
  border: 1px solid rgba(6, 60, 36, 0.5);
  transition: border-color 0.25s ease;
}

a.contato-item:hover {
  border-color: var(--neon-green);
}

.contato-icone {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background: rgba(6, 40, 24, 1);
  color: var(--neon-green);
  font-size: 1.25rem;
  flex: none;
  transition: transform 0.25s ease;
}

.contato-item:hover .contato-icone {
  transform: scale(1.1);
}

.contato-label {
  font-size: 0.75rem;
  color: var(--text-faint);
}

.form-box {
  background: #070b09;
  border: 1px solid rgba(6, 60, 36, 0.6);
}

.label-campo {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.form-control-dark {
  background-color: #050706;
  border: 1px solid rgba(6, 60, 36, 0.8);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #fff;
}

.form-control-dark::placeholder {
  color: #475569;
}

.form-control-dark:focus {
  background-color: #050706;
  border-color: var(--neon-green);
  color: #fff;
  box-shadow: none;
  outline: none;
}

select.form-control-dark {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300ff66' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

select.form-control-dark option {
  background-color: #050706;
  color: #fff;
}

/* Footer */
.footer-site {
  border-top: 1px solid rgba(6, 40, 24, 1);
  background: #040605;
  padding: 2rem 0;
  font-size: 0.75rem;
  color: #64748b;
}

.footer-links a {
  color: var(--text-faint);
}

.footer-links a:hover {
  color: var(--neon-green);
}
