:root {
  --papel: #f1efe9;
  --tinta: #111214;
  --cinza: #6d6d69;
  --linha: rgba(17, 18, 20, .18);
  --azul: #2563eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--tinta);
  background: var(--papel);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.topo {
  min-height: 82px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--linha);
}
.marca { font-size: 1rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; }
.marca span { color: var(--cinza); font-weight: 500; }
.link-atual { font-size: .82rem; font-weight: 700; text-underline-offset: 4px; }
.abertura {
  min-height: min(780px, calc(100vh - 82px));
  padding: clamp(68px, 10vw, 140px) clamp(24px, 8vw, 122px) 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rotulo, .categoria {
  margin: 0 0 24px;
  color: var(--cinza);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(4rem, 10.4vw, 10rem);
  line-height: .82;
  letter-spacing: -.075em;
}
h1 em { color: var(--azul); font-family: Georgia, serif; font-weight: 400; }
.introducao {
  max-width: 690px;
  margin: clamp(40px, 6vw, 76px) 0 0 auto;
  color: #353638;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.65;
}
.seta { margin-top: 48px; align-self: flex-start; font-weight: 750; text-decoration: none; border-bottom: 1px solid; padding-bottom: 5px; }
.acervo { padding: clamp(70px, 9vw, 130px) clamp(24px, 5vw, 76px); background: #111214; color: #fff; }
.cabecalho-secao { display: grid; grid-template-columns: 1fr minmax(260px, 500px); gap: 40px; align-items: end; margin-bottom: 70px; }
.cabecalho-secao h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5.2rem); letter-spacing: -.055em; line-height: .95; }
.cabecalho-secao > p { margin: 0; color: #a7a7a3; line-height: 1.65; }
.grade { display: grid; gap: clamp(70px, 10vw, 150px); }
.projeto { min-width: 0; max-width: 100%; }
.projeto:nth-child(even) { width: 83%; margin-left: auto; }
.capa { position: relative; display: block; overflow: hidden; background: #27282b; aspect-ratio: 16/8.7; text-decoration: none; }
.capa img { width: 100%; max-width: 100%; min-width: 0; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .7s; }
.projeto-mobspot .capa img { object-position: center 32%; }
.capa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.46)); }
.capa:hover img, .capa:focus-visible img { transform: scale(1.025); filter: saturate(1.08); }
.numero, .abrir { position: absolute; z-index: 1; bottom: 24px; font-weight: 800; }
.numero { left: 26px; font-size: .77rem; letter-spacing: .12em; }
.abrir { right: 26px; padding: 12px 16px; border-radius: 99px; color: #111214; background: #fff; font-size: .78rem; }
.descricao-projeto { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(260px, .75fr); gap: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.22); }
.descricao-projeto h3 { margin: 0; font-size: clamp(2.2rem, 4vw, 4.8rem); letter-spacing: -.05em; }
.descricao-projeto p:last-child { max-width: 490px; margin: 0; color: #b8b8b4; line-height: 1.65; }
footer { padding: 32px clamp(24px, 5vw, 76px); display: flex; justify-content: space-between; gap: 24px; color: var(--cinza); font-size: .78rem; border-top: 1px solid var(--linha); }
footer p { margin: 0; }

@media (max-width: 760px) {
  .topo { min-height: 70px; }
  .link-atual { font-size: 0; }
  .link-atual span { font-size: 1.1rem; }
  .abertura { min-height: auto; padding: 82px 25px 70px; }
  .abertura > * { min-width: 0; max-width: 100%; }
  h1 { font-size: clamp(3.3rem, 16.5vw, 4.2rem); }
  .introducao { width: 100%; margin-left: 0; }
  .cabecalho-secao, .descricao-projeto { grid-template-columns: 1fr; }
  .cabecalho-secao > *, .descricao-projeto > * { min-width: 0; }
  .grade { grid-template-columns: minmax(0, 1fr); }
  .projeto:nth-child(even) { width: 100%; }
  .capa { width: 100%; min-width: 0; aspect-ratio: 4/3; }
  .numero { left: 16px; }
  .abrir { right: 16px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .capa img { transition: none; }
}
