/* =============================================================
   Portfólio Matheus Faé — style.css
   ============================================================= */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:      #07070d;
  --surface: #0d0d18;
  --card:    #111120;
  --border:  #1c1c30;
  --border2: #252540;
  --lime:    #c8f135;
  --blue:    #3b82f6;
  --red:     #ff4d6d;
  --text:    #f0f0f8;
  --sub:     #9090b8;
  --muted:   #4a4a70;
  --display: 'Bebas Neue', sans-serif;
  --body:    'Outfit', sans-serif;
  --mono:    'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  overflow-x: hidden;
}

/* Noise overlay */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 1000;
  pointer-events: none; opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── LOADER ──────────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 9000; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease;
}
#loader.done { opacity: 0; pointer-events: none; }
.ld-inner  { text-align: center; }
.ld-name   { font-family: var(--display); font-size: 3.5rem; letter-spacing: 0.1em; color: var(--text); margin-bottom: 22px; }
.ld-name span { color: var(--lime); }
.ld-bar    { width: 180px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; margin: 0 auto; }
.ld-fill   { height: 100%; background: var(--lime); animation: ld 1s ease forwards; }
@keyframes ld { to { width: 100%; } }

/* ── NAV ─────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(7,7,13,0.92);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-logo {
  font-family: var(--display); font-size: 1.7rem;
  letter-spacing: 0.06em; color: var(--text); text-decoration: none;
}
.nav-logo span { color: var(--lime); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--sub); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--lime); }
.nav-pill {
  background: var(--lime); color: var(--bg);
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; padding: 10px 24px;
  border-radius: 100px; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-pill:hover { transform: scale(1.05); box-shadow: 0 4px 28px rgba(200,241,53,0.4); }

/* ── HERO ────────────────────────────────────────────────────── */
#home {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 100px 48px 0;
  position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.013) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.013) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, black 20%, transparent 100%);
}
.hero-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(110px);
}
.hero-orb-1 { width: 700px; height: 700px; background: rgba(200,241,53,0.055); top: -250px; left: -150px; }
.hero-orb-2 { width: 550px; height: 550px; background: rgba(59,130,246,0.065); top: 50px; right: -180px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(200,241,53,0.07); border: 1px solid rgba(200,241,53,0.22);
  border-radius: 100px; padding: 7px 18px; margin-bottom: 36px;
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--lime);
  width: fit-content; position: relative; z-index: 1;
  opacity: 0; animation: up 0.6s 0.1s ease forwards;
}
.hero-badge-dot {
  width: 7px; height: 7px; background: var(--lime);
  border-radius: 50%; animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1;}50%{opacity:0.25;} }

h1.hero-headline {
  font-family: var(--display);
  font-size: clamp(5.5rem, 13vw, 12rem);
  line-height: 0.86; letter-spacing: 0.025em;
  position: relative; z-index: 1;
  opacity: 0; animation: up 0.7s 0.25s ease forwards;
}
h1.hero-headline .ghost {
  -webkit-text-stroke: 2px rgba(240,240,248,0.13);
  color: transparent;
}
h1.hero-headline .accent { color: var(--lime); }

.hero-lower {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-top: 44px; gap: 32px; flex-wrap: wrap;
  padding-bottom: 60px; position: relative; z-index: 1;
  opacity: 0; animation: up 0.7s 0.45s ease forwards;
}
.hero-tagline {
  font-size: clamp(0.95rem, 1.8vw, 1.2rem); font-weight: 300;
  color: var(--sub); max-width: 500px; line-height: 1.7;
}
.hero-tagline strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; flex-shrink: 0; align-items: center; }

