/* NZ Studios — stylesheet. Reforma do portfolio: one-page curto, vítrine
   lendo catalogo/dados/catalogo.js direto. O site antigo continua em
   catalogo/<slug>.html — os cartões da vitrine ligam neles. */

:root {
  color-scheme: dark;
  --bg: #0d0e13;
  --bg-2: #14151c;
  --panel: rgba(255,255,255,.035);
  --panel-2: rgba(255,255,255,.055);
  --line: rgba(255,255,255,.09);
  --line-hi: rgba(255,255,255,.16);
  --tx: #f1efe9;
  --tx-2: #a3a19b;
  --tx-3: #6f6e6a;
  /* acento herdado do site antigo — hex primeiro (fallback), oklch por cima
     (declaração que o navegador não entende é descartada: sem oklch, fica o hex) */
  --acc: #ff9d36;
  --acc-soft: rgba(255, 157, 54, 0.12);
  --acc-line: rgba(255, 157, 54, 0.35);
  --acc: oklch(0.78 0.16 62);
  --acc-soft: oklch(0.78 0.16 62 / 0.12);
  --acc-line: oklch(0.78 0.16 62 / 0.35);
  --r: 14px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --gut: clamp(20px, 4.5vw, 56px);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--tx);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
}
::selection { background: var(--acc-line); }
a { color: inherit; text-decoration: none; }
.mono { font-family: "JetBrains Mono", monospace; }

/* barra de progresso de leitura — a única coisa que se move com o scroll */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: transparent; }
.progress i { display: block; height: 100%; width: 100%; background: var(--acc); transform: scaleX(0); transform-origin: left; }

/* badge de versão — some quando o site sobe de vez */
.beta {
  position: fixed; bottom: 14px; right: 14px; z-index: 50;
  font-size: 0.62rem; letter-spacing: 0.05em; color: var(--tx-3);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 11px; background: rgba(13,14,19,.8); backdrop-filter: blur(8px);
}

/* ===== barra de topo ===== */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.bar.compacta { background: rgba(13,14,19,.75); backdrop-filter: blur(14px); border-color: var(--line); }
.bar__in {
  max-width: 1120px; margin: 0 auto; padding: 0 var(--gut);
  height: 58px; display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; }
