/* ================================================================
   VARIABLES
================================================================ */
:root {
  --blue:        #0099FF;
  --blue-dim:    #0077CC;
  --blue-glow:   rgba(0, 153, 255, 0.25);
  --blue-thin:   rgba(0, 153, 255, 0.08);
  --bg:          #060810;
  --bg-2:        #080C14;
  --bg-card:     #0C1120;
  --bg-card2:    #0F1628;
  --border:      rgba(0, 153, 255, 0.12);
  --border-hi:   rgba(0, 153, 255, 0.35);
  --text:        #E8F0FF;
  --text-muted:  #6B7A99;
  --text-dim:    #3A4560;
  --white:       #FFFFFF;
  --mono:        'JetBrains Mono', monospace;
  --sans:        'Manrope', sans-serif;
  --display:     'Syne', sans-serif;

  /* Espaçamentos padronizados */
  --section-pad-v: 7rem;
  --section-pad-h: clamp(1.5rem, 5vw, 5rem);
  --container:     1200px;
  --radius-card:   12px;
  --nav-h:         5rem;
}

/* ================================================================
   RESET
================================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grain overlay sutil */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: 0.4;
}

::-webkit-scrollbar        { width: 4px; }
::-webkit-scrollbar-track  { background: var(--bg); }
::-webkit-scrollbar-thumb  { background: var(--blue-dim); border-radius: 2px; }

/* ================================================================
   TYPOGRAPHY
================================================================ */
.s-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--white);
  line-height: 1.05;
}

.s-title .hi { color: var(--blue); }

/* ================================================================
   LAYOUT
================================================================ */

/* Container com limite de largura */
.section-wrap {
  max-width: var(--container);
  margin: 0 auto;
}

section {
  padding: var(--section-pad-v) var(--section-pad-h);
}

/* ================================================================
   COMPONENTS — CURSOR
================================================================ */
#cur-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s;
  box-shadow: 0 0 12px var(--blue);
}

#cur-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 153, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}

body.hov #cur-dot  { width: 14px; height: 14px; }
body.hov #cur-ring { width: 56px; height: 56px; border-color: rgba(0, 153, 255, 0.25); }

/* ================================================================
   COMPONENTS — SCROLL PROGRESS
================================================================ */
#spb {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #0099FF, #00CCFF);
  z-index: 10000;
  box-shadow: 0 0 10px var(--blue);
}

/* ================================================================
   COMPONENTS — NAVBAR
================================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1.5rem var(--section-pad-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

nav.scrolled {
  padding: 1rem var(--section-pad-h);
  background: rgba(6, 8, 16, 0.75);
  backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  opacity: 0;
  transform: translateY(-10px);
  animation: logoEnter 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes logoEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ponto fixo */
.nav-logo span {
  position: relative;
  width: 6px;
  height: 6px;
  display: inline-block;
  margin: 0 6px;
}

.nav-logo span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  border-radius: 50%;
  z-index: 2;
}

/* pulso externo */
.nav-logo span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  border-radius: 50%;
  z-index: 1;
  animation: pulseRing 1.6s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-decoration: none;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color 0.3s;
  position: relative;
}

.nav-links a span {
  color: var(--blue);
  margin-right: 0.25rem;
  font-size: 0.65rem;
}

/* Underline animado */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width 0.3s;
  box-shadow: 0 0 6px var(--blue);
}

.nav-links a:hover         { color: var(--blue); }
.nav-links a:hover::after  { width: 100%; }

.nav-hire {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--border-hi);
  padding: 0.55rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.nav-hire::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-hire span { position: relative; z-index: 1; }
.nav-hire:hover              { color: var(--bg); border-color: var(--blue); }
.nav-hire:hover::before      { transform: translateX(0); }

/* Hamburger */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.ham span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-muted);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.ham.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ================================================================
   COMPONENTS — HERO
================================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem var(--section-pad-h) 5rem;
}

/* Camadas de background */
.hero-radial {
  position: absolute;
  width: min(900px, 90vw);
  height: min(900px, 90vw);
  top: -200px; right: -200px;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.07) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-radial2 {
  position: absolute;
  width: 500px; height: 500px;
  bottom: -100px; left: 5%;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.04) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* Scanlines sutis */
