/* ============================================================
   IBTP — Igreja Batista Todos os Povos
   Tema: Fogo de Deus — escuro elegante, vermelho/laranja/dourado
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Brasa / fogo */
  --ember-red:    #E11D2A;
  --ember-orange: #FF7A1A;
  --ember-gold:   #E7B24C;
  --ember-gold-soft: #F2D08A;

  /* Fundo escuro (carvão quente) */
  --bg:        #120a07;
  --bg-2:      #1a0f0a;
  --bg-3:      #241511;
  --surface:   #1e120d;
  --surface-2: #2a1812;

  /* Texto */
  --text:        #f7ede3;
  --text-muted:  #c9b6a6;
  --text-dim:    #9a8675;
  --on-dark:     #fff7ef;

  /* Linhas / bordas */
  --line:        rgba(231, 178, 76, 0.16);
  --line-strong: rgba(231, 178, 76, 0.32);

  /* Gradiente de fogo */
  --grad-fire: linear-gradient(135deg, var(--ember-gold) 0%, var(--ember-orange) 45%, var(--ember-red) 100%);
  --grad-fire-soft: linear-gradient(135deg, #ffd98a 0%, #ff9a3d 50%, #f0432f 100%);

  /* Tipografia */
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Escala de espaçamento (8px) */
  --space-1: .5rem;  --space-2: 1rem;  --space-3: 1.5rem;
  --space-4: 2rem;   --space-6: 3rem;  --space-8: 4rem;
  --space-12: 6rem;  --space-16: 8rem;

  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow:      0 18px 50px -20px rgba(0,0,0,.7);
  --shadow-glow: 0 0 60px -10px rgba(255,122,26,.45);

  --container: 1180px;
  --header-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--ember-gold); outline-offset: 3px; border-radius: 4px; }

/* Fundo com brilho de brasa global */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1100px 700px at 50% -8%, rgba(255,122,26,.18), transparent 60%),
    radial-gradient(900px 600px at 100% 12%, rgba(225,29,42,.12), transparent 55%),
    radial-gradient(800px 600px at 0% 90%, rgba(231,178,76,.08), transparent 60%);
  pointer-events: none; z-index: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -60px;
  background: var(--ember-orange); color: #1a0f0a; font-weight: 600;
  padding: .6rem 1rem; border-radius: 8px; z-index: 200;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Ember canvas */
.embers {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
.section { position: relative; padding-block: clamp(4rem, 9vw, 8rem); z-index: 2; }
main, header, footer { position: relative; z-index: 2; }

.section-head { max-width: 720px; margin-inline: auto; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center, .center { text-align: center; }

/* ---------- TIPOGRAFIA ---------- */
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ember-gold);
  margin-bottom: 1rem;
}
.eyebrow.light { color: var(--ember-gold-soft); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--on-dark);
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-muted); line-height: 1.7; }
.lead.center { max-width: 640px; margin-inline: auto; }
.lead.light, .light { color: #e9ddd0; }

.text-flame {
  background: var(--grad-fire-soft);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.rule { width: 64px; height: 3px; border-radius: 3px; background: var(--grad-fire); margin-top: 1.75rem; }

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  min-height: 48px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.06rem; }

.btn-primary {
  background: var(--grad-fire); color: #1a0c05;
  box-shadow: 0 10px 30px -10px rgba(255,122,26,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255,122,26,.8); }

.btn-ghost {
  color: var(--on-dark);
  border: 1.5px solid var(--line-strong);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--ember-gold); background: rgba(231,178,76,.1); transform: translateY(-2px); }

.btn-live {
  padding: .5rem 1.05rem; min-height: 40px; font-size: .92rem;
  border: 1.5px solid transparent; color: var(--on-dark);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
/* Estado: fora do horário de culto */
.btn-live.is-offline {
  border-color: rgba(247,237,227,.18);
  background: rgba(255,255,255,.05);
  color: var(--text-muted);
}
.btn-live.is-offline:hover { background: rgba(255,255,255,.09); border-color: rgba(247,237,227,.3); }
.btn-live.is-offline .live-dot { background: #8a7d70; box-shadow: none; animation: none; }
/* Estado: ao vivo (durante o culto) */
.btn-live.is-live {
  border-color: rgba(225,29,42,.55);
  background: rgba(225,29,42,.16);
  color: var(--on-dark);
}
.btn-live.is-live:hover { background: rgba(225,29,42,.3); border-color: var(--ember-red); }

.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--ember-red);
  box-shadow: 0 0 0 0 rgba(225,29,42,.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(225,29,42,.6); }
  70% { box-shadow: 0 0 0 8px rgba(225,29,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,29,42,0); }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(18,10,7,.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-logo { height: 46px; width: auto; }

.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 1.9rem; }
.nav-menu a { font-size: .96rem; font-weight: 500; color: var(--text-muted); transition: color .2s var(--ease); position: relative; }
.nav-menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-fire); transition: width .25s var(--ease);
}
.nav-menu a:not(.btn):hover { color: var(--on-dark); }
.nav-menu a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 120;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-ready { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,10,7,.45) 0%, rgba(18,10,7,.25) 35%, rgba(18,10,7,.85) 100%),
    radial-gradient(120% 80% at 50% 30%, transparent 30%, rgba(18,10,7,.6) 100%);
}