.brand svg { width: 20px; height: 20px; color: var(--acc); }
.bar nav { margin-left: auto; display: flex; gap: 4px; }
.bar nav a {
  font-size: 0.82rem; color: var(--tx-2); padding: 7px 12px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.bar nav a:hover { color: var(--tx); background: var(--panel-2); }
.bar .gh { color: var(--tx-2); display: flex; align-items: center; padding: 7px; border-radius: 8px; }
.bar .gh:hover { color: var(--tx); background: var(--panel-2); }

/* ===== hero ===== */
.hero {
  max-width: 1120px; margin: 0 auto;
  padding: clamp(96px, 14vh, 140px) var(--gut) 40px;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero__ov { font-size: 0.78rem; color: var(--tx-3); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero__ov i { display: inline-block; width: 26px; height: 1px; background: var(--acc-line); }
.hero h1 {
  font-size: clamp(2.6rem, 7.2vw, 4.6rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 0.98;
}
.hero h1 .ponto { color: var(--acc); }
.hero__sub { margin-top: 18px; max-width: 560px; font-size: clamp(0.98rem, 1.5vw, 1.12rem); color: var(--tx-2); }
.hero__sub b { color: var(--tx); font-weight: 600; }
.hero__cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

/* terminal do hero — o momento de load é o terminal digitando */
.term {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; max-width: 470px; width: 100%; justify-self: end;
  font-family: "JetBrains Mono", monospace; font-size: 0.74rem;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.term__hd {
  display: flex; gap: 6px; padding: 10px 14px; align-items: center;
  border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03);
}
.term__hd i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-hi); }
.term__hd i:first-child { background: var(--acc); opacity: .8; }
.term__hd span { margin-left: 8px; font-size: 0.6rem; color: var(--tx-3); letter-spacing: 0.06em; }
.term__body { padding: 16px 18px 18px; line-height: 1.9; white-space: pre-wrap; }
.term .cm { color: var(--tx); }
.term .cm::before { content: "$ "; color: var(--tx-3); }
.term .out { color: var(--tx-2); }
.term .hl { color: var(--acc); }
.term .caret::after { content: "▌"; color: var(--acc); animation: pisca 1.05s steps(1) infinite; }
@keyframes pisca { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .term .caret::after { animation: none; } }

/* linha única de provas */
.prova-linha {
  grid-column: 1; margin-top: 10px; display: flex; gap: 4px 22px; flex-wrap: wrap;
  font-family: "JetBrains Mono", monospace; font-size: 0.72rem; color: var(--tx-3);
}
.prova-linha b { color: var(--tx); font-weight: 500; font-variant-numeric: tabular-nums; }
.prova-linha em b { color: inherit; }
.prova-linha i { font-style: normal; color: var(--tx-3); }
.prova-linha em { font-style: normal; color: var(--acc); }

/* ===== seções ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; padding: 12px 22px; border-radius: 10px;
  transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--solo { background: var(--acc); color: #17120a; }
.btn--solo:hover { transform: translateY(-2px); background: #ffaa46; }
.btn--fantasma { border: 1px solid var(--line-hi); color: var(--tx-2); }
.btn--fantasma:hover { border-color: var(--acc-line); color: var(--tx); transform: translateY(-2px); }
/* entrada suave da página no load */
body { animation: entrada .7s var(--ease) both; }
@keyframes entrada { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.aberto .ae { animation: sobe .55s var(--ease) forwards; }
.aberto .hero__ov { animation-delay: .05s; }
.aberto h1 { animation-delay: .12s; }
.aberto .hero__sub { animation-delay: .24s; }
.aberto .hero__cta { animation-delay: .34s; }
.aberto .prova-linha { animation-delay: .44s; }
.aberto .term { animation: sobe .6s var(--ease) .3s backwards; }
@keyframes sobe { to { opacity: 1; transform: none; } }
@keyframes aparece { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ===== seções ===== */
.sec { max-width: 1120px; margin: 0 auto; padding: clamp(64px, 10vw, 110px) var(--gut) 0; }
.sec__top { display: flex; align-items: baseline; gap: 18px; margin-bottom: 34px; flex-wrap: wrap; }
.sec__top h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 700; letter-spacing: -0.025em; }
.sec__top .n { font-size: 0.74rem; color: var(--tx-3); }
.sec__top p { width: 100%; max-width: 520px; font-size: 0.92rem; color: var(--tx-2); }
.sec__top .mais {
  margin-left: auto; font-family: "JetBrains Mono", monospace; font-size: 0.72rem;
  color: var(--tx-3); border-bottom: 1px solid var(--line); padding-bottom: 2px;
  transition: color .2s, border-color .2s; white-space: nowrap;
}
.sec__top .mais:hover { color: var(--acc); border-color: var(--acc-line); }

/* ===== vitrine ===== */
.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filtro {
  font-family: "JetBrains Mono", monospace; font-size: 0.72rem;
  color: var(--tx-2); background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 15px; cursor: pointer;
  transition: all .25s var(--ease);
}
.filtro:hover { border-color: var(--line-hi); color: var(--tx); }
.filtro.on { background: var(--acc-soft); border-color: var(--acc-line); color: var(--acc); }
.grid-proj { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; perspective: 900px; }
.proj {
  --rx: 0deg; --ry: 0deg;
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 22px;
  display: flex; flex-direction: column; gap: 12px; min-height: 210px;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .35s var(--ease), border-color .3s, background .3s, opacity .3s;
  animation: aparece .45s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 60ms);
  will-change: transform;
}
.proj:hover { border-color: var(--acc-line); background: var(--panel-2); }
.proj--destaque { grid-column: span 2; min-height: 240px; }
.proj__tipo {
  font-family: "JetBrains Mono", monospace; font-size: 0.66rem; letter-spacing: 0.06em;
  color: var(--acc); width: fit-content;
  border: 1px solid var(--acc-line); background: var(--acc-soft);
  border-radius: 999px; padding: 3px 10px;
}
.proj h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.proj--destaque h3 { font-size: 1.7rem; }
.proj h3 svg { width: 15px; height: 15px; color: var(--tx-3); transition: transform .25s, color .25s; }
.proj:hover h3 svg { color: var(--acc); transform: translate(2px, -2px); }
.proj p { font-size: 0.9rem; color: var(--tx-2); max-width: 540px; }
.proj--destaque p { max-width: 640px; }
.proj__p { margin-top: auto; font-family: "JetBrains Mono", monospace; font-size: 0.7rem; color: var(--tx-3); }
.proj__p b { color: var(--tx); font-weight: 500; font-size: 0.78rem; }
.vazio { color: var(--tx-3); font-size: 0.88rem; padding: 30px 0; }

/* ===== stack ===== */
.stack { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; }
.stk {
  display: grid; grid-template-columns: 130px 1fr 34px; align-items: center; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.86rem;
}
.stk b { font-weight: 500; color: var(--tx-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stk .barra { height: 3px; border-radius: 2px; background: var(--panel-2); position: relative; overflow: hidden; }
.stk .barra i {
  position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: var(--acc);
  transform: scaleX(var(--v, 1)); transform-origin: left; transition: transform 1s var(--ease);
}
.stk .n { font-family: "JetBrains Mono", monospace; font-size: 0.7rem; color: var(--tx-3); text-align: right; }
.stk__nota { grid-column: 1 / -1; font-size: 0.72rem; color: var(--tx-3); margin-top: 10px; }

/* ===== sobre ===== */
.duo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 46px; }
.duo p { font-size: 0.94rem; color: var(--tx-2); margin-bottom: 14px; max-width: 520px; }
.duo p b { color: var(--tx); }
.svc {
  border-left: 2px solid var(--acc-line); padding-left: 18px; margin-bottom: 22px;
  animation: aparece .5s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 80ms);
  animation-play-state: paused;
  transition: border-color .25s, transform .25s;
}
.svc:nth-child(1) { --i: 0; }
.svc:nth-child(2) { --i: 1; }
.svc:nth-child(3) { --i: 2; }
.svc:hover { border-color: var(--acc); transform: translateX(3px); }
.svc h4 { font-size: 0.98rem; font-weight: 600; margin-bottom: 3px; }
.svc p { font-size: 0.84rem; margin: 0; color: var(--tx-2); }

/* ===== contato ===== */
.final { text-align: center; padding-bottom: clamp(70px, 10vw, 120px); }
.final h2 {
  font-size: clamp(2.1rem, 6vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em;
  max-width: 720px; margin: 0 auto 16px; line-height: 1.05;
}
.final p { color: var(--tx-2); max-width: 440px; margin: 0 auto 30px; }
.final .hero__cta { justify-content: center; }
.links { margin-top: 46px; display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; }
.links a {
  font-family: "JetBrains Mono", monospace; font-size: 0.72rem; color: var(--tx-3);
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.links a:hover { color: var(--acc); border-color: var(--acc-line); }

/* faixa do catálogo na home — o link não fica escondido no "mais" */
.band {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
  background: var(--panel); border: 1px solid var(--acc-line); border-radius: var(--r);
  padding: clamp(24px, 4vw, 44px);
}
.band h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 8px; }
.band p { color: var(--tx-2); font-size: 0.9rem; max-width: 420px; }
.band__cta { display: flex; justify-content: flex-end; }
@media (max-width: 820px) {
  .band { grid-template-columns: 1fr; }
  .band__cta { justify-content: flex-start; }
}

/* reveal no scroll — só o cabeçalho de seção, um por vez */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.on { opacity: 1; transform: none; }

footer {
  border-top: 1px solid var(--line);
  padding: 20px var(--gut); max-width: 1120px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: "JetBrains Mono", monospace; font-size: 0.68rem; color: var(--tx-3);
}
footer a:hover { color: var(--acc); }

/* ===== movimento ==============================================
   O site é estático por natureza; o movimento aqui só marca hierarquia:
   nada pisca, nada roda em loop rápido, nada compete com a leitura. */

/* aurora de fundo: uma cor só, muito diluída, presa atrás do conteúdo */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 15% -5%, color-mix(in srgb, var(--acc) 16%, transparent), transparent 70%),
    radial-gradient(50vw 40vh at 90% 8%, color-mix(in srgb, var(--acc) 9%, transparent), transparent 72%);
  opacity: .9;
}

/* reveal escalonado: um passo por irmão, na ordem em que aparecem */
.rv { transition-delay: calc(var(--d, 0) * 90ms); }
.proj.vivo { animation: none; }

/* prateleiras, timeline, stack e serviços ficam abaixo da dobra: esperam o .rv virar .on.
   Precisa de `*` e não de lista de filhos: #linhaTempo é `linha-tempo rv` no MESMO elemento,
   então `.rv.on .linha-tempo li` nunca casava e os itens ficavam paused (opacity 0) para sempre. */
.rv.on * { animation-play-state: running; }

/* carrossel: faixa horizontal de produtos, arrastável, com setas */
.carrossel-wrap {
  position: relative; margin-top: 46px;
}
.carrossel {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 16px 0 20px;
  scrollbar-width: thin; scrollbar-color: var(--line-hi) transparent;
}
.carrossel::-webkit-scrollbar { height: 4px; }
.carrossel::-webkit-scrollbar-thumb { background: var(--line-hi); border-radius: 4px; }
.carrossel::before, .carrossel::after {
  content: ""; position: sticky; top: 0; bottom: 0; width: 60px; flex: 0 0 auto;
  pointer-events: none; z-index: 2; align-self: stretch;
}
.carrossel::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); margin-left: -60px; }
.carrossel::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); margin-right: -60px; }
.carrossel-card {
  flex: 0 0 auto; width: 260px; scroll-snap-align: start;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.carrossel-card:hover { transform: translateY(-3px); border-color: var(--acc-line); background: var(--panel-2); }
.carrossel-card__tag {
  font-family: "JetBrains Mono", monospace; font-size: 0.62rem; letter-spacing: .06em;
  color: var(--acc); width: fit-content;
  border: 1px solid var(--acc-line); background: var(--acc-soft);
  border-radius: 999px; padding: 3px 9px;
}
.carrossel-card__nome { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.carrossel-card__prova { font-family: "JetBrains Mono", monospace; font-size: 0.7rem; color: var(--tx-2); }
.carrossel-card__prova b { color: var(--acc); font-weight: 600; }
.carrossel-card__seta { margin-left: auto; color: var(--tx-3); transition: transform .2s var(--ease), color .2s; }
.carrossel-card:hover .carrossel-card__seta { color: var(--acc); transform: translate(3px, -3px); }
.carrossel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(13,14,19,.85); border: 1px solid var(--line-hi);
  color: var(--tx); display: grid; place-items: center; cursor: pointer; z-index: 3;
  backdrop-filter: blur(8px); transition: background .2s, transform .2s, border-color .2s;
}
.carrossel-btn:hover { background: var(--panel-2); border-color: var(--acc-line); transform: translateY(-50%) scale(1.06); }
.carrossel-btn--prev { left: -8px; }
.carrossel-btn--next { right: -8px; }
.carrossel-btn svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .carrossel-btn { display: none; }
  .carrossel-card { width: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  .carrossel { scroll-behavior: auto; }
  .carrossel-card { transition: none; }
}

/* prateleiras do marketplace: a categoria existe antes do item */
.prateleiras {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.prateleira {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 15px 16px; transition: transform .3s var(--ease), border-color .3s, background .3s;
  animation: aparece .5s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 55ms);
  animation-play-state: paused;
}
.prateleira:hover { transform: translateY(-2px); border-color: var(--acc-line); background: var(--panel-2); }
.prateleira__ic {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--acc-soft); color: var(--acc); border: 1px solid var(--acc-line);
}
.prateleira__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.prateleira__txt b { font-size: 0.9rem; font-weight: 600; }
.prateleira__txt .mono { font-size: 0.66rem; color: var(--tx-3); letter-spacing: .04em; }
.prateleira--vazio { border-style: dashed; background: transparent; }
.prateleira--vazio .prateleira__ic { background: transparent; border-color: var(--line); color: var(--tx-3); }
.prateleira--vazio .prateleira__txt b { color: var(--tx-2); font-weight: 500; }

