/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO — Eduardo Matos · Cientista de Dados
   Tema: Glassmorphism Dark + Teal/Cyan
   ═══════════════════════════════════════════════════════════════

   COMO CUSTOMIZAR:
   ─ Cores principais → :root (--color-primary, --color-accent)
   ─ Fontes           → :root (--font-display, --font-body)
   ─ Espaçamentos     → :root (--section-py, --container-width)
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. VARIÁVEIS ─────────────────────────────────────────── */
:root {
  /* Cores — altere aqui para trocar todo o tema */
  --color-primary:     #0FA69D;
  --color-secondary:   #028183;
  --color-accent:      #00D4C6;
  --color-primary-dim: rgba(15, 166, 157, 0.15);
  --color-accent-glow: rgba(0, 212, 198, 0.25);

  /* Backgrounds */
  --color-bg:          #070D14;
  --color-bg-card:     rgba(10, 20, 32, 0.7);
  --color-bg-card2:    rgba(15, 30, 50, 0.6);
  --color-bg-nav:      rgba(7, 13, 20, 0.85);

  /* Texto */
  --color-text:        #E8F4F3;
  --color-text-muted:  #7A9B99;
  --color-text-dim:    #4A6B69;

  /* Bordas */
  --color-border:      rgba(15, 166, 157, 0.15);
  --color-border-hover:rgba(15, 166, 157, 0.40);

  /* Fontes */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Layout */
  --container-width: 1200px;
  --section-py:      100px;
  --nav-h:           70px;

  /* Raios */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Transições */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
}

/* ─── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  /* Subtle noise texture */
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(15,166,157,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(2,129,131,0.05) 0%, transparent 50%);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── 3. UTILITÁRIOS ───────────────────────────────────────── */
.container {
  width: min(var(--container-width), 100%);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 40px);
}

.mono { font-family: var(--font-mono); }

/* Glass card */
.glass-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.glass-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 212, 198, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #070D14;
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--color-accent);
  box-shadow: 0 0 30px var(--color-accent-glow);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border-hover);
}
.btn-outline:hover {
  background: var(--color-primary-dim);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
}
.btn-ghost:hover { color: var(--color-text); }
.btn-sm  { font-size: 13px; padding: 7px 16px; }
.btn-lg  { font-size: 15px; padding: 13px 28px; }

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--color-text) 30%, var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 480px;
  margin-inline: auto;
}

/* Pills / tags */
.pill {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
}
.pill-primary {
  background: var(--color-primary-dim);
  color: var(--color-accent);
  border: 1px solid rgba(15,166,157,0.25);
}
.pill-accent {
  background: rgba(0,212,198,0.08);
  color: #00D4C6;
  border: 1px solid rgba(0,212,198,0.2);
}
.pill-secondary {
  background: rgba(2,129,131,0.1);
  color: #7ecfcf;
  border: 1px solid rgba(2,129,131,0.25);
}

/* AOS-like animation */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="0"]  { transition-delay: 0s; }

/* ─── 4. NAVBAR ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s, border-bottom 0.4s;
}
.navbar.scrolled {
  background: var(--color-bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(var(--container-width), 100%);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 40px);
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.05em;
}
.logo-bracket { color: var(--color-primary); }

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-link {
  font-size: 14px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  transition: color 0.25s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--color-primary);
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--color-primary); }
.nav-link:hover::after { width: 100%; }

.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ─── 5. HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* Animated grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,166,157,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,166,157,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 80%);
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--color-primary);
  animation: float-particle linear infinite;
  opacity: 0;
}
@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-20px) scale(1); opacity: 0; }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: min(var(--container-width), 100%);
  padding-inline: clamp(16px, 5vw, 40px);
}

/* Hero text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--color-primary);
  background: var(--color-primary-dim);
  border: 1px solid rgba(15,166,157,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,198,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(0,212,198,0); }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--color-text);
  margin-bottom: 16px;
}
.hero-name-accent {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.title-prefix, .title-suffix { color: var(--color-text-dim); }
.typed-text { color: var(--color-accent); }
.typed-cursor {
  color: var(--color-accent);
  animation: blink 0.8s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-description {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}
.stat-unit {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--color-primary);
  display: inline;
}
.stat-label {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Hero Visual / Avatar ── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.avatar-ring {
  position: relative;
  width: 300px;
  height: 300px;
}

.avatar-core {
  position: absolute;
  inset: 50px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(16px);
  box-shadow: 0 0 60px var(--color-accent-glow), inset 0 0 40px rgba(15,166,157,0.05);
  animation: pulse-core 4s ease-in-out infinite;
}
@keyframes pulse-core {
  0%, 100% { box-shadow: 0 0 60px rgba(0,212,198,0.15), inset 0 0 40px rgba(15,166,157,0.05); }
  50%       { box-shadow: 0 0 80px rgba(0,212,198,0.28), inset 0 0 40px rgba(15,166,157,0.08); }
}

.avatar-svg { width: 80%; height: 80%; }

/* Orbiting dots */
.avatar-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(15,166,157,0.2);
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  transform: rotate(var(--angle)) translate(140px) translateY(-50%);
  animation: counter-spin 18s linear infinite;
}
@keyframes counter-spin { to { transform: rotate(calc(var(--angle) - 360deg)) translate(140px) translateY(-50%); } }