.hero-content { position: relative; z-index: 3; text-align: center; max-width: 880px; margin-inline: auto; }
.hero-logo { height: clamp(74px, 12vw, 110px); width: auto; margin: 0 auto 1.6rem; filter: drop-shadow(0 8px 30px rgba(255,122,26,.35)); }
.hero-eyebrow { font-size: .82rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ember-gold-soft); margin-bottom: 1.4rem; }
.hero-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(2.3rem, 6.5vw, 4.6rem); line-height: 1.05; letter-spacing: -.015em;
  color: var(--on-dark);
  text-shadow: 0 4px 40px rgba(0,0,0,.5);
}
.hero-sub { margin: 1.6rem auto 0; max-width: 560px; font-size: clamp(1.05rem, 2vw, 1.3rem); color: #e7d8c8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.4rem; }

.scroll-cue {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 2px solid rgba(247,237,227,.4); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue-line { width: 3px; height: 9px; border-radius: 3px; background: var(--ember-gold); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ============================================================
   VÍDEO INSTITUCIONAL
   ============================================================ */
.institucional { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.institucional-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.institucional-text .section-title { margin-top: .2rem; }
.institucional-text .lead { margin-top: 1.4rem; }

.video-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  aspect-ratio: 16 / 9; background: #000;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 78px; height: 78px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-fire); color: #1a0c05; border-radius: 50%;
  box-shadow: 0 10px 40px -8px rgba(255,122,26,.7);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.video-play:hover { transform: scale(1.08); }
.video-play.is-hidden { opacity: 0; pointer-events: none; transform: scale(.7); }
.video-play::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); animation: ripple 2.2s infinite;
}
@keyframes ripple { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ============================================================
   AO VIVO
   ============================================================ */
.ao-vivo { text-align: center; overflow: hidden; background: var(--bg-2); }
.ao-vivo-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 120% at 50% 0%, rgba(225,29,42,.22), transparent 60%);
}
.ao-vivo-inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.live-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem; border-radius: var(--radius-pill);
  background: rgba(225,29,42,.14); border: 1px solid rgba(225,29,42,.35);
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #ffb4ab;
  margin-bottom: 1.4rem;
}
.ao-vivo .section-title { margin-bottom: 1.2rem; }
.ao-vivo .btn { margin-top: 2rem; }

/* ============================================================
   HORÁRIOS
   ============================================================ */
.horarios { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.horarios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.horario-card {
  position: relative; padding: 2.4rem 2rem; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line); text-align: center;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.horario-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-fire); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.horario-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.horario-card:hover::before { transform: scaleX(1); }
.horario-icon {
  width: 60px; height: 60px; margin: 0 auto 1.4rem; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ember-gold); background: rgba(231,178,76,.1); border: 1px solid var(--line);
}
.horario-time {
  display: block; font-family: var(--font-serif); font-size: 2.5rem; font-weight: 600;
  line-height: 1; margin-bottom: .7rem;
  background: var(--grad-fire-soft); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.horario-name { font-size: 1.15rem; font-weight: 600; color: var(--on-dark); margin-bottom: .6rem; }
.horario-desc { font-size: .98rem; color: var(--text-dim); }

/* ============================================================
   NOSSO LEMA (foto fullbleed)
   ============================================================ */
.lema { min-height: 64vh; display: flex; align-items: center; overflow: hidden; text-align: center; }
.lema-bg { position: absolute; inset: 0; z-index: 0; }
.lema-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.lema-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(18,10,7,.78) 0%, rgba(18,10,7,.6) 50%, rgba(18,10,7,.82) 100%),
    radial-gradient(70% 70% at 50% 50%, rgba(225,29,42,.16), transparent 70%);
}
.lema-content { position: relative; z-index: 2; max-width: 820px; margin-inline: auto; }
.lema-title { font-size: clamp(2.1rem, 5.5vw, 3.8rem); margin-top: .3rem; }

