/**
 * @file style.css
 * @description Folha de estilos global do site público (Frontend).
 * Implementa um Design System moderno, responsivo e baseado em CSS Variables (Custom Properties).
 * Foca em tipografia limpa, paleta de cores institucional (Azul Marinho e Dourado), 
 * glassmorphism nas seções sobrepostas e animações fluidas para elementos da interface.
 */

/* =============================================
   ASSEMBLEIA DE DEUS NOVO VIVER — STYLESHEET
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --navy:        #0f2d6b;
  --navy-dark:   #0a1e4a;
  --navy-mid:    #153580;
  --gold:        #c8941a;
  --gold-light:  #e8b54a;
  --gold-pale:   #fff3d0;
  --white:       #ffffff;
  --off-white:   #f7f8fc;
  --gray-100:    #f0f2f7;
  --gray-200:    #dde2ef;
  --gray-400:    #9aa3be;
  --gray-600:    #5a6282;
  --red-accent:  #c0392b;
  --font-head:   'Montserrat', sans-serif;
  --font-body:   'Open Sans', sans-serif;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --shadow-sm:   0 2px 8px rgba(15, 45, 107, 0.12);
  --shadow-md:   0 6px 24px rgba(15, 45, 107, 0.18);
  --shadow-lg:   0 12px 48px rgba(15, 45, 107, 0.24);
  --transition:  0.25s ease;
  --header-h:    72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: #1a1a2e;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-dark);
  border-bottom: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle at 40% 35%, #fff3d0, #c8941a 80%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(200,148,26,0.35);
  overflow: hidden;
  flex-shrink: 0;
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo-dove {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-subtitle {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
}
.logo-church {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* Main Nav */
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 4px; align-items: center; }
.nav-link {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.05em;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav-link.active { color: var(--gold-light); }

/* Sede Button */
.btn-sede {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 3px 12px rgba(200,148,26,0.4);
  flex-shrink: 0;
}
.btn-sede:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(200,148,26,0.5);
}
.btn-sede .chevron { margin-left: 2px; }

/* Sede Dropdown Menu */
.sede-dropdown-wrap {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 9999;
}
.sede-dropdown-menu {
  position: absolute;
  top: var(--header-h);
  right: 0;
  background: #ffffff !important;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 2px var(--gold);
  border: 2px solid var(--gold);
  border-top: none;
  min-width: 290px;
  z-index: 999999 !important;
  display: none;
  overflow: hidden;
}
.sede-dropdown-wrap:hover .sede-dropdown-menu,
.sede-dropdown-wrap:focus-within .sede-dropdown-menu,
.sede-dropdown-menu.show {
  display: block;
  animation: fadeInDown 0.2s ease forwards;
}
.sede-dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #ffffff !important;
  color: #0f172a !important;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s, color 0.2s;
  text-align: left;
}
.sede-dropdown-item:last-child {
  border-bottom: none;
}
.sede-dropdown-item:hover {
  background: #f8fafc !important;
  color: #c8941a !important;
}
.sede-dropdown-item svg {
  color: #c8941a;
  flex-shrink: 0;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  background: var(--navy);
  padding: 0;
  min-height: calc(100vh - var(--header-h));
  max-height: 520px;
  display: flex;
  align-items: stretch;
}
.hero-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

