/* ═══════════════════════════════════════════
   DCER CAPIXABA – GALERIA DE FOTOS
═══════════════════════════════════════════ */

/* ── HERO ── */
.fotos-hero {
  background: linear-gradient(135deg, #001a5e 0%, #0047CC 55%, #002F8A 100%);
  padding: 120px 40px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fotos-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(0,71,204,.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 30%, rgba(245,184,0,.08) 0%, transparent 60%);
}
.fotos-hero-inner {
  position: relative; z-index: 1;
  max-width: 640px; margin: 0 auto;
}
.fotos-hero-icon {
  width: 72px; height: 72px;
  background: rgba(245,184,0,.15);
  border: 2px solid rgba(245,184,0,.35);
  border-radius: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.9rem; color: var(--gold);
}
.fotos-hero h1 {
  font-size: 2.6rem; font-weight: 900; color: #fff;
  letter-spacing: -1px; margin-bottom: 12px; line-height: 1.1;
}
.fotos-hero h1 span { color: var(--gold); }
.fotos-hero p {
  font-size: .97rem; color: rgba(255,255,255,.7);
  max-width: 480px; margin: 0 auto 28px; line-height: 1.7;
}
.fotos-stats {
  display: flex; justify-content: center; gap: 40px;
}
.fotos-stat { text-align: center; }
.fotos-stat strong {
  display: block; font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1;
}
.fotos-stat span {
  font-size: .72rem; color: rgba(255,255,255,.55);
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  margin-top: 4px; display: block;
}

/* ── FILTROS (estilo igual à página Programações) ── */
.fotos-filter-bar {
  background: #fff;
  border-bottom: 1px solid rgba(0,71,204,.08);
  padding: 0 24px;
  position: sticky; top: 68px; z-index: 50;
  box-shadow: 0 2px 8px rgba(0,71,204,.06);
}
.fotos-filter-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 2px;
}
.fotos-filter-btn {
  padding: 16px 22px;
  font-size: .88rem; font-weight: 700; font-family: inherit;
  color: var(--gray); background: none; border: none; cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap; display: flex; align-items: center; gap: 7px;
}
.fotos-filter-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.fotos-filter-btn:hover  { color: var(--blue); }

/* ── BODY ── */
.fotos-body {
  max-width: 1200px; margin: 0 auto;
  padding: 44px 24px 64px;
}

.fotos-section-title {
  font-size: .75rem; font-weight: 800; color: var(--gray);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 22px; padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
  display: flex; align-items: center; gap: 10px;
}

/* ── GRID ── */
.fotos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}
@media (max-width: 900px) { .fotos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fotos-grid { grid-template-columns: 1fr; } }

/* ── CARD ── */
.foto-card {
  background: #fff; border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: pointer; text-decoration: none; display: block;
  border: 1.5px solid #e8eef8;
}
.foto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,71,204,.14);
  border-color: var(--blue);
}

/* Cover */
.foto-card-cover {
  height: 180px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cover-conclave { background: linear-gradient(135deg, #0d2456 0%, #0047CC 100%); }
.cover-acamp    { background: linear-gradient(135deg, #064e3b 0%, #059669 100%); }
.cover-olimp    { background: linear-gradient(135deg, #7c2d12 0%, #ea580c 100%); }

.foto-card-cover-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; opacity: .55;
}
.foto-card-cover-icon {
  position: relative; z-index: 1;
  width: 64px; height: 64px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: #fff;
  backdrop-filter: blur(4px);
}
.foto-card-year-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(0,0,0,.45); color: #fff;
  font-size: .7rem; font-weight: 800;
  padding: 4px 11px; border-radius: 50px;
  backdrop-filter: blur(6px); letter-spacing: .5px;
}
.foto-card-new-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--gold); color: var(--dark);
  font-size: .62rem; font-weight: 800;
  padding: 3px 10px; border-radius: 50px;
  letter-spacing: .5px; text-transform: uppercase;
}

/* Body */
.foto-card-body { padding: 18px 20px 20px; }
.foto-card-tipo {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 5px;
  display: flex; align-items: center; gap: 5px;
}
.tipo-conclave { color: var(--blue); }
.tipo-acamp    { color: #059669; }
.tipo-olimp    { color: #ea580c; }
.foto-card-titulo {
  font-size: 1.02rem; font-weight: 800; color: var(--dark);
  margin-bottom: 10px; line-height: 1.3;
}
.foto-card-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: .76rem; color: var(--gray);
  margin-bottom: 16px; flex-wrap: wrap;
}
.foto-card-meta span { display: flex; align-items: center; gap: 5px; }
.foto-card-meta i { font-size: .72rem; }

.btn-ver-fotos {
  width: 100%; padding: 10px 14px; border-radius: 10px;
  background: var(--blue-bg); color: var(--blue);
  border: 1.5px solid rgba(0,71,204,.2);
  font-weight: 700; font-size: .83rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
}
.foto-card:hover .btn-ver-fotos {
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.btn-ver-fotos i { font-size: .78rem; }

/* ── PLACEHOLDER (álbum ainda não publicado) ── */
.foto-card-empty {
  border: 2px dashed #cbd5e1; background: #f8faff;
  border-radius: 20px; padding: 44px 20px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; text-align: center;
  opacity: .65; cursor: default;
}
.foto-card-empty i   { font-size: 2rem; color: #94a3b8; }
.foto-card-empty strong { font-size: .88rem; color: var(--gray); font-weight: 700; }
.foto-card-empty small  { font-size: .72rem; color: #94a3b8; }

/* ── LOADING ── */
.fotos-loading {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; padding: 70px 0;
  color: var(--gray); font-size: .9rem;
}
.fotos-loading i { font-size: 2rem; color: #94a3b8; }

/* ── EMPTY STATE (sem álbuns) ── */
.fotos-empty-state {
  text-align: center; padding: 80px 20px;
  color: var(--gray);
}
.fotos-empty-state i {
  font-size: 3.5rem; color: #cbd5e1; margin-bottom: 18px; display: block;
}
.fotos-empty-state h3 {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 8px;
}
.fotos-empty-state p { font-size: .88rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .fotos-hero { padding: 80px 20px 52px; }
  .fotos-hero h1 { font-size: 1.9rem; }
  .fotos-stats { gap: 24px; }
  .fotos-filters { padding: 12px 16px; }
  .fotos-body { padding: 28px 16px 48px; }
}