/* ============================================================
   NOSSA VISÃO (foto fullbleed, alinhada à esquerda)
   ============================================================ */
.visao { min-height: 68vh; display: flex; align-items: center; overflow: hidden; }
.visao-bg { position: absolute; inset: 0; z-index: 0; }
.visao-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.visao-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(18,10,7,.92) 0%, rgba(18,10,7,.7) 48%, rgba(18,10,7,.4) 100%),
    linear-gradient(180deg, rgba(18,10,7,.55), rgba(18,10,7,.55));
}
.visao-content { position: relative; z-index: 2; max-width: 720px; }
.visao-title { font-size: clamp(2.1rem, 5.5vw, 3.8rem); }
.visao-content .lead { margin-top: 1.4rem; max-width: 560px; }

/* ============================================================
   MISSÃO
   ============================================================ */
.missao { background: var(--bg); }
.missao-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: missao; }
.missao-card {
  padding: 2rem 1.6rem; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(30,18,13,.4) 100%);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.missao-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.missao-num {
  display: block; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600;
  color: var(--ember-orange); margin-bottom: 1rem;
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); background: rgba(255,122,26,.08);
}
.missao-card p { font-size: 1.1rem; font-weight: 500; color: var(--text); line-height: 1.4; }

/* ============================================================
   VALORES (acróstico CADES)
   ============================================================ */
.valores { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.valores-list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: .75rem; }
.valor-row {
  display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 1.5rem;
  padding: 1.4rem 1.8rem; border-radius: var(--radius);
  background: rgba(30,18,13,.5); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.valor-row:hover { transform: translateX(6px); border-color: var(--line-strong); background: rgba(42,24,18,.7); }
.valor-letter {
  font-family: var(--font-serif); font-size: 3rem; font-weight: 700; line-height: 1; text-align: center;
  background: var(--grad-fire); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.valor-word { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--on-dark); grid-column: 2; }
.valor-text { grid-column: 2; font-size: 1rem; color: var(--text-dim); margin-top: .1rem; }
.valor-row { grid-template-areas: "letter word" "letter text"; }
.valor-letter { grid-area: letter; }

/* ============================================================
   COMPROMISSO DO MEMBRO
   ============================================================ */
.compromisso { background: var(--bg-2); }
.compromisso-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 960px; margin-inline: auto; }
.compromisso-card {
  position: relative; padding: 2.2rem 2rem 2.2rem 2rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.compromisso-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.compromisso-num {
  position: absolute; top: 1rem; right: 1.4rem;
  font-family: var(--font-serif); font-size: 4.5rem; font-weight: 700; line-height: 1;
  color: rgba(231,178,76,.1);
}
.compromisso-card h3 { font-size: 1.25rem; font-weight: 600; color: var(--on-dark); margin-bottom: .7rem; position: relative; }
.compromisso-card p { color: var(--text-muted); position: relative; }

/* ============================================================
   PASTOR
   ============================================================ */
.pastor { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.pastor-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pastor-photo { position: relative; }
.pastor-photo img {
  width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 5 / 6;
}
.pastor-photo-glow {
  position: absolute; inset: -20px -20px auto auto; width: 70%; height: 70%; z-index: -1;
  background: radial-gradient(circle, rgba(255,122,26,.35), transparent 70%); filter: blur(30px);
}
.pastor-text .lead { margin-top: 1.4rem; }
.pastor-text p { margin-top: 1.1rem; color: var(--text-muted); }
.pastor-sign { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--ember-gold-soft); margin-top: 1.6rem; }

/* ============================================================
   CÉLULAS (foto fullbleed)
   ============================================================ */
.celulas { overflow: hidden; }
.celulas-bg { position: absolute; inset: 0; z-index: 0; }
.celulas-bg img { width: 100%; height: 100%; object-fit: cover; }
.celulas-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(18,10,7,.8) 0%, rgba(18,10,7,.7) 50%, rgba(18,10,7,.92) 100%),
    radial-gradient(80% 60% at 50% 50%, rgba(225,29,42,.18), transparent 70%);
}
.celulas-content { position: relative; z-index: 2; max-width: 780px; margin-inline: auto; text-align: center; }
.celulas-content .section-title { margin-bottom: 1.4rem; }
.celulas-content p { margin-top: 1rem; }
.celulas-content .btn { margin-top: 2.2rem; }

/* ============================================================
   CONTATO
   ============================================================ */
.contato { background: var(--bg); }
.contato-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: stretch; }
.contato-map {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); min-height: 380px;
}
.contato-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.3) contrast(1.05) brightness(.85); }

.contato-info { display: flex; flex-direction: column; gap: 1rem; }
.contato-item {
  display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem 1.6rem;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.contato-item:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface-2); }
