/* =========================================================
   Igreja Metodista em Vilhena — estilos do site
   Paleta baseada na identidade da Igreja Metodista no Brasil
   ========================================================= */
:root {
  --red: #E30514;
  --red-600: #C8040F;
  --red-700: #B30006;
  --red-50: #FDEBEC;
  --ink: #1E1E20;
  --text: #414141;
  --muted: #6E6E6C;
  --line: #E6E7E9;
  --soft: #F5F5F6;
  --soft-2: #F1F2F3;
  --white: #FFFFFF;
  --dark: #232325;
  --dark-2: #2C2C2F;

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 30, .06), 0 2px 8px rgba(20, 20, 30, .05);
  --shadow: 0 10px 30px -12px rgba(20, 20, 30, .18), 0 2px 6px rgba(20, 20, 30, .05);
  --shadow-lg: 0 30px 60px -20px rgba(20, 20, 30, .25);
  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(227, 5, 20, .45); outline-offset: 2px; border-radius: 4px; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.icon--sm { width: .9em; height: .9em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.center { text-align: center; }
.mt-lg { margin-top: 40px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hide-sm { }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border: 2px solid transparent; transition: all .25s var(--ease); white-space: nowrap; text-align: center;
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(227, 5, 20, .6); }
.btn--primary:hover { background: var(--red-700); color: #fff; transform: translateY(-1px); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--red); color: var(--red); }
.btn--ghost { color: var(--ink); background: var(--soft); }
.btn--ghost:hover { background: var(--red-50); color: var(--red); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--soft-2); color: var(--red); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-family: var(--font-head); font-size: .9rem; }
.link-arrow .icon { transition: transform .25s var(--ease); }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--dark); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__info { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.topbar__info a:hover, .topbar__social a:hover { color: #fff; }
.topbar__social { display: flex; gap: 14px; }
.topbar__social a { color: inherit; display: inline-flex; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .2); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 62px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a, .sub-toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink);
  background: none; border: 0; position: relative; white-space: nowrap;
}
.main-nav > ul > li > a::after, .sub-toggle::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red);
  transform: scaleX(0); transition: transform .25s var(--ease); transform-origin: left;
}
.main-nav > ul > li > a:hover, .sub-toggle:hover, .main-nav a.active, .sub-toggle.active { color: var(--red); }
.main-nav > ul > li > a.active::after, .sub-toggle.active::after, .main-nav > ul > li > a:hover::after { transform: scaleX(1); }
.sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--ease);
}
.has-sub:hover .sub, .has-sub.is-open .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--text); font-size: .92rem; }
.sub a:hover { background: var(--red-50); color: var(--red); }
.main-nav__cta { display: flex; gap: 8px; }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; border-radius: 10px; color: var(--ink); align-items: center; justify-content: center; }
.nav-toggle .icon { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; isolation: isolate; }
.hero__slides { position: relative; display: grid; }
.hero__slide {
  grid-area: 1 / 1; min-height: clamp(460px, 72vh, 680px); display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(255, 255, 255, .12), transparent 60%),
    linear-gradient(120deg, var(--red-700) 0%, var(--red) 55%, #F0323F 100%);
}
.hero__slide.has-image {
  background:
    linear-gradient(90deg, rgba(20, 10, 12, .88) 0%, rgba(20, 10, 12, .6) 50%, rgba(20, 10, 12, .25) 100%),
    var(--hero-img) center / cover no-repeat;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__content { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 110px; }
.hero__content > * { max-width: 680px; }
.hero__slide.is-active .hero__content > * { animation: rise .9s var(--ease) both; }
.hero__slide.is-active .hero__content > *:nth-child(2) { animation-delay: .08s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { animation-delay: .16s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: rgba(255, 255, 255, .9); margin-bottom: 18px;
}
.eyebrow--red { color: var(--red); }
.eyebrow--red::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero__title { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 800; line-height: 1.08; margin-bottom: 20px; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .88); margin-bottom: 32px; line-height: 1.6; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__slide:not(.has-image) .btn--primary { background: #fff; color: var(--red); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.hero__slide:not(.has-image) .btn--primary:hover { background: var(--ink); color: #fff; }
.hero__slide:not(.has-image) .btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero__slide:not(.has-image) .btn--light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.hero__flame { position: absolute; right: -40px; bottom: -40px; height: 115%; width: auto; fill: rgba(255, 255, 255, .07); z-index: 1; pointer-events: none; }
.hero__controls { position: absolute; z-index: 3; left: 50%; bottom: 96px; transform: translateX(-50%); width: 100%; max-width: var(--container); padding: 0 20px; display: flex; align-items: center; gap: 14px; }
.hero__arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .15); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: all .2s; }
.hero__arrow:hover { background: #fff; color: var(--red); }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .45); padding: 0; transition: all .3s var(--ease); }
.hero__dots button.is-active { width: 30px; background: #fff; }

/* ---------- Cultos ---------- */
.services { position: relative; z-index: 5; margin-top: -64px; }
.services__card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px 30px;
  display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; border: 1px solid var(--line);
}
.services__head { display: flex; align-items: center; gap: 14px; padding-right: 30px; border-right: 1px solid var(--line); }
.services__head h2 { font-size: 1.25rem; margin: 0; }
.services__head p { margin: 0; color: var(--muted); font-size: .9rem; }
.services__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--red-50); color: var(--red); display: inline-flex; align-items: center; justify-content: center; }
.services__icon .icon { width: 26px; height: 26px; }
.services__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; }
.services__list li { display: flex; flex-direction: column; }
.services__day { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; }
.services__time { font-family: var(--font-head); font-size: 1.6rem; color: var(--red); line-height: 1.2; }
.services__name { font-weight: 500; color: var(--ink); font-size: .95rem; }

