/* IEADVIL — identidade: ouro metálico, preto e carvão (logo oficial) */
:root {
  --black: #0a0a0a;
  --black-soft: #111111;
  --charcoal: #1c1c1c;
  --charcoal-mid: #2d2d2d;
  --charcoal-light: #3a3a3a;
  --primary: var(--charcoal);
  --primary-dark: var(--black);
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --gold-dark: #9a7b2e;
  --gold-bronze: #8b6914;
  --accent: var(--gold);
  --accent-hover: var(--gold-light);
  --gold-gradient: linear-gradient(135deg, #f4e4a6 0%, #c9a84c 35%, #9a7b2e 70%, #6b5420 100%);
  --text: #2a2a2a;
  --text-muted: #5c5c5c;
  --text-on-dark: rgba(255, 255, 255, 0.92);
  --text-muted-on-dark: rgba(255, 255, 255, 0.65);
  --bg-light: #f7f4ed;
  --bg-cream: #faf8f3;
  --white: #ffffff;
  --border-gold: rgba(201, 168, 76, 0.45);
  --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.15);
  --shadow-card: 0 2px 4px rgba(10, 10, 10, 0.03), 0 8px 28px rgba(10, 10, 10, 0.07);
  --shadow-card-hover: 0 4px 10px rgba(10, 10, 10, 0.05), 0 16px 40px rgba(10, 10, 10, 0.09), 0 0 0 1px rgba(201, 168, 76, 0.12);
  --shadow-card-dark: 0 4px 12px rgba(0, 0, 0, 0.22), 0 12px 32px rgba(0, 0, 0, 0.18);
  --shadow-date-badge: 0 2px 6px rgba(10, 10, 10, 0.08), 0 10px 28px rgba(10, 10, 10, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  --shadow-date-badge-gold: 0 3px 8px rgba(154, 123, 46, 0.2), 0 12px 32px rgba(201, 168, 76, 0.22);
  --shadow-date-badge-green: 0 3px 8px rgba(18, 140, 126, 0.2), 0 12px 32px rgba(37, 211, 102, 0.25);
  --shadow-elegant: var(--shadow-card);
  --font-sans: 'Source Sans 3', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);
  --brand-logo-height: 80px;
  --brand-logo-height-scrolled: 66px;
  --brand-logo-max-width: 300px;
  --header-height: calc(1.7rem + 2.2rem + 3px);
  --section-padding-y: clamp(3.25rem, 7vw, 5rem);
  --page-hero-pt: clamp(2.5rem, 6vw, 4rem);
  --page-hero-pb: clamp(2.5rem, 6vw, 5rem);
  --content-max: 720px;
  --brand-text-size: 1.28rem;
  --brand-sub-size: 0.62rem;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 2px;
  --radius-soft: 12px;
  --radius-btn: 2rem;
  --radius-btn-sm: 1.35rem;
  --radius-input: 12px;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --whatsapp-hover: #20bd5a;
  --whatsapp-light: #dcf8e8;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.site-chrome {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
}

.site-main {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
}

.site-main [id] {
  scroll-margin-top: var(--header-height, 90px);
}

/* Cards — sombra suave unificada em todo o site */
.cause-card,
.event-card,
.social-action-card,
.gallery-card,
.sermon-card,
.blog-card,
.event-list-item,
.social-list-item,
.stream-card,
.contact-info-panel,
.contact-map-panel,
.contact-form,
.feature-box.p-4,
.p-4.bg-white,
.schedule-card,
.about-pillar-card,
.about-feature-card,
.stat-box,
.partner-logo,
.custom-accordion .accordion-item,
.event-highlight,
.sermon-highlight {
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}

.cause-card:hover,
.event-card:hover,
.social-action-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover), var(--shadow-gold);
}
.gallery-section .gallery-card:hover {
  transform: translateY(-3px);
}
.feature-box.p-4:hover,
.p-4.bg-white:hover,
.schedule-card:hover,
.about-pillar-card:hover,
.about-feature-card:hover,
.stat-box:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.stream-card,
.contact-map-panel,
.event-highlight,
.sermon-highlight {
  box-shadow: var(--shadow-card-dark);
}

