/* =========================================================
   2ª Igreja Batista do Cabo — Cabo de Santo Agostinho / PE
   Folha de estilos principal
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #121212;
  --navy-800: #1b1b1b;
  --navy-700: #2a2a2a;
  --gold: #c42028;
  --gold-bright: #d62b2f;
  --gold-soft: #f7dbdd;
  --red-light: #e4676a;
  --cream: #faf6f0;
  --sand: #f2e9e1;
  --sand-deep: #eadfd4;
  --line: #e4d7cb;
  --ink: #1a1a1a;
  --muted: #6b6662;
  --white: #ffffff;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(17, 17, 17, 0.05);
  --shadow-md: 0 18px 40px -28px rgba(17, 17, 17, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(17, 17, 17, 0.55);
  --radius: 20px;
  --container: 1180px;
  --header-h: 78px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
iframe { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy-800);
  letter-spacing: -0.01em;
}

p { line-height: 1.72; }

::selection { background: var(--gold-soft); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] { display: none !important; }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  background: var(--navy-800);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 12px; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a31820;
  margin-bottom: 6px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 32, 40, 0.16);
}

.eyebrow-light { color: var(--red-light); }
.eyebrow-light .eyebrow-dot { background: var(--red-light); box-shadow: 0 0 0 4px rgba(228, 103, 106, 0.15); }

.lead {
  font-size: clamp(1.02rem, 1.25vw, 1.14rem);
  line-height: 1.72;
  color: #d8d0ca;
  max-width: 56ch;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0.85rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.btn .icon { width: 18px; height: 18px; }

.btn-primary {
  background: var(--gold);
  color: #ffffff;
  box-shadow: 0 12px 26px -16px rgba(196, 32, 40, 0.85);
}

.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -16px rgba(196, 32, 40, 0.9);
}

.btn-outline-light {
  border-color: rgba(246, 233, 221, 0.38);
  color: #f6e9dd;
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(246, 233, 221, 0.08);
  border-color: rgba(246, 233, 221, 0.7);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border-color: #d6c9bf;
  color: var(--navy-800);
  background: transparent;
}

.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--navy-800);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy-800);
  color: var(--cream);
}

.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }

.btn-sm { min-height: 42px; padding: 0.65rem 1.15rem; font-size: 0.82rem; }

.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-700);
  transition: color 0.2s ease;
}

.text-link .icon { width: 16px; height: 16px; transition: transform 0.2s ease; }

.text-link:hover { color: #a31820; }
.text-link:hover .icon { transform: translateX(3px); }

.text-link-light { color: #f0d9c7; }
.text-link-light:hover { color: #fff4e8; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 246, 240, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 215, 203, 0.75);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled { box-shadow: 0 12px 34px -24px rgba(17, 17, 17, 0.45); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  object-fit: cover;
  box-shadow: 0 6px 18px -10px rgba(17, 17, 17, 0.6);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy-800);
}

.brand-text span {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav-desktop { margin-left: auto; }

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
}

.nav-desktop a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: #332f2c;
  transition: color 0.2s ease;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-desktop a:hover { color: var(--navy-800); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { width: 100%; }
.nav-desktop a.is-active { color: var(--navy-800); font-weight: 600; }

.header-cta { flex: none; }

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--navy-800);
  margin-left: auto;
  transition: background 0.2s ease;
}

.nav-toggle:hover { background: var(--sand); }
.nav-toggle .icon { width: 22px; height: 22px; }

/* ---------- Menu mobile ---------- */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-open .nav-scrim {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  width: min(380px, 90vw);
  padding: 22px 24px 28px;
  background: var(--navy-900);
  color: var(--cream);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.4s;
  overflow-y: auto;
}

.nav-open .mobile-menu { transform: none; visibility: visible; }

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(246, 233, 221, 0.14);
}

.mobile-menu-head img { border-radius: 50%; box-shadow: 0 0 0 1px rgba(246, 233, 221, 0.4); }