/* ---------- Seções ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--soft { background: var(--soft); }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 620px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head .section-title { margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-sub { margin: 6px auto 0; }
.lead { font-size: 1.12rem; line-height: 1.75; }
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--center { align-items: center; }

/* Boas-vindas */
.welcome__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; }
.welcome__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.feature {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink); transition: all .25s var(--ease);
}
.feature span { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--red-50); color: var(--red); display: flex; align-items: center; justify-content: center; transition: all .25s; }
.feature strong { font-family: var(--font-head); font-size: .98rem; }
.feature small { color: var(--muted); font-size: .82rem; }
.feature:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.feature:hover span { background: var(--red); color: #fff; }
.verse-card {
  margin: 0; position: relative; padding: 48px 40px 40px; border-radius: var(--radius-lg); color: #fff; overflow: hidden;
  background: radial-gradient(500px 300px at 100% 0%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(145deg, var(--dark-2), var(--dark));
  box-shadow: var(--shadow-lg);
}
.verse-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red); }
.verse-card__mark { width: 54px; height: 54px; color: var(--red); margin-bottom: 14px; }
.verse-card blockquote { margin: 0 0 18px; font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; line-height: 1.5; }
.verse-card figcaption { color: rgba(255, 255, 255, .7); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.verse-card--small { padding: 32px 28px; }
.verse-card--small blockquote { font-size: 1.08rem; }

/* Cards de evento */
.event-card, .post-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: all .3s var(--ease);
}
.event-card:hover, .post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.event-card__media, .post-card__media { position: relative; aspect-ratio: 16 / 9; display: block; overflow: hidden; background: var(--soft-2); }
.event-card__media img, .post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.event-card:hover img, .post-card:hover img { transform: scale(1.05); }
.placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--red-50), #fff); color: rgba(227, 5, 20, .35); }
.placeholder .icon { width: 56px; height: 56px; }
.date-badge {
  position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; border-radius: 12px; padding: 8px 12px;
  text-align: center; line-height: 1; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .3); font-family: var(--font-head);
}
.date-badge strong { display: block; font-size: 1.5rem; }
.date-badge span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.event-card__body, .post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.event-card h3, .post-card h3 { font-size: 1.15rem; margin: 2px 0 6px; }
.event-card h3 a, .post-card h3 a { color: var(--ink); }
.event-card h3 a:hover, .post-card h3 a:hover { color: var(--red); }
.tag { display: inline-block; align-self: flex-start; background: var(--red-50); color: var(--red); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 99px; }
.meta { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: .9rem; }
.meta li { display: flex; gap: 8px; align-items: center; }
.post-card time { color: var(--muted); font-size: .82rem; }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }

