/* Ministério Aprisco — tema claro e clean */
:root {
  --bg: #faf7f2;
  --bg-2: #f3eee6;
  --surface: #ffffff;
  --surface-soft: #f7f3ec;
  --line: rgba(92, 58, 40, 0.14);
  --line-strong: rgba(92, 58, 40, 0.28);
  --brown: #5c3a28;
  --brown-deep: #3d2618;
  --brown-soft: rgba(92, 58, 40, 0.08);
  --gold: #b8942e;
  --gold-light: #c9a84c;
  --gold-soft: rgba(184, 148, 46, 0.12);
  --text: #2a1f18;
  --text-soft: #5a4a3e;
  --text-dim: #8a7a6c;
  --white: #ffffff;
  --radius: 12px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 72px;
  --max: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 8px 28px rgba(61, 38, 24, 0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Contêineres de foto: proporção estável e altura controlada */
.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brown-deep);
}

ul {
  list-style: none;
}

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--brown-deep);
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  margin-bottom: 1rem;
}

h1 em {
  font-style: italic;
  color: var(--gold);
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.35rem;
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section--alt {
  background: var(--bg-2);
}

.section__head {
  max-width: 520px;
  margin-bottom: 2.75rem;
}

.section__head:has(.section__sub) {
  max-width: 560px;
}

.section__sub {
  margin-top: 0.75rem;
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 300;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(184, 148, 46, 0.25);
}

.btn--gold:hover {
  background: #a68428;
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--brown-deep);
}

.btn--ghost:hover {
  border-color: var(--brown);
  color: var(--brown-deep);
  background: var(--brown-soft);
}

.btn--full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 247, 242, 0.97);
  box-shadow: 0 4px 20px rgba(61, 38, 24, 0.05);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--brown-deep);
}

.logo:hover {
  color: var(--gold);
}

.logo__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--line-strong);
  box-shadow: 0 0 0 2px var(--brown-soft);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.logo__sub {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  color: var(--text-soft);
  font-size: 0.875rem;
  font-weight: 400;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--brown-deep);
  background: var(--brown-soft);
}

.nav__link--cta {
  margin-left: 0.35rem;
  background: var(--gold);
  color: var(--white) !important;
}

.nav__link--cta:hover {
  background: #a68428;
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Hero banner — full width com fade e slides */
.hero {
  padding: 0;
  margin: 0;
  background: var(--bg);
}

.hero__stage {
  position: relative;
  width: 100%;
  min-height: min(82vh, 680px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 8s ease-out;
  will-change: opacity, transform;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Véu escuro + dourado para legibilidade */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(18, 12, 9, 0.84) 0%,
      rgba(18, 12, 9, 0.68) 40%,
      rgba(18, 12, 9, 0.35) 70%,
      rgba(18, 12, 9, 0.22) 100%
    ),
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(184, 148, 46, 0.14), transparent 65%);
}

.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none;
}

.hero__fade--top {
  top: 0;
  height: calc(var(--header-h) + 3.5rem);
  background: linear-gradient(
    to bottom,
    rgba(18, 12, 9, 0.55) 0%,
    rgba(18, 12, 9, 0.2) 55%,
    transparent 100%
  );
}

.hero__fade--bottom {
  bottom: 0;
  height: clamp(100px, 24vw, 180px);
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(250, 247, 242, 0.92) 28%,
    rgba(250, 247, 242, 0.45) 62%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 4;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding:
    calc(var(--header-h) + 3rem)
    0
    clamp(4rem, 9vw, 5.75rem);
  box-sizing: border-box;
}

.hero__text {
  max-width: min(34rem, 100%);
  color: #fffdf8;
  padding: 0.15rem 0.1rem;
  animation: heroFadeUp 1s var(--ease) both;
}

.hero__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 0.9rem;
  animation: heroFadeUp 0.9s var(--ease) 0.1s both;
}

.hero__welcome {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 253, 248, 0.9);
  margin: 0 0 0.4rem;
  letter-spacing: 0.02em;
  animation: heroFadeUp 0.95s var(--ease) 0.18s both;
}

.hero__text h1 {
  color: #fffdf8;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  margin: 0 0 1rem;
  line-height: 1.15;
  word-wrap: break-word;
  overflow-wrap: break-word;
  animation: heroFadeUp 1s var(--ease) 0.26s both;
}

.hero__text h1 em {
  color: var(--gold-light);
}