.mobile-menu-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(246, 233, 221, 0.25);
  border-radius: 12px;
  background: transparent;
  color: var(--cream);
}

.mobile-menu-close:hover { background: rgba(246, 233, 221, 0.1); }

.mobile-menu nav { padding: 12px 0; }

.mobile-menu nav a {
  display: block;
  padding: 13px 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: #eee0d3;
  border-bottom: 1px solid rgba(246, 233, 221, 0.09);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-menu nav a:hover { color: var(--gold); padding-left: 6px; }

.mobile-menu-foot { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(246, 233, 221, 0.14); }
.mobile-menu-foot p { font-size: 0.85rem; color: #a39b95; margin-bottom: 16px; line-height: 1.7; }
.mobile-menu-foot .btn { width: 100%; }

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(150, 30, 35, 0.45) 0%, transparent 55%),
    linear-gradient(160deg, #211a1a 0%, #141212 55%, #121212 100%);
  color: var(--cream);
  padding: clamp(52px, 7vw, 88px) 0 clamp(64px, 8vw, 104px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(246, 233, 221, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.hero-copy h1 {
  margin: 18px 0 24px;
  color: #fbf3ec;
  font-size: clamp(2.7rem, 5.4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--red-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 30px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 233, 221, 0.16);
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #d8d0ca;
}

.hero-meta .icon { width: 17px; height: 17px; color: var(--red-light); }

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0 12px;
}

.hero-media::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(196, 32, 40, 0.32);
  border-radius: 240px 240px 28px 28px;
  transform: translate(calc(-50% + 20px), 20px);
}

.arch-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  border-radius: 240px 240px 28px 28px;
  overflow: hidden;
  border: 1px solid rgba(246, 233, 221, 0.28);
  box-shadow: var(--shadow-lg);
}

.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.arch-frame:hover img { transform: scale(1.035); }

.floating-card {
  position: absolute;
  left: -6px;
  bottom: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px 13px 13px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.55);
}

.floating-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: #a31820;
}

.floating-icon .icon { width: 21px; height: 21px; }

.floating-card strong {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.floating-card span { font-size: 0.95rem; font-weight: 600; color: var(--navy-800); }

.hero-glow {
  position: absolute;
  right: -8%;
  bottom: -35%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(196, 32, 40, 0.16) 0%, transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}

/* ---------- Seções ---------- */
.section { padding: clamp(68px, 8.5vw, 112px) 0; }

.section-sand { background: var(--sand); }

.section-head {
  max-width: 730px;
  margin: 0 auto clamp(38px, 4.5vw, 56px);
  text-align: center;
}

.section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3.5vw, 2.95rem);
}

.section-head .section-lead {
  margin-top: 16px;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.72;
}