/* ---- Carousel ---- */
.carousel-wrapper {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 420px;
}
.carousel {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.slide-bg-1 {
  background-color: var(--navy);
  background-image: url('assets/cultos_agenda.jpg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.slide-bg-2 {
  background-color: var(--navy);
}
.slide-bg-3 {
  background-color: var(--navy);
  background-image: url('assets/voto_deus.jpg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}


.slide-bg-4 {
  background: linear-gradient(120deg,
    rgba(10,30,74,0.92) 0%,
    rgba(10,30,74,0.45) 50%,
    rgba(10,30,74,0.1) 100%),
    linear-gradient(160deg, #0a1e4a 0%, #142e6e 50%, #0f2859 100%);
}

/* Decorative church silhouette on slides */
.slide-bg::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 480'%3E%3Cg opacity='0.08' fill='%23ffffff'%3E%3Crect x='150' y='200' width='300' height='280'/%3E%3Cpolygon points='140,200 300,60 460,200'/%3E%3Crect x='270' y='60' width='60' height='100'/%3E%3Crect x='285' y='30' width='30' height='60'/%3E%3Crect x='195' y='280' width='80' height='200'/%3E%3Crect x='325' y='280' width='80' height='200'/%3E%3C/g%3E%3C/svg%3E") no-repeat center bottom;
  background-size: contain;
  pointer-events: none;
}
.slide-bg.has-image::after {
  display: none;
}

.slide-content-overlay {
  background: rgba(10, 30, 74, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 148, 26, 0.4);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  max-width: 400px;
  margin: 0 0 24px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.slide-content-overlay .slide-title {
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 6px;
}
.slide-content-overlay .slide-desc {
  font-size: 13px;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .slide-content-overlay {
    margin: 0 12px 16px;
    padding: 12px 16px;
    max-width: calc(100% - 24px);
  }
  .slide-content-overlay .slide-title {
    font-size: 1.6rem;
  }
}

.slide-content,
.hero-content {
  position: relative;
  z-index: 2;
  padding: 32px 48px 48px;
  max-width: 520px;
}
.slide-label {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 4px;
  opacity: 0.9;
}
.slide-title {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 0;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.slide-year {
  color: var(--red-accent);
  display: block;
  font-size: 72px;
}
.slide-subtitle {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin: 8px 0 12px;
}
.slide-subtitle em {
  color: var(--gold-light);
  font-style: italic;
}
.slide-desc {
  font-size: 14px;
  color: var(--gold);
  max-width: 380px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--navy-dark);
  color: white;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Carousel controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-btn:hover { background: rgba(200,148,26,0.5); }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background var(--transition), transform var(--transition);
}
.dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ---- Events Sidebar ---- */
.events-sidebar,
.hero-sidebar {
  width: 300px;
  flex-shrink: 0;
  background: var(--navy-dark);
  border-left: 2px solid rgba(200,148,26,0.3);
  display: flex;
  flex-direction: column;
}
.sidebar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.1em;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(200,148,26,0.25);
  background: rgba(200,148,26,0.06);
}
.event-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.event-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
  cursor: pointer;
}
.event-card:hover { background: rgba(200,148,26,0.1); }
.event-img-wrap {
  width: 64px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.event-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.event-card:hover .event-img { transform: scale(1.1); }
.event-img-1 {
  background: url('assets/voto_deus.jpg') center/cover no-repeat;
}
.event-img-2 {
  background-color: var(--navy);
}
.event-img-3 {
  background-color: var(--navy);
}
.event-info { flex: 1; min-width: 0; }
.event-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--gray-400);
}

/* =============================================
   NOSSAS SEDES
   ============================================= */
.sedes-section {
  padding: 40px 0 36px;
  background: var(--white);
}
.section-header {
  text-align: center;
  margin-bottom: 24px;
}
.section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}
.section-subtitle {
  font-size: 14px;
  color: var(--gray-600);
}

.sedes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.sede-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: white;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.sede-card:hover,
.sede-card:focus {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  outline: none;
}
.sede-card.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,148,26,0.2), var(--shadow-sm);
}