.hero__tagline {
  color: rgba(255, 253, 248, 0.86);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 36ch;
  margin: 0 0 1.75rem;
  line-height: 1.7;
  animation: heroFadeUp 1s var(--ease) 0.34s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  animation: heroFadeUp 1s var(--ease) 0.42s both;
}

.btn--hero-ghost {
  background: rgba(255, 253, 248, 0.08);
  border: 1.5px solid rgba(255, 253, 248, 0.45);
  color: #fffdf8;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn--hero-ghost:hover {
  background: rgba(255, 253, 248, 0.16);
  border-color: #fffdf8;
  color: #fffdf8;
}

.hero__dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: clamp(1rem, 2.5vw, 1.5rem);
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.35rem 0.5rem;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 253, 248, 0.4);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.hero__dot.is-active {
  width: 22px;
  background: var(--gold-light);
}

.hero__dot:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

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

/* Strip */
.strip {
  padding: 2rem 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.strip__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 720px;
}

.strip__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
}

.strip p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.5;
}

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.about__visual {
  max-width: 280px;
  width: 100%;
}

.about__logo {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: #1a0f0a;
}

.about__body p {
  color: var(--text-soft);
  margin-bottom: 1rem;
  font-weight: 300;
}

.about__body strong {
  color: var(--brown-deep);
  font-weight: 500;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta__label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.meta__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
}

/* Leadership */
.leaders-feature {
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  margin-bottom: 1.75rem;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 0;
}

.leaders-feature__photo {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-soft);
}

.leaders-feature__photo img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center 25%;
}

.leaders-feature__info {
  padding: 1.5rem 1.75rem 1.5rem 0.5rem;
}

.leaders-feature__badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

.leaders-feature__info h3 {
  font-size: 1.45rem;
  margin-bottom: 0.15rem;
}

.leaders-feature__role {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.leaders-feature__info h3 + .leaders-feature__role + h3 {
  margin-top: 0.25rem;
}

.leaders-feature__text {
  color: var(--text-soft);
  font-weight: 300;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  max-width: 36ch;
}

.leaders-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.leader-group {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.leader-group__title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 1rem;
}

.leader-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.leader-list li {
  color: var(--text-soft);
  font-weight: 300;
  padding-left: 0.9rem;
  position: relative;
}

.leader-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.85;
}

.leader-group__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 300;
}

/* Ministries */
.ministry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ministry-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease;
}

.ministry-card:hover {
  border-color: var(--line-strong);
}

.ministry-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.ministry-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.ministry-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 300;
}

.celula-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
  align-items: stretch;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.celula-band__photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 260px;
  overflow: hidden;
  background: var(--surface-soft);
}

.celula-band__photo img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.celula-band__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.5rem 1.5rem 1.35rem;
  gap: 0.35rem;
}

.celula-band__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--line-strong);
  margin-bottom: 0.35rem;
}

.celula-band__text h3 {
  margin-bottom: 0.25rem;
}

.celula-band__text p {
  color: var(--text-soft);
  font-weight: 300;
  font-size: 0.95rem;
}

/* Agenda / Cultos */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.schedule-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease;
}

.schedule-card:hover {
  border-color: var(--line-strong);
}

.schedule-card--escola {
  border-color: var(--line-strong);
  background: linear-gradient(160deg, var(--surface) 0%, var(--gold-soft) 100%);
}

.schedule-card__day {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.schedule-card__time {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--brown-deep);
  margin: 0 0 0.45rem;
  line-height: 1.2;
}

.schedule-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}

.schedule-card__theme {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  margin: 0 0 0.45rem;
}

.schedule-card p {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 300;
}

.culto-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  max-width: 300px;
  width: 100%;
}

.culto-photo--full {
  max-width: 100%;
}

.culto-photo--full img {
  max-height: 280px;
  aspect-ratio: 21 / 9;
}

.culto-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
}

.culto-photo figcaption {
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 300;
  border-top: 1px solid var(--line);
}

.contact-item__map {
  margin-top: 0.4rem !important;
  font-size: 0.88rem;
}

/* PIX / Contribuição */
.pix {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 780px;
  margin-inline: auto;
}

.pix__card {
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.pix__qr {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1;
  height: auto;
  display: block;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  object-fit: contain;
  padding: 0.5rem;
}

.pix__caption {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.02em;
}

.pix__details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.pix__details p {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 300;
}

.pix__details strong {
  color: var(--brown-deep);
  font-weight: 500;
}

.pix__info h3 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.pix__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0 0 1.25rem;
  padding: 0;
  counter-reset: pix-step;
}