.section-action {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

/* ---------- Sobre ---------- */
.split {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.split-main h2 { margin: 14px 0 22px; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.split-main p { color: var(--muted); margin-bottom: 16px; }

.checklist {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.94rem;
  font-weight: 500;
  color: #332f2c;
}

.checklist .icon {
  width: 14px;
  height: 14px;
  padding: 4px;
  box-sizing: content-box;
  color: #a31820;
  background: rgba(196, 32, 40, 0.16);
  border-radius: 50%;
  stroke-width: 2.4;
}

.split-aside { display: grid; gap: 18px; }

.verse-card {
  position: relative;
  overflow: hidden;
  padding: 38px 34px 32px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(196, 32, 40, 0.18) 0%, transparent 55%),
    var(--navy-800);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}

.verse-mark {
  position: absolute;
  top: -28px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.28;
}

.verse-card blockquote {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.45;
  color: #f7ebdf;
}

.verse-card figcaption {
  margin-top: 18px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.mission-card {
  padding: 28px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.mission-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--gold-soft);
  color: #a31820;
  margin-bottom: 16px;
}

.mission-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.mission-card p { font-size: 0.92rem; color: var(--muted); }

.mission-since {
  margin-top: 12px;
  font-size: 0.7rem !important;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a31820 !important;
}

/* ---------- Horários ---------- */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.schedule-card {
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.schedule-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.schedule-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--sand);
  color: #a31820;
}

.schedule-icon .icon { width: 22px; height: 22px; }

.schedule-day {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.schedule-time {
  margin: 20px 0 10px;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy-800);
}

.schedule-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.schedule-card p:not(.schedule-time) { font-size: 0.92rem; color: var(--muted); }

.schedule-card-featured {
  background:
    radial-gradient(130% 100% at 100% 0%, rgba(196, 32, 40, 0.22) 0%, transparent 55%),
    var(--navy-800);
  border-color: transparent;
  color: var(--cream);
  box-shadow: 0 32px 60px -40px rgba(17, 17, 17, 0.9);
}

.schedule-card-featured:hover { box-shadow: 0 40px 70px -40px rgba(17, 17, 17, 0.95); }
.schedule-card-featured .schedule-icon { background: rgba(246, 233, 221, 0.12); color: var(--red-light); }
.schedule-card-featured .schedule-day { color: #bcb4ae; }
.schedule-card-featured .schedule-time { color: var(--red-light); }
.schedule-card-featured h3 { color: var(--cream); }
.schedule-card-featured p:not(.schedule-time) { color: #cfc7c1; }

.schedule-note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Ministérios ---------- */
.ministry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ministry-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ministry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 32, 40, 0.55);
  box-shadow: var(--shadow-md);
}

.ministry-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sand);
  color: #a31820;
  margin-bottom: 20px;
}

.ministry-icon .icon { width: 23px; height: 23px; }

.ministry-card h3 { font-size: 1.15rem; margin-bottom: 9px; }
.ministry-card p { font-size: 0.92rem; color: var(--muted); }
.ministry-card .text-link { margin-top: auto; padding-top: 18px; }

/* ---------- Liderança ---------- */
.leadership {
  display: grid;
  grid-template-columns: 0.72fr 1.55fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: clamp(38px, 4.5vw, 54px);
  border-top: 1px solid var(--line);
}

.leadership-head h3 { font-size: clamp(1.4rem, 2vw, 1.65rem); margin: 8px 0 10px; }
.leadership-head > p:not(.eyebrow) { font-size: 0.9rem; color: var(--muted); }

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.leader-card {
  padding: 22px 20px;
  background: var(--sand);
  border: 1px solid rgba(228, 215, 203, 0.8);
  border-radius: 16px;
}

.leader-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold);
}

.leader-avatar .icon { width: 21px; height: 21px; }

.leader-avatar.leader-photo {
  width: 72px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  background: var(--sand);
}

.leader-avatar.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.leader-card h4 {
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-800);
}

.leader-name {
  margin-bottom: 8px;
  font-size: 0.74rem !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #a31820 !important;
}

.leader-name a { color: inherit; text-decoration: none; }
.leader-name a:hover { color: var(--navy-800); text-decoration: underline; text-underline-offset: 2px; }

.leader-card p:last-child { font-size: 0.8rem; line-height: 1.55; color: var(--muted); }

/* ---------- Agenda ---------- */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.event-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.event-date {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 76px;
  border-radius: 14px;
  background: var(--navy-800);
  color: var(--cream);
  text-align: center;
}

.event-day {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 600;
}

.event-month {
  margin-top: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.event-body { min-width: 0; }
.event-body h3 { font-size: 1.12rem; margin: 9px 0 6px; }
.event-body p { font-size: 0.88rem; color: var(--muted); }

.event-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px !important;
  font-size: 0.78rem !important;
  font-weight: 600;
  color: #6b7a80 !important;
}

