/* ========================================================= */
/*   1. MODAIS – ESTILOS GERAIS                              */
/* ========================================================= */

.modal-poetica .modal-header { background-color: #0d6efd20; }
.modal-poetica .modal-title { color: #0d6efd; text-align: center; width: 100%; }

.modal-teologica .modal-header { background-color: #6c757d20; }
.modal-teologica .modal-title { color: #000; text-align: center; width: 100%; }

.modal-forte .modal-header { background-color: #dc354520; }
.modal-forte .modal-title { color: #0a0001; text-align: center; width: 100%; }

.modal-poetico-teologica .modal-header { background-color: #00000020; }
.modal-poetico-teologica .modal-title { color: #000805; text-align: center; width: 100%; }

.modal-jovem .modal-header { background-color: #ffc10720; }
.modal-jovem .modal-title { color: #221b05; text-align: center; width: 100%; }

.modal-poetica .modal-body p,
.modal-teologica .modal-body p,
.modal-forte .modal-body p,
.modal-poetico-teologica .modal-body p,
.modal-jovem .modal-body p {
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
  text-align: justify;
  animation: fadeIn 3s ease-in-out;
}

.modal-footer {
  display: flex;
  justify-content: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ========================================================= */
/*   2. DEGRADÊS DOS MODAIS                                  */
/* ========================================================= */

.modal-poetico .modal-content {
  background: linear-gradient(135deg, #0d6efd, #6ea8fe);
  text-align: justify;
}

.modal-teologica .modal-content {
  background: linear-gradient(135deg, #6c757d, #adb5bd);
  text-align: justify;
}

.modal-poetico-teologica .modal-content {
  background: linear-gradient(135deg, #198754, #71c29a);
  text-align: justify;
}

.modal-forte .modal-content {
  background: linear-gradient(135deg, #dc3545, #f28b94);
  text-align: justify;
}

.modal-jovem .modal-content {
  background: linear-gradient(135deg, #ffc107, #ffe082);
  text-align: justify;
}


/* ========================================================= */
/*   3. MAPA RESPONSIVO                                      */
/* ========================================================= */

.map-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ========================================================= */
/*   4. CARTÃO DO PASTOR                                     */
/* ========================================================= */

.pastor-card {
  border: 2px solid #b8860b;
  transition: transform 0.2s ease-in-out;
}

.pastor-card:hover {
  transform: scale(1.05);
  border-color: #d4a017;
}


/* ========================================================= */
/*   5. CABEÇALHO DA IGREJA                                  */
/* ========================================================= */

.cabecalho-principal {
  padding: 0;
  min-height: auto;
  height: auto;
  padding-bottom: 20px;
}

.overlay {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
}

.logo-cabecalho {
  max-width: 260px;
  width: 100%;
  height: auto;
  margin: 40px auto 20px;
  display: block;
}

.display-4 {
  font-size: 2.2rem;
  margin: 0;
}

.lead {
  font-size: 1.1rem;
  margin: 0;
}


/* ========================================================= */
/*   6. BOTÕES DE CONTEXTO                                   */
/* ========================================================= */

.botao-contexto {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.botao-contexto .btn {
  min-width: 120px;
  padding: 6px 10px;
  font-size: 0.95rem;
}

.botao-contexto .btn-primary {
  margin: 0 !important;
}


/* ========================================================= */
/*   7. NAVBAR – AJUSTES DE FONTE                            */
/* ========================================================= */

.navbar-brand span {
  font-size: 0.75rem; /* texto da igreja */
}

.navbar-brand {
  font-size: 1rem; /* tamanho base */
}

.navbar-nav .nav-link {
  font-size: 0.9rem; /* links do menu */
}


/* ========================================================= */
/*   8. RESPONSIVIDADE (CELULAR)                             */
/* ========================================================= */


@media (max-width: 576px) {

  .overlay {
    gap: 15px;
    padding-bottom: 10px;
  }

  .logo-cabecalho {
    max-width: 180px;
  }

  .display-4 {
    font-size: 1.8rem;
  }

  .lead {
    font-size: 1rem;
  }

  .botao-contexto .btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
    text-align: center;
  }
}