.pix__steps li {
  position: relative;
  padding-left: 2.4rem;
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.5;
  counter-increment: pix-step;
}

.pix__steps li::before {
  content: counter(pix-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--line-strong);
  color: var(--brown-deep);
  font-size: 0.8rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
}

.pix__steps strong {
  color: var(--brown-deep);
  font-weight: 500;
}

.pix__note {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 300;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1.55;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

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

.gallery__item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.gallery__item--wide {
  /* mesma altura das demais no grid de 3 colunas */
  grid-column: auto;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.03);
}

.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(42, 31, 24, 0.75), transparent);
  color: #fffdf8;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.gallery__item figcaption strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.gallery__item figcaption span {
  font-size: 0.78rem;
  opacity: 0.88;
  font-weight: 300;
}

.culto-feature__day {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--gold-soft);
  border-right: 1.5px solid var(--line);
  gap: 0.4rem;
}

.culto-feature__weekday {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brown-deep);
}

.culto-feature__label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.culto-feature__body {
  padding: 2rem 1.75rem;
}

.culto-feature__body h3 {
  margin-bottom: 0.35rem;
}

.culto-feature__theme {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.culto-feature__body p:last-child {
  color: var(--text-soft);
  font-weight: 300;
  font-size: 0.95rem;
}

/* Contact */
.contact {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.contact--simple {
  max-width: 520px;
  margin-inline: auto;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-item {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0.35rem;
}

.contact-item h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.contact-item p {
  color: var(--text-soft);
  font-weight: 300;
}

.contact-item a {
  font-weight: 500;
}

.btn--whatsapp {
  margin-top: 0.5rem;
  gap: 0.55rem;
  width: 100%;
}

/* WhatsApp flutuante */
.wpp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wpp-float:hover {
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

.footer__wpp {
  margin-top: 0.25rem;
}

.footer__wpp a {
  color: var(--text-dim);
  font-size: 0.82rem;
}

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

/* Footer */
.footer {
  border-top: 1.5px solid var(--line-strong);
  padding: 3rem 0 2rem;
  background: var(--bg-2);
}

.footer__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.footer__logo {
  width: min(140px, 40vw);
  max-height: 140px;
  object-fit: contain;
  margin: 0 auto 0.75rem;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #1a0f0a;
}

.footer__brand p {
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 300;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.25rem;
}

.footer__nav a {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.footer__nav a:hover {
  color: var(--brown-deep);
}

.footer__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  width: 100%;
}

.footer__mini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--line-strong);
  opacity: 0.9;
}

.footer__copy p {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ========== Tablet ========== */
@media (max-width: 900px) {
  .about,
  .contact,
  .leaders-groups,
  .leaders-feature,
  .ministry-grid,
  .pix {
    grid-template-columns: 1fr;
  }

  .pix {
    max-width: 420px;
    gap: 1.5rem;
    justify-items: center;
    text-align: center;
  }

  .pix__steps li {
    text-align: left;
  }

  .pix__qr {
    max-width: 260px;
  }

  .schedule-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery__item:first-child {
    grid-column: 1 / -1;
  }

  .hero__stage {
    min-height: min(76vh, 620px);
  }

  .hero__content {
    width: min(100% - 2.5rem, var(--max));
  }

  .about {
    justify-items: center;
  }

  .about__visual {
    max-width: 200px;
    margin-inline: auto;
  }

  .about__body {
    width: 100%;
  }

  .leaders-feature {
    max-width: 520px;
    margin-inline: auto;
  }

  .leaders-feature__photo {
    max-width: none;
    aspect-ratio: 16 / 10;
  }

  .leaders-feature__photo img {
    max-height: 240px;
  }

  .leaders-feature__info {
    padding: 0 1.25rem 1.5rem;
  }

  .culto-photo {
    max-width: 100%;
  }

  .culto-photo--full img {
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }
}

/* ========== Mobile (principal) ========== */
@media (max-width: 720px) {
  :root {
    --header-h: 60px;
    --radius: 10px;
  }

  html {
    scroll-padding-top: calc(var(--header-h) + 8px);
  }

  body {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  /* Header compacto */
  .header {
    height: var(--header-h);
    padding-top: env(safe-area-inset-top, 0);
  }

  .logo__icon {
    width: 34px;
    height: 34px;
  }

  .logo__name {
    font-size: 1.2rem;
  }

  .logo__sub {
    font-size: 0.58rem;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }

  /* Menu full-screen suave */
  .nav {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    bottom: auto;
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.75rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1.5px solid var(--line-strong);
    box-shadow: 0 16px 40px rgba(61, 38, 24, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.28s var(--ease), opacity 0.28s ease, visibility 0.28s;
  }

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

  .nav__link {
    padding: 0.95rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 0.35rem;
    justify-content: center;
  }

  /* Tipografia mobile */
  h1 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
    margin-bottom: 0.75rem;
  }

  h2 {
    font-size: clamp(1.55rem, 6.5vw, 1.95rem);
  }

  h3 {
    font-size: 1.15rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section__head {
    margin-bottom: 1.75rem;
    text-align: left;
    max-width: none;
  }

  .section__sub {
    font-size: 0.95rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    margin-bottom: 0.55rem;
  }

  /* Hero banner mobile — margens e respiro do texto */
  .hero__stage {
    min-height: min(78vh, 580px);
    min-height: min(78dvh, 580px);
    align-items: center;
  }

  .hero__veil {
    background:
      linear-gradient(
        180deg,
        rgba(18, 12, 9, 0.62) 0%,
        rgba(18, 12, 9, 0.76) 48%,
        rgba(18, 12, 9, 0.82) 100%
      ),
      radial-gradient(ellipse 90% 50% at 50% 20%, rgba(184, 148, 46, 0.12), transparent 60%);
  }

  .hero__content {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
    padding:
      calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2rem)
      0
      4.75rem;
    display: block;
  }

  .hero__text {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .hero__eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    margin: 0 0 0.75rem;
  }

  .hero__welcome {
    font-size: 1.1rem;
    margin: 0 0 0.35rem;
  }

  .hero__text h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    margin: 0 0 0.85rem;
    padding-right: 0.25rem;
  }

  .hero__tagline {
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 1.35rem;
    max-width: 100%;
    padding-right: 0.15rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    width: 100%;
    margin: 0;
  }

  .hero__actions .btn {
    width: 100%;
    padding: 0.85rem 0.7rem;
    font-size: 0.84rem;
    min-height: 48px;
  }

  .hero__dots {
    bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  }

  .hero__fade--bottom {
    height: 100px;
  }

  /* Strip */
  .strip {
    padding: 1.35rem 0;
  }

  .strip__inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .strip__icon {
    width: 40px;
    height: 40px;
  }

  .strip p {
    font-size: 1.05rem;
    padding-inline: 0.25rem;
  }

  /* Sobre */
  .about {
    gap: 1.25rem;
  }

  .about__visual {
    max-width: 160px;
  }

  .about__logo {
    max-height: 160px;
    border-radius: 10px;
  }

  .meta-row {
    gap: 1rem;
    margin-bottom: 1.15rem;
    padding-bottom: 1.15rem;
  }

  .meta__value {
    font-size: 1.1rem;
  }

  .about__body p {
    font-size: 0.92rem;
  }

  /* Liderança */
  .leaders-feature {
    max-width: 100%;
    margin-bottom: 1.15rem;
  }

  .leaders-feature__photo {
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 200px;
  }

  .leaders-feature__photo img {
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: cover;
    object-position: center 22%;
  }

  .leaders-feature__info {
    padding: 1rem 1rem 1.15rem;
  }

  .leaders-feature__info h3 {
    font-size: 1.2rem;
  }

  .leaders-feature__text {
    font-size: 0.9rem;
    max-width: none;
  }

  .leaders-groups {
    gap: 0.75rem;
  }

  .leader-group {
    padding: 1.15rem;
  }

  /* Ministérios */
  .ministry-grid {
    gap: 0.75rem;
  }

  .ministry-card {
    padding: 1.2rem 1.1rem;
  }

  .ministry-card p {
    font-size: 0.9rem;
  }

  .celula-band {
    grid-template-columns: 1fr;
  }

  .celula-band__photo {
    max-height: 200px;
    aspect-ratio: 16 / 10;
  }

  .celula-band__photo img {
    max-height: 200px;
  }

  .celula-band__text {
    padding: 1.1rem 1.1rem 1.25rem;
  }

  .celula-band__icon {
    width: 40px;
    height: 40px;
  }

  .celula-band__text h3 {
    font-size: 1.1rem;
  }

  .celula-band__text p {
    font-size: 0.88rem;
  }

  /* Cultos */
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .schedule-card {
    padding: 1.2rem 1.1rem;
  }

  .schedule-card__time {
    font-size: 1.4rem;
  }

  .culto-photo {
    max-width: 100%;
  }

  .culto-photo img,
  .culto-photo--full img {
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 190px;
    object-fit: cover;
  }

  /* Galeria — cards limpos em coluna */
  .gallery {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .gallery__item,
  .gallery__item--wide,
  .gallery__item:first-child {
    grid-column: auto;
    aspect-ratio: 16 / 10;
    max-height: 200px;
    width: 100%;
  }

  .gallery__item img,
  .gallery__item--wide img,
  .gallery__item:first-child img {
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: cover;
    object-position: center;
  }

  .gallery__item:hover img {
    transform: none; /* sem zoom em touch */
  }

  .gallery__item figcaption {
    padding: 1rem 0.85rem 0.7rem;
  }

  .gallery__item figcaption strong {
    font-size: 1rem;
  }

  .gallery__item figcaption span {
    font-size: 0.75rem;
  }

  /* Contato */
  .pix {
    max-width: 100%;
    gap: 1.25rem;
  }

  .pix__card {
    padding: 0.85rem;
    width: 100%;
    max-width: 300px;
  }

  .pix__qr {
    max-width: 240px;
    margin-inline: auto;
  }

  .pix__info {
    width: 100%;
    text-align: left;
  }

  .pix__info h3 {
    text-align: center;
  }

  .contact--simple {
    padding: 1.25rem 1.1rem;
  }

  .contact-item {
    padding: 0.95rem 0;
  }

  .btn--whatsapp {
    width: 100%;
    min-height: 50px;
  }

  .btn {
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
  }

  /* Footer + espaço para o botão flutuante */
  .footer {
    padding: 2.25rem 0 calc(5rem + env(safe-area-inset-bottom, 0px));
  }

  main {
    padding-bottom: 0.5rem;
  }

  #contato {
    scroll-margin-bottom: 4rem;
  }

  .footer__logo {
    width: min(120px, 36vw);
    max-height: 120px;
  }

  .footer__nav {
    gap: 0.5rem 1rem;
  }

  .footer__nav a {
    padding: 0.35rem 0.15rem;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  /* WhatsApp flutuante — safe area + sem cobrir conteúdo */
  .wpp-float {
    right: max(0.9rem, env(safe-area-inset-right, 0px));
    bottom: max(0.9rem, env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
  }

  /* Animações mais leves no mobile */
  .reveal {
    transform: translateY(12px);
    transition-duration: 0.45s;
  }
}

/* ========== Telas bem estreitas ========== */
@media (max-width: 420px) {
  .container {
    width: min(100% - 1rem, var(--max));
  }

  .hero__actions {
    grid-template-columns: 1fr;
  }

  .hero__content {
    width: min(100% - 1.5rem, var(--max));
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 4.5rem;
  }

  .hero__stage {
    min-height: min(74vh, 540px);
    min-height: min(74dvh, 540px);
  }

  .hero__eyebrow {
    letter-spacing: 0.08em;
  }

  .hero__tagline {
    font-size: 0.92rem;
  }

  .leaders-feature__photo,
  .leaders-feature__photo img {
    max-height: 170px;
  }

  .gallery__item,
  .gallery__item img,
  .gallery__item:first-child,
  .gallery__item:first-child img {
    max-height: 175px;
  }

  .culto-photo img {
    max-height: 165px;
  }

  .about__visual {
    max-width: 140px;
  }

  .about__logo {
    max-height: 140px;
  }

  .celula-band__photo,
  .celula-band__photo img {
    max-height: 175px;
  }
}

/* Landscape phone */
@media (max-width: 900px) and (max-height: 480px) and (orientation: landscape) {
  .hero__stage {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero__content {
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: 2.5rem;
  }

  .nav {
    max-height: calc(100dvh - var(--header-h));
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gallery__item:hover img {
    transform: none;
  }

  .hero__text,
  .hero__eyebrow,
  .hero__welcome,
  .hero__text h1,
  .hero__tagline,
  .hero__actions {
    animation: none;
  }

  .hero__slide {
    transition: opacity 0.4s ease;
    transform: none;
  }

  .hero__slide.is-active {
    transform: none;
  }
}