.event-meta .icon { width: 15px; height: 15px; color: #b02a31; }

.tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #a31820;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tag-teal { background: #f0d9d4; color: #8c2f28; }

/* ---------- Sermões ---------- */
.sermon-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 26px;
  align-items: start;
}

.sermon-feature {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.sermon-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-800);
}

.sermon-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.sermon-thumb-photo img { object-position: center 28%; }
.sermon-thumb:hover img { transform: scale(1.04); }

.video-facade {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 8, 0.5) 0%, transparent 55%);
}

.video-facade .play-button,
.video-facade .sermon-duration { z-index: 2; }

.sermon-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(250, 246, 240, 0.94);
  color: var(--navy-800);
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 34px -14px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.play-button .icon { width: 26px; height: 26px; margin-left: 3px; }
.sermon-thumb:hover .play-button { transform: translate(-50%, -50%) scale(1.08); background: var(--gold); color: #ffffff; }

.sermon-duration {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.72);
  color: #f6e9dd;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}

.sermon-body { padding: 28px 30px 30px; }
.sermon-body h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); margin: 12px 0 10px; }
.sermon-body > p { color: var(--muted); font-size: 0.95rem; }

.sermon-meta {
  margin-top: 12px !important;
  font-size: 0.78rem !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a31820 !important;
}

.sermon-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 22px;
}

.sermon-list { display: flex; flex-direction: column; gap: 12px; }

.instagram-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.instagram-avatar {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(228, 215, 203, 0.9);
}

.instagram-card-text { display: flex; flex-direction: column; min-width: 0; }
.instagram-card-text strong { font-family: var(--font-body); font-size: 0.95rem; color: var(--navy-800); line-height: 1.2; }
.instagram-card-text span { font-size: 0.75rem; color: var(--muted); }
.instagram-card .btn { margin-left: auto; flex: none; }

.youtube-card .instagram-card-text strong { font-size: 0.8rem; }
.youtube-card { flex-wrap: wrap; }

.sermon-row-topic { padding: 12px 16px; }

.sermon-topic-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--sand);
  color: #a31820;
}

.sermon-topic-icon .icon { width: 20px; height: 20px; }

