/* ==========================================================================
   Pedro Pierote — estilos do site inteiro
   O site é um palco no escuro: azul de palco, luz quente e duas gelatinas
   (âmbar e azul) que só aparecem como brilho, nunca como cor de interface.
   ========================================================================== */

:root {
  --palco: #0b1424;
  --coxia: #060b15;
  --luz: #f4efe4;
  --luz-fraca: rgb(244 239 228 / 0.62);
  --linha: rgb(244 239 228 / 0.14);
  --gel-ambar: #ffb84d;
  --gel-azul: #4d8dff;
  --erro: #ff7a6b;

  /* Uma família só (Archivo), variando o eixo de largura */
  --f: 'Archivo', 'Arial Narrow', sans-serif;

  --t-pequeno: 0.875rem;
  --t-texto: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --t-lead: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
  --t-titulo: clamp(2.75rem, 1.4rem + 6vw, 7.5rem);
  --t-gigante: clamp(4.5rem, 1rem + 14.5vw, 16rem);

  --gutter: clamp(16px, 4.5vw, 72px);
  --secao: clamp(112px, 18vh, 220px);
  --topo: 72px;
  --suave: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }

body {
  min-height: 100dvh;
  background: var(--palco);
  color: var(--luz);
  font-family: var(--f);
  font-size: var(--t-texto);
  font-stretch: 100%;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, picture, video, svg, canvas { display: block; max-width: 100%; }
input, button, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul[role='list'] { list-style: none; padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }

::selection { background: var(--gel-ambar); color: var(--coxia); }
:focus-visible { outline: 2px solid var(--gel-ambar); outline-offset: 4px; border-radius: 2px; }
[tabindex='-1']:focus { outline: none; }
[hidden] { display: none !important; }

.pular {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 0.7em 1em; background: var(--luz); color: var(--coxia);
  transform: translateY(-200%);
}
.pular:focus { transform: none; }

/* Textos que só fazem sentido com mouse ou com toque */
.so-toque { display: none; }
@media (hover: none) {
  .so-mouse { display: none; }
  .so-toque { display: inline; }
}

/* Halo quente que segue o cursor pela página inteira (script.js) */
.halo {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--hx, 50%) var(--hy, -20%), rgb(255 184 77 / 0.07), transparent 70%);
}

/* ---------- Peças comuns ---------- */

.secao { position: relative; padding: var(--secao) var(--gutter); }

.titulo {
  font-size: var(--t-titulo);
  font-weight: 850;
  font-stretch: 62%;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

.lead { font-size: var(--t-lead); font-stretch: 88%; line-height: 1.3; max-width: 34ch; }
.apoio { color: var(--luz-fraca); max-width: 56ch; }

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 52px; padding: 0 1.6em; border-radius: 999px;
  background: var(--luz); color: var(--coxia);
  font-weight: 650; font-stretch: 90%;
  transition: background 0.3s, box-shadow 0.5s var(--suave);
}
.botao:hover {
  background: #fff;
  box-shadow: 0 0 0 6px rgb(255 184 77 / 0.18), 0 0 60px rgb(255 184 77 / 0.45);
}

.link {
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size 0.5s var(--suave);
}
.link:hover { background-size: 100% 1px; }

/* Pílulas: filtros do acervo e abas do equipamento. Ativa = acesa. */
.pilula {
  display: inline-flex; align-items: center; gap: 0.5em;
  min-height: 40px; padding: 0 1em; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--linha);
  color: var(--luz-fraca); font-size: var(--t-pequeno);
  transition: color 0.3s, background 0.3s, box-shadow 0.4s;
}
.pilula span { font-variant-numeric: tabular-nums; opacity: 0.6; }
.pilula:hover { color: var(--luz); box-shadow: inset 0 0 0 1px var(--luz); }
.pilula[aria-pressed='true'] {
  color: var(--coxia); background: var(--luz);
  box-shadow: 0 0 30px rgb(255 184 77 / 0.35);
}

