/* AAACL — aniversarios.css */

/* HERO */
.aniv-hero { background: rgba(8,22,40,0.9); border-bottom: 2px solid rgba(201,168,76,0.3); padding: 3rem 2rem 2rem; text-align: center; }
.aniv-hero h1 { font-family: 'Cinzel', serif; font-size: 32px; color: #c9a84c; font-weight: 400; letter-spacing: 2px; margin-bottom: 0.5rem; }
.aniv-hero p { font-family: 'EB Garamond', serif; font-size: 17px; color: rgba(255,255,255,0.65); font-style: italic; }

/* WRAP */
.aniv-wrap { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem; }
.aniv-wrap .secao-titulo { color: rgba(255,255,255,0.75); }
.aniv-wrap .secao-titulo::after { background: rgba(255,255,255,0.2); }

/* GRID DE CARDS */
.aniv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* CARD */
.aniv-card { cursor: pointer; border: 1px solid rgba(201,168,76,0.2); overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.aniv-card:hover { border-color: #c9a84c; transform: translateY(-4px); }
.aniv-card-img { position: relative; height: 180px; overflow: hidden; background: rgba(201,168,76,0.05); }
.aniv-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.4s; }
.aniv-card:hover .aniv-card-img img { transform: scale(1.06); }
.aniv-card-overlay {
  position: absolute; inset: 0;
  background: rgba(8,22,40,0.6);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
  color: #c9a84c; gap: 0.5rem;
}
.aniv-card-overlay i { font-size: 28px; }
.aniv-card-overlay span { font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.aniv-card:hover .aniv-card-overlay { opacity: 1; }
.aniv-card-info { padding: 1rem; background: rgba(8,22,40,0.7); }
.aniv-card-num { font-family: 'Cinzel', serif; font-size: 13px; color: #c9a84c; letter-spacing: 1px; }
.aniv-card-ano { font-family: 'Cinzel', serif; font-size: 22px; color: #fff; font-weight: 400; margin: 0.15rem 0; }
.aniv-card-fotos { font-family: 'Cinzel', serif; font-size: 10px; color: rgba(255,255,255,0.45); letter-spacing: 1px; display: flex; align-items: center; gap: 0.3rem; }

/* LIGHTBOX */
.aniv-lb {
  display: none; position: fixed; inset: 0;
  background: rgba(5,12,25,0.98);
  z-index: 5000; flex-direction: column;
}
.aniv-lb.open { display: flex; }

.aniv-lb-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  flex-shrink: 0;
}
.aniv-lb-titulo { font-family: 'Cinzel', serif; font-size: 14px; color: #c9a84c; letter-spacing: 2px; }
.aniv-lb-contador { font-family: 'Cinzel', serif; font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 1px; }
.aniv-lb-fechar {
  background: none; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%; width: 36px; height: 36px;
  color: #fff; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.aniv-lb-fechar:hover { border-color: #c9a84c; color: #c9a84c; }

.aniv-lb-main {
  flex: 1; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; min-height: 0;
}
.aniv-lb-img-wrap {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.aniv-lb-img-wrap img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; display: block;
}
.aniv-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(8,22,40,0.7); border: 1px solid rgba(201,168,76,0.3);
  color: #c9a84c; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.4rem; transition: all 0.2s; z-index: 2;
  border-radius: 2px;
}
.aniv-lb-nav:hover { background: rgba(201,168,76,0.2); border-color: #c9a84c; }
.aniv-lb-prev { left: 12px; }
.aniv-lb-next { right: 12px; }

.aniv-lb-thumbs {
  display: flex; gap: 4px; padding: 8px 12px;
  overflow-x: auto; flex-shrink: 0;
  border-top: 1px solid rgba(201,168,76,0.15);
  background: rgba(5,12,25,0.8);
  scrollbar-width: thin; scrollbar-color: rgba(201,168,76,0.3) transparent;
}
.aniv-thumb {
  width: 60px; height: 45px; object-fit: cover;
  cursor: pointer; opacity: 0.5; transition: opacity 0.2s;
  border: 2px solid transparent; flex-shrink: 0;
}
.aniv-thumb:hover { opacity: 0.85; }
.aniv-thumb.ativo { opacity: 1; border-color: #c9a84c; }

/* RESPONSIVO */
@media (max-width: 900px) { .aniv-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .aniv-grid { grid-template-columns: repeat(2, 1fr); }
  .aniv-lb-thumbs { display: none; }
}

/* INTRO */
.aniv-intro {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
}
.aniv-intro p {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  line-height: 1.9;
  margin-bottom: 1rem;
  font-style: italic;
}
.aniv-intro p:first-child {
  font-size: 19px;
  color: rgba(255,255,255,0.88);
}
