/* ============================================================
   Igreja Glória de Cristo — estilos
   Mobile-first: o padrão é celular; @media (min-width) amplia.
   ============================================================ */

:root {
  /* Cores da identidade (nuvem azul + vermelho da logo) */
  --navy: #0B1B33;
  --navy-2: #13294B;
  --sky: #5BA3E6;
  --sky-soft: #E6F1FC;
  --red: #D7262B;
  --red-dark: #B21D22;
  --cream: #F7F5F0;
  --white: #FFFFFF;
  --ink: #16202E;
  --muted: #5E6878;
  --line: #E4E1DA;
  --whats: #25D366;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(11, 27, 51, .25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 27, 51, .35);
  --gutter: 20px;
  --topbar-h: 68px;
  --strip-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.has-live { --strip-h: 44px; }
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }
[hidden] { display: none !important; }

section[id] { scroll-margin-top: calc(var(--topbar-h) + var(--strip-h)); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; margin-top: 32px; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3 { font-size: 1.4rem; }
h1 em, h2 em { font-weight: 500; color: var(--sky); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
.eyebrow--light { color: rgba(255,255,255,.85); }
.eyebrow--live { color: #FF5A5F; }

.section { padding: 80px 0; }
.section-head { margin-bottom: 36px; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.section-head--light h2 { color: var(--white); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--sky); padding-bottom: 2px; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; white-space: nowrap;
  transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -8px rgba(215,38,43,.6); }
.btn--primary:hover { background: var(--red-dark); }
.btn--glass { background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.22); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--sky-soft); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-2); }
.btn--outline { border: 2px solid var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--whats { background: var(--whats); color: #073B1D; }
.btn--whats:hover { background: #1FBE5A; }

/* ---------- Bolinha "ao vivo" ---------- */
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #FF3B3F; display: inline-block; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255,59,63,.7); animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,59,63,.7); }
  70% { box-shadow: 0 0 0 9px rgba(255,59,63,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,63,0); }
}

/* ---------- Faixa AO VIVO ---------- */
.live-strip {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--strip-h); display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--red); color: var(--white); font-size: .92rem;
  padding: 0 var(--gutter);
}
.live-strip .live-dot { background: var(--white); animation-name: pulse-w; }
@keyframes pulse-w {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.live-strip__cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cabeçalho ---------- */
.topbar {
  position: fixed; top: var(--strip-h); left: 0; right: 0; z-index: 50;
  height: var(--topbar-h);
  transition: background .3s, box-shadow .3s;
}
.topbar { background: linear-gradient(rgba(11,27,51,.55), rgba(11,27,51,0)); }
/* O fundo "vidro" fica numa camada própria (::before). Se o backdrop-filter ficasse no
   próprio .topbar, o menu mobile (position: fixed, filho do header) ficaria preso dentro
   dos 68px do cabeçalho em vez de ocupar a tela toda. */
.topbar::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: rgba(11,27,51,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.topbar.is-solid::before, body.menu-open .topbar::before { opacity: 1; }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--white); z-index: 2; }
.brand img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.brand__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1; }
.brand__name em { color: #9CCBF5; }

.menu-btn { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; z-index: 2; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Menu mobile: tela cheia */
.nav {
  position: fixed; inset: 0; top: calc(var(--strip-h) + var(--topbar-h));
  background: var(--navy);
  display: flex; flex-direction: column; padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .25s, transform .25s, visibility .25s;
  overflow-y: auto; overscroll-behavior: contain;
}
body.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
.nav a:not(.btn) {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-family: var(--font-display); font-size: 1.55rem; font-weight: 500;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__cta { margin-top: 20px; min-height: 54px; font-size: 1.05rem; }
/* Celular baixinho: compacta mais */
@media (max-height: 640px) and (max-width: 999px) {
  .nav a:not(.btn) { font-size: 1.3rem; padding: 8px 0; }
  .nav__cta { margin-top: 14px; min-height: 48px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden;
  padding: calc(var(--topbar-h) + var(--strip-h) + 40px) 0 88px;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,27,51,.55) 0%, rgba(11,27,51,.35) 35%, rgba(11,27,51,.92) 100%),
    url('../img/hero.jpg') 50% 30% / cover no-repeat;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__content { position: relative; }
.hero__title { font-size: clamp(3.4rem, 17vw, 7.5rem); line-height: .92; letter-spacing: -.02em; margin-bottom: 18px; }
.hero__title em { display: block; color: #9CCBF5; }
.hero__lema { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 5.5vw, 2.2rem); line-height: 1.2; margin-bottom: 14px; }
.hero__text { font-size: 1.1rem; max-width: 40ch; color: rgba(255,255,255,.88); margin-bottom: 30px; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; }
.hero__scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; display: none; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--white); border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- AO VIVO ---------- */
.live { background: radial-gradient(120% 80% at 50% 0%, #1D3A66 0%, var(--navy) 60%); color: var(--white); }
.live h2 { color: var(--white); }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #000 center / cover no-repeat; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -20px rgba(215,38,43,.45);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame__demo { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px; background: rgba(0,0,0,.45); font-weight: 700; }
.live__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

/* ---------- SOBRE ---------- */
.about { background: var(--white); }
.about__grid { display: grid; gap: 48px; }
.about__text h2 { margin-bottom: 20px; }
.about__text p { color: var(--muted); font-size: 1.05rem; margin-bottom: 14px; }
.about__text strong { color: var(--ink); }
.pillars { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.pillars li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }
.pillars span { font-family: var(--font-body); font-size: .8rem; font-weight: 800; color: var(--red); letter-spacing: .1em; }

.about__media { position: relative; margin-bottom: 20px; }
.about__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); filter: saturate(.9); }
.about__media figcaption { position: absolute; left: 16px; top: 16px; background: rgba(11,27,51,.75); color: var(--white); font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.about__badge {
  position: absolute; right: 16px; bottom: -22px;
  background: var(--red); color: var(--white); border-radius: var(--radius-sm);
  padding: 14px 20px; box-shadow: var(--shadow); text-align: center; line-height: 1.1;
}
.about__badge strong { display: block; font-family: var(--font-display); font-size: 2rem; }
.about__badge span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; opacity: .9; }

/* ---------- PASTORES ---------- */
.pastors { background: var(--cream); }
.pastors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pastor { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.pastor__photo img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; transition: transform .6s; }
.pastor:hover .pastor__photo img { transform: scale(1.04); }
.pastor__info {
  position: absolute; inset: auto 0 0 0; padding: 40px 14px 14px;
  background: linear-gradient(transparent, rgba(11,27,51,.95)); color: var(--white);
}
.pastor__info h3 { font-size: 1.1rem; }
.pastor__info p { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #9CCBF5; }

/* ---------- RÁDIO ---------- */
.radio { padding: 40px 0; background: var(--cream); }
.radio__card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(135deg, var(--navy) 0%, #1D3A66 100%);
  color: var(--white); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow-lg);
}
.radio__info { flex: 1; min-width: 0; position: relative; }
.radio__info .eyebrow { margin-bottom: 6px; }
.radio__name { font-size: clamp(1.4rem, 5vw, 2.2rem); color: var(--white); }
.radio__now { color: rgba(255,255,255,.75); font-size: .95rem; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio__now span { color: var(--white); font-weight: 600; }
.radio__play {
  position: relative; flex-shrink: 0; width: 68px; height: 68px; border-radius: 50%;
  background: var(--red); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 0 0 8px rgba(215,38,43,.2); transition: transform .2s;
}
.radio__play:hover { transform: scale(1.06); }
.radio__play svg { width: 28px; height: 28px; }
.radio__waves { position: absolute; right: 0; bottom: 0; top: 0; width: 60%; display: flex; align-items: flex-end; justify-content: flex-end; gap: 6px; padding: 0 110px 0 0; opacity: .12; pointer-events: none; }
.radio__waves span { width: 10px; background: var(--sky); border-radius: 6px 6px 0 0; height: 30%; }
body.is-playing .radio__waves span { animation: eqBar 1s ease-in-out infinite alternate; }
.radio__waves span:nth-child(2n) { animation-delay: -.4s !important; height: 55%; }
.radio__waves span:nth-child(3n) { animation-delay: -.7s !important; height: 75%; }

.ic-pause { display: none; }
body.is-playing .js-radio-toggle .ic-play { display: none; }
body.is-playing .js-radio-toggle .ic-pause { display: block; }

/* ---------- MENSAGENS ---------- */
.messages { background: var(--white); }
.videos { display: grid; gap: 20px; }
.videos:empty { display: none; }
.video-card { display: block; }
.video-card__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy); }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-card:hover .video-card__thumb img { transform: scale(1.05); }
.video-card__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(transparent 50%, rgba(0,0,0,.35)); }
.video-card__play span { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--red); display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .2s; }
.video-card:hover .video-card__play span { transform: scale(1.1); }
.video-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.35; margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-card time { font-size: .85rem; color: var(--muted); }
.video-card--featured h3 { font-family: var(--font-display); font-size: 1.4rem; }
/* Os outros 5: lista compacta (miniatura pequena + título) */
.video-card--small { display: grid; grid-template-columns: 136px 1fr; gap: 14px; align-items: center; }
.video-card--small h3 { margin-top: 0; font-size: .95rem; }
.video-card--small time { font-size: .8rem; }
.video-card--small .video-card__play span { width: 34px; height: 34px; }
.video-card--small .video-card__play svg { width: .9em; height: .9em; }
.videos__more { display: grid; gap: 14px; }

