:root {
  --bg: #050b18;
  --bg-soft: #090909;
  --text: #f5f5f5;
  --muted: #6b7280;
  --gold: #d4af37;
  --blue: #2ea8ff;
  --glass: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #0f1d3b 0%, var(--bg) 45%, var(--bg-soft) 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 5rem 0; }
.alt-bg { background: rgba(255,255,255,0.03); }

#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 1rem 0;
  transition: all .3s ease;
}
.header.scrolled { background: rgba(5, 11, 24, 0.75); backdrop-filter: blur(16px); box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.brand-mark { color: var(--gold); font-size: 1.2rem; }
.nav-links { display: flex; align-items: center; gap: 1.15rem; }
.nav-links a { color: var(--text); opacity: .9; transition: color .3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; }

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  position: relative;
  padding: 6rem 0 5rem ;
  isolation: isolate;
}


  /* ==========================
   BANNER DA CAMPANHA
========================== */

.hero-home {
  background-image: url("../img/banner-oficial-da-campanha.jpg");
  background-repeat: no-repeat;
  background-position: center 40px;
  background-size: contain;

  width: 100%;
  min-height: 100vh;

  position: relative;
  overflow: hidden;
}

.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,11,24,0.95), rgba(5,11,24,0.45)); z-index: -1; }
.hero-logo {
  display: flex;
  justify-content: center;
  margin-top: 6rem;
  z-index: 2;
  position: relative;
}
.hero-logo img {
  max-width: 280px;
  width: 100%;
  border: 2px solid rgba(212,175,55,0.35);
  border-radius: 28px;
  background: rgba(255,255,255,0.08);
  padding: 1.1rem;
  box-shadow: 0 22px 50px rgba(0,0,0,0.28);
}
.hero-content { max-width: 760px; padding: 2rem 0; }
.eyebrow {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .8rem;
  margin-bottom: 1rem;
}
.hero h1, .page-hero h1, .section-heading h2 { font-family: 'Cinzel', serif; line-height: 1.2; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 4.2rem); margin-bottom: 1rem; }
.hero-text { font-size: 1.05rem; color: #e5e7eb; max-width: 650px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.btn { border: 1px solid var(--gold); padding: .9rem 1.25rem; border-radius: 999px; display: inline-block; transition: all .3s ease; }
.btn-primary { background: linear-gradient(135deg, var(--gold), #f2c54d); color: #090909; font-weight: 700; }
.btn-secondary { background: rgba(255,255,255,0.06); color: var(--text); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(212,175,55,0.2); }

.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; max-width: 700px; }
.countdown-card {
  padding: 1rem; border: 1px solid rgba(212,175,55,.3); background: var(--glass); backdrop-filter: blur(12px); border-radius: 18px; text-align: center;
}
.countdown-card span { display: block; font-size: 1.8rem; font-weight: 700; color: var(--blue); }
.countdown-card small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

.banner-card, .content-card, .feature-card, .person-card, .verse-card, .timeline-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(0,0,0,0.18);
}
.banner-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: center; padding: 1.5rem; }
.banner-card h2 { font-family: 'Cinzel', serif; margin-bottom: .75rem; font-size: 1.8rem; }
.banner-card img { border-radius: 18px; height: 260px; object-fit: cover; }

.section-heading { text-align: center; margin-bottom: 2rem; }
.section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.content-card { padding: 1.5rem; }
.highlight-card { background: linear-gradient(135deg, rgba(46,168,255,0.16), rgba(212,175,55,0.12)); }
.list-check { list-style: none; display: grid; gap: .75rem; padding-top: .5rem; }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.feature-card, .person-card { padding: 1.4rem; }
.person-card { position: relative; overflow: hidden; border-radius: 18px; }

/* ==========================================================
   AJUSTE AUTOMATICO DAS FOTOS NOS CARDS EM PREGADORES
   ========================================================== */
.person-card img{
  width:100%;
  height:400px;
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:15px;
  transition:.4s;
}
.person-card .date-badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #090909; padding: .45rem .7rem; border-radius: 10px; font-weight:700; z-index: 3; box-shadow: 0 6px 18px rgba(0,0,0,0.35); font-size: .9rem; }
.role { color: var(--gold); font-weight: 600; margin: .3rem 0 .5rem; }
.meta { color: var(--blue); margin-bottom: .75rem; font-size: .95rem; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.timeline-item { padding: 1.25rem; }
.timeline-item h3 { color: var(--gold); margin-bottom: .4rem; }
.verse-section { background: linear-gradient(90deg, rgba(46,168,255,.18), rgba(212,175,55,.12)); }
.verse-card { padding: 3rem 2rem; text-align: center; font-size: 1.35rem; }
.page-hero {
  padding: 8rem 0 3rem;
  text-align: center;
  background: linear-gradient(90deg, rgba(46,168,255,.16), rgba(212,175,55,.08));
}
.page-hero p { max-width: 700px; margin: 0 auto; }
.contact-form { display: grid; gap: .9rem; }
.contact-form input, .contact-form textarea {
  padding: .9rem 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(5,11,24,.7); color: var(--text);
}
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gallery-grid img { width: 100%; height: 260px; object-fit: cover; border-radius: 18px; }
.footer { padding: 3rem 0 1.5rem; background: rgba(2,7,18,.7); border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer h3 { margin-bottom: .8rem; font-size: 1rem; }
.footer ul { list-style: none; display: grid; gap: .45rem; color: var(--muted); }
.footer-bottom { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); }

.reveal { opacity: 0; transform: translateY(30px); transition: all .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================
   CONFIGURAÇÕES DO VÍDEO "milagre.mp4" DA PÁGINA INICIAL
   ========================================================== */
.banner-video{
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* centraliza o vídeo */
}

.card-image{

  width: 80%

  height:300px;

  overflow:hidden;

  border-radius:20px 20px 0 0;

}

.card-image img{

  width:100%;

  height:100%;

  object-fit:cover;

  object-position:center top;

  display:block;

}


/* ==========================================================
   CONFIGURAÇÕES DO google maps
   ========================================================== */
.map-container{
  width:100%;
  overflow:hidden;
  border-radius:15px;
}

.map-container iframe{
  width:100%;
  height:450px;
  border:0;
}

.map-actions{
  display:flex;
  justify-content:center;
  margin-top:25px;
}

.btn-mapa{
  display:inline-flex;
  align-items:center;
  gap:10px;

  padding:15px 35px;

  background:linear-gradient(135deg,#0d6efd,#1c8cff);
  color:#fff;

  text-decoration:none;

  border-radius:50px;

  font-weight:700;
  font-size:17px;

  transition:.3s;
  box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.btn-mapa:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 35px rgba(13,110,253,.4);
}

.btn-mapa:active{
  transform:scale(.97);
}
