/* ── object-position para não cortar caras ── */
.mem-homenagem-foto img,
.mem-card-foto img {
  object-fit: cover;
  object-position: center top;
}

/* ── cursor pointer nas homenagens e cards ── */
.mem-homenagem { cursor: pointer; }
.mem-card { cursor: pointer; }
.mem-homenagem:hover .mem-homenagem-foto { border-color: #c9a84c; }
.mem-homenagem:hover .mem-homenagem-foto img { filter: grayscale(0%); }

/* ══════════════════════════════
   LIGHTBOX
══════════════════════════════ */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,15,30,.95);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: lbFade .25s ease;
}
.lb-overlay.open { display: flex; }
@keyframes lbFade { from { opacity:0 } to { opacity:1 } }

.lb-inner {
  display: flex;
  gap: 36px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  align-items: flex-start;
}
.lb-img-wrap {
  flex: 0 0 auto;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lb-img-wrap img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 3px solid #c9a84c;
  display: block;
}
.lb-info {
  flex: 1;
  color: #fff;
  overflow-y: auto;
  max-height: 85vh;
  padding-right: 8px;
}
.lb-info h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: #c9a84c;
  letter-spacing: .06em;
  font-weight: 400;
  margin-bottom: 0.4rem;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201,168,76,.3);
}
.lb-info .lb-data {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  color: #7a1230;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.lb-info p {
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255,255,255,.82);
  margin-bottom: 0.75rem;
}
.lb-close {
  position: fixed;
  top: 18px; right: 22px;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  width: 40px; height: 40px;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  z-index: 10;
}
.lb-close:hover { background: rgba(201,168,76,.2); border-color: #c9a84c; }

/* sem texto = só foto centrada */
.lb-inner.so-foto { justify-content: center; }
.lb-inner.so-foto .lb-img-wrap { width: 340px; }
.lb-inner.so-foto .lb-img-wrap img { width: 340px; height: 340px; }
.lb-inner.so-foto .lb-info { display: none; }

@media (max-width: 700px) {
  .lb-inner { flex-direction: column; align-items: center; gap: 20px; }
  .lb-img-wrap, .lb-img-wrap img { width: 200px; height: 200px; }
  .lb-info { max-height: unset; }
}

/* ── Corrigir secao-titulo para fundo escuro ── */
.mem-wrap .secao-titulo,
.mem-hero .secao-titulo {
  color: rgba(255,255,255,0.75);
}
.mem-wrap .secao-titulo::after {
  background: rgba(255,255,255,0.2);
}

/* ── Datas e barra vermelha mais visíveis ── */
.mem-data {
  color: #c0394e !important;
}
.mem-wrap .secao-titulo .borda-cor {
  background: #c0394e;
}

/* ── Botão vídeo Sobral ── */
.mem-video { margin-top: 1.25rem; }
.mem-video-btn {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a84c;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  border-radius: 2px;
}
.mem-video-btn:hover {
  background: rgba(201,168,76,0.18);
  border-color: #c9a84c;
}
.mem-video-btn i { font-size: 16px; }

/* ── Botões de ação (Ler mais, Ver vídeo) ── */
.mem-acoes {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