.stream-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-dark), var(--shadow-gold);
}

.cause-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover), var(--shadow-gold);
}

.gallery-card:hover {
  transform: translateY(-6px);
}

.feature-box.p-4.bg-light,
.p-4.bg-white,
.schedule-card,
.about-pillar-card {
  border-radius: var(--radius-soft);
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-soft);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

p, li, label, .form-control, .form-select, .breadcrumb {
  font-family: var(--font-body);
}

.navbar-nav .nav-link,
.site-header .btn-donate {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.section-title-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.decor-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
}
.decor-line::before,
.decor-line::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.decor-line span {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.decor-line--start {
  justify-content: flex-start;
  margin: 0.35rem 0 1.25rem;
}
.decor-line--start::before {
  flex: 0 0 3rem;
  max-width: 3rem;
}
.decor-line--start::after {
  display: none;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: color var(--transition); }

.section-padding { padding: var(--section-padding-y) 0; }

.section-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.section-dark .section-label { color: var(--gold-light); }
.section-dark .section-title { color: var(--white); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.read-more {
  color: var(--gold-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.03em;
}
.read-more:hover { color: var(--gold-bronze); }

/* Buttons — cantos suaves, efeito metálico dourado */
.btn:not(.btn-close):not(.navbar-toggler) {
  font-family: var(--font-display);
  border-radius: var(--radius-btn);
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    filter var(--transition),
    transform var(--transition);
}

.btn-sm:not(.btn-close) {
  border-radius: var(--radius-btn-sm);
  padding: 0.45rem 1.15rem;
}

.btn-lg:not(.btn-close) {
  border-radius: 2.25rem;
  padding: 0.85rem 2.1rem;
}

.btn-primary-custom {
  background: var(--gold-gradient);
  color: var(--black);
  border: 1px solid var(--gold-light);
  font-weight: 700;
  padding: 0.7rem 1.85rem;
  border-radius: var(--radius-btn);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
  box-shadow: var(--shadow-gold);
}
.btn-primary-custom:hover,
.btn-primary-custom:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.28);
  color: var(--black);
}
.btn-primary-custom:active {
  transform: translateY(0);
  box-shadow: var(--shadow-gold);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border: 1px solid var(--whatsapp-dark);
  font-weight: 700;
  padding: 0.7rem 1.85rem;
  border-radius: var(--radius-btn);
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: var(--whatsapp-hover);
  border-color: var(--whatsapp-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}
.btn-whatsapp:active {
  transform: translateY(0);
  background: var(--whatsapp-dark);
  color: #fff;
}
.btn-whatsapp .bi-whatsapp {
  font-size: 1.1em;
}

.btn-outline-custom {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  font-weight: 600;
  padding: 0.7rem 1.85rem;
  border-radius: var(--radius-btn);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.btn-outline-custom:hover,
.btn-outline-custom:focus-visible {
  background: rgba(201, 168, 76, 0.14);
  border-color: var(--gold-light);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--charcoal-mid);
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-btn);
}
.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201, 168, 76, 0.08);
  transform: translateY(-1px);
}

.btn-donate {
  background: var(--gold-gradient) !important;
  color: var(--black) !important;
  font-weight: 700;
  padding: 0.6rem 1.5rem !important;
  border-radius: var(--radius-btn) !important;
  border: 1px solid var(--gold-light) !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  box-shadow: var(--shadow-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.btn-donate .bi {
  font-size: 1.05rem;
  line-height: 1;
}
.site-header .btn-donate {
  white-space: nowrap;
  flex-shrink: 0;
}
@media (min-width: 992px) {
  .site-header__inner {
    display: flex;
    align-items: stretch;
  }
  .site-header .navbar {
    flex: 1 1 auto;
    flex-wrap: nowrap;
  }
  .site-header .navbar-collapse {
    flex-wrap: nowrap;
    align-items: center;
  }
  .site-header .navbar-nav {
    flex-wrap: nowrap;
  }
  .site-header .navbar-nav .nav-item {
    flex-shrink: 0;
  }
}
.btn-donate:hover,
.btn-donate:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.28);
}

