/* ==========================================================================
   ODISSE — Portfólio Institucional
   Tipografia e paleta idênticas às usadas em projetos.odisse.com.br
   (repo cidclementino/projetos-odisse): Archivo em tudo, sem serifa
   itálica; --claro, --escuro, --slate, --copper, --parchment.
   ========================================================================== */

:root {
  --escuro: #1A1A1A;
  --claro: #F4F4F4;
  --parchment: #F3DFC1;
  --copper: #7F675F;
  --slate: #495763;
  --gold: #D8A263; /* reservado apenas para o estado de hover dos links */
  --linha: rgba(244, 244, 244, 0.4);

  --display: 'Archivo', sans-serif;
  --ui: 'Archivo', -apple-system, sans-serif;

  --max: 1280px;
  --gutter: clamp(24px, 5vw, 72px);
  --gallery-max: min(1680px, 95vw);
  --gallery-pad: clamp(16px, 2.5vw, 40px);
  --gallery-inset: calc((100vw - var(--gallery-max)) / 2 + var(--gallery-pad));
  --sidebar-w: 280px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--claro);
  color: var(--escuro);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: page-fade-in 0.09s ease;
}
/* nas páginas de fundo azul (Sobre, Contato), o body em si também fica
   azul — assim o que aparece "por trás" durante o fade já nasce na cor
   certa, sem o flash branco ao navegar entre duas páginas azuis */
body.is-dark-page { background: var(--slate); }
@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* aplicada via JS um instante antes de navegar pra outra página */
body.is-leaving {
  opacity: 0;
  transition: opacity 0.09s ease;
}
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  body.is-leaving { transition: none; opacity: 1; }
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.eyebrow {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--slate);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--escuro);
  background: linear-gradient(to bottom, rgba(244,244,244,0.9), rgba(244,244,244,0));
  transition: color 0.3s ease, background 0.3s ease;
}
/* por trás do cabeçalho há uma seção de fundo azul (hero, monumental,
   footer, contato) — inverte pra texto claro, com um degradê na mesma
   cor da seção, mantendo a legibilidade */
