/* =========================
   RESET & BASE
========================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   VARIÁVEIS
========================= */
:root {
  --gold: #F4A300;
  --gold-dark: #C94A00;
  --blue: #009FE3;
  --blue-dark: #0057B8;

  --gold-glow: rgba(244, 163, 0, 0.35);
  --blue-glow: rgba(0, 159, 227, 0.35);

  --bg: #070707;
  --bg-2: #101010;

  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(244, 163, 0, 0.35);
  --border-blue: rgba(0, 159, 227, 0.35);

  --text-muted: rgba(255, 255, 255, 0.65);
  --text-hint: rgba(255, 255, 255, 0.38);
}

/* =========================
   CONFIGURAÇÕES GERAIS
========================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
}

section {
  padding: 5rem 2rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

/* =========================
   COMPONENTES GLOBAIS
========================= */
.section-tag {
  display: inline-block;
  background: rgba(244, 166, 35, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2.2rem;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85rem 2.2rem;
  border-radius: 100px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* =========================
   NAVEGAÇÃO
========================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.97);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 1px;
}

.nav-logo img {
  height: 55px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* =========================
   HERO
========================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  background:
    radial-gradient(circle at 35% 50%, rgba(244, 163, 0, 0.45), transparent 35%),
    radial-gradient(circle at 65% 50%, rgba(0, 159, 227, 0.45), transparent 35%),
    #070707;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23F4A623' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E"); */
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  background: rgba(244, 166, 35, 0.15);
  border: 1px solid rgba(244, 166, 35, 0.4);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  opacity: 0.3;
  font-size: 2.5rem;
}