.btn-lime {
  background: var(--lime); color: var(--bg);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; padding: 15px 34px;
  border-radius: 100px; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap;
}
.btn-lime:hover { transform: scale(1.05); box-shadow: 0 6px 36px rgba(200,241,53,0.35); }
.btn-ghost {
  border: 1px solid var(--border2); color: var(--sub);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.07em;
  text-transform: uppercase; padding: 15px 28px;
  border-radius: 100px; text-decoration: none;
  transition: border-color 0.2s, color 0.2s; white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--sub); color: var(--text); }

/* Ticker */
.ticker-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0; overflow: hidden;
  opacity: 0; animation: fadeIn 0.8s 0.85s ease forwards;
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 28px; white-space: nowrap;
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted);
}
.ticker-item .sep { color: var(--lime); font-size: 0.6rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Stats row */
.stats-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--border);
}
.stat-cell {
  padding: 36px 52px; border-right: 1px solid var(--border);
  position: relative; overflow: hidden; transition: background 0.3s;
}
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: rgba(200,241,53,0.025); }
.stat-cell::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.stat-cell:hover::after { transform: scaleX(1); }
.stat-big { font-family: var(--display); font-size: 3.8rem; color: var(--lime); line-height: 1; margin-bottom: 6px; }
.stat-lbl { font-size: 0.8rem; font-weight: 500; color: var(--sub); }

/* ── SECTIONS ────────────────────────────────────────────────── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 100px 48px; }
.section-eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime);
}
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--lime); }
.section-h {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: 0.04em; line-height: 0.92; margin-bottom: 64px;
}

/* ── PROJECTS ────────────────────────────────────────────────── */
#proj { background: var(--surface); border-top: 1px solid var(--border); }

/* Badge novo */
.badge-novo {
  display: inline-block; font-family: var(--mono);
  font-size: 0.6rem; letter-spacing: 0.1em;
  padding: 3px 10px; background: var(--lime); color: var(--bg);
  border-radius: 100px; font-weight: 700; vertical-align: middle;
  margin-left: 8px;
}