.sede-img {
  width: 100%;
  height: 100px;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.sede-card:hover .sede-img { transform: scale(1.05); }
.sede-img-1 {
  background: url('assets/caxias.jpg') center/cover no-repeat;
}
.sede-img-2 {
  background: url('assets/realengo.jpg') center/cover no-repeat;
}
.sede-img-3 {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(200,148,26,0.12) 0%, transparent 55%),
    linear-gradient(145deg, #2a3050 0%, #3a4a7a 35%, #2e3e6a 70%, #2a3050 100%);
}
.sede-img-4 {
  background:
    radial-gradient(ellipse at 40% 40%, rgba(100,180,255,0.1) 0%, transparent 55%),
    linear-gradient(145deg, #1a3048 0%, #2a4878 35%, #213e6a 70%, #1a3048 100%);
}
.sede-img-5 {
  background:
    radial-gradient(ellipse at 55% 35%, rgba(255,200,100,0.1) 0%, transparent 55%),
    linear-gradient(145deg, #253060 0%, #354888 35%, #2a3e78 70%, #253060 100%);
}

/* Decorative building silhouette */
.sede-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cg fill='rgba(255,255,255,0.07)'%3E%3Crect x='40' y='40' width='120' height='60'/%3E%3Cpolygon points='35,40 100,10 165,40'/%3E%3Crect x='88' y='10' width='24' height='40'/%3E%3Crect x='95' y='2' width='10' height='18'/%3E%3Crect x='60' y='60' width='30' height='40'/%3E%3Crect x='110' y='60' width='30' height='40'/%3E%3C/g%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}
.sede-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(200,148,26,0.5);
}
.sede-info {
  padding: 10px 12px 14px;
}
.sede-name {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.sede-addr {
  font-size: 11px;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 8px;
}
.link-saiba-mais {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.link-saiba-mais:hover { color: var(--navy); }

/* =============================================
   BOTTOM SECTION (PIX + CONTATO)
   ============================================= */
.bottom-section {
  padding: 32px 0 40px;
  background: var(--gray-100);
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ---- PIX Box ---- */
.pix-box {
  background: var(--navy-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(200,148,26,0.2);
}
.pix-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 16px;
  background: rgba(200,148,26,0.05);
  border-right: 1px solid rgba(200,148,26,0.2);
  flex-shrink: 0;
}
.qr-wrap {
  width: 100px;
  height: 100px;
}
.qr-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  background: white;
}
.pix-label-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pix-logo {
  height: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.pix-right {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 10px;
  flex: 1;
}
.pix-campaign-img {
  width: 100%;
  height: 70px;
  border-radius: var(--radius-sm);
  background: url('assets/voto_deus.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 4px;
}
.pix-campaign-img::before {
  content: '';
  font-size: 18px;
  font-weight: 900;
  color: var(--gold);
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.pix-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.3;
}
.pix-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.pix-cnpj-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,148,26,0.12);
  border: 1px solid rgba(200,148,26,0.4);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  flex-wrap: wrap;
}
.pix-cnpj-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}
.pix-cnpj {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  flex: 1;
}
.btn-copy {
  color: var(--gold-light);
  padding: 4px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.btn-copy:hover { color: white; background: rgba(200,148,26,0.3); }
.btn-copy.copied { color: #4ade80; }
.pix-scan {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.pix-blessing {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  font-style: italic;
  border-top: 1px solid rgba(200,148,26,0.2);
}

/* Versículo do Voto */
.pix-verse-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(10, 30, 74, 0.6);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 12px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.verse-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 148, 26, 0.15);
  padding: 8px;
  border-radius: 8px;
}
.verse-text-wrap {
  flex: 1;
}
.verse-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.4;
  margin-bottom: 4px;
}
.verse-ref {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

/* ---- Contact Box ---- */
.contact-box {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.contact-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--navy);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}
.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(200,148,26,0.4);
}
.contact-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: white;
  line-height: 1.3;
  letter-spacing: 0.03em;
}
.contact-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  line-height: 1.4;
}
.contact-envelope {
  position: absolute;
  right: 16px;
  bottom: -8px;
  opacity: 0.3;
}
.contact-form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-group label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  font-family: var(--font-body);
  color: #1a1a2e;
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,45,107,0.1);
  background: white;
}
.form-group textarea { min-height: 80px; }
.btn-submit,
.btn-enviar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #c8941a 0%, #e8b54a 100%);
  color: #0a1e4a !important;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 15px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 16px rgba(200, 148, 26, 0.4);
  margin-top: 8px;
  text-transform: uppercase;
}
.btn-submit:hover,
.btn-enviar:hover {
  background: linear-gradient(135deg, #e8b54a 0%, #ffd060 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 148, 26, 0.55);
}
.btn-submit:active,
.btn-enviar:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(200, 148, 26, 0.3);
}
.btn-submit svg,
.btn-enviar svg {
  color: #0a1e4a !important;
  transition: transform 0.2s ease;
}
.btn-submit:hover svg,
.btn-enviar:hover svg {
  transform: translateX(4px) translateY(-2px);
}
.form-success {
  font-size: 13px;
  color: #16a34a;
  font-weight: 600;
  text-align: center;
  padding: 8px;
  background: #f0fdf4;
  border-radius: var(--radius-sm);
  border: 1px solid #86efac;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy-dark);
  border-top: 3px solid var(--gold);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding: 36px 20px 28px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo .logo-name { font-size: 12px; }
.footer-logo .logo-church { font-size: 14px; }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 220px;
}
.footer-col-title {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,148,26,0.25);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--gold-light); }
.social-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
#social-fb { background: #1877f2; }
#social-ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
#social-yt { background: #ff0000; }
.social-btn:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.footer-verse {
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  line-height: 1.5;
  max-width: 200px;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 14px 20px;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gold);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-3px);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.slide.active .slide-content { animation: fadeInUp 0.6s ease forwards; }