/* =========================
   SOBRE
========================= */
.sobre {
  background: var(--bg);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.sobre-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.sobre-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.sobre-card:hover {
  border-color: var(--border-gold);
  background: rgba(244, 166, 35, 0.04);
}

.sobre-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.sobre-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.sobre-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.sobre-texto h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.sobre-texto p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.sobre-texto .destaque {
  color: var(--gold);
  font-weight: 600;
}

/* =========================
   EVANGELHO
========================= */
.evangelho {
  background: var(--bg);
  text-align: center;
}

.evangelho-card {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.evangelho-ref {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.evangelho-texto {
  color: var(--text-muted);
  line-height: 1.8;
  text-align: justify;
}

.evangelho-data {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.9rem;
}

/* =========================
   EVENTOS
========================= */
.eventos {
  background: var(--bg);
}

.evento-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.evento-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.evento-item:hover {
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.evento-data {
  background: var(--gold);
  color: #0a0a0a;
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  text-align: center;
  min-width: 52px;
  font-weight: 700;
}

.evento-data .dia {
  font-size: 1.4rem;
  line-height: 1;
}

.evento-data .mes {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.evento-info {
  text-align: left;
}

.evento-info h4 {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.evento-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.evento-tipo {
  margin-left: auto;
  background: rgba(244, 166, 35, 0.15);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  white-space: nowrap;
}

.evento-concluido {
  opacity: 0.45;
}

.evento-concluido .evento-info h4,
.evento-concluido .evento-info p {
  text-decoration: line-through;
}

.evento-concluido .evento-tipo {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
}

/* =========================
   DEVOCIONAL
========================= */
.devocional {
  background: var(--bg);
  text-align: center;
}

.versiculo-card {
  background: linear-gradient(135deg, rgba(244,166,35,0.1) 0%, rgba(180,100,10,0.05) 100%);
  border: 1px solid rgba(244, 166, 35, 0.25);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin: 2.5rem auto 0;
  max-width: 640px;
  text-align: center;
  position: relative;
}

.versiculo-card::before {
  content: '❝';
  font-size: 5rem;
  color: rgba(244, 166, 35, 0.12);
  position: absolute;
  top: 0.5rem; left: 1.5rem;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.versiculo-card p {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.versiculo-card cite {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.santos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.santo-card {
  text-align: center;
  max-width: 200px;
}

.santo-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(244, 166, 35, 0.12);
  border: 2px solid rgba(244, 166, 35, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  transition: transform 0.2s, border-color 0.2s;
}

.santo-card:hover .santo-icon {
  transform: scale(1.08);
  border-color: var(--gold);
}

.santo-card h4 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.santo-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* =========================
   GALERIA
========================= */
.galeria {
  text-align: center;
}

.galeria {
  background: var(--bg);
}

.galeria .container {
  max-width: 1800px;
}

.galeria .section-tag {
  margin-left: max(0px, calc((100% - 900px) / 2));
}

.galeria-grid {
  display: grid;
  grid-auto-rows: 260px;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.galeria-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: auto;
}

/* .galeria-grid {
  grid-auto-rows: 220px;
} */

.galeria-placeholder {
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-hint);
  font-size: 0.8rem;
  min-height: 120px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.galeria-link,
.galeria-sem-link {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.galeria-disponivel {
  opacity: 1;
  cursor: pointer;
}

.galeria-indisponivel {
  opacity: 0.45;
  cursor: default;
}

.galeria-disponivel:hover {
  border-color: var(--border-gold);
  background: rgba(244, 166, 35, 0.04);
  color: rgba(244, 166, 35, 0.8);
}

.icon-g {
  font-size: 2rem;
}

/* =========================
   CONTATO
========================= */
.contato {
  background: var(--bg);
  text-align: center;
}

.contato-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.5rem auto 0;
  max-width: 800px;
}

.contato-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.contato-card:hover {
  border-color: rgba(244, 166, 35, 0.4);
  transform: translateY(-4px);
}

.c-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.contato-card h4 {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.contato-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  margin-top: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* =========================
   FOOTER
========================= */
footer {
  background: var(--bg);
  /* border-top: 1px solid rgba(255, 255, 255, 0.06); */
  padding: 2rem;
  text-align: center;
  color: var(--text-hint);
  font-size: 0.85rem;
}

footer span {
  color: var(--gold);
}

/* =========================
   AJUSTES DE ALINHAMENTO
========================= */
.sobre .section-tag,
.evangelho .section-tag,
.eventos .section-tag,
.localizacao .section-tag,
.devocional .section-tag,
.galeria .section-tag,
.contato .section-tag {
  display: block;
  width: fit-content;
}

.eventos .section-title,
.eventos .section-sub,
.evangelho .section-title,
.evangelho .section-sub,
.devocional .section-title,
.devocional .section-sub,
.galeria .section-title,
.galeria .section-sub,
.contato .section-title,
.contato .section-sub {
  text-align: center;
}

/* =========================
   HOVERS COMPARTILHADOS
========================= */
.sobre-card:hover,
.evento-item:hover,
.contato-card:hover {
  border-color: var(--border-blue);
}

/* =========================
   ANIMAÇÕES
========================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag    { animation: fadeUp 0.7s ease 0.1s both; }
.hero h1     { animation: fadeUp 0.7s ease 0.2s both; }
.hero p      { animation: fadeUp 0.7s ease 0.3s both; }
.hero-btns   { animation: fadeUp 0.7s ease 0.4s both; }
.hero-icons  { animation: fadeUp 0.7s ease 0.6s both; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10, 10, 10, 0.98);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle { display: block; }

  .sobre-grid { grid-template-columns: 1fr; }
  .contato-grid { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria-item.tall { grid-row: span 1; aspect-ratio: 1; }
  .santos { gap: 1.5rem; }
}

@media (max-width: 480px) {
  section { padding: 3.5rem 1.2rem; }
  .galeria-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================
   SCROLL
========================= */
section[id] {
  scroll-margin-top: 25px;
}

/* =========================
   LOCALIZAÇÃO
========================= */

.localizacao {
  background: var(--bg);
  text-align: center;
}

.localizacao-card {
  margin-top: 2.5rem;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}

.localizacao-card iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
}

.localizacao-info {
  padding: 2rem;
}

.localizacao-info h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin-bottom: 1rem;
}

.localizacao-info p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