/* Fotos: a cor média da imagem fica no fundo até ela carregar */
.foto { position: relative; overflow: hidden; background: var(--cor, var(--coxia)); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.js .foto img { opacity: 0; transition: opacity 0.8s var(--suave); }
.js .foto.is-carregada img { opacity: 1; }

.foto-botao { position: relative; display: block; width: 100%; }
.foto-botao img { transition: transform 1s var(--suave), filter 0.6s var(--suave); }

/* Vídeo no acervo: pôster com selo de play e duração */
.foto-botao__video {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.45em; padding: 0.35em 0.75em 0.35em 0.55em;
  border-radius: 999px; background: rgb(6 11 21 / 0.6); backdrop-filter: blur(6px);
  font-size: var(--t-pequeno); font-variant-numeric: tabular-nums; color: var(--luz);
  pointer-events: none;
}
.foto-botao__video svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Cabeçalho ---------- */

.cabecalho {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--topo);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gutter);
  font-size: var(--t-pequeno);
  transition: background 0.5s, transform 0.6s var(--suave);
}
.cabecalho.is-escondido { transform: translateY(-100%); }
.cabecalho.is-solido {
  background: rgb(6 11 21 / 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.cabecalho__nome {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-weight: 800; font-stretch: 70%; font-size: 1.125rem; text-transform: uppercase;
}
.cabecalho__logo { display: block; height: clamp(28px, 3.2vw, 36px); width: auto; }
.cabecalho__nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.cabecalho__cta {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.1em;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linha); transition: box-shadow 0.4s;
}
.cabecalho__cta:hover { box-shadow: inset 0 0 0 1px var(--luz), 0 0 30px rgb(255 184 77 / 0.25); }
.cabecalho__cta--mobile { display: none; }
@media (max-width: 767px) {
  .cabecalho__nav { display: none; }
  .cabecalho__cta--mobile { display: inline-flex; }
}

/* ---------- Hero: o palco que o cursor acende ---------- */

.hero__palco {
  position: relative; height: 100svh; min-height: 560px;
  overflow: hidden; isolation: isolate; background: var(--coxia);
}

/* --x/--y: posição da luz; --r: raio. script.js anima os três. Sem JS, tudo aceso. */
.hero__cena {
  --x: 50%; --y: 40%; --r: 160vmax;
  position: absolute; inset: -3%; z-index: -1; background: var(--coxia);
}
.hero__camada { position: absolute; inset: 0; }
.hero__camada img, .hero__camada video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__camada--escura img { filter: brightness(0.22) saturate(0.4) contrast(1.1); }
.hero__camada--acesa {
  -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), #000 calc(var(--r) * 0.3), rgb(0 0 0 / 0.45) calc(var(--r) * 0.65), transparent var(--r));
  mask-image: radial-gradient(circle at var(--x) var(--y), #000 calc(var(--r) * 0.3), rgb(0 0 0 / 0.45) calc(var(--r) * 0.65), transparent var(--r));
}
.hero__camada--acesa img { filter: saturate(1.15) contrast(1.05); }
.hero__camada--acesa video { opacity: 0; transition: opacity 1.2s var(--suave); }
.hero__camada--acesa video.is-tocando { opacity: 1; }
.hero__brilho {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle at var(--x) var(--y), rgb(255 184 77 / 0.18), transparent calc(var(--r) * 0.5));
}

.hero__conteudo {
  position: absolute; inset: auto var(--gutter) clamp(32px, 7vh, 72px);
  display: grid; gap: clamp(1.5rem, 4vh, 2.75rem); pointer-events: none;
}
.hero__conteudo a { pointer-events: auto; }
.hero__titulo {
  display: grid;
  font-size: var(--t-gigante); font-weight: 900; font-stretch: 62%;
  line-height: 0.78; letter-spacing: -0.01em; text-transform: uppercase;
  text-shadow: 0 0 80px rgb(6 11 21 / 0.6);
}
.hero__linha { display: block; white-space: nowrap; }
.hero__linha--2 { padding-left: 0.8em; }
.hero__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
}
.hero__sub { max-width: 34ch; color: var(--luz-fraca); }
.hero__dica {
  position: absolute; top: calc(var(--topo) + 12px); left: 50%; translate: -50% 0;
  font-size: var(--t-pequeno); color: var(--luz-fraca); white-space: nowrap;
  transition: opacity 0.8s;
}
.hero__dica.is-oculta { opacity: 0; }
@media (max-width: 767px) {
  .hero__linha--2 { padding-left: 0.4em; }
  .hero__base { flex-direction: column; align-items: flex-start; }
}