/* =============================================
   RESPONSIVE (MOBILE & TABLET)
   ============================================= */
@media (max-width: 1100px) {
  .sedes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }
  .header-inner {
    padding: 0 12px;
    gap: 8px;
    justify-content: space-between;
  }
  .main-nav { display: none; width: 100%; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 16px 0;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    z-index: 9999;
  }
  .main-nav.open ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .main-nav.open .nav-link {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .hamburger { display: flex; cursor: pointer; }

  /* Hero & Sidebar */
  .hero-section {
    min-height: auto;
    max-height: none;
    height: auto;
    display: block;
    width: 100%;
  }
  .hero-inner {
    flex-direction: column;
    width: 100%;
  }
  .carousel-wrapper {
    width: 100%;
    min-height: 300px;
    max-height: 380px;
  }
  .slide-content, .hero-content {
    padding: 20px 16px 30px;
  }
  .slide-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  .events-sidebar,
  .hero-sidebar {
    width: 100%;
    border-left: none;
    border-top: 2px solid rgba(200,148,26,0.3);
  }
  .event-list {
    flex-direction: column;
    padding: 10px;
  }

  /* Grid layouts */
  .sedes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 62px;
  }
  .header-inner {
    padding: 0 10px;
  }
  .logo-icon {
    width: 36px;
    height: 36px;
  }
  .logo-subtitle {
    font-size: 7.5px;
  }
  .logo-name {
    font-size: 10px;
  }
  .logo-church {
    font-size: 12.5px;
  }
  .btn-sede {
    padding: 6px 10px;
    font-size: 9.5px;
    gap: 4px;
    letter-spacing: 0.02em;
  }
  .sede-dropdown-menu {
    min-width: 250px;
    max-width: calc(100vw - 16px);
    right: 0;
  }
  .container {
    padding: 0 12px;
  }
  .section-title {
    font-size: 1.2rem;
  }
  .slide-title {
    font-size: 1.6rem;
  }
  .slide-desc {
    font-size: 0.9rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .pix-box {
    flex-direction: column;
    width: 100%;
  }
  .pix-left {
    border-right: none;
    border-bottom: 1px solid rgba(200,148,26,0.2);
    padding: 16px;
    align-items: center;
    justify-content: center;
  }
  .pix-right {
    padding: 16px;
  }
  .pix-cnpj-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .pix-cnpj {
    font-size: 11.5px;
    word-break: break-all;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   PÁGINAS INTERNAS (SOBRE / EVENTOS)
   ============================================= */

/* Hero Interno */
.hero-internal {
  padding: 120px 20px 60px;
  background: linear-gradient(135deg, var(--navy), #1a3a7a);
  text-align: center;
  color: white;
  border-bottom: 3px solid var(--gold);
}
.hero-internal .page-title {
  font-family: var(--font-head);
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--gold);
  text-transform: uppercase;
}
.hero-internal .page-subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Sobre Nós */
.about-section {
  padding: 80px 20px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-head);
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 2rem;
}
.about-text p {
  font-family: var(--font-body);
  color: #333;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.about-img-placeholder {
  background: #e2e8f0;
  border: 2px dashed #94a3b8;
  height: 400px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-family: var(--font-head);
  font-size: 1.5rem;
}

/* Eventos Carrossel */
.events-gallery {
  padding: 60px 20px 80px;
}
.e-carousel-wrapper {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
  background: var(--navy-dark);
}
.e-carousel {
  display: flex;
  width: 100%;
  aspect-ratio: 4 / 3.4;
  min-height: 440px;
  max-height: 680px;
  position: relative;
}
.e-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
}
.e-slide.active {
  opacity: 1;
  z-index: 1;
}
.e-slide-bg {
  flex: 1;
  width: 100%;
  min-height: 0;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: var(--navy-dark);
}
.e-blank-img {
  flex: 1;
  background: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  color: #475569;
  font-size: 2rem;
}
.e-slide-content,
.e-caption {
  background: white;
  padding: 18px 20px;
  text-align: center;
  border-top: 3px solid var(--gold);
  z-index: 2;
}
.e-slide-content h3,
.e-caption h3 {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.e-slide-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  font-weight: 600;
}
.e-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 30, 74, 0.7);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s;
}
.e-btn:hover { background: var(--gold); }
.e-btn.prev { left: 20px; }
.e-btn.next { right: 20px; }
.e-dots {
  position: absolute;
  bottom: 90px; /* Above caption */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.e-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
}
.e-dot.active {
  background: var(--gold);
  border-color: white;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .e-carousel { height: 350px; }
  .ministries-grid { grid-template-columns: 1fr; }
}