.sermon-note {
  margin-top: 4px;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.sermon-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px 11px 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.sermon-row:hover {
  border-color: rgba(196, 32, 40, 0.6);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

.sermon-row img {
  width: 86px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex: none;
}

.sermon-row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sermon-row-text strong { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy-800); line-height: 1.25; }
.sermon-row-text span { font-size: 0.78rem; color: var(--muted); }

.sermon-row-icon { width: 22px; height: 22px; color: var(--gold); margin-left: auto; }

.sermon-subscribe {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding: 16px 18px;
  border: 1px dashed #d8c3bc;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
}

.sermon-subscribe .icon { width: 24px; height: 24px; color: #a23c3c; }
.sermon-subscribe p { font-size: 0.84rem; color: var(--muted); }

/* ---------- Galeria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-800);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease, opacity 0.3s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 8, 0.78) 0%, rgba(10, 8, 8, 0.08) 48%, transparent 100%);
  transition: opacity 0.3s ease;
}

.gallery-item:hover img { transform: scale(1.055); }
.gallery-item:hover::after { opacity: 0.85; }
.gallery-item-photo img { object-position: center 28%; }

.gallery-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: #f8ebdd;
  font-size: 0.84rem;
  font-weight: 500;
  text-align: left;
  letter-spacing: 0.01em;
}

.gallery-note {
  margin-top: 18px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- Dízimos ---------- */
.give {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(196, 32, 40, 0.14) 0%, transparent 55%),
    linear-gradient(150deg, #1b1b1b 0%, #121212 100%);
  color: var(--cream);
}

.give-grid {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.give-copy h2 { color: var(--cream); margin: 12px 0 18px; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.give-copy > p { color: #d3cbc5; }

.give-verse {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ede3d8;
}

.give-verse cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.pix-card {
  padding: clamp(24px, 3vw, 32px);
  background: var(--cream);
  color: var(--ink);
  border-radius: 22px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.pix-head { display: flex; align-items: center; gap: 14px; }

.pix-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--gold-soft);
  color: #a31820;
  flex: none;
}

.pix-icon .icon { width: 24px; height: 24px; }
.pix-head h3 { font-size: 1.25rem; margin-bottom: 2px; }
.pix-head p { font-size: 0.82rem; color: var(--muted); }

.pix-field {
  margin-top: 24px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.pix-label {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.pix-value-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.pix-value-row code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--navy-800);
  word-break: break-all;
  line-height: 1.4;
}

.btn-copy {
  flex: none;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: var(--navy-800);
  color: var(--cream);
  font-size: 0.76rem;
  gap: 6px;
}

.btn-copy .icon { width: 15px; height: 15px; }
.btn-copy:hover { background: var(--navy-700); transform: translateY(-1px); }
.btn-copy.is-copied { background: #1c6b4a; }

.pix-qr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.pix-qr-box {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  flex: none;
  border: 1.5px dashed #d8c3bc;
  border-radius: 14px;
  background: var(--white);
  color: #8a817c;
}

.pix-qr-box .icon { width: 30px; height: 30px; }
.pix-qr p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.pix-qr strong { display: block; color: var(--ink); font-size: 0.86rem; }

.pix-note {
  margin-top: 18px;
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--muted);
}

.pix-note strong { color: var(--ink); }

.pix-card .text-link { margin-top: 16px; font-size: 0.82rem; }

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 4.5vw, 56px);
  align-items: start;
}

.contact-list { display: flex; flex-direction: column; gap: 26px; }

.contact-list li { display: flex; gap: 16px; }

.contact-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: var(--sand);
  color: #a31820;
}

.contact-icon .icon { width: 21px; height: 21px; }

.contact-list h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-list p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.contact-list p a { color: var(--navy-700); font-weight: 500; }
.contact-list p a:hover { color: #a31820; }
.contact-list .text-link { margin-top: 7px; }
.contact-hint { font-size: 0.78rem !important; margin-top: 4px; }

.social-block { margin-top: 32px; }
.social-block h3 { font-size: 0.98rem; margin-bottom: 12px; }

.social-links { display: flex; gap: 10px; }

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy-700);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.social-links a:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--cream);
  transform: translateY(-2px);
}

.social-links .icon { width: 19px; height: 19px; }

.map-wrap {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--sand);
}

.map-wrap iframe { width: 100%; height: 265px; border: 0; filter: saturate(0.9); }

.contact-form-wrap {
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { margin-bottom: 16px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #33454f;
}

.field label span { color: #b02a31; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fdfbf6;
  border: 1px solid #ded3c0;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea { resize: vertical; min-height: 130px; }

.field input::placeholder,
.field textarea::placeholder { color: #9a918b; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 32, 40, 0.16);
}

.field-consent { margin: 4px 0 20px; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--navy-700);
}

.checkbox a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 2px; }

.form-status { margin-top: 12px; font-size: 0.84rem; min-height: 1.25em; }
.form-status.is-success { color: #1c6b4a; }
.form-status.is-error { color: #a33a2c; }

/* ---------- Visita ---------- */
.visit {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 84px) 0;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(196, 32, 40, 0.28) 0%, transparent 60%),
    var(--sand-deep);
}

.visit::before,
.visit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(163, 24, 32, 0.18);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}

.visit::before { width: 380px; height: 380px; left: -120px; bottom: -220px; }
.visit::after { width: 280px; height: 280px; right: -90px; top: -150px; border-radius: 50%; }

.visit-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 64px);
}