/* ---------- Manifesto: palavras que acendem ---------- */

.manifesto { padding-block: clamp(140px, 26vh, 300px); }
.manifesto__frase {
  max-width: 22ch;
  font-size: clamp(2rem, 1rem + 4.4vw, 5.25rem); font-weight: 700; font-stretch: 75%;
  line-height: 1.04; letter-spacing: -0.01em; text-wrap: pretty;
}
.manifesto__frase .palavra { color: rgb(244 239 228 / 0.16); transition: color 0.25s, text-shadow 0.6s; }
.manifesto__frase .palavra.is-acesa { color: var(--luz); text-shadow: 0 0 40px rgb(255 184 77 / 0.25); }

/* ---------- Destaques: palco horizontal ---------- */

.palco__fixo {
  display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vh, 3rem);
  padding: calc(var(--topo) + 4vh) 0 6vh;
}
.palco__topo {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1rem 2rem; padding: 0 var(--gutter);
}
.palco__janela {
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.palco__janela::-webkit-scrollbar { display: none; }
.palco__trilho {
  display: flex; align-items: flex-start; gap: clamp(16px, 3vw, 56px);
  width: max-content; padding: 0 var(--gutter) 24px;
}
.palco__item { flex: none; scroll-snap-align: center; padding-top: calc(var(--desce) * 0.25svh); }
.palco__item .foto { width: min(72vw, 360px); aspect-ratio: 2 / 3; }
/* Sombra por cima: script.js baixa a opacidade quando a foto chega ao centro */
.palco__item .foto-botao::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: var(--coxia); opacity: calc(0.78 * (1 - var(--luz, 1)));
}
@media (min-width: 768px) {
  .palco__item .foto { width: auto; height: min(54svh, 560px); }
}
/* Desktop com JS: a seção fica presa e o trilho anda com a rolagem */
.palco.is-preso .palco__fixo { height: 100svh; }
.palco.is-preso .palco__janela { overflow: visible; align-self: center; }
.palco.is-preso .palco__item { padding-top: calc(var(--desce) * 0.7svh); }
.palco.is-preso .palco__trilho { padding-right: 30vw; }

/* ---------- Acervo: colunas com filtro ---------- */

.acervo__topo { display: grid; gap: 1.75rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.acervo__filtros { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (max-width: 767px) {
  .acervo__filtros {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter);
  }
  .acervo__filtros .pilula { flex: none; }
}
.grade { columns: 2; column-gap: clamp(8px, 1.2vw, 18px); }
.grade__item { break-inside: avoid; margin-bottom: clamp(8px, 1.2vw, 18px); }
.grade .foto-botao { overflow: hidden; }
@media (hover: hover) {
  .grade img { filter: brightness(0.78) saturate(0.85); }
  .grade .foto-botao:hover img, .grade .foto-botao:focus-visible img { filter: none; transform: scale(1.035); }
  .palco .foto-botao:hover img { transform: scale(1.04); }
}
@media (min-width: 768px) { .grade { columns: 3; } }
@media (min-width: 1024px) {
  .acervo__topo { grid-template-columns: auto 1fr; align-items: end; }
  .acervo__filtros { justify-content: flex-end; }
  .grade { columns: 4; }
}

/* ---------- Equipamento em 3D ---------- */

.equipamento {
  background: radial-gradient(70% 50% at 30% 55%, rgb(77 141 255 / 0.1), transparent 70%);
}
.equipamento__topo {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1rem 2rem; margin-bottom: clamp(2rem, 5vw, 4rem);
}
.equipamento__layout { display: grid; gap: clamp(1.5rem, 4vw, 4rem); }
.equipamento__palco {
  position: relative; aspect-ratio: 1; width: 100%;
  cursor: grab; touch-action: pan-y;
}
.equipamento__palco:active { cursor: grabbing; }
.equipamento__canvas { width: 100%; height: 100%; }
.equipamento__aviso {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--luz-fraca); font-size: var(--t-pequeno); pointer-events: none;
  transition: opacity 0.6s;
}
.equipamento__aviso.is-oculto { opacity: 0; }
.equipamento__painel { display: grid; gap: 2rem; align-content: start; }
.equipamento__abas { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.equipamento__ficha { display: grid; gap: 1.75rem; }

.lentes { display: grid; gap: 0.5rem; }
.lentes legend { margin-bottom: 0.5rem; font-size: var(--t-pequeno); font-weight: 600; }
.lente {
  position: relative; display: grid; gap: 0.2rem;
  padding: 0.9rem 1.1rem; border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--linha); cursor: pointer;
  transition: box-shadow 0.4s, background 0.4s;
}
.lente input { position: absolute; opacity: 0; }
.lente__nome { font-weight: 700; font-stretch: 85%; }
.lente__uso { color: var(--luz-fraca); font-size: var(--t-pequeno); line-height: 1.45; }
.lente:hover { box-shadow: inset 0 0 0 1px var(--luz); }
.lente:has(input:checked) {
  background: rgb(244 239 228 / 0.06);
  box-shadow: inset 0 0 0 1px var(--luz), 0 0 40px rgb(255 184 77 / 0.18);
}
.lente:has(input:focus-visible) { outline: 2px solid var(--gel-ambar); outline-offset: 3px; }

