/* Definições de variáveis e estilos globais */
:root {
  --blue: #0b6ef6; /* Cor principal */
  --blue-2: #0a58d6;
  --bg: #ffffff;
  --muted: #6b7280;
  --radius: 12px;
  --maxw: 1100px;
  --glass: rgba(255, 255, 255, 0.6);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

a {
    text-decoration: none;
}

.foto-membros {
  width: 70%;
  max-width: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  object-fit: cover;
  display: block;
  margin: auto;
  border-radius: 5%;

}
p {

  font-size: 18px;
  font-weight: 500;
  
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  color: #0f1724;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Estilos para a barra superior (Top navbar) */
.topbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(11, 110, 246, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.brand h1 {
  font-size: 20px;
  margin: 0;
}

nav ul {
  display: flex;
  gap: 16px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: #0f1724;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
}

nav a:hover {
  background: rgba(11, 110, 246, 0.08);
  color: var(--blue-2);
}

.cta {
  background: var(--blue);
  color: white;
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(11, 110, 246, 0.12);
}

main {
  padding-top: 110px;
  padding-bottom: 60px;
}

/* Estilos para a seção Hero */
.hero {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 44px 0;
}

.hero-left {
  flex: 1;
}

.eyebrow {
  display: inline-block;
  background: rgba(11, 110, 246, 0.08);
  color: var(--blue-2);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.hero h2 {
  font-size: 44px;
  margin: 12px 0 12px;
}

.lead {
  color: var(--muted);
  font-size: 24px;
  max-width: 620px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 30px rgba(15, 23, 36, 0.04);
  border: 1px solid rgba(11, 110, 246, 0.04);
}

.culto-card {
  width: 100%;
  max-width: 420px;
}

/* Estilos para seções */
section {
  margin: 40px 0;
}

h3 {
  margin: 0 0 12px;
}

/* Estilos para as tabs de Ministérios */
.tabs {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
}

.aviso {

 color: #0a58d6;
 text-align: center;
 
}

.tab-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tab-btn {
  background: transparent;
  border: none;
  text-align: left;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.tab-btn.active {
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  color: white;
}

.tab-panel {
  min-height: 220px;
}

.schedule {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.schedule .item {
  background: linear-gradient(180deg, #fff 0%, #f6fbff 100%);
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(11, 110, 246, 0.06);
}

.gallery {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery img {
  width: calc(33% - 8px);
  border-radius: 10px;
  object-fit: cover;
  height: 120px;
}

/* Estilos para a seção de Contato */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/*
input,
textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e6eefb;
  background: #fff;
}

button[type=submit] {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: var(--blue);
  color: white;
  font-weight: 700;
  cursor: pointer;
}
  */

/* Estilos para o Footer */
footer {
  margin-top: 40px;
  padding: 28px 0;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  border-top: 1px solid rgba(11, 110, 246, 0.04);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.social a {
  margin-right: 12px;
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ======== Lightbox ======== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 42px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease;
}

.lightbox .close:hover {
  transform: scale(1.15);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ministerio-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.foto-perfil {
  width: 200px;
  height: 200px;
  border-radius: 10%;
  object-fit: cover;
  border: 3px solid #1e90ff; /* Azul do tema */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* Garante que a galeria seja um grid flexível */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  position: relative;
}

/* Imagens da galeria */
.gallery img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 120px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Botão "Ver mais / Ver menos" alinhado à segunda coluna */
.ver-mais {
  justify-self: center; /* mantém o alinhamento na segunda coluna */
  grid-column: 2; /* força o botão a aparecer na segunda coluna */
  margin-top: 10px;
  padding: 10px 18px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 12px rgba(11, 110, 246, 0.15);
  height: fit-content;
}

.ver-mais:hover {
  background: var(--blue-2);
  transform: translateY(-2px);
}

.flashing_button{

  color: var(--blue);
  box-shadow: rgba(0, 0, 0) 2px 4px 8px;

  animation: piscar 2.5s infinite;

}

@keyframes piscar {

 0% { opacity: 1; }
 50% { opacity: 0; }
 100% { opacity: 1; }

}
/* Estilos responsivos */
@media screen and (max-width: 768px)  {

  /* HEADER */

  nav { 
    display: none;
  }

  .foto-membros{
    width: 85%;
  }

  /* BODY */

  /* Hero: força os elementos a ficarem um embaixo do outro */
.hero {
  flex-direction: column;
  text-align: center;
}


/* Em ministérios: transforma as tabs em layout vertical */
.tabs {
  grid-template-columns: 1fr !important;
}

.foto-membros {

height: 100%;

}

.tab-list {
  flex-direction: row;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 10px;
}
.ministerio-header {
  flex-direction: column;
  text-align: center;
}

/* Ajusta o painel */
.tab-panel {
  margin-top: 20px;
}

/* Ajusta imagens de perfil para não explodir a largura */
.foto-perfil {
  width: 130px;
  height: 130px;
}

}

iframe {

    width: 100%;

  }

html, body {
  max-width: 100%;
  overflow-x: hidden;
}
