:root {
  --bg: #0e0b1e;
  --bg-2: #16102c;
  --card: #1c1438;
  --line: #3a2a68;
  --accent: #7d5cff;
  --accent-2: #b9a6ff;
  --text: #f4f0ff;
  --muted: #c7bce6;
  --mint: #7dffc3;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Outfit, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: inherit; }
.bg-glow {
  position: fixed; inset: -20% auto auto 30%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, #4b2fa855, transparent 65%);
  pointer-events: none; z-index: 0;
}
main, footer { position: relative; z-index: 1; }
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 6vw;
  border-bottom: 1px solid #2a1c4f66;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0e0b1e;
  pointer-events: auto;
}
.logo { font-weight: 700; text-decoration: none; letter-spacing: .02em; position: relative; z-index: 1001; }
.nav nav { display: flex; gap: 1.2rem; align-items: center; position: relative; z-index: 1001; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: .95rem; pointer-events: auto; }
.nav .btn { pointer-events: auto; cursor: pointer; }
.hero, .section { padding: 4.5rem 6vw; max-width: 1120px; margin: 0 auto; }
.hero, .section, #topo, #servicos, #dashboard, #experiencia, #habilidades, #formacao, #contato {
  scroll-margin-top: 5.5rem;
}
.eyebrow {
  color: var(--accent-2); text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; font-weight: 600; margin-bottom: .8rem;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.1; max-width: 16ch; }
h2 { font-size: 1.8rem; margin-bottom: 1.4rem; }
h3 { font-size: 1.15rem; margin: .35rem 0 .4rem; }
.lead { margin: 1.2rem 0 1.6rem; color: var(--muted); max-width: 46ch; font-size: 1.15rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; text-decoration: none;
  padding: .75rem 1.2rem; border-radius: 999px; font-weight: 600;
}
.btn-ghost { background: transparent; border: 1px solid var(--line); }
.btn-sm { padding: .45rem .9rem; font-size: .88rem; }
.hero-meta {
  list-style: none; display: flex; gap: 1.2rem; flex-wrap: wrap;
  margin-top: 2rem; color: var(--muted); font-size: .92rem;
}
.grid-4, .grid-3, .contact-grid {
  display: grid; gap: 1rem;
}
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.25rem;
}
.num { color: var(--accent-2); font-weight: 700; }
.note { color: var(--muted); margin: -.6rem 0 1.2rem; }
.dash {
  background: linear-gradient(180deg, #1a1238, #120c24);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
}
.dash-top { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.dash-kicker { color: var(--accent-2); font-size: .8rem; }
.live {
  font-size: .75rem; border: 1px solid var(--accent); color: var(--accent-2);
  border-radius: 999px; padding: .25rem .7rem; white-space: nowrap;
}
.kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 1.2rem 0;
}
.kpis article {
  background: #24184a; border-radius: 14px; padding: .9rem;
}
.kpis p { color: var(--muted); font-size: .82rem; }
.kpis strong { display: block; font-size: 1.45rem; margin-top: .2rem; }
.kpis article:first-child strong { color: var(--mint); }
.bar-row {
  display: grid; grid-template-columns: 120px 1fr 2rem; gap: .7rem; align-items: center;
  margin-bottom: .65rem;
}
.track { background: #2a1c4f; height: 10px; border-radius: 99px; overflow: hidden; }
.track i {
  display: block; height: 100%; width: var(--w);
  background: linear-gradient(90deg, #5b3dff, #c4b5ff);
  border-radius: 99px;
}
.flow {
  display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-top: 1.2rem;
  color: var(--muted); font-size: .88rem;
}
.flow li {
  border: 1px solid var(--line); border-radius: 999px; padding: .3rem .7rem;
}
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.tags li {
  border: 1px solid var(--line); background: #1a1233;
  border-radius: 999px; padding: .4rem .8rem; font-size: .92rem;
}
.about p { color: var(--muted); max-width: 62ch; margin-bottom: .8rem; }
.when { color: var(--accent-2); font-size: .85rem; font-weight: 600; }
.timeline { display: grid; gap: 1rem; }
.timeline ul { margin: .5rem 0 0 1.1rem; color: var(--muted); }
.timeline li { margin-bottom: .35rem; }
.contact-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.contact-card { text-decoration: none; }
.contact-card span { color: var(--muted); font-size: .82rem; }
.contact-card:hover { border-color: var(--accent); }
footer {
  padding: 2rem 6vw 3rem; color: var(--muted); border-top: 1px solid #2a1c4f66;
}
.fine { font-size: .82rem; margin-top: .3rem; }
@media (max-width: 720px) {
  .nav nav a:not(.btn) { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .bar-row { grid-template-columns: 1fr; }
}