.specs { display: grid; gap: 0; }
.specs div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--linha); font-size: var(--t-pequeno);
}
.specs dt { color: var(--luz-fraca); }
.specs dd { text-align: right; }

@media (min-width: 768px) {
  .equipamento__palco { aspect-ratio: 4 / 3; }
}
@media (min-width: 1024px) {
  .equipamento__layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; }
}

/* ---------- Sobre ---------- */

.sobre { display: grid; gap: clamp(2.5rem, 6vw, 6rem); }
.sobre__retrato { max-width: 520px; }
.sobre__retrato .foto { aspect-ratio: 625 / 776; background: var(--coxia); }
/* Mesma luz do hero: --r é animado por script.js. Sem JS, aceso. */
.sobre__retrato img {
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 calc(var(--r, 200%) * 0.45), transparent var(--r, 200%));
  mask-image: radial-gradient(circle at 50% 30%, #000 calc(var(--r, 200%) * 0.45), transparent var(--r, 200%));
}
.sobre__texto { display: grid; gap: 1.5rem; align-content: center; }
.sobre__titulo { font-size: clamp(2.5rem, 1.2rem + 4.6vw, 6rem); max-width: 14ch; margin-bottom: 0.5rem; }
@media (min-width: 1024px) {
  .sobre { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; }
}

/* ---------- Serviços ---------- */

.servicos__titulo { margin-bottom: clamp(2rem, 5vw, 4rem); }
.servicos__lista { border-top: 1px solid var(--linha); }
.servico {
  display: grid; grid-template-columns: 1fr 72px; gap: 0.35rem 1rem; align-items: center;
  padding: clamp(1.25rem, 3vw, 2.25rem) 0; border-bottom: 1px solid var(--linha);
}
.servico__nome {
  font-size: clamp(2.25rem, 1rem + 5vw, 6.5rem); font-weight: 850; font-stretch: 62%;
  line-height: 0.9; text-transform: uppercase; color: rgb(244 239 228 / 0.38);
  transition: color 0.4s, font-stretch 0.6s var(--suave), text-shadow 0.6s;
}
.servico__detalhe { grid-row: 2; color: var(--luz-fraca); font-size: var(--t-pequeno); }
.servico__mini { grid-column: 2; grid-row: 1 / span 2; width: 72px; aspect-ratio: 1; object-fit: cover; }
.servicos__flutuante { display: none; }

