:root {
  --bg: #070a07;
  --ink: #d8ffe6;
  --muted: #8fbfa2;
  --neon: #5dff9a;
  --cyan: #7ef3e0;
  --line: #1d3b2a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
.scan {
  pointer-events: none; position: fixed; inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.03) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay; opacity: 0.25;
}
.screen { width: min(980px, calc(100% - 1rem)); margin: 0.6rem auto 1.5rem; border: 1px solid var(--line); box-shadow: 0 0 40px rgba(93, 255, 154, 0.08); }
.chrome {
  display: flex; gap: 0.8rem; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.78rem;
}
.dots { display: flex; gap: 0.35rem; }
.dots i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #16331f; display: block; }
.dots i:first-child { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.04em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin: 0.2rem 0; text-shadow: 0 0 18px rgba(93, 255, 154, 0.35); }
h2 { font-size: 1rem; color: var(--neon); margin: 1.4rem 0 0.6rem; }
h3 { margin: 0.7rem 0 0.3rem; }
p { margin: 0.3rem 0; }
.skip { position: absolute; left: 0.5rem; top: -4rem; background: var(--neon); color: #04140a; padding: 0.4rem 0.7rem; z-index: 5; }
.skip:focus { top: 0.5rem; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
main, footer { padding: 1rem; }
.panel { border: 1px solid var(--line); padding: 0.9rem; margin: 0.7rem 0; background: rgba(8, 18, 12, 0.75); }
.prompt { color: var(--muted); }
.host { color: var(--neon); }
.path { color: var(--cyan); }
.caret::after {
  content: "▍"; color: var(--neon); margin-left: 0.25rem; animation: blink 1s steps(1) infinite;
}
.hero-block {
  margin: 0.8rem 0; white-space: pre-wrap; font: inherit; color: var(--ink);
  border-left: 2px solid var(--neon); padding-left: 0.8rem;
}
.role { color: var(--neon); }
.certs, .links, .tech { display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; list-style: none; padding: 0; }
.certs li { border: 1px solid var(--neon); color: var(--neon); padding: 0.25rem 0.45rem; font-size: 0.78rem; }
.links a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.links a:hover { background: rgba(93, 255, 154, 0.12); }
.who { display: grid; gap: 0.7rem; margin-top: 0.8rem; }
.who > img { justify-self: start; width: 168px; height: 168px; max-width: 100%; object-fit: cover; object-position: center 24%; filter: saturate(0.8) contrast(1.05); border: 1px solid var(--line); }
.tech { align-items: center; }
.tech li { display: flex; align-items: center; gap: 0.35rem; }
.tech img { width: 28px; height: 28px; background: #e9fff2; }
#especialidades, #projetos { display: grid; gap: 0.2rem; }
#especialidades h2, #projetos h2 { grid-column: 1 / -1; }
.panel img { margin-top: 0.6rem; border: 1px solid var(--line); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.panel ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.tag { color: var(--cyan); letter-spacing: 0.12em; font-size: 0.75rem; }
.sim-label { display: flex; justify-content: space-between; margin-top: 0.8rem; }
output, [data-cost] { color: var(--neon); }
input[type="range"] { width: 100%; accent-color: var(--neon); height: 44px; }
.readout { font: inherit; background: #041008; padding: 0.7rem; border: 1px dashed var(--line); }
[data-status][data-level="warn"] { color: #ffe08a; }
[data-status][data-level="hot"] { color: #ff8f8f; }
.sim-nodes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.sim-node { border: 1px solid var(--line); padding: 0.45rem; }
.sim-node.is-dim { opacity: 0.35; }
.sim-node-title { color: var(--muted); font-size: 0.72rem; margin-bottom: 0.35rem; }
.sim-pods { display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem; }
.sim-pod { aspect-ratio: 1; background: #102117; }
.sim-pod.is-on { background: var(--neon); box-shadow: 0 0 10px var(--neon); }
.fine { color: var(--muted); font-size: 0.78rem; }
.field { display: grid; gap: 0.25rem; margin: 0.55rem 0; }
label { color: var(--muted); }
input, select, button {
  font: inherit; color: var(--ink); background: #041008; border: 1px solid var(--line);
  min-height: 44px; padding: 0.45rem 0.6rem; width: 100%;
}
button { color: #04140a; background: var(--neon); cursor: pointer; font-weight: 700; width: auto; }
button:hover { box-shadow: 0 0 16px rgba(93, 255, 154, 0.45); }
.split { display: grid; gap: 0.4rem; }
.form-note { color: var(--neon); min-height: 1.2em; }
footer { border-top: 1px solid var(--line); color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.pager ol { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0; }
.pager a { text-decoration: none; }
.pager [aria-current="page"] { color: var(--neon); text-decoration: underline; }

.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (min-width: 800px) {
  #especialidades, #projetos { grid-template-columns: 1fr 1fr; }
  #especialidades article:first-of-type { grid-column: 1 / -1; }
  .who { grid-template-columns: 220px 1fr; align-items: end; }
  .sim-nodes { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