/* linha do tempo: quando cada produto entrou no ar */
.linha-tempo { list-style: none; margin-top: 34px; display: grid; gap: 0; }
.linha-tempo li {
  display: grid; grid-template-columns: 110px 190px 1fr; gap: 14px; align-items: baseline;
  padding: 13px 0 13px 20px; border-top: 1px solid var(--line); position: relative;
  animation: aparece .5s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 55ms);
  animation-play-state: paused;
}
.linha-tempo li::before {
  content: ""; position: absolute; left: 0; top: 21px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft);
}
.linha-tempo time { font-size: 0.7rem; color: var(--tx-3); letter-spacing: .04em; }
.linha-tempo a { display: flex; align-items: baseline; gap: 8px; transition: color .2s; }
.linha-tempo a:hover b { color: var(--acc); }
.linha-tempo a b { font-size: 0.92rem; font-weight: 600; }
.linha-tempo a .mono { font-size: 0.64rem; color: var(--tx-3); letter-spacing: .05em; text-transform: uppercase; }
.linha-tempo p { font-size: 0.82rem; color: var(--tx-2); margin: 0; }

/* stack vira tile: ícone da tecnologia + contagem, não só uma barra solta */
.stack { gap: 8px; }
.stk {
  grid-template-columns: 22px minmax(70px, 1fr) minmax(40px, 1.1fr) 34px;
  gap: 12px; padding: 10px 13px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  animation: aparece .5s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 28ms);
  animation-play-state: paused;
}
.stk:hover { border-color: var(--acc-line); }
.stk__ic { color: var(--tx-3); display: grid; place-items: center; }
.stk:hover .stk__ic { color: var(--acc); }
.stk .barra { height: 4px; }
.ico { display: block; }