/* Feature card (big) */
.proj-feature {
  display: grid; grid-template-columns: 55% 45%;
  border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; background: var(--card); margin-bottom: 20px;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.proj-feature:hover {
  border-color: rgba(200,241,53,0.35);
  transform: translateY(-5px);
  box-shadow: 0 28px 90px rgba(0,0,0,0.55);
}
.proj-feature-body {
  padding: 52px; display: flex; flex-direction: column;
  justify-content: space-between; min-height: 360px;
}
.proj-idx {
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.proj-feature-name {
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  letter-spacing: 0.04em; line-height: 0.95; margin-bottom: 18px;
  transition: color 0.2s;
}
.proj-feature:hover .proj-feature-name { color: var(--lime); }
.proj-feature-desc {
  font-size: 0.9rem; line-height: 1.72; color: var(--sub); margin-bottom: 28px;
}
.proj-obs {
  font-size: 0.73rem; color: var(--red);
  background: rgba(255,77,109,0.07); border: 1px solid rgba(255,77,109,0.18);
  padding: 9px 14px; border-radius: 5px; margin-bottom: 22px;
}
.proj-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 36px; }
.chip {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.05em;
  padding: 5px 12px; border: 1px solid var(--border2);
  border-radius: 4px; color: var(--sub);
  transition: border-color 0.2s, color 0.2s;
}
.proj-feature:hover .chip,
.proj-small:hover .chip { border-color: rgba(200,241,53,0.2); color: var(--text); }
.proj-btns { display: flex; gap: 10px; align-items: center; }
.proj-btn-fill {
  background: var(--lime); color: var(--bg); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 11px 24px;
  border-radius: 100px; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.proj-btn-fill:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(200,241,53,0.3); }
.proj-btn-line {
  border: 1px solid var(--border2); color: var(--sub); font-size: 0.75rem;
  font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 11px 20px; border-radius: 100px; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.proj-btn-line:hover { border-color: var(--sub); color: var(--text); }
.proj-arrow {
  margin-left: auto; width: 42px; height: 42px;
  border: 1px solid var(--border2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1.1rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.3s;
}
.proj-feature:hover .proj-arrow {
  background: var(--lime); border-color: var(--lime);
  color: var(--bg); transform: rotate(45deg);
}
.proj-feature-img {
  background: var(--bg); overflow: hidden; position: relative; min-height: 280px;
}
.proj-feature-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.proj-feature:hover .proj-feature-img img { transform: scale(1.06); }
.proj-feature-img .placeholder {
  width: 100%; height: 100%; min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 6rem;
  color: rgba(200,241,53,0.07); letter-spacing: 0.05em;
  padding: 32px; transition: color 0.3s;
}
.proj-feature:hover .proj-feature-img .placeholder { color: rgba(200,241,53,0.14); }
.img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,241,53,0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* Small card grid */
.proj-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.proj-small {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 36px 32px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.proj-small:hover {
  border-color: rgba(200,241,53,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 64px rgba(0,0,0,0.5);
}
.proj-small::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--blue));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.proj-small:hover::before { transform: scaleX(1); }
.proj-small-idx {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.proj-small-name {
  font-family: var(--display); font-size: 1.7rem; letter-spacing: 0.03em;
  margin-bottom: 12px; transition: color 0.2s;
}
.proj-small:hover .proj-small-name { color: var(--lime); }
.proj-small-desc {
  font-size: 0.83rem; color: var(--sub); line-height: 1.68;
  flex: 1; margin-bottom: 18px;
}
.proj-small-obs {
  font-size: 0.7rem; color: var(--red); margin-bottom: 14px;
  padding: 7px 11px; background: rgba(255,77,109,0.06);
  border-radius: 4px; border-left: 2px solid var(--red);
}
.proj-small-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.proj-small-btns { display: flex; gap: 8px; }
.sm-btn-fill {
  background: var(--lime); color: var(--bg); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 9px 20px;
  border-radius: 100px; text-decoration: none; transition: transform 0.2s;
}
.sm-btn-fill:hover { transform: scale(1.06); }
.sm-btn-line {
  border: 1px solid var(--border2); color: var(--sub); font-size: 0.7rem;
  font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 100px; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.sm-btn-line:hover { border-color: var(--sub); color: var(--text); }

/* ── EXPERIENCE ──────────────────────────────────────────────── */
#xp {}
.xp-list { display: flex; flex-direction: column; }
.xp-row {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 64px; padding: 60px 0; border-bottom: 1px solid var(--border);
  position: relative; transition: padding-left 0.4s ease;
}
.xp-row:first-child { border-top: 1px solid var(--border); }
.xp-row:hover { padding-left: 22px; }
.xp-bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--lime), var(--blue));
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.xp-row:hover .xp-bar { transform: scaleY(1); }
.xp-meta { padding-top: 4px; }
.xp-period {
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.1em; color: var(--lime); margin-bottom: 10px;
}
.xp-company { font-size: 0.82rem; font-weight: 500; color: var(--muted); }
.xp-role {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: 0.03em; line-height: 1; margin-bottom: 18px;
}
.xp-desc {
  font-size: 0.9rem; line-height: 1.75; color: var(--sub); margin-bottom: 24px;
}
.xp-detail-block { margin-bottom: 20px; }
.xp-detail-title {
  font-family: var(--mono); font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 10px;
}
.xp-ul {
  list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px;
}
.xp-ul li {
  font-size: 0.85rem; color: var(--sub); padding-left: 16px;
  position: relative; line-height: 1.55;
}
.xp-ul li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--lime); font-size: 0.75rem;
}
.xp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.xp-tag {
  font-family: var(--mono); font-size: 0.62rem;
  padding: 5px 13px; border: 1px solid var(--border);
  border-radius: 4px; color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.xp-row:hover .xp-tag { border-color: rgba(200,241,53,0.15); color: var(--sub); }

/* ── SKILLS ──────────────────────────────────────────────────── */
#skills { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.skills-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; }
.skill-col-label {
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.skill-bar { margin-bottom: 22px; }
.skill-bar-head { display: flex; justify-content: space-between; margin-bottom: 9px; }
.skill-bar-name { font-size: 0.9rem; font-weight: 600; }
.skill-bar-pct { font-family: var(--mono); font-size: 0.72rem; color: var(--lime); }
.skill-track { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.skill-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--lime), var(--blue));
  width: 0%; transition: width 1.5s cubic-bezier(0.16,1,0.3,1);
}
.soft-col { display: flex; flex-direction: column; gap: 12px; }
.soft-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px; background: var(--card);
  border: 1px solid var(--border); border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s;
}
.soft-card:hover { border-color: rgba(200,241,53,0.2); transform: translateX(6px); }
.soft-ico { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.soft-name { font-size: 0.88rem; font-weight: 700; margin-bottom: 3px; }
.soft-desc { font-size: 0.76rem; color: var(--sub); line-height: 1.55; }

/* ── CTA / CONTATO ───────────────────────────────────────────── */
#contato { padding: 0 48px 96px; }
.cta-block {
  background: linear-gradient(135deg, #0d1803 0%, #080d1a 55%, #0e0519 100%);
  border: 1px solid rgba(200,241,53,0.1); border-radius: 14px;
  padding: 80px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 90% at 0% 50%, rgba(200,241,53,0.055) 0%, transparent 60%);
  pointer-events: none;
}
.cta-block::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 40% 60% at 100% 50%, rgba(59,130,246,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  letter-spacing: 0.04em; line-height: 0.92; margin-bottom: 20px;
  position: relative; z-index: 1;
}
.cta-title .lime { color: var(--lime); }
.cta-subtitle {
  font-size: 0.95rem; color: var(--sub); line-height: 1.7;
  max-width: 500px; position: relative; z-index: 1;
}
.cta-right {
  display: flex; flex-direction: column; gap: 14px;
  flex-shrink: 0; position: relative; z-index: 1; min-width: 220px;
}
.cta-main-btn {
  background: var(--lime); color: var(--bg); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; padding: 17px 36px;
  border-radius: 100px; text-decoration: none; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap;
}
.cta-main-btn:hover { transform: scale(1.05); box-shadow: 0 8px 44px rgba(200,241,53,0.4); }
.cta-socials { display: flex; gap: 10px; justify-content: center; }
.cta-soc {
  width: 46px; height: 46px; border: 1px solid var(--border2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--sub);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.cta-soc:hover { border-color: var(--lime); color: var(--lime); transform: scale(1.12); }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border); padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { font-family: var(--display); font-size: 1.5rem; color: var(--muted); }
.footer-logo span { color: var(--lime); }
.footer-copy { font-family: var(--mono); font-size: 0.62rem; color: var(--muted); letter-spacing: 0.08em; }

/* ── REVEAL ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* ── KEYFRAMES ───────────────────────────────────────────────── */
@keyframes up      { from{opacity:0;transform:translateY(22px);}to{opacity:1;transform:none;} }
@keyframes fadeIn  { from{opacity:0;}to{opacity:1;} }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media(max-width: 960px) {
  #nav { padding: 0 20px; }
  .nav-links { display: none; }
  #home { padding: 88px 20px 0; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .wrap { padding: 72px 20px; }
  .proj-feature { grid-template-columns: 1fr; }
  .proj-feature-img { min-height: 220px; order: -1; }
  .proj-grid { grid-template-columns: 1fr; }
  .xp-row { grid-template-columns: 1fr; gap: 14px; padding: 40px 0; }
  .skills-grid { grid-template-columns: 1fr; gap: 48px; }
  #contato { padding: 0 20px 64px; }
  .cta-block { grid-template-columns: 1fr; padding: 48px 32px; gap: 36px; }
  footer { padding: 24px 20px; flex-direction: column; gap: 8px; }
}