/* Ministérios */
.ministry-card {
  display: flex; flex-direction: column; gap: 6px; padding: 30px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); color: var(--text); transition: all .3s var(--ease); position: relative; overflow: hidden;
}
.ministry-card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.ministry-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); color: var(--text); }
.ministry-card:hover::before { transform: scaleX(1); }
.ministry-card h3 { font-size: 1.2rem; margin: 10px 0 2px; }
.ministry-card p { color: var(--muted); font-size: .95rem; margin-bottom: 8px; flex: 1; }
.ministry-card__icon { width: 58px; height: 58px; border-radius: 16px; background: var(--red-50); color: var(--red); display: inline-flex; align-items: center; justify-content: center; transition: all .3s; }
.ministry-card__icon .icon { width: 28px; height: 28px; }
.ministry-card:hover .ministry-card__icon { background: var(--red); color: #fff; }
.ministry-card__img { margin: -30px -30px 6px; aspect-ratio: 16 / 9; overflow: hidden; }
.ministry-card__img img { width: 100%; height: 100%; object-fit: cover; }

/* Ofertas (faixa) */
.give { background: linear-gradient(120deg, var(--red-700), var(--red)); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.give::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.give__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.give h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.give p { color: rgba(255, 255, 255, .85); font-style: italic; max-width: 560px; margin: 0; }
.give__pix { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(6px); }
.give__label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin-bottom: 8px; color: rgba(255, 255, 255, .8); }
.copy-field { display: flex; align-items: center; gap: 10px; background: rgba(0, 0, 0, .18); border-radius: 999px; padding: 6px 6px 6px 18px; margin-bottom: 14px; }
.copy-field code { flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.copy-field--light { background: var(--soft); color: var(--ink); border-radius: 16px; }
.copy-field--light code { white-space: normal; word-break: break-all; text-align: left; }
.copy-field .btn.is-copied { background: #16a34a; color: #fff; }
.link-light { color: #fff; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: .92rem; }
.link-light:hover { color: #fff; text-decoration: underline; }

/* CTA cards */
.cta-card { border-radius: var(--radius-lg); padding: 40px; background: #fff; border: 1px solid var(--line); }
.cta-card h2 { font-size: 1.6rem; }
.cta-card p { color: var(--muted); margin-bottom: 24px; }
.cta-card__icon { width: 60px; height: 60px; border-radius: 16px; background: var(--red-50); color: var(--red); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cta-card__icon .icon { width: 30px; height: 30px; }
.cta-card--dark { background: linear-gradient(145deg, var(--dark-2), var(--dark)); border-color: transparent; }
.cta-card--dark h2 { color: #fff; }
.cta-card--dark p { color: rgba(255, 255, 255, .72); }
.cta-card--dark .cta-card__icon { background: rgba(255, 255, 255, .1); color: #fff; }
.cta-card--compact { padding: 26px; margin-top: 20px; background: var(--soft); border: 0; }
.cta-card--compact h3 { font-size: 1.1rem; }

/* Vídeo / mapa */
.video-frame, .map-frame { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--soft-2); }
.video-frame iframe, .map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame--small { aspect-ratio: 4 / 3; margin-top: 20px; }
.visit__list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 18px; }
.visit__list li { display: flex; gap: 14px; }
.visit__list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--red-50); color: var(--red); }
.visit__list strong { display: block; font-family: var(--font-head); color: var(--ink); }

/* Vazio */
.empty { text-align: center; padding: 50px 20px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: #fff; }
.empty .icon { width: 40px; height: 40px; color: var(--red); opacity: .5; margin-bottom: 10px; }

/* ---------- Páginas internas ---------- */
.page-hero {
  position: relative; color: #fff; padding: 64px 0 56px; overflow: hidden;
  background: radial-gradient(700px 300px at 90% 0%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(120deg, var(--red-700), var(--red));
}
.page-hero--image { background: linear-gradient(90deg, rgba(20, 10, 12, .85), rgba(20, 10, 12, .45)), var(--hero-img) center / cover; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; margin: 8px 0 8px; max-width: 900px; }
.page-hero p { color: rgba(255, 255, 255, .86); font-size: 1.12rem; margin: 0; max-width: 700px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: #fff; }
.crumbs a:last-child { color: #fff; font-weight: 500; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; align-items: start; }
.detail__img { width: 100%; border-radius: var(--radius-lg); margin-bottom: 30px; box-shadow: var(--shadow); }
.detail__aside { position: sticky; top: calc(var(--header-h) + 20px); }
.info-card { background: var(--soft); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.info-card + .info-card { margin-top: 20px; }
.info-card h3 { font-size: 1.15rem; margin: 0; }
.info-card p { color: var(--muted); margin: 0; }
.info-list { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-direction: column; gap: 12px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.info-list .icon { color: var(--red); margin-top: 3px; }
.date-big { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.date-big strong { font-family: var(--font-head); font-size: 3rem; color: var(--red); line-height: 1; }
.date-big span { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.side-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; }
.side-nav h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); padding: 8px 12px 4px; margin: 0; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.side-nav a:hover, .side-nav a.active { background: var(--red-50); color: var(--red); }
.post-meta { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.share { display: flex; gap: 10px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.share a { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.share a:hover { background: var(--red); color: #fff; }
.inline-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.inline-cta--center { justify-content: center; }

/* Texto rico */
.prose { font-size: 1.06rem; line-height: 1.8; color: var(--text); }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose > *:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--red); }
.prose blockquote { margin: 1.6em 0; padding: 20px 26px; border-left: 4px solid var(--red); background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--ink); }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }

/* Agenda */
.filters { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.segmented { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; }
.segmented a { padding: 9px 20px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: .9rem; font-family: var(--font-head); }
.segmented a.is-active { background: #fff; color: var(--red); box-shadow: var(--shadow-sm); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: .88rem; background: #fff; }
.chip:hover, .chip.is-active { border-color: var(--red); color: var(--red); background: var(--red-50); }
.month-title { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 36px 0 14px; display: flex; align-items: center; gap: 14px; }
.month-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.agenda-list { display: flex; flex-direction: column; gap: 12px; }
.agenda-item {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 20px; align-items: center; padding: 18px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: all .25s var(--ease);
}
.agenda-item:hover { border-color: var(--red); box-shadow: var(--shadow); color: var(--text); }
.agenda-item__date { text-align: center; background: var(--red-50); border-radius: 12px; padding: 10px 0; font-family: var(--font-head); }
.agenda-item__date strong { display: block; font-size: 1.7rem; color: var(--red); line-height: 1; }
.agenda-item__date span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--ink); }
.agenda-item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.agenda-item__title { font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); }
.agenda-item__desc { color: var(--muted); font-size: .92rem; }
.meta-inline { display: flex; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.meta-inline span { display: inline-flex; gap: 6px; align-items: center; }
.agenda-item__arrow { color: var(--muted); }
.agenda-item:hover .agenda-item__arrow { color: var(--red); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pagination a { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.pagination a.active, .pagination a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Ofertas página */
.give-page { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }
.pix-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px; text-align: center; position: sticky; top: calc(var(--header-h) + 20px); }
.pix-card__head { display: flex; gap: 12px; align-items: center; text-align: left; margin-bottom: 20px; }
.pix-card__head strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); }
.pix-card__head span { color: var(--muted); font-size: .9rem; }
.pix-logo { width: 48px; height: 48px; border-radius: 14px; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pix-card__qr { margin: 0 auto 20px; width: 260px; height: 260px; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--line); padding: 10px; background: #fff; }
.pix-card__label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.pix-steps { text-align: left; color: var(--muted); font-size: .9rem; padding-left: 1.2em; margin: 6px 0 0; }
.pix-steps li { margin-bottom: 4px; }

/* ---------- Formulários ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 500; color: var(--ink); font-size: .92rem; }
.field em { color: var(--muted); font-style: normal; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--soft); border: 1.5px solid transparent;
  border-radius: 12px; padding: 13px 16px; transition: all .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236E6E6C' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(227, 5, 20, .1); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--soft); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--red); margin-top: 2px; flex-shrink: 0; }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 12px; margin: 14px 0 0; font-weight: 500; }
.alert--err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert--ok { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.success { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 0; }
.success__icon { width: 74px; height: 74px; border-radius: 50%; background: #DCFCE7; color: #16A34A; display: inline-flex; align-items: center; justify-content: center; }
.success__icon .icon { width: 36px; height: 36px; }
.success p { max-width: 480px; }
.form-aside { display: flex; flex-direction: column; gap: 20px; }
.form-aside .info-card + .map-frame { margin-top: 0; }

.not-found__code { font-family: var(--font-head); font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; color: var(--red-50); line-height: 1; display: block; -webkit-text-stroke: 2px var(--red); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .7); font-size: .93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.site-footer__brand img { height: 78px; width: auto; margin-bottom: 18px; }
.site-footer h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 20px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; transition: all .2s; }
.social a:hover { background: var(--red); color: #fff; }
.footer-list, .footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-list li { display: flex; flex-direction: column; }
.footer-list strong { color: #fff; font-weight: 500; }
.footer-list--icons li { flex-direction: row; gap: 10px; align-items: flex-start; }
.footer-list--icons .icon { color: var(--red); margin-top: 3px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .84rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px -6px rgba(0, 0, 0, .35); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }


/* ---------- Ao vivo / vídeos ---------- */
.live-bar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; background: var(--ink); color: #fff; font-weight: 500; font-size: .92rem; text-align: center; flex-wrap: wrap; }
.live-bar:hover { color: #fff; background: #000; }
.live-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .12em; padding: 4px 10px; border-radius: 6px; }
.live-badge span { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.live-badge--over { position: absolute; top: 16px; left: 16px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.section--dark { background: radial-gradient(800px 400px at 100% 0%, rgba(227, 5, 20, .18), transparent 60%), var(--dark); color: rgba(255, 255, 255, .8); }
.section--dark .section-title, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: rgba(255, 255, 255, .85); }
.video-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.video-main h3 { font-size: 1.15rem; margin: 16px 0 0; }
.yt-lite { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius-lg); overflow: hidden; background: #000; cursor: pointer; box-shadow: var(--shadow-lg); }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; opacity: .9; }
.yt-lite:hover img { transform: scale(1.03); opacity: 1; }
.yt-lite__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5); transition: transform .25s var(--ease); }
.yt-lite__play .icon { width: 40px; height: 40px; }
.yt-lite:hover .yt-lite__play { transform: scale(1.08); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-list { display: flex; flex-direction: column; gap: 14px; }
.video-item { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; color: rgba(255, 255, 255, .88); padding: 8px; border-radius: var(--radius); transition: background .2s; }
.video-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.video-item__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; display: block; }
.video-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-item__thumb .icon { position: absolute; inset: 0; margin: auto; width: 32px; height: 32px; color: #fff; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.video-item__title { font-weight: 500; font-size: .92rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.player-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.video-frame--player { aspect-ratio: 16 / 9; }
.player-info { margin-top: 18px; }
.player-info h2 { font-size: 1.4rem; margin: 8px 0 14px; }
.playlist { background: var(--soft); border-radius: var(--radius-lg); padding: 16px; max-height: 640px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.playlist h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 4px 6px 8px; }
.playlist__item { display: grid; grid-template-columns: 128px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; color: var(--ink); }
.playlist__item:hover, .playlist__item.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.playlist__item.is-active { outline: 2px solid var(--red); }
.playlist__thumb { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; display: block; background: #000; }
.playlist__thumb img { width: 100%; height: 100%; object-fit: cover; }
.playlist__title { font-size: .86rem; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Redes sociais ---------- */
.social-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.social-grid--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin: 0 auto; }
.ig-card, .fb-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.ig-card__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.ig-card__head > div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.ig-card__head strong { font-family: var(--font-head); color: var(--ink); }
.ig-card__head small { color: var(--muted); }
.ig-card__avatar { width: 44px; height: 44px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.ig-grid__item { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--soft-2); display: block; }
.ig-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.ig-grid__item:hover img { transform: scale(1.06); filter: brightness(.85); }
.ig-grid__badge { position: absolute; top: 8px; right: 8px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.ig-empty { padding: 50px 24px; text-align: center; color: var(--muted); }
.ig-empty .icon { width: 44px; height: 44px; color: #d6249f; margin-bottom: 8px; }
.fb-card { min-height: 560px; }
.fb-card iframe { display: block; width: 100%; height: 600px; border: 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 1240px) {
  .main-nav > ul > li > a, .sub-toggle { padding: 10px 8px; font-size: .86rem; }
  .main-nav__cta .btn--ghost { display: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .brand img { height: 50px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px 20px 30px; overflow-y: auto; opacity: 0; transform: translateY(-10px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; visibility: hidden;
    height: calc(100dvh - var(--header-h));
  }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a, .sub-toggle { width: 100%; padding: 16px 4px; font-size: 1.05rem; justify-content: space-between; }
  .main-nav > ul > li > a::after, .sub-toggle::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 10px; display: none; min-width: 0; }
  .has-sub.is-open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.is-open:hover .sub { display: block; }
  .main-nav__cta { flex-direction: column; margin-top: 24px; }
  .main-nav__cta .btn { min-height: 52px; }
  .main-nav__cta .btn--ghost { display: inline-flex; }

  .services__card { grid-template-columns: 1fr; gap: 20px; }
  .services__head { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 18px; }
  .welcome__grid, .give__inner, .detail, .give-page, .form-layout { grid-template-columns: 1fr; gap: 36px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail__aside, .pix-card { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .video-grid, .player-layout, .social-grid { grid-template-columns: 1fr; }
  .playlist { max-height: none; }
}

@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .topbar__info span { display: none; }
  .hide-sm { display: none !important; }
    .hero__slide { min-height: 520px; }
  .hero__content { padding-bottom: 120px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__controls { bottom: 84px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .welcome__links { grid-template-columns: 1fr; }
  .services__card { padding: 22px; }
  .services__list { grid-template-columns: 1fr 1fr; }
  .verse-card { padding: 36px 26px 28px; }
  .cta-card { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .form .btn { align-self: stretch; }
  .agenda-item { grid-template-columns: 64px 1fr; padding: 14px; gap: 14px; }
  .agenda-item__arrow { display: none; }
  .filters { flex-direction: column; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 50px; }
  .site-footer__bottom-inner { flex-direction: column; }
  .pix-card__qr { width: 220px; height: 220px; }
  .copy-field code { font-size: .82rem; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .ig-grid__item:nth-child(n+7) { display: none; }
  .video-item { grid-template-columns: 120px 1fr; }
  .yt-lite__play { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .site-footer, .wa-float, .hero__controls { display: none !important; }
}