.hero-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 153, 255, 0.006) 3px,
    rgba(0, 153, 255, 0.006) 4px
  );
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(0, 153, 255, 0.06);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
}

.status-ping {
  width: 7px; height: 7px;
  background: #00FF88;
  border-radius: 50%;
  box-shadow: 0 0 8px #00FF88;
  animation: ping 2s ease-in-out infinite;
}

.hero-name {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 0.4rem;
  overflow: hidden;
}

.hero-name .line      { display: block; overflow: hidden; }
.hero-name .line span { display: block; transform: translateY(110%); }
.hero-name .blue-line { color: var(--blue); }

.hero-role {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--blue);
  margin-bottom: 1.8rem;
  letter-spacing: 0.03em;
  opacity: 0;
}

.hero-role .cursor-blink {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--blue);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

.hero-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 440px;
  margin-bottom: 2.8rem;
  opacity: 0;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
}

/* Botão primário */
.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--blue);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 24px rgba(0, 153, 255, 0.35), 0 0 0 1px var(--blue);
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 153, 255, 0.55), 0 0 0 1px var(--blue);
}

/* Botão secundário */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.btn-ghost:hover {
  color: var(--blue);
  border-color: var(--border-hi);
  background: var(--blue-thin);
}

/* ================================================================
   COMPONENTS — ABOUT
================================================================ */
#about { background: var(--bg-2); }

.about-text .s-title { margin-bottom: 1.8rem; }

.about-text p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.95;
  margin-top: 1rem;
  max-width: 720px;
}

.about-photo {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}


.photo-inner {
  transform-style: preserve-3d;
  will-change: transform;
}

.photo-inner img {
  width: 230px;
  border-radius: 16px;
  display: block;
  transform: translateZ(60px);
  will-change: transform;
}

.photo-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  
  background:
    radial-gradient(circle at var(--lx, 50%) var(--ly, 50%),
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.15) 20%,
      transparent 60%),
    radial-gradient(circle at 50% 50%,
      rgba(0, 0, 0, 0.25),
      transparent 70%);
  
  mix-blend-mode: overlay;
}

.photo-card {
  perspective: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-card img {
  width: 230px;
  border-radius: 16px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: block;
  backface-visibility: hidden;

  animation: slideLeft3D 2s ease forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 50%;
}

@keyframes slideLeft3D {
  from {
    transform: translateX(-150px) translateZ(-200px) rotateY(40deg) scale(0.6);
    opacity: 0;
  }
  to {
    transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
    opacity: 1;
  }
}

.about-meta {
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  width: 100%;
  max-width: 570px;
}

@media (min-width: 768px) {
  .about-meta {
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
  }
}

.meta-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem;
  transition: border-color 0.3s;
}

.meta-item:hover { border-color: var(--border-hi); }

.meta-num {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  text-shadow: 0 0 30px rgba(0, 153, 255, 0.4);
}

.meta-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* ================================================================
   COMPONENTS — SKILLS
================================================================ */
#skills { background: var(--bg); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3.5rem;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.8rem;
  transition: border-color 0.35s, box-shadow 0.35s;
  transform-style: preserve-3d;
  cursor: default;
  position: relative;
  overflow: hidden;
}

/* Spotlight no hover */
.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 153, 255, 0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.skill-card:hover::before   { opacity: 1; }
.skill-card:hover {
  border-color: var(--border-hi);
  box-shadow: 0 0 40px rgba(0, 153, 255, 0.1), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.skill-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.skill-name {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.skill-desc {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.skill-bar-wrap {
  margin-top: 1.2rem;
  height: 2px;
  background: rgba(0, 153, 255, 0.08);
  border-radius: 1px;
  overflow: hidden;
}

.skill-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), #00CCFF);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--blue);
  transition: width 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ================================================================
   COMPONENTS — PROJECTS
================================================================ */
#projects { background: var(--bg-2); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.proj-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
}

.proj-card:hover {
  border-color: var(--border-hi);
  box-shadow: 0 0 60px rgba(0, 153, 255, 0.1), 0 30px 80px rgba(0, 0, 0, 0.6);
}

.proj-card:hover .proj-thumb { transform: scale(1.06); }
.proj-card:hover .proj-arrow { transform: translate(4px, -4px); }

.proj-thumb-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
}

