body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background: #2c3e50;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

.filtro {
  text-align: center;
  margin: 1rem;
}

.filtro button {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.filtro button:hover {
  background-color: #2980b9;
}

.lista-igrejas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.igreja {
  background: #f8f8f8;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.mapa {
  margin: 1rem;
}

#map {
  width: 100%;
  height: 400px;
  border-radius: 8px;
}

/* Popup card */
.leaflet-popup-content-wrapper {
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

.popup-card {
  font-family: Arial, sans-serif;
  line-height: 1.3;
  max-width: 200px;
}

.popup-card h3 {
  margin: 0 0 5px 0;
  font-size: 14px;
  color: #d32f2f; /* vermelho igreja */
}

.popup-card p {
  margin: 0;
  font-size: 12px;
  color: #333;
}

.popup-card small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: #666;
}

.leaflet-marker-icon svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

/* 📱 Responsividade */
@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }

  #map {
    height: 250px;
  }

  .igreja h2 {
    font-size: 1.5rem;
  }

  .filtro button {
    font-size: 0.9rem;
    padding: 8px 14px;
  }
}