/* Ministérios */
.ministries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.ministry-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border-top: 4px solid var(--gold);
  border-bottom: 2px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.ministry-card:hover,
.ministry-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(200, 148, 26, 0.2);
  border-color: var(--gold);
  outline: none;
}
.ministry-card h3 {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.ministry-card p {
  color: #475569;
  line-height: 1.6;
}
.ministry-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s, transform 0.2s;
}
.ministry-card:hover .ministry-card-cta {
  color: var(--gold);
  transform: translateX(4px);
}

/* =============================================
   MODAL POPUP: MINISTÉRIOS COM CARROSSEL
   ============================================= */
.ministry-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 74, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.ministry-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.ministry-modal-content {
  background: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 680px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  border: 2px solid var(--gold);
  overflow: hidden;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.ministry-modal-overlay.open .ministry-modal-content {
  transform: translateY(0) scale(1);
}

.ministry-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 30, 74, 0.85);
  border: 1px solid var(--gold);
  color: #ffffff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

.ministry-modal-close:hover {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(90deg);
}

/* Carrossel do Ministério */
.m-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  background: var(--navy-dark);
  overflow: hidden;
}

.m-carousel {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

.m-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: flex-end;
}

.m-slide.active {
  opacity: 1;
  z-index: 1;
}

.m-slide-bg {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--navy-dark);
}

.m-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,30,74,0.9) 0%, rgba(10,30,74,0.3) 60%, transparent 100%);
}

.m-slide-caption {
  position: relative;
  z-index: 2;
  padding: 18px 24px;
  color: #ffffff;
}

.m-slide-caption h4 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 2px;
}

.m-slide-caption p {
  font-size: 0.85rem;
  color: #e2e8f0;
}