.visit h2 { margin: 10px 0 12px; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.visit p { max-width: 54ch; color: #5c5550; font-size: 0.98rem; }

.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #b9c6cc;
  padding: clamp(52px, 6vw, 72px) 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr 0.95fr 1fr;
  gap: clamp(28px, 4vw, 48px);
}

.brand-light .brand-text strong { color: var(--cream); }
.brand-light .brand-text span { color: #a39b95; }

.footer-brand > p {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #b3aba5;
}

.social-links-light { margin-top: 20px; }

.social-links-light a {
  background: rgba(246, 233, 221, 0.06);
  border-color: rgba(246, 233, 221, 0.16);
  color: #e3dbd5;
}

.social-links-light a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }

.footer-col h3 {
  margin-bottom: 16px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 0.88rem;
  color: #bdb5af;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--gold); }

.footer-schedule li { font-size: 0.84rem; color: #b3aba5; line-height: 1.5; }
.footer-schedule span {
  display: block;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #b3aba5;
}

.footer-contact .icon { width: 16px; height: 16px; color: var(--gold); margin-top: 3px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 233, 221, 0.12);
  font-size: 0.76rem;
  color: #8f8781;
}

.footer-legal a { color: #bdb5af; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--gold); }

/* ---------- Botão flutuante do Instagram ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #c42028;
  color: #ffffff;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 22px 38px -14px rgba(0, 0, 0, 0.55); }
.whatsapp-float .icon { width: 27px; height: 27px; stroke-width: 1.9; }

.instagram-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.instagram-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 22px 38px -14px rgba(0, 0, 0, 0.55); }
.instagram-float .icon { width: 26px; height: 26px; stroke-width: 1.9; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: hidden;
}

.lightbox::backdrop { background: rgba(8, 8, 8, 0.94); }

.lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 64px 72px;
}

.lightbox figure { margin: 0; text-align: center; max-width: 100%; }

.lightbox img {
  width: min(1100px, 88vw);
  height: auto;
  max-height: 76vh;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.lightbox figcaption {
  margin-top: 16px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: #ddd2c6;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(246, 233, 221, 0.28);
  border-radius: 50%;
  background: rgba(12, 12, 12, 0.6);
  color: var(--cream);
}

.lightbox-close:hover { background: rgba(246, 233, 221, 0.14); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(246, 233, 221, 0.28);
  border-radius: 50%;
  background: rgba(12, 12, 12, 0.6);
  color: var(--cream);
  transition: background 0.2s ease;
}

.lightbox-nav:hover { background: rgba(246, 233, 221, 0.16); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 140;
  max-width: min(90vw, 430px);
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--navy-800);
  color: var(--cream);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animações de entrada ---------- */
.js .reveal-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.7, 0.25, 1);
}

.js .reveal-group > *:nth-child(2) { transition-delay: 0.07s; }
.js .reveal-group > *:nth-child(3) { transition-delay: 0.14s; }
.js .reveal-group > *:nth-child(4) { transition-delay: 0.2s; }
.js .reveal-group > *:nth-child(5) { transition-delay: 0.26s; }
.js .reveal-group > *:nth-child(6) { transition-delay: 0.32s; }
.js .reveal-group > *:nth-child(7) { transition-delay: 0.37s; }

.js .reveal-group.is-in > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.85s cubic-bezier(0.22, 0.7, 0.25, 1) both;
  }

  .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.32s; }

  .hero-media { animation: rise 1s cubic-bezier(0.22, 0.7, 0.25, 1) 0.25s both; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal-group > * { opacity: 1; transform: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */

@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: grid; }
  .header-cta { margin-left: auto; }
  .nav-toggle { margin-left: 0; }

  .hero-grid { grid-template-columns: 1fr 0.85fr; gap: 40px; }
  .hero-copy h1 { font-size: clamp(2.5rem, 5vw, 3.6rem); }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 640px; }
  .hero-media { justify-content: flex-start; padding-left: 8px; }
  .hero-media::before,
  .arch-frame { width: min(100%, 380px); }
  .hero-media::before { left: 0; transform: translate(18px, 18px); }
  .floating-card { left: auto; right: 0; bottom: 18px; }

  .split { grid-template-columns: 1fr; }
  .split-aside { grid-template-columns: 1fr 1fr; }

  .schedule-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .agenda-grid { grid-template-columns: repeat(2, 1fr); }

  .ministry-grid { grid-template-columns: repeat(2, 1fr); }
  .leadership { grid-template-columns: 1fr; }
  .leadership-head { max-width: 560px; }

  .sermon-layout { grid-template-columns: 1fr; }

  .give-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap iframe { height: 300px; }

  .visit-inner { flex-direction: column; align-items: flex-start; }
  .visit-actions { width: 100%; }
}