.yt-fallback { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); transition: background .2s; }
.yt-fallback:hover { background: var(--sky-soft); }
.yt-fallback > svg:first-child { width: 44px; height: 44px; color: #FF0000; }
.yt-fallback div { flex: 1; display: flex; flex-direction: column; }
.yt-fallback span { color: var(--muted); font-size: .9rem; }
.yt-fallback__arrow { width: 22px; height: 22px; }
.videos:not(:empty) + .yt-fallback { display: none; }

/* ---------- FOTOS ---------- */
.photos { background: var(--cream); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery__item { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--line); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--video::after { content: ''; position: absolute; top: 10px; right: 10px; width: 0; height: 0; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }

/* ---------- ORAÇÃO ---------- */
.prayer { padding: 20px 0 80px; background: var(--cream); }
.prayer__card {
  display: flex; flex-direction: column; gap: 20px;
  background: var(--white); border-radius: var(--radius); padding: 32px 24px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.prayer__icon { width: 60px; height: 60px; border-radius: 18px; background: #FDECEC; color: var(--red); display: grid; place-items: center; }
.prayer__icon svg { width: 28px; height: 28px; }
.prayer__card h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); margin-bottom: 8px; }
.prayer__card p { color: var(--muted); }

/* ---------- VISITE ---------- */
.visit { background: var(--navy); color: var(--white); }
.visit h2 { color: var(--white); }
.visit .eyebrow { color: #FF6B6F; }
.visit__grid { display: grid; gap: 16px; }
.place { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px 24px; }
.place__tag { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; padding: 5px 10px; border-radius: 999px; background: rgba(91,163,230,.18); color: #9CCBF5; margin-bottom: 14px; }
.place h3 { font-size: 2rem; margin-bottom: 10px; }
.place__addr { display: flex; gap: 10px; color: rgba(255,255,255,.8); margin-bottom: 22px; }
.place__addr svg { margin-top: 4px; color: #9CCBF5; }
.place .btn--dark { background: var(--white); color: var(--navy); }
.place .btn--dark:hover { background: var(--sky-soft); }

/* ---------- RODAPÉ ---------- */
.footer { background: #07121F; color: rgba(255,255,255,.75); padding: 48px 0 calc(110px + env(safe-area-inset-bottom)); }
.footer__inner { display: flex; flex-direction: column; gap: 24px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 56px; height: 56px; object-fit: contain; }
.footer__brand strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 1.2rem; }
.footer__brand span { font-size: .88rem; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--white); }
.socials { display: flex; gap: 10px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--white); transition: background .2s; }
.socials a:hover { background: var(--red); }
.socials svg { width: 20px; height: 20px; }
.footer__copy { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

/* ---------- Mini player ---------- */
.miniplayer {
  position: fixed; z-index: 40; left: 12px; right: 84px; bottom: calc(14px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
  background: rgba(11,27,51,.95); color: var(--white); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 999px; padding: 6px 18px 6px 6px; box-shadow: var(--shadow-lg);
  animation: slideUp .4s ease-out;
}
@keyframes slideUp { from { transform: translateY(120%); opacity: 0; } to { transform: none; opacity: 1; } }
.miniplayer__btn { width: 46px; height: 46px; border-radius: 50%; background: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.miniplayer__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.miniplayer__label { display: flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #9CCBF5; }
.miniplayer__label .live-dot { width: 7px; height: 7px; }
.miniplayer__title { font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.eq span { width: 3px; height: 30%; background: var(--sky); border-radius: 2px; }
body.is-playing .eq span { animation: eqBar .9s ease-in-out infinite alternate; }
.eq span:nth-child(2) { animation-delay: -.3s !important; }
.eq span:nth-child(3) { animation-delay: -.6s !important; }
.eq span:nth-child(4) { animation-delay: -.15s !important; }
@keyframes eqBar { from { height: 20%; } to { height: 100%; } }

/* ---------- WhatsApp flutuante ---------- */
.fab-whats {
  position: fixed; z-index: 41; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%; background: var(--whats); color: var(--white);
  display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(37,211,102,.6);
  transition: transform .2s;
}
.fab-whats:hover { transform: scale(1.08); }
.fab-whats svg { width: 30px; height: 30px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,10,20,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 10px; object-fit: contain; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); display: grid; place-items: center; }
.lightbox__link { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: 700; }

/* ---------- Animação ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ============================================================
   TABLET
   ============================================================ */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero__actions, .live__actions { flex-direction: row; flex-wrap: wrap; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .video-card--small { grid-template-columns: 176px 1fr; }
  .visit__grid { grid-template-columns: 1fr 1fr; }
  .prayer__card { flex-direction: row; align-items: center; padding: 36px; }
  .prayer__card > div:nth-child(2) { flex: 1; }
  .pastors__grid { gap: 24px; max-width: 760px; }
  .pastor__info { padding: 60px 24px 22px; }
  .pastor__info h3 { font-size: 1.6rem; }
  .pastor__info p { font-size: .8rem; }
  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .miniplayer { left: auto; right: 88px; width: 360px; }
  .radio__card { padding: 36px 40px; gap: 28px; }
  .radio__play { width: 84px; height: 84px; }
}

/* ============================================================
   DESKTOP
   ============================================================ */
@media (min-width: 1000px) {
  :root { --topbar-h: 84px; }
  .section { padding: 120px 0; }
  .menu-btn { display: none; }
  .nav {
    position: static; inset: auto; flex-direction: row; align-items: center; gap: 26px;
    background: none; padding: 0; opacity: 1; visibility: visible; transform: none; overflow: visible;
  }
  .nav a:not(.btn) { font-family: var(--font-body); font-size: .95rem; font-weight: 600; padding: 6px 0; border: 0; color: rgba(255,255,255,.85); position: relative; }
  .nav a:not(.btn):hover { color: var(--white); }
  .nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right .25s; }
  .nav a:not(.btn):hover::after { right: 0; }
  .nav__cta { margin: 0; min-height: 42px; font-size: .92rem; }
  .nav__live { color: #FF8A8D !important; }
  .brand img { width: 52px; height: 52px; }
  .brand__name { font-size: 1.4rem; }

  .hero { align-items: center; padding-bottom: 60px; }
  .hero__scroll { display: block; }
  .hero__text { font-size: 1.25rem; }

  .about__grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 80px; }
  .about__badge { right: -24px; bottom: 32px; }

  .pastors .section-head { text-align: center; }
  .pastors__grid { margin: 0 auto; }

  .videos { grid-template-columns: 1.55fr 1fr; gap: 32px; align-items: start; }
  .video-card--featured h3 { font-size: 1.8rem; }
  .videos__more { gap: 16px; }
  .video-card--small { grid-template-columns: 168px 1fr; }

  .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .gallery__item { border-radius: 14px; }
  .gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }

  .live__player { max-width: 960px; }
  .place { padding: 40px; }
  .prayer__card { padding: 48px 56px; gap: 32px; }
  .footer { padding-bottom: 48px; }
  body.has-miniplayer .footer { padding-bottom: 110px; }
}

/* ============================================================
   SEÇÕES NOVAS: dízimos (chamada), cultos, mapa
   ============================================================ */
.give { padding: 0 0 80px; background: var(--cream); }
.give__card {
  display: flex; flex-direction: column; gap: 20px;
  background: linear-gradient(135deg, #2A1015 0%, var(--red-dark) 100%); color: var(--white);
  border-radius: var(--radius); padding: 32px 24px; box-shadow: var(--shadow-lg);
}
.give__icon { width: 60px; height: 60px; border-radius: 18px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.give__icon svg { width: 28px; height: 28px; }
.give__card h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); margin-bottom: 10px; }
.give__card blockquote { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.5; color: rgba(255,255,255,.88); }
.give__card cite { display: block; margin-top: 6px; font-family: var(--font-body); font-style: normal; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #FFB3B5; }
.give__card .btn--primary { background: var(--white); color: var(--red-dark); box-shadow: none; }
.give__card .btn--primary:hover { background: #FFE9EA; }

.schedule { list-style: none; display: grid; gap: 12px; }
.schedule li {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "day time" "name name"; gap: 4px 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 20px 22px;
}
.schedule__day { grid-area: day; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9CCBF5; }
.schedule__name { grid-area: name; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1.2; }
.schedule__time { grid-area: time; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 1.05rem; color: var(--white); }
.schedule__time svg { color: #FF6B6F; }

.place { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.place__map { aspect-ratio: 16 / 10; background: var(--navy-2); }
.place__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2); }
.place__body { padding: 24px; }

.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__contact span { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; }

/* Galeria: 1 foto grande + o resto */
.gallery__item:first-child { grid-column: span 2; aspect-ratio: 2 / 1.2; }

@media (min-width: 640px) {
  .give__card { flex-direction: row; align-items: center; padding: 40px; }
  .give__text { flex: 1; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; }
  .visit__grid { align-items: start; }
}
@media (min-width: 1000px) {
  .give { padding-bottom: 120px; }
  .give__card { padding: 48px 56px; gap: 32px; }
  .visit__grid { grid-template-columns: 1fr 1.1fr; gap: 28px; }
  .schedule li { padding: 26px 28px; }
  .place__body { padding: 28px 32px 32px; }
  .footer__contact { flex-direction: row; gap: 28px; }
}

/* ============================================================
   PÁGINA DE DÍZIMOS E OFERTAS
   ============================================================ */
.nav a[aria-current="page"] { color: var(--white) !important; }
.nav a[aria-current="page"]::after { right: 0 !important; }

.give-hero {
  background: radial-gradient(120% 90% at 85% 0%, #1D3A66 0%, var(--navy) 60%);
  color: var(--white);
  padding: calc(var(--topbar-h) + 48px) 0 64px;
}
.give-hero h1 { font-size: clamp(2.6rem, 11vw, 4.6rem); margin-bottom: 16px; }
.give-hero__text { max-width: 52ch; font-size: 1.08rem; color: rgba(255,255,255,.85); margin-bottom: 28px; }
.give-hero__verse {
  max-width: 560px; border-left: 3px solid var(--red); padding: 4px 0 4px 18px;
  font-family: var(--font-display); font-size: 1.1rem; line-height: 1.5; color: rgba(255,255,255,.92);
}
.give-hero__verse cite { display: block; margin-top: 8px; font-family: var(--font-body); font-style: normal; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9CCBF5; }

.banks { background: var(--cream); padding-top: 40px; }
.banks__hint { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.banks__hint svg { vertical-align: -3px; margin: 0 2px; }
.banks__hint svg { color: var(--navy); }
.banks__grid { display: grid; gap: 18px; align-items: start; }

.bank {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.bank__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bank); color: var(--white); padding: 18px 22px;
}
.bank__logo { font-family: var(--font-body); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.bank__type { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; background: rgba(255,255,255,.18); padding: 5px 10px; border-radius: 999px; text-align: right; }

.bank__qr { position: relative; margin: 22px auto 0; width: 190px; aspect-ratio: 1; border-radius: 14px; background: var(--white); border: 1px solid var(--line); padding: 10px; }
.bank__qr img { width: 100%; height: 100%; object-fit: contain; }
.bank__qr-empty { display: none; }
.bank__qr.is-missing { border: 2px dashed var(--line); background: var(--cream); }
.bank__qr.is-missing img { display: none; }
.bank__qr.is-missing .bank__qr-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .85rem; font-weight: 600; }
.bank__qr-empty svg { width: 40px; height: 40px; opacity: .45; }

.pix { margin: 22px 22px 0; padding: 16px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--bank) 7%, white); border: 1px solid color-mix(in srgb, var(--bank) 22%, white); }
.pix__label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bank); margin-bottom: 6px; }
.pix__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pix__key { font-size: 1.2rem; font-weight: 800; letter-spacing: .01em; color: var(--ink); word-break: break-all; }

.copy {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  min-height: 42px; padding: 0 16px; border-radius: 999px;
  background: var(--bank, var(--navy)); color: var(--white); font-weight: 700; font-size: .9rem;
  transition: transform .15s, background .2s;
}
.copy:active { transform: scale(.95); }
.copy__ok { display: none; }
.copy.is-copied { background: #1A9E55; }
.copy.is-copied .copy__ic { display: none; }
.copy.is-copied .copy__ok { display: block; }
.copy--mini { min-height: 34px; width: 34px; padding: 0; justify-content: center; background: var(--cream); color: var(--navy); border: 1px solid var(--line); }
.copy--mini svg { width: 16px; height: 16px; }
.copy--mini.is-copied { color: var(--white); border-color: transparent; }

.bank__data { margin: 14px 22px 22px; }
.bank__data > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bank__data > div:last-child { border-bottom: 0; }
.bank__data dt { color: var(--muted); font-size: .92rem; }
.bank__data dd { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; }

.banks__help { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; color: var(--muted); }

.toast {
  position: fixed; z-index: 90; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translate(-50%, 140%); opacity: 0;
  background: var(--navy); color: var(--white); font-weight: 700; font-size: .95rem;
  padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow-lg);
  transition: transform .3s, opacity .3s; pointer-events: none; white-space: nowrap;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

.page-sub .footer { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }

@media (min-width: 760px) {
  .banks__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .give-hero { padding: calc(var(--topbar-h) + 80px) 0 90px; }
  .banks { padding-top: 56px; }
  .banks__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.bank__note { margin: -8px 22px 22px; font-size: .85rem; color: var(--muted); }

/* Galeria com posts do Instagram/Facebook: flyers verticais, sem foto grande */
.gallery--social .gallery__item,
.gallery--social .gallery__item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