.m-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(10,30,74,0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.m-carousel-btn.prev { left: 12px; }
.m-carousel-btn.next { right: 12px; }
.m-carousel-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.m-carousel-dots {
  position: absolute;
  bottom: 12px;
  right: 20px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.m-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.m-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Corpo do Modal */
.ministry-modal-body {
  padding: 24px 28px 28px;
  flex: 1;
}

.ministry-modal-badge {
  display: inline-block;
  background: rgba(200, 148, 26, 0.12);
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.ministry-modal-title {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}

.ministry-modal-verse {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-dark);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.ministry-modal-desc {
  color: #334155;
  line-height: 1.65;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.ministry-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.m-info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.m-info-icon {
  font-size: 20px;
  line-height: 1;
}

.m-info-label {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.m-info-val {
  font-size: 13px;
  color: #475569;
  font-weight: 600;
}

/* Eventos do ministério */
.ministry-events-box {
  background: rgba(200, 148, 26, 0.04);
  border: 1px dashed rgba(200, 148, 26, 0.4);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.m-events-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.m-events-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m-events-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #334155;
  padding: 8px 12px;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.m-event-name {
  font-weight: 700;
  color: var(--navy);
}

.m-event-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-dark);
  background: rgba(200, 148, 26, 0.12);
  padding: 2px 8px;
  border-radius: 12px;
}

.ministry-modal-actions {
  display: flex;
  justify-content: flex-end;
}

.m-action-btn {
  display: inline-block;
  text-decoration: none;
  padding: 10px 22px;
  font-size: 13px;
}

@media (max-width: 600px) {
  .ministry-info-grid {
    grid-template-columns: 1fr;
  }
  .m-carousel-wrapper {
    height: 210px;
  }
  .ministry-modal-body {
    padding: 18px;
  }
  .ministry-modal-title {
    font-size: 1.5rem;
  }
}

/* Sedes Internas (Caxias/Realengo) */
.sede-detail-section {
  padding: 80px 20px;
}
.sede-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}
.sede-info-box {
  background: #f8fafc;
  border-left: 4px solid var(--gold);
  padding: 20px;
  margin-top: 20px;
  border-radius: 0 8px 8px 0;
}
.sede-info-box h4 {
  font-family: var(--font-head);
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.sede-info-box p, .sede-info-box ul {
  color: #475569;
  font-family: var(--font-body);
  line-height: 1.6;
}
.sede-info-box ul {
  list-style: none;
}
.sede-info-box ul li {
  margin-bottom: 5px;
}
.sede-detail-img-placeholder {
  background: #e2e8f0;
  border: 2px dashed #94a3b8;
  height: 500px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-family: var(--font-head);
  font-size: 1.5rem;
  text-align: center;
}
@media (max-width: 768px) {
  .sede-detail-grid { grid-template-columns: 1fr; }
  .sede-detail-img-placeholder { height: 300px; }
}
.sede-card {
  cursor: pointer;
}
.main-hq-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 2;
}

/* ========== ESTILOS DA PÁGINA DE POLÍTICA DE PRIVACIDADE ========== */
.privacy-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  color: #334155;
  line-height: 1.7;
}
.privacy-container h1 {
  color: var(--navy-dark);
  font-size: 2.2rem;
  margin-bottom: 10px;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 10px;
  font-family: var(--font-head);
}
.privacy-container h2 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-top: 25px;
  margin-bottom: 10px;
  font-family: var(--font-head);
}
.privacy-container p, .privacy-container ul {
  margin-bottom: 15px;
}
.privacy-container ul {
  padding-left: 20px;
}
.privacy-container li {
  margin-bottom: 8px;
}
.highlight-box {
  background: #f8fafc;
  border-left: 4px solid var(--gold);
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

/* =============================================
   CAMPANHA VOTO A DEUS 2026 - PÁGINA SOBRE NÓS
   ============================================= */
.voto-sobre-section {
  padding: 60px 20px 80px;
  background: #f8fafc;
  border-top: 1px solid var(--gray-200);
}

.voto-full-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(10, 30, 74, 0.12);
  border: 2px solid rgba(200, 148, 26, 0.35);
  align-items: center;
  padding: 24px;
}

.voto-img-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--gold);
  background: #0a1e4a;
}

.voto-full-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.voto-full-img:hover {
  transform: scale(1.015);
}

.voto-info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.voto-info-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.voto-info-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #334155;
  line-height: 1.7;
}

.voto-pix-flex {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #0a1e4a;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(10, 30, 74, 0.2);
  border: 1.5px solid var(--gold);
}

.voto-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.voto-qr-img {
  width: 65px !important;
  height: 65px !important;
  max-width: 65px !important;
  max-height: 65px !important;
  border-radius: 6px;
  background: white;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: block;
}

.voto-qr-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold-light);
  text-align: center;
}

.voto-cnpj-box {
  flex: 1;
}

@media (max-width: 900px) {
  .voto-full-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 16px;
  }
  .voto-pix-flex {
    flex-direction: column;
    text-align: center;
  }
}

/* =============================================
   MODAL POPUP: FALE CONOSCO / PEDIDO DE ORAÇÃO
   ============================================= */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 74, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
}

