.hero__media { view-transition-name: hero-image; }
.hero__actions { gap: 16px; }
.hero__actions .button { padding-inline: 32px; }

/* Faixa horizontal “Próximo culto” abaixo do banner */
.hero__inner { grid-template-columns: 1fr; }
.hero__copy { max-width: 980px; }
.next-service { position: relative; z-index: 8; height: 0; background: #fbfaf7; }
.next-service__card {
  position: relative;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: minmax(270px, 1.2fr) minmax(90px, .4fr) minmax(280px, 1fr) auto;
  align-items: center;
  gap: 32px;
  min-height: 140px;
  padding: 32px;
  border: 1px solid rgba(209, 173, 99, .36);
  border-radius: 20px;
  background: rgba(251, 248, 242, .98);
  color: #112d4a;
  box-shadow: 0 24px 60px rgba(4, 19, 31, .18);
}
.next-service__title { display: flex; align-items: center; gap: 15px; }
.next-service__icon { display: grid; place-items: center; width: 54px; height: 54px; flex: 0 0 54px; border: 1px solid rgba(154,112,48,.42); border-radius: 50%; background: linear-gradient(145deg,#f7f1e8,#eae0d1); color: #8d672e; box-shadow: inset 0 1px rgba(255,255,255,.8); }
.site-icon { display: block; width: 24px; height: 24px; overflow: visible; }
.next-service__icon .site-icon { width: 25px; height: 25px; }
.next-service small { display: block; margin-bottom: 3px; color: #795d49; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.next-service strong { display: block; color: #112d4a; font-family: var(--display); font-size: 1.04rem; line-height: 1.3; }
.next-service__title strong { overflow-wrap: anywhere; font-size: 1.18rem; }
.next-service__detail { padding-left: 28px; border-left: 1px solid rgba(17, 45, 74, .14); }
.next-service__countdown { min-width: 0; padding: 16px; border: 1px solid rgba(121,93,73,.15); border-radius: 16px; background: linear-gradient(145deg, #eee7dc, #e8dfd1); box-shadow: inset 0 1px rgba(255,255,255,.62), 0 9px 22px rgba(67,52,40,.08); }
.next-service__countdown > small { margin: 0 0 8px; color: #795d49; font-size: .57rem; letter-spacing: .17em; }
.service-countdown { display: grid; grid-template-columns: repeat(4, minmax(44px, 1fr)); color: #112d4a; font-variant-numeric: tabular-nums; }
.service-countdown > span { position: relative; display: grid; min-width: 0; place-items: center; padding: 0 9px; }
.service-countdown > span + span { border-left: 1px solid rgba(17,45,74,.13); }
.service-countdown strong { color: #112d4a; font-family: var(--display); font-size: clamp(1.25rem, 1.7vw, 1.58rem); font-weight: 680; line-height: 1; letter-spacing: -.03em; }
.service-countdown i { margin-top: 5px; color: #795d49; font-size: .52rem; font-style: normal; font-weight: 800; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }
.next-service__actions { display: flex; gap: 8px; }
.next-service__actions a { display: grid; min-height: 44px; padding: 8px 16px; place-items: center; border: 1px solid rgba(17, 45, 74, .25); color: #112d4a; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.next-service__actions a:first-child { border-color: #112d4a; background: #112d4a; color: #fff; }
.next-service + .welcome { padding-top: 150px; }

@media (max-width: 1000px) {
  .next-service__card { grid-template-columns: 1fr 1fr; gap: 22px; min-height: 190px; }
  .next-service__detail { padding-left: 0; border-left: 0; }
  .next-service__actions { justify-content: flex-end; }
  .next-service + .welcome { padding-top: 190px; }
}

@media (max-width: 700px) {
  .hero__inner { padding-bottom: 118px; }
  .next-service { height: 0; padding: 0 14px; }
  .next-service__card { width: 100%; transform: translateY(-50%); grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 24px; }
  .next-service__title { padding-bottom: 19px; }
  .next-service__detail { padding: 15px 0; border-left: 0; border-top: 1px solid rgba(17, 45, 74, .14); }
  .next-service__countdown { margin: 2px 0 18px; padding: 14px 12px; }
  .service-countdown > span { padding-inline: 6px; }
  .service-countdown strong { font-size: 1.45rem; }
  .next-service__actions { padding-top: 18px; border-top: 1px solid rgba(17, 45, 74, .14); justify-content: stretch; }
  .next-service__actions a { flex: 1; }
  .next-service + .welcome { padding-top: 230px; }
}

/* Seção de boas-vindas com quatro cards institucionais */
.welcome { background: #fbfaf7; }
.welcome__heading { max-width: 760px; margin: 0 auto 55px; text-align: center; }
.welcome__heading h2 { margin: 0; color: var(--navy); font-family: var(--display); font-size: var(--type-section-title); font-weight: 640; letter-spacing: -.032em; line-height: .97; }
.welcome__heading > p:last-child { max-width: 560px; margin: 24px auto 0; color: #64717b; }
.welcome__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.welcome-card { position: relative; min-height: 350px; display: flex; flex-direction: column; padding: 32px; border: 1px solid rgba(17, 45, 74, .14); background: #fff; transition-property: opacity, transform, box-shadow, border-color; }
.welcome-card:nth-child(2) { transition-delay: .08s; }
.welcome-card:nth-child(3) { transition-delay: .16s; }
.welcome-card:nth-child(4) { transition-delay: .24s; }
.welcome-card:hover { transform: translateY(-7px); border-color: rgba(209, 173, 99, .72); box-shadow: 0 20px 45px rgba(17, 45, 74, .1); }
.welcome-card__icon { display: grid; width: 56px; height: 56px; place-items: center; margin-bottom: 48px; border: 1px solid rgba(17,45,74,.12); border-radius: 50%; background: linear-gradient(145deg,#dbeaf0,#c8dde5); color: #112d4a; box-shadow: inset 0 1px rgba(255,255,255,.72); }
.welcome-card__icon .site-icon { width: 25px; height: 25px; transition: transform .3s ease; }
.welcome-card:hover .welcome-card__icon .site-icon { transform: translateY(-1px) scale(1.045); }
.welcome-card__number { position: absolute; top: 35px; right: 30px; display: inline-flex; align-items: center; gap: 8px; color: var(--brown); font-size: .66rem; font-weight: 850; letter-spacing: .14em; }
.welcome-card__number::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .5; }
.welcome-card h3 { margin: 0 0 16px; color: #112d4a; font-family: var(--display); font-size: 1.45rem; line-height: 1.15; letter-spacing: -.025em; }
.welcome-card p { margin: 0 0 25px; color: #64717b; font-size: .9rem; line-height: 1.65; }
.welcome-card a { display: flex; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 17px; border-top: 1px solid rgba(17, 45, 74, .12); color: #112d4a; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.visit .section-head,
.ministries .section-head { margin-bottom: 64px; }
.visit .section-head__side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 480px; }
.visit .section-head__side p { margin: 0; }
.visit-card { padding: 40px; }
.visit-card h3 { font-size: 1.6rem; }
.visit-card p { font-size: .95rem; line-height: 1.7; }
.visit-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--navy); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: color .25s ease; }
.visit-card--primary .visit-card__link { color: var(--gold-2); }
.visit-card__link:hover { color: #9a7030; }
.visit-card--primary .visit-card__link:hover { color: var(--gold); }
.visit-card__link span { display: inline-block; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.visit-card__link:hover span { transform: translateX(4px); }
@media (max-width: 900px) {
  .visit .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
}
.arrow-link { letter-spacing: .06em; text-transform: uppercase; }
.arrow-link span,.welcome-card a span,.ministry i { display: inline-block; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.arrow-link:hover span,.welcome-card a:hover span,.ministry:hover i { transform: translateX(5px); }
.location { min-height: 720px; }
.location__card { width: min(540px, calc(100% - 40px)); margin-bottom: 80px; padding: 56px; }

.visit-card > .visit-card__icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(17,45,74,.18); color: #9a7030; }
.visit-card > .visit-card__icon .site-icon { width: 24px; height: 24px; stroke-width: 1.6; }
.visit-card--primary > .visit-card__icon { border-color: rgba(239,214,159,.34); color: var(--gold-2); }

@media (max-width: 1000px) {
  .welcome__cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .welcome__heading { margin-bottom: 38px; text-align: left; }
  .welcome__heading h2 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .welcome__heading > p:last-child { margin-left: 0; }
  .welcome__cards { grid-template-columns: 1fr; }
  .welcome-card { min-height: 310px; padding: 28px; }
  .welcome-card:nth-child(n) { transition-delay: 0s; }
  .location { min-height: 600px; }
  .location__card { width: 100%; margin: 0 0 14px; padding: 32px; }
}

/* Agenda: data e horário em destaque, sem folga depois do último evento */
.rhythm__grid { width: min(100%, 1600px); margin-inline: auto; }
.rhythm__aside { padding: 120px clamp(40px, 4vw, 88px); }
.rhythm__list { display: grid; grid-auto-rows: minmax(112px, 1fr); align-self: stretch; }
.rhythm__list article { grid-template-columns: minmax(145px, 175px) minmax(0, 1fr); min-height: 112px; padding: 20px clamp(55px, 5vw, 96px) 20px clamp(35px, 3.5vw, 64px); }
.rhythm__list article::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 3px; border-radius: 3px; background: var(--gold); opacity: 0; transform: scaleY(.35); transition: opacity .25s ease, transform .25s ease; }
.rhythm__list article:hover::before { opacity: 1; transform: scaleY(1); }
.rhythm__when { display: grid; gap: 5px; min-width: 0; padding-right: 28px; border-right: 1px solid rgba(255,255,255,.13); }
.rhythm__when span { overflow-wrap: anywhere; color: var(--gold-2); font-size: .67rem; font-weight: 850; letter-spacing: .14em; line-height: 1.25; text-transform: uppercase; }
.rhythm__when time { color: #fff; font-family: var(--display); font-size: 1.55rem; font-weight: 620; font-variant-numeric: tabular-nums; letter-spacing: -.025em; line-height: 1; }
.rhythm__list article > h3 { min-width: 0; margin: 0; padding-left: clamp(24px, 3vw, 46px); line-height: 1.16; }

@media (min-width: 1601px) {
  .rhythm { padding-block: 80px; }
  .rhythm__grid { border: 1px solid rgba(255, 255, 255, .1); }
}

@media (max-width: 1050px) {
  .rhythm { padding-block: 0; }
  .rhythm__aside { padding: 90px 40px; }
}

@media (max-width: 700px) {
  .rhythm__aside { padding: 80px 28px; }
  .rhythm__list { grid-auto-rows: minmax(105px, 1fr); }
  .rhythm__list article { grid-template-columns: 112px minmax(0, 1fr); min-height: 105px; padding: 18px 24px; }
  .rhythm__when { gap: 6px; padding-right: 16px; }
  .rhythm__when span { font-size: .61rem; letter-spacing: .1em; }
  .rhythm__when time { grid-column: auto; font-size: 1.3rem; }
  .rhythm__list article > h3 { padding-left: 18px; }
}

/* Fotografias reais da comunidade */
.message__image {
  background-image: linear-gradient(rgba(10,34,57,.08),rgba(10,34,57,.62)), url("photos/mensagem-pastor.webp");
  background-position: center 28%;
}

/* Cards Editoriais de Ministérios (Estilo Eloqwnt) */
.ministries-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ministry-card-editorial {
  position: relative;
  min-height: 380px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 36px rgba(4, 19, 31, 0.15);
  background: var(--navy);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  isolation: isolate;
}

.ministry-card-editorial:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(4, 19, 31, 0.28);
  border-color: rgba(209, 173, 99, 0.5);
}

.ministry-card-editorial--featured {
  grid-column: span 2;
}

.ministry-card-editorial__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  will-change: transform;
}

.ministry-card-editorial:hover .ministry-card-editorial__bg {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.ministry-card-editorial__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 27, 45, 0.3) 0%, rgba(6, 27, 45, 0.65) 50%, rgba(6, 27, 45, 0.95) 100%);
  transition: background 0.4s ease;
}

.ministry-card-editorial:hover .ministry-card-editorial__overlay {
  background: linear-gradient(180deg, rgba(6, 27, 45, 0.2) 0%, rgba(6, 27, 45, 0.55) 50%, rgba(6, 27, 45, 0.92) 100%);
}

.ministry-card-editorial__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.ministry-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  color: #fff;
  line-height: 1.2;
}

.ministry-index {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.ministry-card-editorial__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: auto;
}

.ministry-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}

.ministry-card-editorial--featured .ministry-title {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}

.ministry-action-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ministry-card-editorial:hover .ministry-action-btn {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-2);
  transform: scale(1.1) translateX(2px);
  box-shadow: 0 0 16px rgba(209, 173, 99, 0.5);
}

@media (max-width: 1050px) {
  .ministries-editorial-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .ministry-card-editorial--featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .ministries-editorial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ministry-card-editorial {
    min-height: 300px;
    padding: 24px;
  }
  .ministry-card-editorial--featured {
    grid-column: auto;
  }
}

/* Player do OBPC News */
.message__grid { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: clamp(38px, 5vw, 72px); }
.message__video { min-height: 0; aspect-ratio: 16 / 9; background: #050d15; }
.message__video iframe { display: block; width: 100%; height: 100%; border: 0; }
.message__video-fallback { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; color: #fff; }
.message__video-fallback::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,13,21,.08), rgba(5,13,21,.7)); }
.message__video-fallback img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.message__video-fallback:hover img { transform: scale(1.035); }
.message__video-play { position: absolute; z-index: 1; display: grid; width: 78px; height: 78px; place-items: center; padding-left: 5px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: #d1ad63; box-shadow: 0 16px 42px rgba(0,0,0,.32); font-size: 1.45rem; }
.message__video-fallback strong { position: absolute; z-index: 1; right: 26px; bottom: 22px; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 1050px) {
  .message__grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .message__video { min-height: 0; }
  .message__video-play { width: 62px; height: 62px; font-size: 1.15rem; }
}
