/* Tela cheia das fotos: fundo preto, foto inteira (contain), X e setas discretas. */
.sem-rolagem, .sem-rolagem body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: var(--sumi); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 12px; touch-action: none; }
.lightbox[hidden], .lightbox [hidden] { display: none; }
.lightbox-foto { max-width: 100%; max-height: calc(100% - 44px); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; flex: 0 1 auto; min-height: 0; }
.lightbox-legenda { margin: 12px 0 0; min-height: 32px; color: var(--osso); font-family: var(--titulos); font-size: 1.15rem; text-align: center; }
.lightbox-fechar, .lightbox-seta { position: absolute; width: 48px; height: 48px; border-radius: 999px; border: 2px solid var(--osso-suave); background: var(--sumi); color: var(--osso); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.lightbox-fechar { top: 8px; right: 8px; }
.lightbox-seta { top: 50%; margin-top: -24px; opacity: .8; }
.lightbox-ant { left: 8px; }
.lightbox-prox { right: 8px; }
.lightbox button:hover { background: var(--osso); color: var(--sumi); }
.lightbox button:focus-visible { outline: 3px solid var(--laca-clara); outline-offset: 3px; }
.lightbox svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
[data-zoom] { cursor: zoom-in; }
@media (max-width: 600px) { .lightbox-seta { top: auto; bottom: 12px; margin-top: 0; } .lightbox { padding-bottom: 72px; } }