@media (max-width: 720px) {
  :root { --header-h: 70px; }

  .brand-mark { width: 44px; height: 44px; }
  .brand-text strong { font-size: 0.92rem; }
  .brand-text span { font-size: 0.58rem; letter-spacing: 0.12em; }
  .header-cta { display: none; }
  .header-inner { gap: 12px; }

  .hero { padding-top: 44px; }
  .hero-copy h1 { font-size: clamp(2.25rem, 8.6vw, 3rem); }
  .hero-meta { gap: 12px 22px; margin-top: 30px; }

  .split-aside { grid-template-columns: 1fr; }

  .schedule-grid { grid-template-columns: 1fr; }
  .agenda-grid { grid-template-columns: 1fr; }
  .schedule-card { display: block; }
  .schedule-top { flex-direction: row; align-items: center; justify-content: space-between; }
  .schedule-time { margin: 20px 0 10px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .pix-value-row { flex-direction: column; align-items: stretch; }
  .btn-copy { justify-content: center; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .lightbox-inner { padding: 70px 14px 40px; }
  .lightbox-nav { top: auto; bottom: 16px; transform: none; }
  .lightbox-prev { left: calc(50% - 56px); }
  .lightbox-next { right: calc(50% - 56px); }
  .lightbox img { max-height: 68vh; }
}

/* ---------- Página de privacidade ---------- */
.page-legal { background: var(--cream); }

.legal-bar {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 246, 240, 0.95);
}

.legal-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.legal-main { padding: clamp(44px, 7vw, 76px) 0; }

.legal-container { max-width: 820px; }

.legal-main h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin: 10px 0 8px;
}

.legal-updated {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
}

.legal-main h2 {
  font-size: 1.32rem;
  margin: 38px 0 10px;
}

.legal-main p {
  color: #5c5550;
  margin-bottom: 14px;
  font-size: 0.96rem;
}

.legal-main ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  list-style: disc;
  color: #5c5550;
}

.legal-main li {
  margin-bottom: 6px;
  font-size: 0.94rem;
  line-height: 1.65;
}

.legal-main a {
  color: var(--navy-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-back {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .section { padding: 62px 0; }

  .legal-bar-inner { min-height: 64px; }
  .legal-bar .brand-text { display: none; }
  .legal-bar .text-link { font-size: 0.8rem; white-space: nowrap; }
  .header-cta { display: none; }

  .hero-media { justify-content: center; padding: 0; }
  .hero-media::before { left: 50%; transform: translate(calc(-50% + 14px), 14px); }
  .arch-frame { width: min(100%, 330px); }
  .hero-media::before { width: min(100%, 330px); }
  .floating-card { right: 4px; bottom: 12px; padding: 11px 14px 11px 11px; }

  .ministry-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .sermon-list { grid-template-columns: 1fr; }
  .sermon-body { padding: 22px; }
  .sermon-row img { width: 74px; height: 56px; }

  .gallery-grid { gap: 10px; }
  .gallery-caption { left: 12px; right: 12px; bottom: 10px; font-size: 0.76rem; }

  .visit-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-float { right: 16px; bottom: 16px; }
  .instagram-float { right: 16px; bottom: 16px; }
}