.map-embed-actions .btn-outline-dark {
  border-radius: var(--radius-btn);
}
.section-dark .map-embed-actions .btn-outline-dark {
  color: var(--gold-light);
  border-color: var(--border-gold);
}
.section-dark .map-embed-actions .btn-outline-dark:hover {
  background: rgba(201, 168, 76, 0.12);
  color: var(--white);
}

/* Seções alternadas */
.section-dark {
  background: var(--black-soft);
  color: var(--text-on-dark);
}
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5, .section-dark h6 { color: var(--white); }
.section-cream { background: var(--bg-cream); }

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; color: var(--white); }
.preloader-logo {
  width: min(280px, 78vw);
  height: auto;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 8px 24px rgba(201, 168, 76, 0.25));
  animation: preloaderPulse 1.8s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}
.preloader-inner .decor-line { margin-top: 1rem; }
.preloader-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.75rem;
}

/* Header — sticky no topo; hero e conteúdo começam abaixo (.site-chrome) */
.site-header {
  position: relative;
  width: 100%;
  z-index: 1;
  background: var(--black);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: box-shadow var(--transition);
}
.site-header__inner {
  width: 100%;
}
.site-header.scrolled {
  background: var(--black);
  box-shadow: 0 1px 0 var(--border-gold), 0 10px 36px rgba(0, 0, 0, 0.5);
}
.site-header .navbar { padding: 0.85rem 0; }
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white) !important;
  padding: 0;
  background: transparent;
}
.navbar-brand.brand-logo-only {
  background: transparent;
}
.brand-logo {
  height: var(--brand-logo-height);
  width: auto;
  max-width: var(--brand-logo-max-width);
  object-fit: contain;
  background: transparent;
  transition: opacity var(--transition), filter var(--transition);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}
.site-header:not(.scrolled) .brand-logo {
  opacity: 1;
}
.site-header.scrolled .brand-logo {
  height: var(--brand-logo-height-scrolled);
  opacity: 1;
}
.navbar-brand.brand-logo-only:hover .brand-logo,
.navbar-brand.brand-logo-only:focus-visible .brand-logo {
  opacity: 1;
}
.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 0.15rem;
}
.brand-text {
  font-family: var(--font-display);
  font-size: var(--brand-text-size);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  line-height: 1;
  text-transform: uppercase;
}
.brand-sub {
  font-family: var(--font-body);
  font-size: var(--brand-sub-size);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-on-dark);
  font-weight: 500;
}
.navbar-brand.brand-logo-only .brand-logo {
  height: var(--brand-logo-height);
  max-width: var(--brand-logo-max-width);
}

/* Nome IEADVIL em títulos e textos */
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.section-title .brand-name {
  font-size: 0.82em;
  letter-spacing: 0.12em;
}
.section-title--brand {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  letter-spacing: 0.1em;
}
.page-hero h1 .brand-name {
  font-size: 0.78em;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}