.orbit-dot span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-bg-card2);
  border: 1px solid var(--color-border-hover);
  border-radius: 4px;
  padding: 3px 7px;
  white-space: nowrap;
  display: block;
  box-shadow: 0 0 12px rgba(0,212,198,0.2);
}

/* Floating tags */
.float-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-hover);
  border-radius: 6px;
  padding: 5px 12px;
  white-space: nowrap;
  animation: float-anim ease-in-out infinite;
  backdrop-filter: blur(10px);
}
.tag-1 { top: 8%;   right: -10%; animation-duration: 3.2s; animation-delay: 0s; }
.tag-2 { bottom: 22%; left: -16%; animation-duration: 3.8s; animation-delay: 0.8s; }
.tag-3 { top: 28%;  left: -12%; animation-duration: 3.5s; animation-delay: 0.3s; }
.tag-4 { bottom: 8%;  right: -8%; animation-duration: 4s;   animation-delay: 1.1s; }
@keyframes float-anim {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-dim);
  animation: bounce-down 2s ease-in-out infinite;
  transition: color 0.25s;
}
.scroll-hint:hover { color: var(--color-primary); }
@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─── 6. SOBRE ─────────────────────────────────────────────── */
.sobre {
  padding-block: var(--section-py);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Terminal bio */
.sobre-bio { overflow: hidden; }

.terminal-bar {
  background: rgba(15,166,157,0.08);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.t-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.t-red    { background: #ff5f56; }
.t-yellow { background: #ffbd2e; }
.t-green  { background: #27c93f; }
.t-filename {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-dim);
  margin-left: auto;
}

.terminal-body { padding: 24px; }
.terminal-line {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 2;
}
.t-key  { color: var(--color-accent); }
.t-eq   { color: var(--color-text-dim); }
.t-str  { color: #c3e88d; }
.terminal-comment { color: var(--color-text-dim); font-style: italic; }
.terminal-bio {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-top: 8px;
}
.terminal-bio strong { color: var(--color-accent); font-weight: 600; }
.terminal-space { line-height: 1; }

/* Highlight cards */
.sobre-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.highlight-card {
  padding: 20px;
  display: flex;
  gap: 14px;
}
.hc-icon { font-size: 28px; flex-shrink: 0; }
.hc-content h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}
.hc-content p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ─── 7. TECNOLOGIAS ───────────────────────────────────────── */
.tecnologias {
  padding-block: var(--section-py);
  background: linear-gradient(180deg, transparent 0%, rgba(15,166,157,0.02) 50%, transparent 100%);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.tech-category { padding: 24px; }
.tc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.tc-icon { font-size: 22px; }
.tc-header h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}
.tc-pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* Proficiency bars */
.proficiency { max-width: 720px; margin-inline: auto; }
.prof-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 32px;
}
.prof-bars { display: flex; flex-direction: column; gap: 20px; }
.prof-bar {}
.pb-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.pb-percent { color: var(--color-accent); }
.pb-track {
  height: 4px;
  background: rgba(15,166,157,0.1);
  border-radius: 100px;
  overflow: hidden;
}
.pb-fill {
  height: 100%;
  width: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  transition: width 1.2s var(--ease-out);
  box-shadow: 0 0 10px rgba(0,212,198,0.4);
}

/* ─── 8. PROJETOS ──────────────────────────────────────────── */
.projetos { padding-block: var(--section-py); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Featured card spans 2 cols */
.project-card.featured {
  grid-column: span 2;
}

.project-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pc-icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-dim);
  border: 1px solid rgba(15,166,157,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.pc-badges { display: flex; gap: 8px; flex-wrap: wrap; }

/* Badges */
.badge {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.badge-featured {
  background: rgba(255, 190, 50, 0.1);
  color: #ffbe32;
  border: 1px solid rgba(255,190,50,0.25);
}
.badge-prod {
  background: rgba(39,201,63,0.1);
  color: #27c93f;
  border: 1px solid rgba(39,201,63,0.25);
}
.badge-api {
  background: rgba(15,166,157,0.1);
  color: var(--color-accent);
  border: 1px solid var(--color-border-hover);
}
.badge-cv {
  background: rgba(150,80,255,0.1);
  color: #b57bff;
  border: 1px solid rgba(150,80,255,0.25);
}
.badge-sql {
  background: rgba(255,120,50,0.1);
  color: #ff9060;
  border: 1px solid rgba(255,120,50,0.2);
}

.pc-body { flex: 1; }
.pc-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.project-card.featured .pc-title { font-size: 26px; }

.pc-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.pc-metrics {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
}
.metric {
  display: flex;
  flex-direction: column;
}
.metric-val {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.metric-label {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.pc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 3px 9px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.project-card:hover .tag {
  color: var(--color-primary);
  border-color: rgba(15,166,157,0.25);
  background: var(--color-primary-dim);
}

.pc-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

/* ─── 9. CONTATO ───────────────────────────────────────────── */
.contato { padding-block: var(--section-py); }

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contato-info {
  padding: 36px;
}
.contato-info h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
}
.contato-info > p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contato-info strong { color: var(--color-accent); }

.contact-links { display: flex; flex-direction: column; gap: 16px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.02);
  transition: all 0.25s var(--ease-out);
}
.contact-link:hover {
  border-color: var(--color-border-hover);
  background: var(--color-primary-dim);
  transform: translateX(4px);
}
.cl-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cl-icon.linkedin { background: rgba(10, 102, 194, 0.15); color: #0a66c2; }
.cl-icon.github   { background: rgba(255,255,255,0.06); color: var(--color-text); }
.cl-label {
  display: block;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cl-value {
  display: block;
  font-size: 14px;
  color: var(--color-text);
  margin-top: 2px;
}

.contato-cta {
  padding: 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.cta-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,166,157,0.12) 0%, transparent 70%);
  top: -80px; right: -80px;
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.15); }
}
.cta-content { position: relative; z-index: 1; }
.cta-content h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 12px;
}
.cta-content p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── 10. FOOTER ───────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--color-border);
  padding-block: 48px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}
