/* Edição 2026-09-02 — EBF em Matongolo */
:root {
  --ebf-blue: #1f86c7;
  --ebf-pink: #ef9fb2;
  --ebf-purple: #7553a5;
}

.ebf-hero {
  padding-bottom: 3.5rem;
}

.hero-kicker {
  width: fit-content;
  margin: 0 auto .8rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-button {
  margin-top: 1.25rem;
}

.ebf-hero .heart-photo-frame::before {
  background: var(--ebf-blue);
  opacity: .22;
}

.ebf-hero .heart-photo-frame img {
  object-position: 51% 50%;
}

.impact-band {
  color: var(--white);
  background: var(--ink);
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  padding-block: .65rem;
  background: rgba(255,255,255,.14);
}

.impact-grid > div {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.2rem;
  background: var(--ink);
}

.impact-grid strong {
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.65rem;
  line-height: 1;
  text-align: right;
}

.impact-grid span {
  max-width: 150px;
  color: rgba(255,255,255,.76);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.story-copy {
  column-count: 1 !important;
}

.gathering-photo,
.decision-wide-photo {
  aspect-ratio: 4 / 3;
}

.gathering-photo img {
  object-position: center 44%;
}

.decision-wide-photo img {
  object-position: center 45%;
}

.team-story {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: var(--section-space) 0;
  border-top: 1px solid var(--line);
}

.team-photo {
  aspect-ratio: 4 / 3;
}

.team-photo img {
  object-position: center 45%;
}

.team-story-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.team-cycle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-top: 1.5rem;
}

.team-cycle strong {
  padding: .55rem .8rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.team-cycle span {
  color: var(--green);
  font-weight: 900;
}

.team-testimony {
  margin: 1.6rem 0 0;
  padding: 1.15rem 1.3rem;
  border-left: 5px solid var(--green);
  border-radius: 0 1rem 1rem 0;
  background: rgba(19, 111, 76, .08);
}

.team-testimony p {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.55;
}

.seed-quote {
  margin: 2rem 0 0;
  padding: 1.4rem 1.5rem;
  border-left: 5px solid var(--yellow);
  border-radius: 0 1rem 1rem 0;
  background: rgba(251,186,0,.13);
}

.seed-quote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.55;
}

.quiet-moments {
  padding: var(--section-space) 0;
  border-top: 1px solid var(--line);
}

.quiet-moments-heading {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.quiet-moments-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.quiet-moments-grid {
  display: grid;
  gap: 1.25rem;
}

.moment-card {
  display: grid;
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.moment-photo {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--soft);
}

.moment-photo::after {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: clamp(4rem, 18%, 6rem);
  aspect-ratio: 740 / 617;
  background: var(--white);
  content: "";
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.85)) drop-shadow(0 3px 8px rgba(0,0,0,.6));
  opacity: .3;
  pointer-events: none;
  -webkit-mask: url("../../output/logos/bume-logo-cor.png") center / contain no-repeat;
  mask: url("../../output/logos/bume-logo-cor.png") center / contain no-repeat;
}

.moment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moment-card-story .moment-photo img {
  object-position: center;
}

.moment-card-prayer .moment-photo img {
  object-position: center 45%;
}

.moment-card figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.4rem;
}

.moment-number {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  place-items: center;
}

.moment-card-prayer .moment-number {
  background: var(--green);
}

.moment-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.moment-card p {
  margin: .45rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}

.restoration-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .72rem;
  font-style: italic;
  text-align: center;
}

.ebf-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.ebf-gallery .gallery-photo-wide:first-child img {
  object-position: center 43%;
}

.ebf-gallery .gallery-photo:nth-child(2) img {
  object-position: center 45%;
}

.ebf-gallery .gallery-photo:nth-child(3) img {
  object-position: center 45%;
}

.ebf-gallery .gallery-photo-wide:last-child img {
  object-position: center 48%;
}

.single-video {
  width: 100%;
  max-width: 760px;
  grid-template-columns: minmax(0, 1fr);
}

.single-video .video-card video {
  height: auto;
  aspect-ratio: 848 / 478;
  object-fit: contain;
}

.whatsapp-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3rem;
  text-transform: uppercase;
}

.prayer-response {
  margin-bottom: var(--section-space);
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.25rem, 6vw, 4rem);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,.24), transparent 10rem),
    var(--green);
  text-align: center;
}

.prayer-response .eyebrow {
  color: var(--ink);
}

.prayer-response > h2,
.prayer-response > p {
  max-width: 760px;
  margin-inline: auto;
}

.prayer-response > p:not(.eyebrow) {
  color: rgba(34,31,32,.74);
  font-size: 1rem;
  line-height: 1.75;
}

.prayer-response .button {
  margin-top: .75rem;
}

.verse-reference {
  margin-top: 1.25rem !important;
  font-size: .72rem !important;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.floating-actions {
  display: none;
}

.floating-actions > button {
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  pointer-events: auto;
}

@media (max-width: 780px) {
  .floating-actions {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(.75rem, env(safe-area-inset-bottom));
    left: auto;
    display: grid;
    justify-items: end;
  }

  .floating-support {
    width: min(310px, calc(100vw - 2rem));
    min-height: 54px;
    max-width: none;
    padding: .7rem .9rem;
  }
}

@media (min-width: 620px) {
  .impact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .impact-grid > div {
    grid-template-columns: 1fr;
    align-content: center;
    min-height: 150px;
    text-align: center;
  }

  .impact-grid strong {
    text-align: center;
  }

  .impact-grid span {
    margin-inline: auto;
  }
}

@media (min-width: 781px) {
  .hero-kicker {
    margin-inline: 0;
  }

  .story-section {
    align-items: center;
  }

  .quiet-moments-grid {
    grid-template-columns: 1.06fr .94fr;
    align-items: stretch;
    gap: 1.5rem;
  }

  .moment-card {
    grid-template-rows: minmax(490px, 1fr) auto;
  }

  .team-story {
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2.5rem, 5vw, 5rem);
  }

  .ebf-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 250px;
    gap: 1rem;
  }

  .ebf-gallery .gallery-photo {
    grid-column: span 1;
    aspect-ratio: auto;
  }

  .ebf-gallery .gallery-photo-wide {
    grid-column: span 2;
  }

  .ebf-gallery .gallery-photo-wide:last-child {
    grid-column: span 4;
  }

  .single-video {
    width: 100%;
    max-width: 760px;
    grid-template-columns: minmax(0, 1fr);
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-button,
  .whatsapp-link {
    transition: none;
  }
}