.nav--on-dark {
  color: var(--claro);
  background: linear-gradient(to bottom, rgba(73,87,99,0.9), rgba(73,87,99,0));
}
.nav__mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s ease;
}
/* páginas de fundo claro (Home, Projetos) — destaque em azul */
.nav__links a:hover { color: var(--slate); }
.nav__links a[aria-current="page"] {
  color: var(--slate);
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* páginas de fundo azul (Sobre, Contato) — destaque em laranja */
.nav--on-dark .nav__links a:hover { color: var(--gold); }
.nav--on-dark .nav__links a[aria-current="page"] { color: var(--gold); }
@media (max-width: 640px) {
  .nav__links { gap: 16px; }
  .nav { padding: 18px var(--gutter); }
  .contato__doc { max-width: 86vw; }
}

/* ==========================================================================
   HOME — galeria vertical de projetos
   ========================================================================== */
.gallery-page { padding-top: 96px; }

.gallery {
  max-width: var(--gallery-max);
  margin: 0 auto;
  padding: 40px var(--gallery-pad) 64px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.gallery__row {
  display: grid;
  grid-template-columns: 1fr min(560px, 62%) 1fr;
  align-items: start;
  text-decoration: none;
  color: var(--escuro);
  overflow: hidden;
}
.gallery__thumb {
  grid-column: 2;
  aspect-ratio: 4/3;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 16px, rgba(26,26,26,0.06) 16px 17px),
    linear-gradient(160deg, #E7E7E7, var(--claro));
  border: 1px solid rgba(26,26,26,0.12);
  transform: scale(1) translateX(0);
  transition: transform 0.45s cubic-bezier(.4,0,.2,1), opacity 0.4s ease;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-drag: none; }
.gallery__row:hover .gallery__thumb { transform: scale(1.005) translateX(0); }
.gallery__info {
  grid-column: 3;
  justify-self: start;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-left: 24px;
  padding-top: 2px;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}
.gallery__title {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery__place {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
}

/* estado de recolhimento (FLIP): a capa e o texto se deslocam JUNTOS,
   na mesma distância (calculada em JS) — como se o texto empurrasse a
   capa pra fora do quadro. A capa, por sair mais à esquerda, acaba
   saindo da área visível (clipada pelo overflow:hidden da linha) e
   some; o texto para exatamente onde vai assentar de verdade. */
.gallery__row.is-collapsing .gallery__thumb { opacity: 0; }

/* estado final (sem transição): a grade já reflete o resultado —
   a imagem alocada em 0px e o texto sem transform, já assentado ali */
.gallery__row.is-settled {
  grid-template-columns: 0px 0px 1fr;
}
.gallery__row.is-settled .gallery__thumb { display: none; }
.gallery__row.is-hidden { display: none; }

@media (max-width: 640px) {
  .gallery { gap: 36px; padding: 24px clamp(16px, 2.5vw, 40px) 48px; }
  .gallery__row { grid-template-columns: 1fr; justify-items: center; }
  .gallery__thumb { grid-column: 1; width: 100%; }
  .gallery__info { grid-column: 1; justify-self: center; padding-left: 0; margin-top: 12px; text-align: center; }
  /* no mobile o layout já é empilhado; o colapso vira um fade simples,
     e o "assentar" é só ocultar a linha (sem mexer no grid de desktop) */
  .gallery__row.is-collapsing { opacity: 0; transition: opacity 0.4s ease; }
  .gallery__row.is-collapsing .gallery__thumb { transform: none; }
  .gallery__row.is-settled { display: none; grid-template-columns: 1fr; }
}


/* ---------- painel de expansão inline (accordion) — tema claro ---------- */
.gallery__panel {
  height: 0;
  overflow: hidden;
  background: var(--claro);
  transition: height 0.45s cubic-bezier(.4,0,.2,1);
  /* estica a galeria até a borda real da tela (não só até o respiro
     lateral da página) — dá a sensação de que há mais conteúdo além
     do que se vê, e favorece o arrastar */
  margin-right: calc(-1 * var(--gallery-inset));
}
.gallery__panel.is-open {
  height: min(680px, 76vh);
}

.panel__inner { display: flex; height: 100%; color: var(--escuro); position: relative; overflow: hidden; }
.panel__sidebar {
  width: 240px;
  flex-shrink: 0;
  padding: 4px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: visible;
}
/* o container em si NUNCA fica invisível — é aqui que o título (o
   mesmo elemento que já estava na linha) é encaixado, e ele não pode
   piscar. Só os metadados complementares, que são conteúdo novo
   buscado da página do projeto, entram em fade. */
.panel__sidebar .project__meta,
.panel__sidebar .project__share {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery__panel.is-revealed .panel__sidebar .project__meta,
.gallery__panel.is-revealed .panel__sidebar .project__share {
  opacity: 1;
}
/* o bloco de título já tem padding próprio pensado pra quando está na
   linha; dentro da barra lateral isso somaria com o padding dela */
.panel__sidebar .gallery__info { padding: 0; gap: 2px; }

/* o conteúdo (imagens/textos) surge em fade — sem cortina, sem wipe */
.panel__reveal {
  flex: 1;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery__panel.is-revealed .panel__reveal { opacity: 1; }

.panel__spreads {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 32px;
  padding: 0 32px;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.panel__spreads.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.panel__spreads::-webkit-scrollbar { display: none; }
.panel__dots {
  position: absolute;
  left: calc(50vw - var(--gallery-inset));
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  gap: 8px;
  align-items: center;
}
.panel__dots button {
  width: 7px; height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(26,26,26,0.22);
  cursor: pointer;
}
.panel__dots button.is-active { background: var(--slate); }
.panel__dots button:hover { background: var(--slate); }
.panel__loading, .panel__error {
  padding: 32px;
  font-size: 0.8rem;
  color: var(--slate);
}
.panel__error a { color: var(--copper); }

@media (max-width: 780px) {
  .gallery__panel.is-open { height: min(720px, 82vh); }
  .panel__inner { flex-direction: column; }
  .panel__sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 14px;
  }
  .panel__sidebar .project__meta { flex-direction: row; flex-wrap: wrap; margin-top: 0; gap: 16px; }
  .panel__sidebar .project__share { margin-top: 0; }
  .panel__spreads { height: auto; flex: 1; }
}

/* ==========================================================================
   PÁGINA DE PROJETO — sidebar fixa + spreads horizontais
   ========================================================================== */
.project {
  height: 100vh;
  height: 100svh;
  display: flex;
  background: var(--claro);
  color: var(--escuro);
  overflow: hidden;
}

.project__sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  padding: 96px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: visible;
}
.project__back {
  position: fixed;
  top: 26px; left: 32px;
  z-index: 30;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--escuro);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.project__back svg { width: 14px; height: 14px; transform: rotate(180deg); }

/* botão "voltar ao topo" — canto esquerdo, útil dada a quantidade de projetos */
.back-to-top {
  position: fixed;
  left: var(--gutter); bottom: 22px;
  z-index: 40;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(26,26,26,0.2);
  background: rgba(244,244,244,0.9);
  color: var(--escuro);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top:hover { background: var(--slate); border-color: var(--slate); color: var(--claro); }
.back-to-top svg { width: 16px; height: 16px; }

.project__title h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.6rem;
  margin: 0 0 6px;
}
.project__title .place {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.project__meta { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.project__meta dt {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 4px;
}
.project__meta dd {
  font-size: 0.88rem;
  margin: 0;
  color: var(--escuro);
}

.project__share { display: flex; gap: 14px; margin-top: 40px; }
.project__share a {
  width: 30px; height: 30px;
  border: 1px solid rgba(26,26,26,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.project__share svg { width: 14px; height: 14px; fill: var(--escuro); }

/* spreads (a esteira horizontal, em formato de filme) */
.project__spreads {
  position: relative;
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 40px;
  padding: 0 40px;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.project__spreads.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.project__spreads::-webkit-scrollbar { display: none; }

.spread {
  height: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
}

/* imagem: altura travada, largura natural (a proporção da própria imagem define a largura) */
.spread--imagem .frame {
  height: 100%;
  width: auto;
}
.spread--imagem .frame img {
  height: 100%;
  width: auto;
  display: block;
}
.spread--imagem .frame:not(:has(img)) {
  aspect-ratio: 4 / 3;
}

/* texto: dimensão fixa, mais esguio, fundo claro (cartão) */
.spread--texto {
  align-items: center;
  width: min(360px, 72vw);
}
.texto-bloco {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: var(--claro);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.texto-bloco p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--escuro);
  margin: 0 0 1.2em;
}
.texto-bloco p:last-child { margin-bottom: 0; }

.frame {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(26,26,26,0.06) 22px 23px),
    linear-gradient(160deg, #E7E7E7, var(--claro));
  border: 1px solid rgba(26,26,26,0.12);
}
.frame img { display: block; -webkit-user-drag: none; user-drag: none; }
.frame::after {
  content: 'PLACEHOLDER — SUBSTITUIR POR IMAGEM';
  position: absolute;
  bottom: 20px; left: 24px;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--slate);
  white-space: nowrap;
}
.frame:has(img)::after { content: none; }

/* pontinhos de navegação — centralizados, alinhados com a marca do cabeçalho */
.project__dots { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 30; display: flex; gap: 10px; align-items: center; }
.project__dots button {
  width: 8px; height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(26,26,26,0.22);
  cursor: pointer;
}
.project__dots button.is-active { background: var(--slate); }
.project__dots button:hover { background: var(--slate); }

@media (max-width: 780px) {
  .project { flex-direction: column; height: auto; min-height: 100svh; }
  .project__sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 88px 20px 20px;
    gap: 16px;
  }
  .project__meta { flex-direction: row; flex-wrap: wrap; margin-top: 0; gap: 20px; }
  .project__share { margin-top: 0; }
  .project__spreads { height: 62vh; gap: 24px; padding: 0 20px; }
  .spread--texto { width: 84vw; }
  .texto-bloco { padding: 28px 24px; }
  .project__dots { right: 16px; bottom: 14px; }
}

/* ==========================================================================
   SOBRE — abertura com foto, núcleos em caixas, premiações,
   publicações (condicional) e equipe. Fundo azul sólido, no mesmo
   espírito do Contato.
   ========================================================================== */
.sobre {
  --content-w: 47vw; /* mesma largura base do Contato — todo o resto da
                         página usa essa referência, pra reagir igual
                         a mudanças de tela */
  background: var(--slate);
  color: var(--claro);
  padding: clamp(96px, 11vw, 150px) var(--gutter) clamp(96px, 14vw, 160px);
}
.sobre__wide {
  max-width: var(--content-w);
  margin: 0 auto 88px;
}
.sobre__wide:last-of-type { margin-bottom: 0; }

/* traço + rótulo — mesma linguagem em toda a página */
.sobre__wide h3,
.sobre .eyebrow {
  position: relative;
  font-family: var(--ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--claro);
  display: block;
  margin: 0 0 24px;
}
.sobre__wide h3::before,
.sobre .eyebrow::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 2px;
  background: var(--claro);
}

.sobre__intro-photo { margin-bottom: 28px; }
.sobre__intro-photo .frame { width: 100%; aspect-ratio: 3/2; border: none; }
.sobre__intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.sobre__intro-text p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(244,244,244,0.9);
  margin: 0 0 1.2em;
}
.sobre__intro-text p:last-child { margin-bottom: 0; }

.nucleos-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.nucleo-box h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  color: var(--claro);
  margin: 0 0 8px;
}
.nucleo-box p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.nucleo-box p a:hover { color: var(--gold); }
.nucleo-box > p:first-of-type {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
}
.nucleo-box p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(244,244,244,0.85);
  margin: 0 0 10px;
}

/* reaproveita a mesma linguagem tipográfica do Contato */
.sobre__doc {
  max-width: var(--content-w);
  margin: 0 auto;
  text-align: left;
}
.sobre__doc h3 {
  position: relative;
  font-family: var(--ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--claro);
  display: block;
  margin: 88px 0 14px;
}
.sobre__doc h3::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 2px;
  background: var(--claro);
}
.sobre__doc h3:first-child { margin-top: 0; }
.sobre__doc p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--claro);
  margin: 0 0 4px;
}
.sobre__doc a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.sobre__doc a:hover { color: var(--gold); }