/* botão de entrar: existe, mas ainda fechado */
.nav-entrar { display: inline-flex; align-items: center; gap: 7px; }
.breve {
  font-style: normal; font-size: 0.56rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tx-3); border: 1px solid var(--line); border-radius: 999px;
  padding: 2px 6px; line-height: 1.3;
}

/* Discord flutuante: o caminho de contato sempre ao alcance do polegar */
.disc {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--panel-2); border: 1px solid var(--acc-line); border-radius: 999px;
  padding: 9px 15px 9px 12px; color: var(--tx); font-size: 0.78rem; font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  transition: transform .25s var(--ease), background .3s, border-color .3s;
}
.disc svg { width: 17px; height: 17px; color: var(--acc); }
.disc:hover { transform: translateY(-2px); background: var(--acc-soft); }
.foot-links { display: inline-flex; gap: 16px; flex-wrap: wrap; }

/* ===== responsivo ===== */
@media (max-width: 820px) {
  .grid-proj, .duo, .stack { grid-template-columns: 1fr; }
  .proj--destaque { grid-column: span 1; }
  .bar nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 34px; }
  .term { justify-self: stretch; max-width: none; }
  .prateleiras { grid-template-columns: repeat(2, 1fr); }
  .linha-tempo li { grid-template-columns: 90px 1fr; row-gap: 4px; }
  .linha-tempo p { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .prateleiras { grid-template-columns: 1fr; }
  .linha-tempo li { grid-template-columns: 1fr; }
  .stk { grid-template-columns: 20px 1fr 34px; }
  .stk .barra { display: none; }
  .disc { right: 12px; bottom: 12px; padding: 10px; }
  .disc span { display: none; }
  .marquee { margin-top: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .ae, .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