.section-dark .section-title .brand-name,
.page-hero h1 .brand-name {
  color: var(--gold-light);
}
.brand-name--sm {
  font-size: 0.95em;
  letter-spacing: 0.08em;
}
.footer-bottom .brand-name {
  color: var(--gold);
  letter-spacing: 0.1em;
}
.navbar-nav .nav-link {
  color: var(--text-on-dark) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.07em;
  padding: 0.55rem 0.85rem !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.navbar-nav .nav-link .bi {
  font-size: 1.05rem;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
  transition: color var(--transition);
}
.navbar-nav .nav-link:hover .bi,
.navbar-nav .nav-link.active .bi {
  color: var(--gold-light);
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--gold-light) !important; }
.navbar-toggler {
  border-color: rgba(255,255,255,0.5);
  padding: 0.35rem 0.6rem;
}
.navbar-toggler-icon {
  filter: invert(1);
}
/* Footer */
.site-footer {
  background: var(--black);
  color: var(--text-muted-on-dark);
  border-top: 1px solid var(--border-gold);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: 1rem 1.75rem;
  align-items: start;
  padding: 1.35rem 0 1.15rem;
}
.footer-main__brand {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}
.footer-address {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  opacity: 0.75;
}
.footer-logo {
  max-width: 160px;
  width: min(160px, 100%);
  height: auto;
  margin-bottom: 0;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold-light) !important;
  letter-spacing: 0.1em;
}
.footer-brand strong { color: var(--gold); }
.footer-social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  margin-right: 0.35rem;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gold-gradient);
  color: var(--black);
  border-color: var(--gold-light);
}
.footer-social a[aria-label="WhatsApp"],
.footer-social a[data-social-network="whatsapp"] {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #fff;
}
.footer-social a[aria-label="WhatsApp"]:hover,
.footer-social a[data-social-network="whatsapp"]:hover {
  background: var(--whatsapp-hover);
  border-color: var(--whatsapp-dark);
  color: #fff;
}
.footer-social a[aria-label="WhatsApp"] .bi-whatsapp,
.footer-social a[data-social-network="whatsapp"] .bi-whatsapp {
  color: inherit;
}
.footer-bottom__social {
  margin-bottom: 0;
  flex: 0 0 auto;
}
.footer-social--inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-social--inline a {
  margin-right: 0.3rem;
  margin-left: 0.3rem;
}
.site-footer h5 {
  color: var(--white);
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.footer-links, .footer-news { list-style: none; padding: 0; margin: 0; }
.footer-links a, .footer-news a { color: rgba(255,255,255,0.75); font-size: 0.84rem; }
.footer-links a:hover, .footer-news a:hover { color: var(--accent); }
.footer-links--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.85rem;
}
.footer-links--inline li { margin: 0; }
.footer-news li { margin-bottom: 0.55rem; }
.footer-news--compact li { margin-bottom: 0.35rem; }
.footer-news--compact a {
  display: inline;
  font-size: 0.82rem;
  line-height: 1.35;
}
.footer-news--compact small {
  display: inline;
  margin-left: 0.4rem;
  opacity: 0.6;
  font-size: 0.68rem;
  white-space: nowrap;
}
.footer-news small { display: block; opacity: 0.6; font-size: 0.75rem; }
.newsletter-form {
  display: flex;
  gap: 0.45rem;
  margin-top: 0;
}
.newsletter-form--compact .form-control {
  min-height: 34px;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  font-size: 0.82rem;
}
.newsletter-form .form-control {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: var(--radius-input);
}
.newsletter-form .btn {
  border-radius: var(--radius-btn);
  flex-shrink: 0;
}
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.5); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.85rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem 1rem;
}
.footer-bottom p { margin: 0; font-size: 0.85rem; opacity: 0.7; }
.footer-credits {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
}
.footer-credits p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.75;
  line-height: 1.35;
  white-space: nowrap;
}
.footer-credits p + p::before {
  content: '|';
  margin: 0 0.75rem;
  opacity: 0.4;
  font-weight: 300;
}
.footer-credits a {
  color: var(--gold-light, #e8d5a3);
  text-decoration: none;
}
.footer-credits a:hover { color: var(--accent, #c9a227); text-decoration: underline; }
.footer-dev strong { color: rgba(255, 255, 255, 0.9); font-weight: 600; }
.footer-bottom--stacked {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 1.25rem;
  padding-top: 0.85rem !important;
  padding-bottom: 0.85rem !important;
}
.footer-bottom--stacked .footer-back {
  font-size: 0.82rem;
  margin-top: 0;
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
    padding: 1.15rem 0 1rem;
  }
  .footer-main__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 767px) {
  .footer-credits p { white-space: normal; }
  .footer-credits {
    justify-content: center;
    text-align: center;
  }
  .footer-bottom--stacked {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-bottom--stacked .footer-credits p + p::before {
    margin: 0 0.5rem;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .footer-address {
    font-size: 0.76rem;
  }
}
.footer-legal { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8rem; opacity: 0.7; }
.footer-legal a:hover { color: var(--accent); }

/* Lightbox galeria */
.lightbox-gallery {
  position: fixed;
  inset: 0;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
}
.lightbox-gallery[hidden] { display: none !important; }
.lightbox-gallery.is-open .lightbox-stage img {
  animation: lightboxFadeIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes lightboxFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox-stage {
  position: relative;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-gallery .lightbox-stage img {
  max-height: calc(90vh - 4rem);
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  border: 4px solid #fff;
}
.lightbox-caption {
  margin: 1rem 0 0;
  color: #374151;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  max-width: 90vw;
}
.lightbox-counter {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #374151;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}
.lightbox-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.lightbox-nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #374151;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}
.lightbox-nav:hover:not(:disabled) {
  background: var(--gold);
  color: var(--black);
  transform: scale(1.05);
}
.lightbox-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
@media (max-width: 575.98px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.1rem; }
  .lightbox-caption { font-size: 0.9rem; }
}

/* Inner pages */
.page-hero {
  background: var(--black);
  color: var(--white);
  margin-top: 0;
  padding: var(--page-hero-pt) 0 var(--page-hero-pb);
  text-align: center;
  border-bottom: 1px solid var(--border-gold);
  position: relative;
  scroll-margin-top: var(--header-height, 90px);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.12) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--gold-light);
  font-size: clamp(2rem, 5vw, 3rem);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.page-hero .page-hero-logo {
  width: min(160px, 40vw);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 4px 16px rgba(201, 168, 76, 0.2));
}
.page-hero .breadcrumb {
  justify-content: center;
  margin-top: 1rem;
  --bs-breadcrumb-divider-color: rgba(255,255,255,0.5);
}
.page-hero .breadcrumb-item a { color: var(--accent); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.8); }

/* Páginas legais */
.legal-page { background: var(--cream, #faf8f3); }
.legal-content {
  color: var(--text-dark, #333);
  font-size: 1rem;
  line-height: 1.7;
}
.legal-content .lead {
  font-size: 1.1rem;
  color: var(--text-dark, #333);
  margin-bottom: 2rem;
}
.legal-updated {
  font-size: 0.9rem;
  color: var(--text-muted, #666);
  margin-bottom: 1.5rem;
}
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--black, #1a1a1a);
}
.legal-content p { margin-bottom: 1rem; }
.legal-content ul {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
}
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a {
  color: var(--gold-dark, #a8862e);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--black, #1a1a1a); }
.legal-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.legal-nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: var(--radius-input);
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
}
.contact-form .btn {
  border-radius: var(--radius-btn);
  padding: 0.75rem 2rem;
}
.contact-form .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 168, 76, 0.2);
}

.event-list-item {
  display: flex;
  gap: 1.5rem;
  background: var(--white);
  margin-bottom: 1.5rem;
  border-radius: var(--radius-soft);
  overflow: hidden;
}
.event-list-date {
  flex-shrink: 0;
  width: 90px;
  background: var(--gold-gradient);
  color: var(--black);
  text-align: center;
  padding: 1.25rem 0.5rem;
  box-shadow: var(--shadow-date-badge), var(--shadow-date-badge-gold);
}
.event-list-date .day { font-size: 2rem; font-family: var(--font-display); font-weight: 700; display: block; line-height: 1; }
.event-list-body { padding: 1.25rem 1.25rem 1.25rem 0; flex: 1; }

/* Swiper pagination global */
.swiper-pagination-bullet-active { background: var(--accent) !important; }
/* ===== Normalização responsiva (desktop / tablet / mobile) ===== */

/* Tablet e abaixo */
@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    background: var(--black);
    border: 1px solid var(--border-gold);
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: var(--radius-soft);
    max-height: min(70vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-header .navbar-nav {
    align-items: stretch;
    text-align: center;
    gap: 0.15rem;
  }

  .site-header .navbar-nav .nav-link {
    padding: 0.7rem 1rem !important;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.9rem;
    gap: 0.55rem;
  }

  .site-header .navbar-nav .nav-link::after {
    left: 1.5rem;
    right: 1.5rem;
  }

  .site-header .btn-donate {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.75rem;
    min-height: 44px;
  }

  .about-img-sub { right: 0; bottom: -20px; width: 40%; }
  .about-img-sub--logo { width: 50%; max-width: 160px; bottom: -16px; }
  .about-img-main--templo { max-height: 280px; object-fit: cover; }

  .event-list-item { flex-direction: column; }
  .event-list-date {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  .event-list-body { padding: 1.25rem; }

  .contact-section__intro { text-align: center; }
  .contact-section__decor { justify-content: center; }
  .contact-map-panel .map-embed-wrap iframe { height: min(50vw, 320px); }

  .highlight-bar { padding: 2rem 0; }
  .event-highlight-body {
    flex-direction: column;
    align-items: stretch;
  }
  .event-date {
    align-self: flex-start;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
  }

  .stream-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .hero-swiper {
    min-height: clamp(340px, 68dvh, 480px);
    max-height: none;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 0.25rem;
  }

  .hero-content h1 {
    font-size: clamp(1.85rem, 8vw, 2.75rem);
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .hero-btns {
    gap: 0.75rem;
  }

  .section-title {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .section-header.text-center,
  .about-schedule-grid {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .about-page-story {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .about-schedule-section .about-schedule-header {
    margin-bottom: 2rem;
  }

  .about-pillar-card,
  .about-feature-card,
  .schedule-card {
    padding: 1.35rem 1.15rem;
  }

  .about-features .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .stats-row .stat-box {
    padding: 1.5rem 1rem;
    min-height: 6.75rem;
  }

  .stat-box { margin-bottom: 0.5rem; }

  .contact-form { padding: 1.35rem; }

  .blog-card__media {
    aspect-ratio: 16 / 9;
  }

  .sermon-card { padding: 1.35rem; }

  .footer-credits p { white-space: normal; }
  .footer-credits {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom--stacked {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom--stacked .footer-credits p + p::before {
    margin: 0 0.5rem;
  }

  .page-hero .page-hero-logo {
    width: min(140px, 42vw);
    margin-bottom: 1rem;
  }

  .brand-name {
    white-space: normal;
    word-break: break-word;
  }

  .stream-channel-panel__brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .stream-channel-panel__actions {
    flex-direction: column;
    width: 100%;
  }

  .stream-channel-panel__actions .btn,
  .stream-channel-cta .btn {
    width: 100%;
  }

  .stream-channel-cta .btn.me-2 {
    margin-right: 0 !important;
    margin-bottom: 0.5rem;
  }
}

/* Mobile pequeno */
@media (max-width: 575.98px) {
  :root {
    --brand-logo-height: 58px;
    --brand-logo-height-scrolled: 50px;
    --brand-logo-max-width: 220px;
    --section-padding-y: clamp(2.75rem, 10vw, 3.5rem);
  }

  .preloader-logo { width: min(220px, 85vw); }
  .footer-logo { max-width: 140px; }

  .hero-prev,
  .hero-next { display: none; }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 20rem;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .btn-primary-custom,
  .btn-outline-custom,
  .btn-donate,
  .btn-whatsapp {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .newsletter-form { flex-direction: column; }

  .footer-main__newsletter .newsletter-form {
    flex-direction: row;
  }

  .schedule-card__desc { max-width: none; }

  .lightbox-nav { width: 40px; height: 40px; font-size: 1.1rem; }
  .lightbox-caption { font-size: 0.9rem; }

  .back-to-top {
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    right: max(1rem, env(safe-area-inset-right, 0px));
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.2rem;
  }

  .legal-content { font-size: 0.95rem; }
}

/* Desktop — largura confortável de leitura */
@media (min-width: 992px) {
  .contact-section__intro { margin-bottom: 3rem; }

  .hero-content {
    padding-right: 1rem;
  }

  .section-header.text-center p,
  #doacoes p {
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
  }
}


/* Voltar ao topo */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9990;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-gradient);
  color: var(--black);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition),
    box-shadow var(--transition),
    filter var(--transition);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover,
.back-to-top:focus-visible {
  filter: brightness(1.08);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.35);
  transform: translateY(-2px);
}
.back-to-top.is-visible:hover,
.back-to-top.is-visible:focus-visible {
  transform: translateY(-2px);
}
.back-to-top:active {
  transform: translateY(0);
}

/* Melhorias de acessibilidade e performance */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.brand-hide-mobile .brand-text-wrap { display: none; }
@media (min-width: 992px) {
  .brand-hide-mobile .brand-text-wrap { display: flex; }
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  z-index: 11000;
  background: var(--gold-gradient);
  color: var(--black);
  padding: 0.75rem 1rem;
  font-weight: 700;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(201, 168, 76, 0.45); }

#doacoes {
  background: var(--black-soft);
  color: var(--text-on-dark);
  border-top: 1px solid var(--border-gold);
}
#doacoes .section-title { color: var(--white); }
#doacoes p { color: var(--text-muted-on-dark); }
#doacoes .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
/* Botão Admin oculto (F2) + modal de login */
body.site-admin-modal-open {
  overflow: hidden;
}
.site-admin-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.site-admin-modal[hidden] {
  display: none !important;
}
.site-admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.site-admin-modal__panel {
  position: relative;
  width: min(100%, 22rem);
  padding: 1.5rem 1.35rem 1.35rem;
  background: var(--cream, #faf8f3);
  border: 1px solid var(--border-gold, #c9a227);
  border-radius: var(--radius-card, 8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.site-admin-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  border: 0;
  background: transparent;
  color: var(--text-muted, #666);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.site-admin-modal__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--black, #1a1a1a);
}
.site-admin-modal__lead {
  font-size: 0.875rem;
  color: var(--text-muted, #666);
  margin-bottom: 1rem;
}
.site-admin-modal__error[hidden] {
  display: none !important;
}
.site-admin-btn {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--gold-light);
  cursor: pointer;
  font-family: inherit;
  color: var(--black);
  background: var(--gold-gradient);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}
.site-admin-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.site-admin-btn:hover {
  color: var(--black);
  filter: brightness(1.05);
}
.site-admin-btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.stream-loading { min-height: 200px; opacity: 0.5; }
.stream-empty { color: var(--text-muted-on-dark); padding: 2rem; }
.stream-channel-cta {
  text-align: center;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.stream-channel-cta p {
  color: var(--text-muted-on-dark);
  margin-bottom: 1rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.stream-channel-cta .btn {
  min-height: 2.65rem;
}

.blog-card, .event-list-item {
  border: 1px solid rgba(201, 168, 76, 0.12);
}
.feature-box.p-4.bg-light {
  background: var(--white) !important;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-soft);
}
.form-status {
  display: none;
  margin-top: 1rem;
  padding: .875rem 1rem;
  border-radius: 4px;
  background: #eef8ee;
  color: #205c20;
  font-weight: 600;
}
.form-status.show { display: block; }
.map-placeholder a,
.footer-bottom a,
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .hero-loading-spinner {
    animation: none;
    border-color: var(--gold);
    opacity: 0.85;
  }
}