.equipe-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.pessoa__foto { aspect-ratio: 1/1; margin-bottom: 16px; border: none; }
.pessoa__foto img { width: 100%; height: 100%; object-fit: cover; }
.pessoa h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  color: var(--claro);
  margin: 0 0 4px;
}
.pessoa__cargo {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(244,244,244,0.55);
  margin: 0 0 12px;
}
.pessoa p:not(.pessoa__cargo) { font-size: 0.88rem; line-height: 1.65; }

@media (max-width: 780px) {
  .sobre__wide { max-width: 100%; }
  .nucleos-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre__doc { max-width: 100%; }
  .equipe-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contato {
  background: var(--slate);
  color: var(--claro);
  padding: clamp(96px, 11vw, 150px) var(--gutter) clamp(96px, 14vw, 160px);
  min-height: 60vh;
}
.contato__doc {
  max-width: 47vw;
  margin: 0 auto;
  text-align: left;
}
.contato__doc .eyebrow,
.contato__doc h3 {
  position: relative;
  font-family: var(--ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--claro);
  display: block;
  margin: 40px 0 10px;
}
.contato__doc .eyebrow::before,
.contato__doc h3::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 2px;
  background: var(--claro);
}
.contato__doc .eyebrow:first-child { margin-top: 0; }
.contato__doc p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--claro);
  margin: 0 0 4px;
}
.contato__doc a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.contato__doc a:hover { color: var(--gold); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--claro);
  color: rgba(26,26,26,0.65);
  padding: 48px var(--gutter) 32px;
  transition: background 0.2s ease, color 0.2s ease;
}
footer.footer--dark { background: var(--slate); color: rgba(244,244,244,0.7); }
footer .wrap {
  max-width: var(--max);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
footer .mark { font-family: var(--display); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; color: var(--escuro); }
footer.footer--dark .mark { color: var(--claro); }
footer .mark .dot { color: inherit; }

/* espaço reservado para a logo do estúdio, entre a marca e o menu */
footer .footer__logo {
  width: 40px;
  height: 40px;
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(26,26,26,0.08) 10px 11px),
    linear-gradient(160deg, #E7E7E7, var(--claro));
  border: 1px solid rgba(26,26,26,0.12);
  border-radius: 50%;
}
footer.footer--dark .footer__logo {
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(244,244,244,0.08) 10px 11px),
    linear-gradient(160deg, rgba(244,244,244,0.12), transparent);
  border-color: rgba(244,244,244,0.2);
}