.contact-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-content {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--gold);
  overflow: hidden;
  transform: translateY(35px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.contact-modal-overlay.open .contact-modal-content {
  transform: translateY(0) scale(1);
}

.contact-modal-header {
  background: var(--navy);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
}

.contact-modal-header h3 {
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  transition: background 0.2s, transform 0.2s;
}

.contact-modal-close:hover {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(90deg);
}

.contact-modal-body {
  padding: 20px 22px;
}

/* =============================================
   AVISO VISUAL DE CONEXÃO (ONLINE / OFFLINE)
   ============================================= */
.connection-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.connection-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.connection-toast.offline {
  background: #1e293b;
  color: #f8fafc;
  border: 1.5px solid #f59e0b;
}

.connection-toast.online {
  background: #064e3b;
  color: #ecfdf5;
  border: 1.5px solid #10b981;
}

.connection-toast svg {
  flex-shrink: 0;
}

/* =============================================
   RESPONSIVIDADE UNIVERSAL & AUTO-AJUSTE (TODO O SITE)
   Garante adaptação impecável em 100% dos celulares, tablets e computadores
   ============================================= */

:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

body {
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  overflow-x: hidden;
  width: 100%;
}

/* Prevenção de auto-zoom em campos de texto no Safari / iOS */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  input[type="datetime-local"],
  input[type="time"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Modais e Popups com Dynamic Viewport Height (dvh) */
.contact-modal-overlay,
#ministry-modal-overlay {
  padding: max(12px, var(--safe-top)) max(12px, var(--safe-right)) max(12px, var(--safe-bottom)) max(12px, var(--safe-left)) !important;
  box-sizing: border-box !important;
}

.contact-modal-content {
  width: min(94vw, 520px) !important;
  max-height: calc(90dvh - var(--safe-top) - var(--safe-bottom)) !important;
  margin: auto !important;
  box-sizing: border-box !important;
}

.ministry-modal-content {
  width: min(94vw, 720px) !important;
  max-height: calc(90dvh - var(--safe-top) - var(--safe-bottom)) !important;
  margin: auto !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.ministry-modal-body {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
}

/* Alvos de clique confortáveis (mínimo 44x44px) */
.contact-modal-close,
.ministry-modal-close {
  min-width: 44px !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Ajustes Específicos para Telas Ultra-Estreitas (<= 480px) */
@media screen and (max-width: 480px) {
  .header-inner {
    padding: 0 8px !important;
    gap: 6px !important;
  }
  
  .logo-title {
    max-width: 190px !important;
  }
  
  .logo-church {
    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  .logo-name {
    font-size: 9px !important;
  }

  .btn-sede {
    padding: 5px 8px !important;
    font-size: 9px !important;
  }

  .sede-dropdown-menu {
    width: calc(100vw - 20px) !important;
    right: -10px !important;
  }

  /* Carrossel Principal da Home */
  .hero-slider {
    aspect-ratio: auto !important;
    min-height: 380px !important;
    max-height: 520px !important;
  }

  .slide-title {
    font-size: clamp(1.25rem, 5.5vw, 1.8rem) !important;
    line-height: 1.25 !important;
  }

  .slide-desc {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  .slide-btn {
    padding: 10px 18px !important;
    font-size: 0.85rem !important;
    width: 100% !important;
    text-align: center !important;
  }

  /* Doações PIX */
  .pix-box {
    padding: 12px !important;
  }

  .pix-qr {
    width: 140px !important;
    height: 140px !important;
  }

  .btn-copy-pix {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Ministérios e Cards */
  .ministries-grid,
  .sedes-grid,
  .bottom-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .m-carousel-wrapper {
    height: clamp(170px, 45vw, 220px) !important;
  }

  .ministry-info-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .m-info-box {
    padding: 8px 10px !important;
  }

  /* Toast de Conexão */
  .connection-toast {
    width: calc(100vw - 32px) !important;
    max-width: 380px !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
  }
}

/* Telas Extremamente Pequenas (<= 360px - iPhone SE 1ª ger, telas dobráveis) */
@media screen and (max-width: 360px) {
  .logo-title {
    max-width: 150px !important;
  }
  .logo-church {
    font-size: 9.5px !important;
  }
  .btn-sede {
    font-size: 8px !important;
    padding: 4px 6px !important;
  }
  .container {
    padding: 0 8px !important;
  }
  .card {
    padding: 14px 10px !important;
  }
}