@media (hover: hover) and (min-width: 1024px) {
  .servico { grid-template-columns: 1fr minmax(0, 22rem); }
  .servico__detalhe { grid-row: 1; grid-column: 2; text-align: right; }
  .servico__mini { display: none; }
  .servico:hover .servico__nome {
    color: var(--luz); font-stretch: 80%; text-shadow: 0 0 50px rgb(255 184 77 / 0.3);
  }
  .servicos__flutuante {
    display: block; position: fixed; top: 0; left: 0; z-index: 5;
    width: clamp(220px, 20vw, 340px); aspect-ratio: 4 / 5; overflow: hidden;
    pointer-events: none; opacity: 0; box-shadow: 0 30px 80px rgb(0 0 0 / 0.5);
  }
  .servicos__flutuante img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Contato ---------- */

.contato__titulo {
  font-size: clamp(4.5rem, 1rem + 17vw, 19rem); font-weight: 900; font-stretch: 62%;
  line-height: 0.8; letter-spacing: -0.01em; text-transform: uppercase;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  /* script.js acende o título com a rolagem; sem JS, ele fica aceso */
  background: radial-gradient(circle at var(--tx, 50%) 50%, var(--luz) 0 var(--tr, 200%), rgb(244 239 228 / 0.14) calc(var(--tr, 200%) + 25%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contato__layout { display: grid; gap: clamp(3rem, 6vw, 6rem); }
.contato__canais { display: grid; gap: 2rem; align-content: start; }
.contato__wa { justify-self: start; min-height: 60px; padding: 0 2em; }
.contato__lista div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 0; border-bottom: 1px solid var(--linha);
}
.contato__lista dt { color: var(--luz-fraca); }
.contato__lista dd { overflow-wrap: anywhere; text-align: right; }

.form {
  display: grid; gap: 1.75rem; padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 20px; background: rgb(6 11 21 / 0.55); box-shadow: inset 0 0 0 1px var(--linha);
}
.campo { display: grid; gap: 0.5rem; }
.campo label, .campo legend { padding: 0; font-size: var(--t-pequeno); font-weight: 600; }
.campo label span { font-weight: 400; color: var(--luz-fraca); }
.campo input:not([type='radio']), .campo textarea {
  width: 100%; padding: 0.6rem 0; background: transparent;
  border: 0; border-bottom: 1px solid var(--linha); border-radius: 0;
  font-size: 1.125rem; transition: border-color 0.3s;
}
.campo input:focus, .campo textarea:focus { outline: none; border-bottom-color: var(--gel-ambar); }
.campo textarea { resize: vertical; min-height: 5.5rem; }
.campo [aria-invalid='true'] { border-bottom-color: var(--erro) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.chip input { position: absolute; opacity: 0; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 1em;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linha);
  color: var(--luz-fraca); font-size: var(--t-pequeno); cursor: pointer;
  transition: color 0.3s, background 0.3s, box-shadow 0.4s;
}
.chip:hover span { color: var(--luz); box-shadow: inset 0 0 0 1px var(--luz); }
.chip input:checked + span { color: var(--coxia); background: var(--luz); box-shadow: 0 0 30px rgb(255 184 77 / 0.35); }
.chip input:focus-visible + span { outline: 2px solid var(--gel-ambar); outline-offset: 3px; }
.form__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__erro { color: var(--erro); font-size: var(--t-pequeno); }
@media (min-width: 1024px) {
  .contato__layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}

.rodape {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding: 2rem var(--gutter) 2.5rem; border-top: 1px solid var(--linha);
  color: var(--luz-fraca); font-size: var(--t-pequeno);
}

/* ---------- Foto em tela cheia ---------- */

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  padding: 0; border: 0; overflow: hidden;
  background: rgb(6 11 21 / 0.96); color: var(--luz);
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figura {
  display: grid; justify-items: center; gap: 1rem;
  padding: 64px var(--gutter) 24px; touch-action: pan-y;
}
.lightbox__img {
  max-width: min(100%, 1400px); max-height: calc(100dvh - 180px);
  width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 120px rgb(0 0 0 / 0.6);
}
.lightbox__legenda { max-width: 60ch; text-align: center; font-size: var(--t-pequeno); color: var(--luz-fraca); }
.lightbox__contagem {
  position: absolute; top: 22px; left: var(--gutter);
  font-size: var(--t-pequeno); font-variant-numeric: tabular-nums; color: var(--luz-fraca);
}
.lightbox__botao {
  position: absolute; display: grid; place-items: center;
  min-width: 48px; min-height: 48px; border-radius: 999px; transition: background 0.3s;
}
.lightbox__botao:hover { background: rgb(244 239 228 / 0.1); }
.lightbox__fechar { top: 10px; right: calc(var(--gutter) - 12px); padding: 0 1em; font-size: var(--t-pequeno); }
.lightbox__seta { top: 50%; translate: 0 -50%; }
.lightbox__seta--ant { left: 8px; }
.lightbox__seta--prox { right: 8px; }
@media (max-width: 767px) {
  .lightbox__seta { top: auto; bottom: 12px; translate: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