.proj-thumb {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gradientes por projeto */
.pt-1 { background: linear-gradient(135deg, #060810 0%, #0a1628 40%, #0099FF22 100%); }
.pt-2 { background: linear-gradient(135deg, #060C18 0%, #001830 50%, #0066AA22 100%); }
.pt-3 { background: linear-gradient(135deg, #08080E 0%, #12082A 50%, #6644FF22 100%); }
.pt-4 { background: linear-gradient(135deg, #060A14 0%, #001020 50%, #004488 100%); }
.pt-5 { background: linear-gradient(135deg, #060812 0%, #0C0820 50%, #0088CC22 100%); }

/* Grid sutil no thumbnail */
.proj-thumb-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 153, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 153, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.proj-thumb-icon {
  position: relative;
  z-index: 1;
}

.proj-thumb-num {
  position: absolute;
  bottom: 0.8rem; right: 1rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}

/* Imagem clicável do projeto */
.proj-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  transition: opacity 0.3s;
}

.proj-image:hover { opacity: 0.85; }

.proj-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.proj-tags       { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }

.proj-tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: rgba(0, 153, 255, 0.07);
  border: 1px solid rgba(0, 153, 255, 0.15);
  padding: 0.18rem 0.6rem;
  border-radius: 3px;
}

.proj-title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.proj-desc {
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}

.proj-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.proj-year {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* Botão "Ver Projeto" com feedback visual melhorado */
.proj-link {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: gap 0.3s, background 0.25s, border-color 0.25s;
}

.proj-link:hover {
  gap: 0.75rem;
  background: var(--blue-thin);
  border-color: var(--border-hi);
}

.proj-arrow { transition: transform 0.3s; display: inline-block; }

/* Card em destaque ocupa 2 colunas */
.proj-card.featured {
  grid-column: span 2;
  flex-direction: row;
}

.proj-card.featured .proj-thumb-wrap {
  aspect-ratio: unset;
  width: 44%;
  flex-shrink: 0;
}

.proj-card.featured .proj-thumb { height: 100%; }

/* ================================================================
   COMPONENTS — FOOTER
================================================================ */
footer {
  background: var(--bg);
  padding: 6rem var(--section-pad-h) 3rem;
  border-top: 1px solid var(--border);
}

.footer-cta {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

/* Linha de destaque centralizada */
.footer-cta::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 1px;
  background: var(--blue);
  box-shadow: 0 0 20px var(--blue);
}

.cta-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1.2rem;
}

.cta-title span { color: var(--blue); }

.cta-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.soc-link {
  width: 46px; height: 46px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.soc-link i { font-size: 18px; color: var(--white); }

.soc-link:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(0, 153, 255, 0.2);
}

/* ================================================================
   ANIMATIONS
================================================================ */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--blue); }
  50%       { opacity: 0.6; box-shadow: 0 0 4px var(--blue); }
}

@keyframes ping {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ================================================================
   UTILITIES
================================================================ */
.reveal { opacity: 0; transform: translateY(35px); }

/* ================================================================
   MEDIA QUERIES
================================================================ */
@media (max-width: 1024px) {
  .skills-grid   { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }

  .proj-card.featured {
    grid-column: span 2;
    flex-direction: column;
  }

  .proj-card.featured .proj-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-hire { display: none; }
  .ham { display: flex; }

  /* Menu mobile aberto */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(6, 8, 16, 0.97);
    backdrop-filter: blur(24px);
    padding: 2rem var(--section-pad-h);
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    z-index: 499;
  }

  .nav-hire.open {
    display: block;
    position: fixed;
    top: calc(64px + 2rem + 6 * 2rem);
    left: var(--section-pad-h);
    z-index: 499;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .proj-card.featured {
    grid-column: span 1;
    flex-direction: column;
  }

  .proj-card.featured .proj-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 480px) {
  .skills-grid     { grid-template-columns: 1fr; }
  .about-meta      { grid-template-columns: 1fr 1fr; }
  .hero-name       { font-size: clamp(2.8rem, 12vw, 3.5rem); }
  .photo-card img  { width: 100%; max-width: 260px; }
}