.contato-ic {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ember-gold); background: rgba(231,178,76,.1); border: 1px solid var(--line);
}
.contato-meta { display: flex; flex-direction: column; gap: .2rem; }
.contato-meta strong { color: var(--on-dark); font-size: 1.05rem; font-weight: 600; }
.contato-meta span { color: var(--text-dim); font-size: .95rem; }

.contato-social { margin-top: auto; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contato-social-label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem; }
.social-row { display: flex; gap: .8rem; }
.social-btn {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); border: 1px solid var(--line); background: rgba(255,255,255,.02);
  transition: transform .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.social-btn:hover { color: var(--on-dark); border-color: var(--ember-orange); background: rgba(255,122,26,.12); transform: translateY(-3px); }
.social-btn.sm { width: 42px; height: 42px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-3); border-top: 1px solid var(--line); position: relative; z-index: 2; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 3rem; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; max-width: 320px; }
.footer-logo { height: 46px; width: auto; align-self: flex-start; object-fit: contain; }
.footer-motto { font-family: var(--font-serif); font-style: italic; color: var(--ember-gold-soft); font-size: 1.05rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { color: var(--text-muted); font-size: .96rem; transition: color .2s var(--ease); }
.footer-nav a:hover { color: var(--ember-orange); }
.footer-social { display: flex; gap: .7rem; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.4rem; text-align: center; display: flex; flex-direction: column; gap: .35rem; align-items: center; }
.footer-bottom p { color: var(--text-dim); font-size: .88rem; }
.footer-credit a { color: var(--ember-gold-soft); font-weight: 600; transition: color .2s var(--ease); }
.footer-credit a:hover { color: var(--ember-orange); }

/* ---------- Divisor ornamental (chama) ---------- */
.flame-divider {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  width: 100%; padding: 0 1.5rem;
  position: relative; z-index: 2;
  /* mesmo fundo das seções vizinhas para não aparecer uma faixa de cor diferente */
  background: var(--bg-2);
}
.flame-divider-line {
  height: 1px; flex: 1; max-width: 180px;
  background: linear-gradient(90deg, transparent, var(--line-strong));
}
.flame-divider-line:last-child { background: linear-gradient(90deg, var(--line-strong), transparent); }
.flame-divider svg { filter: drop-shadow(0 0 10px rgba(255,122,26,.5)); animation: flameFlicker 2.4s ease-in-out infinite; }
@keyframes flameFlicker {
  0%, 100% { transform: scale(1) rotate(-1deg); opacity: .92; }
  50% { transform: scale(1.08) rotate(1deg); opacity: 1; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 980px) {
  .institucional-grid { grid-template-columns: 1fr; }
  .pastor-grid { grid-template-columns: 1fr; }
  .pastor-photo { max-width: 440px; margin-inline: auto; }
  .contato-grid { grid-template-columns: 1fr; }
  .missao-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.8rem;
    padding: 5rem 2.4rem; background: rgba(20,11,7,.97); backdrop-filter: blur(18px);
    border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .4s var(--ease);
    z-index: 110;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { font-size: 1.15rem; }
  .nav-menu a:not(.btn)::after { display: none; }
  .nav-cta-item { margin-top: .5rem; }
}

@media (max-width: 680px) {
  .horarios-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .compromisso-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  /* Seções com foto (Lema/Visão): altura baseada em padding (sem vh) para
     o texto ficar agrupado com a imagem e não "flutuar" no meio da tela */
  .lema, .visao { min-height: 0; padding-block: clamp(4rem, 15vw, 6rem); }
  .lema-title { font-size: clamp(1.9rem, 7.6vw, 2.6rem); }
  .visao-title { font-size: clamp(1.9rem, 7.6vw, 2.6rem); }
  .lema-bg img, .visao-bg img { object-position: center; transform: none; }
  /* No mobile o gradiente lateral da Visão vira vertical (fica mais legível) */
  .visao-overlay {
    background:
      linear-gradient(180deg, rgba(18,10,7,.6) 0%, rgba(18,10,7,.82) 100%),
      linear-gradient(0deg, rgba(18,10,7,.35), rgba(18,10,7,.35));
  }
  .visao-content .lead { max-width: 100%; }
}

@media (max-width: 460px) {
  .container { padding-inline: 1.2rem; }
  .missao-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .valor-row { grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.2rem 1.3rem; }
  .valor-letter { font-size: 2.4rem; }
  .hero-actions .btn { width: 100%; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .embers { display: none; }
  .hero-video { display: none; }
  .scroll-cue-line { animation: none; }
}