.footer-brand p {
  font-size: 13px;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
}

.footer-nav {
  display: flex;
  gap: 28px;
}
.footer-nav a {
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--color-text-dim);
  transition: color 0.25s;
}
.footer-nav a:hover { color: var(--color-primary); }

.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  color: var(--color-text-dim);
  transition: color 0.25s, transform 0.25s;
  display: block;
}
.footer-social a:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--color-text-dim);
}
.footer-built .mono {
  font-size: 12px;
  color: var(--color-text-dim);
  background: rgba(15,166,157,0.07);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 4px 10px;
}

/* ─── 11. RESPONSIVO ───────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-py: 72px; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  .hero-text { order: 2; }
  .hero-visual { order: 1; }
  .hero-description { margin-inline: auto; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-badge { margin-inline: auto; }

  .float-tag { display: none; }

  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-highlights { grid-template-columns: 1fr 1fr; }

  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; }

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

  .footer-grid { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .nav-links, .nav-cta {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--color-bg-nav);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .nav-links.open { display: flex; }
  .nav-cta.open   { display: inline-flex; margin-inline: auto; margin-top: 0; }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .sobre-highlights  { grid-template-columns: 1fr; }
  .hero-stats        { gap: 16px; }
  .stat-number       { font-size: 26px; }
  .hero-name         { font-size: clamp(44px, 12vw, 64px); }
  .avatar-ring       { width: 220px; height: 220px; }
  .avatar-core       { inset: 36px; }
  .orbit-dot         { transform: rotate(var(--angle)) translate(100px) translateY(-50%); }
  @keyframes counter-spin { to { transform: rotate(calc(var(--angle) - 360deg)) translate(100px) translateY(-50%); } }
  .footer-nav        { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

/* ─── 12. SCROLLBAR CUSTOM ─────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
  background: var(--color-border-hover);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* ─── 13. SELECTION ────────────────────────────────────────── */
::selection {
  background: var(--color-primary-dim);
  color: var(--color-accent);
}
