/* Edição 2026-09-03 — segundo dia da 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: 50% 42%;
}

.day-two-hero .heart-photo-frame {
  background: transparent;
}

.day-two-hero .heart-photo-frame img {
  object-fit: cover;
}

.decision-band .impact-grid span {
  max-width: 210px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .92rem;
  font-style: italic;
  text-transform: none;
}

.decision-band .impact-grid strong {
  color: var(--ebf-pink);
  font-size: 2rem;
}

.decision-story,
.stone-story,
.salvation-story {
  padding: var(--section-space) 0;
  border-top: 1px solid var(--line);
}

.decision-heading,
.photo-heading,
.video-heading {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.decision-heading > p:not(.eyebrow),
.photo-heading > p:not(.eyebrow),
.video-heading > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.72;
}

.decision-layout {
  display: grid;
  gap: 1.25rem;
}

.decision-wall,
.decision-writing-grid figure,
.salvation-photo,
.day-two-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.4rem;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.decision-wall::after,
.decision-writing-grid figure::after,
.salvation-photo::after,
.day-two-gallery figure::after {
  position: absolute;
  top: clamp(.7rem, 2vw, 1rem);
  right: clamp(.7rem, 2vw, 1rem);
  z-index: 3;
  width: clamp(3.5rem, 20%, 6.5rem);
  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: .32;
  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;
}

.decision-writing-grid figure::after,
.day-two-gallery .gallery-tall::after {
  width: clamp(3.25rem, 28%, 5.75rem);
}

.decision-wall img,
.decision-writing-grid img,
.salvation-photo img,
.day-two-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.decision-wall {
  display: grid;
  grid-template-rows: minmax(460px, 68vw) auto;
}

.decision-wall img {
  object-position: center 42%;
}

.decision-wall figcaption {
  padding: 1.1rem 1.25rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.decision-writing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.decision-writing-grid figure {
  aspect-ratio: 3 / 4;
}

.stone-story,
.salvation-story {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.stone-copy > p:not(.eyebrow),
.salvation-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.featured-video {
  margin: 0;
}

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

.salvation-photo img {
  object-position: center 36%;
}

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

.day-two-gallery figure {
  aspect-ratio: 3 / 4;
}

.day-two-gallery .gallery-wide {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}

.day-two-gallery .gallery-wide img {
  object-position: center 38%;
}

@media (min-width: 760px) {
  .decision-layout {
    grid-template-columns: 1.08fr .92fr;
  }

  .decision-wall {
    grid-template-rows: minmax(620px, 70vw) auto;
  }

  .decision-writing-grid {
    grid-template-columns: 1fr;
  }

  .stone-story,
  .salvation-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .salvation-story .salvation-photo {
    min-height: 620px;
  }

  .day-two-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .day-two-gallery figure,
  .day-two-gallery .gallery-wide {
    grid-column: span 2;
    aspect-ratio: auto;
  }

  .day-two-gallery .gallery-wide {
    grid-column: span 4;
  }
}

@media (min-width: 1040px) {
  .decision-layout {
    grid-template-columns: 1.2fr .8fr;
  }

  .decision-wall {
    grid-template-rows: minmax(660px, 64vw) auto;
  }

  .day-two-gallery {
    grid-auto-rows: 270px;
  }
}

.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;
  }
}

/* Ajustes finais de responsividade desta edição. Mantidos no fim para
   prevalecer sobre os breakpoints do tema compartilhado. */
.day-two-hero .heart-photo-frame,
.day-two-hero .hero-photo {
  background: transparent;
}

.day-two-hero .heart-photo-frame {
  isolation: isolate;
}

.stone-story .featured-video {
  width: min(100%, 420px);
  margin-inline: auto;
}

.video-section {
  grid-template-columns: minmax(0, 1fr);
}

.video-section .video-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.video-section .video-list {
  width: min(100%, 920px);
  max-width: 920px;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-inline: auto;
}

.video-section .video-card,
.stone-story .video-card {
  min-width: 0;
}

.video-section .video-card video,
.stone-story .video-card video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  aspect-ratio: 478 / 850;
  object-fit: cover;
  background: #151314;
}

.video-section .video-card figcaption,
.stone-story .video-card figcaption {
  min-height: auto;
}

@media (max-width: 480px) {
  .day-two-hero .heart-photo-frame {
    width: calc(100% - 1rem);
  }

  .decision-writing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .decision-wall {
    grid-template-rows: minmax(420px, 118vw) auto;
  }

  .stone-story .featured-video,
  .video-section .video-list {
    width: min(100%, 380px);
  }
}

@media (min-width: 620px) {
  .video-section .video-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 780px;
  }
}

@media (min-width: 781px) {
  .stone-story {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  .video-section .video-list {
    gap: clamp(1.25rem, 3vw, 2rem);
  }
}

@media (min-width: 1200px) {
  .video-section .video-list {
    max-width: 760px;
  }

  .video-section .video-card video {
    max-height: 700px;
  }
}
