:root {
  --bg: #070a12;
  --bg-card: #0e131f;
  --linha: #1d2534;
  --texto: #e7edf7;
  --texto-fraco: #8f9bb3;
  --acento: #4cc9f0;
  --acento-2: #7b6cf6;
  --max: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--texto);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------- topo ---------- */
.topo {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.marca {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.02em;
  text-decoration: none;
}
.marca span { color: var(--acento); }
.topo nav { display: flex; gap: 22px; }
.topo nav a {
  color: var(--texto-fraco);
  text-decoration: none;
  font-size: 15px;
  transition: color .2s;
}
.topo nav a:hover { color: var(--texto); }

/* ---------- hero ---------- */
main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  padding: 56px 0 88px;
}
h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 700;
}
.apoio {
  margin: 0 0 28px;
  max-width: 46ch;
  color: var(--texto-fraco);
  font-size: 18px;
}
.selo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--linha);
  border-radius: 999px;
  font-size: 14px;
  color: var(--texto-fraco);
}
.selo strong { color: var(--texto); font-weight: 600; }
.ponto {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--acento);
  box-shadow: 0 0 0 4px rgba(76, 201, 240, .16);
}

.hero-arte svg { width: 100%; height: auto; display: block; }
.registros rect { fill: var(--linha); }
.registros rect:nth-child(odd) { animation: pulso 4s ease-in-out infinite; }
.registros rect:nth-child(even) { animation: pulso 4s ease-in-out infinite .8s; }
.arestas path {
  stroke-dasharray: 4 6;
  animation: fluxo 3.2s linear infinite;
  opacity: .55;
}
.nos circle { animation: brilho 3.6s ease-in-out infinite; }
.nos circle:nth-child(even) { animation-delay: .6s; }
.saida { filter: drop-shadow(0 0 12px rgba(123, 108, 246, .75)); }

@keyframes fluxo  { to { stroke-dashoffset: -60; } }
@keyframes pulso  { 0%,100% { opacity: .5 } 50% { opacity: 1 } }
@keyframes brilho { 0%,100% { opacity: .75 } 50% { opacity: 1 } }

@media (prefers-reduced-motion: reduce) {
  .arestas path, .registros rect, .nos circle { animation: none; }
}

/* ---------- artigos ---------- */
#artigos { padding-bottom: 80px; }
h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--texto-fraco);
  font-weight: 600;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--linha);
}
.posts { display: grid; gap: 14px; }
.post {
  display: block;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--linha);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.post:hover { border-color: var(--acento); transform: translateY(-2px); }
.post h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.post p { margin: 0; color: var(--texto-fraco); font-size: 16px; }
.post time {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--texto-fraco);
  font-variant-numeric: tabular-nums;
}
.estado {
  padding: 40px 24px;
  border: 1px dashed var(--linha);
  border-radius: 14px;
  color: var(--texto-fraco);
  text-align: center;
  margin: 0;
}

/* ---------- rodapé ---------- */
footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 60px;
  border-top: 1px solid var(--linha);
  color: var(--texto-fraco);
  font-size: 14px;
}
footer p { margin: 0 0 6px; }
footer a { color: var(--acento); text-decoration: none; }
footer a:hover { text-decoration: underline; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.fino { font-size: 13px; opacity: .8; }

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 64px; }
  .hero-arte { order: -1; max-width: 380px; }
}