footer ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
footer a { text-decoration: none; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: inherit; transition: color 0.2s ease; }
footer a:hover { color: var(--gold); }
footer .copy { font-size: 0.68rem; color: inherit; opacity: 0.7; margin: 0; }

/* ==========================================================================
   MARCAS DE CANTO — remetem à fita da identidade visual, coladas nas
   bordas laterais (sem respiro lateral), com um respiro vertical no topo
   e na base pra ficarem alinhadas com o centro do texto do cabeçalho.
   Ficam acima do degradê do cabeçalho pra aparecerem sempre 100% sólidas.
   Azul no fundo claro, branco no fundo azul.
   ========================================================================== */
.corner-marks {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 55;
}
.corner-mark {
  position: absolute;
  width: 24px;
  height: 28px;
  background: var(--slate);
}
.corner-marks--light .corner-mark { background: var(--claro); }
.corner-mark--tl { top: 23px; left: 0; }
.corner-mark--tr { top: 23px; right: 0; }
.corner-mark--bl { bottom: 23px; left: 0; }
.corner-mark--br { bottom: 23px; right: 0; }
@media (max-width: 640px) {
  .corner-mark { width: 18px; height: 24px; }
  .corner-mark--tl, .corner-mark--tr { top: 18px; }
  .corner-mark--bl, .corner-mark--br { bottom: 18px; }
}
