/* Rodapé institucional único — Home e Sobre Nós.
   Foto autêntica da igreja em segundo plano, legibilidade prioritária.
   Esta folha é carregada DEPOIS dos estilos gerais e específicos. */
.footer,
.about-page .footer {
  position:relative;
  isolation:isolate;
  background-color:#241714;
  background-image:
    linear-gradient(105deg,
      rgba(24,15,14,.82) 0%,
      rgba(24,15,14,.88) 38%,
      rgba(24,15,14,.92) 73%,
      rgba(24,15,14,.94) 100%),
    url('/assets/fachada-fundo-igreja-bvf.webp');
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center, 24% 50%;
  color:#fff6f1;
  border-top:1px solid rgba(255,225,208,.28);
  box-shadow:0 -5px 24px rgba(37,19,15,.11);
}
.footer::before {
  background:linear-gradient(90deg,transparent,rgba(255,180,146,.47) 47%,transparent);
  opacity:.7;
}
.footer .footer-grid {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,.65fr) minmax(0,1.05fr);
  align-items:start;
  gap:clamp(26px,4.2vw,62px);
  padding-top:clamp(44px,5vw,66px);
  padding-bottom:clamp(40px,4.6vw,56px);
}
.footer .footer-grid > div:first-child,
.footer .footer-grid > nav,
.footer .footer-contact {min-width:0;}
.footer .footer-brand {
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:13px;
  width:auto;
  max-width:100%;
  text-decoration:none;
}
.footer .footer-brand .brand-icon {
  width:70px;
  height:70px;
  flex:0 0 70px;
  object-fit:contain;
}
.footer .footer-brand .brand-lockup {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:0;
}
.footer .footer-brand .brand-overline {
  font-size:10px;
  line-height:1.3;
  letter-spacing:.14em;
  color:#ffd1bf;
}
.footer .footer-brand .brand-name {
  color:#fff7f1;
  font-size:clamp(27px,2.25vw,32px);
  line-height:1.13;
  letter-spacing:-.045em;
  white-space:nowrap;
}
.footer .footer-grid > div:first-child > p {
  margin:19px 0 0;
  padding:0;
  max-width:34ch;
  font-size:15px;
  line-height:1.68;
  font-weight:500;
  color:#f5dcd2;
  text-align:left;
}
.footer .footer-grid nav,
.footer .footer-contact {
  align-items:flex-start;
  gap:12px;
}
.footer .footer-grid nav a,
.footer .footer-contact a {
  color:#fff0e7;
  font-size:13px;
  line-height:1.58;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.footer .footer-contact span {
  margin:1px 0 2px;
  color:#ffd1bf;
  font-size:10px;
  line-height:1.5;
}
.footer .footer-contact .footer-whatsapp,
.footer .footer-bottom a {color:#ffe5d4;}
.footer .footer-bottom {
  border-top:1px solid rgba(255,236,224,.27);
  color:#ead3c7;
  padding-top:19px;
  padding-bottom:23px;
  gap:12px 24px;
}
.footer .footer-grid a:hover,
.footer .footer-bottom a:hover,
.footer .footer-brand:hover .brand-name {color:#fff;}
.footer a:focus-visible {outline-color:#ffd6c3;}
@media(max-width:900px) {
  .footer .footer-grid {
    grid-template-columns:minmax(0,1fr) minmax(0,.72fr);
    gap:28px 34px;
  }
  .footer .footer-contact {grid-column:1 / -1;}
}
@media(max-width:640px) {
  .footer,
  .about-page .footer {
    background-image:
      linear-gradient(100deg,rgba(24,15,14,.87),rgba(24,15,14,.92) 70%,rgba(24,15,14,.94)),
      url('/assets/fachada-fundo-igreja-bvf.webp');
    background-position:center, 11% 51%;
  }
  .footer .footer-grid {
    grid-template-columns:minmax(0,1fr);
    gap:27px;
    padding-top:38px;
    padding-bottom:33px;
  }
  .footer .footer-brand {gap:11px;}
  .footer .footer-brand .brand-icon {
    width:59px;
    height:59px;
    flex-basis:59px;
  }
  .footer .footer-brand .brand-overline {font-size:9px;}
  .footer .footer-brand .brand-name {font-size:clamp(23px,6.65vw,27px);}
  .footer .footer-grid > div:first-child > p {
    margin-top:17px;
    max-width:100%;
    font-size:14px;
    line-height:1.65;
  }
  .footer .footer-grid nav {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:18px;
    row-gap:12px;
    align-items:start;
  }
  .footer .footer-contact {
    grid-column:auto;
    gap:11px;
  }
  .footer .footer-bottom {
    align-items:flex-start;
    flex-direction:column;
    padding-top:17px;
    padding-bottom:21px;
  }
}
@media(max-width:350px) {
  .footer .footer-brand .brand-icon {width:53px;height:53px;flex-basis:53px;}
  .footer .footer-brand .brand-name {font-size:23px;}
  .footer .footer-grid nav {column-gap:12px;}
}

/* A fotografia enviada como fundo da Contribuição; Pix, QR e dados permanecem intactos. */
.contribution.section {
  background-color:#382823;
  background-image:
    linear-gradient(105deg,
      rgba(47,32,29,.91) 0%,
      rgba(47,32,29,.83) 43%,
      rgba(47,32,29,.81) 72%,
      rgba(47,32,29,.88) 100%),
    url('/assets/fachada-fundo-igreja-bvf.webp');
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center, 35% 53%;
}
.contribution.section .contribution-layout {
  position:relative;
  z-index:1;
}
@media(max-width:980px) {
  .contribution.section {
    background-image:
      linear-gradient(100deg,rgba(47,32,29,.91),rgba(47,32,29,.85)),
      url('/assets/fachada-fundo-igreja-bvf.webp');
    background-position:center, 13% 50%;
  }
}
