body {
  position: relative;
  margin: 0;
  font-family: 'Segoe UI';
  color: #333;
  min-height: 100vh;
  background: #f5f5f5;
}

/* Camada do fundo */
body::before {
  display: none;
}

h1 {
  text-align: center;
  margin: 30px 0;
}

/* GRID */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 220px);
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

/* CARD */
.card-galeria {
  margin-top: 60px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgb(245, 245, 245);
  transition: 0.3s;
  cursor: pointer;
}

.card-galeria:hover {
  transform: translateY(-5px);
}

/* IMAGEM */
.card-galeria img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

/* CONTEÚDO */
.card-conteudo {
  padding: 10px;
  font-size: 13px;
}

.card-conteudo h2 {
  font-size: 15px;
  margin: 0 0 6px 0;
}

.podio p {
  margin: 3px 0;
  font-weight: bold;
  font-size: 12px;
}

.stats {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.4;
  background: #ffffff;
  padding: 6px;
  border-radius: 6px;
}

/* ================= MODAL ================= */

.modal {
  display: none;
  position: fixed;
  z-index: 20000; /* maior que o menu */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

.modal-img {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  margin-top: 50px;
}

.fechar {
  position: absolute;
  top: 20px;
  right: 35px;
  color: rgb(255, 255, 255);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 20001; /* acima de tudo */
  margin-top: 30px;
}

.menu-logo img {
  height: 50px; /* ajusta a altura da logo */
  width: auto;
}
