:root {
  --vermelho: #9E2B25;
  --dourado: #D4B15A;
  --preto: #0D0D0D;
  --branco: #F5F5F5;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--preto);
  color: var(--branco);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: 0.3s;
}

.navbar.scrolled {
  background: rgba(0,0,0,0.9);
  padding: 10px 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* LOGO */
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-area img {
  width: 70px;
}

.logo-area span {
  font-size: 20px;
  font-weight: 600;
}

/* MENU */
.navbar nav {
  display: flex;
  gap: 25px;
}

.navbar a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

.navbar a:hover {
  color: var(--dourado);
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url('igreja.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.85)
  );
}

/* HERO CONTENT (BLOCO COMPACTO) */
.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px; /* 🔥 controla todo espaçamento */

  animation: fadeUp 1s ease;
}

/* TEXTO HERO */
.titulo-principal {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 2px;
}

.subtitulo {
  font-size: 20px;
  font-weight: 300;
  color: #ccc;
}

.destaque {
  font-size: 34px;
  font-weight: 700;
  color: var(--vermelho);
}

.versiculo {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 6px; /* leve separação */
}

/* ANIMAÇÃO */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SEÇÕES */
section {
  padding: 100px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
  scroll-margin-top: 80px;
}

h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--dourado);
}

p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

/* INTRO */
.intro {
  max-width: 700px;
  margin: 0 auto 40px;
}

/* GRID */
.blocos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* CARDS */
.bloco {
  background: rgba(255,255,255,0.03);
  padding: 30px;
  border-radius: 12px;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.05);
}

.bloco:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.06);
  border-color: var(--dourado);
}

.bloco h3 {
  color: var(--dourado);
  margin-bottom: 10px;
}

/* MISSÃO */
.missao {
  margin-top: 60px;
}

/* SOCIAL */
.social a {
  display: inline-block;
  margin: 10px;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  background: var(--vermelho);
  transition: 0.3s;
  font-weight: 500;
}

.social a:hover {
  background: var(--dourado);
  color: black;
}

.mapa {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.map-iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

@media (max-width: 768px) {
  .map-iframe {
    height: 250px;
  }
}

.mapa-acoes {
  margin-top: 15px;
}

.mapa-acoes a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 30px;
  background: var(--vermelho);
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.mapa-acoes a:hover {
  background: var(--dourado);
  color: black;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  background: #111;
  font-size: 14px;
  opacity: 0.6;
}

/* MENU MOBILE */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* RESPONSIVO */
@media (max-width: 768px) {

  .navbar {
    padding: 15px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .navbar nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    width: 200px;
    padding: 20px;
    display: none;
  }

  .navbar nav.active {
    display: flex;
  }

  .titulo-principal {
    font-size: 40px;
  }

  .subtitulo {
    font-size: 16px;
  }

  .destaque {
    font-size: 24px;
  }

  .versiculo {
    font-size: 13px;
  }

  section {
    padding: 70px 20px;
  }

}