/* 
   ESTILO GLOBAL E VARIÁVEIS 
   Definição da paleta de cores e configurações base do documento.
*/
:root {
  --brown-dark: #06060f;
  --brown-mid: #0e0c1e;
  --brown-card: #10102a;
  --brown-light: #18163a;
  --gold: #e8780a;
  --gold-light: #f09030;
  --gold-text: #f0a040;
  --white: #ffffff;
  --off-white: #f0ecf8;
  --text-light: #ccc8dc;
  --text-muted: #7870a0;
  --dark: #05050e;
  --purple: #7c4fc8;
  --purple-dim: #3a2478;
  --orange: #d46820;
  --blue-deep: #0e2040;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: #05050e;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* 
   SEÇÃO HERO (TOPO) 
   Configurações da imagem de fundo e do título principal.
*/
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* Texto no topo */
  text-align: center;
  padding: 0 24px 12px;
  overflow: hidden;
  background-color: #05050e;
  /* Gradiente e Imagem: O gradiente protege a leitura em qualquer dispositivo */
  background-image:
    linear-gradient(180deg, rgba(5, 5, 14, .95) 0%, rgba(5, 5, 15, 0) 20%, rgba(5, 5, 15, 0) 60%, #05050e 100%),
    url('fundo-sem-imagem.png');
  background-size: 100% 100%;
  /* Padrão para Desktop */
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  /* Funciona melhor em navegadores mobile */
}

/* AJUSTE PARA MOBILE: Garantir que a imagem cubra toda a seção sem sair do lugar */
@media (max-width: 768px) {
  .hero {
    background-size: 100% 100%;
    /* Exibe a imagem inteira esticada para preencher a tela */
    background-position: center center;
    /* Mantém centralizado */
    padding-top: 0;
    padding-bottom: 15px;
    min-height: 100svh;
    /* Garante a sessão completa */
  }
}

/* Ajustes específicos para desktop/telas maiores */
@media (min-width: 1024px) {
  .hero {
    padding-top: 0;
    background-position: center 20%;
    /* Ajusta o enquadramento em telas largas */
  }
}

.hero>* {
  position: relative;
  z-index: 2;
}

.hero-logo-box {
  text-align: center;
  margin-top: -65px;
  /* Descendo um pouco o logo */
  margin-bottom: 0;
}

.hero-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  display: block;
  padding-top: 10%;
  margin: 0 auto;
}

.hero-ministers-box {
  margin-top: -60px;
  /* Compensando a descida do logo para não afetar os ministros */
  margin-bottom: 0;
  width: 100%;
  max-width: 850px;
  z-index: 1;
}

.hero-ministers {
  width: 100%;
  height: auto;
  display: block;
  /* Esticando um pouco mais conforme solicitado */
  transform: scale(1, 1.25);
  /* Sutil sombra para destacar do fundo */
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
}

.hero-content-group {
  position: relative;
  top: 0;
  margin-top: 80px;
  margin-bottom: auto;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-ministers-box {
    padding-bottom: 25%;
  }
  .hero-content-group {
    top: 0;
    margin-top: 40px;
  }
}

/* Ajustes globais para telas pequenas e médias (evitar sobreposição na section hero causada pelo scale) */
@media (max-width: 767px) {
  .hero-logo-box {
    margin-top: -10px;
  }

  .hero-ministers-box {
    margin-top: -20px;
    padding-bottom: 40%; /* Cria um bolsão vazio que abraça o vazamento inferior da imagem esticada */
  }

  .hero-content-group {
    margin-top: 60px;
    transform: translateY(20px);
  }
}

.hero-logo-box .year::before,
.hero-logo-box .year::after {
  content: '——';
  color: var(--gold);
  font-size: 9px;
  margin: 0 6px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4.2rem, 22vw, 7.5rem);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: .95;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-sub-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 36px;
}

.hero-guide {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}

.hero-tagline {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-text);
  margin-bottom: 6px;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-light);
  max-width: 280px;
  text-align: center;
  line-height: 1.6;
  font-weight: 400;
  padding: 0 15px;
  margin: 0 auto;
}

.hero-content-group {
  margin-top: auto;
  margin-bottom: 10px;
}

.hero-arrow {
  font-size: 40px;
  color: var(--text-muted);
  animation: bounce 2s infinite;
  text-decoration: none;
  cursor: pointer;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(8px)
  }
}

/* 
   SEÇÃO INTRO 
   Mensagem de boas-vindas.
*/
.intro {
  background: #060b18;
  /* Azul marinho escuro */
  color: #fff;
  /* Texto branco */
  padding: 44px 22px 0;
  /* Reduzido de 15px para 0 */
}

.intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.intro h2 em {
  font-style: italic;
  color: var(--orange);
}

.intro p {
  font-size: 14px;
  color: #ccc;
  /* Cinza claro para suavizar o texto corrido sobre o fundo escuro */
  line-height: 1.75;
  margin-bottom: 14px;
}

.pastor-photo-wrap {
  width: 100%;
  margin-top: 15px;
  /* Reduzido de 30px para 15px */
  border-radius: 12px 12px 0 0;
  /* Removido radii inferiores */
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  margin-bottom: 0;
}

.pastor-full-photo {
  width: 100%;
  height: auto;
  display: block;
}

/* 
   SISTEMA DE ABAS (TABS) 
*/
.tabs-section {
  background: #06060f;
}

.tabs-top {
  padding: 0;
}

.tabs-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.tab-btn {
  padding: 16px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  border: none;
  background: #0e0c1e;
  color: var(--text-muted);
  transition: all .2s;
}

.tab-btn.active {
  background: var(--off-white);
  color: var(--brown-dark);
}

/* 
   CONTEÚDO DAS ABAS 
*/
.tab-content {
  display: none;
  padding: 24px 20px;
}

.tab-content.active {
  display: block;
}

.addr-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, .04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .06);
}

.addr-card .icon {
  width: 32px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 8px;
}

/* Animação do Pin de Localização */
.pin-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pin-svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  animation: pin-bounce 0.8s infinite alternate ease-in-out;
  z-index: 2;
}

.pin-shadow {
  width: 14px;
  height: 4px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  margin-top: -4px;
  animation: shadow-glow 0.8s infinite alternate ease-in-out;
  z-index: 1;
}

@keyframes pin-bounce {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-8px);
  }
}

@keyframes shadow-glow {
  from {
    transform: scale(1);
    opacity: 0.5;
  }

  to {
    transform: scale(1.6);
    opacity: 0.1;
  }
}

.addr-card .text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
}

.addr-card .text strong {
  color: var(--white);
}

.map-outer {
  position: relative;
  width: 100%;
  height: 210px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #1a2010;
}

.map-outer iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-open-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: #1a73e8;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.church-placeholder {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #3a2a18, #1a1008);
  border: 1px solid rgba(201, 145, 74, .15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  overflow: hidden;
}

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

.prog-note {
  background: rgba(201, 145, 74, .08);
  border: 1px solid rgba(201, 145, 74, .2);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.sched-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sched-row {
  background: #10102a;
  border-radius: 10px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, .05);
}

.sched-day {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.sched-time {
  font-size: 13px;
  color: var(--text-light);
  padding: 3px 0;
}

.sched-time strong {
  color: var(--white);
}

.sched-pill {
  display: inline-block;
  background: rgba(201, 145, 74, .15);
  border: 1px solid rgba(201, 145, 74, .3);
  color: var(--gold-light);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: 8px;
  line-height: 1.4;
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #10102a;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, .05);
}

.notice-dash {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.notice-row strong {
  color: var(--white);
}

/* 
   SEÇÃO INFANTIL 
*/
.infantil {
  background: var(--brown-dark);
  padding: 38px 18px;
  border-top: 2px solid rgba(201, 145, 74, .12);
}

.kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sec-heading {
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.sec-heading .gold {
  color: var(--gold-text);
}

.sec-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 26px;
}

.child-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.child-card {
  background: #10102a;
  border-radius: 10px;
  padding: 22px 18px;
  border: 1px solid rgba(255, 255, 255, .05);
}

.child-icon {
  width: 40px;
  height: 40px;
  background: rgba(201, 145, 74, .18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.child-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.child-text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

.child-text strong {
  color: var(--white);
}

/* 
   SEÇÃO PARCEIROS (HOTÉIS/ALIMENTAÇÃO) 
*/
.partners {
  background: var(--off-white);
  padding: 38px 18px;
}

.partners-header {
  text-align: center;
  margin-bottom: 22px;
}

.partners-icon-wrap {
  width: 56px;
  height: 56px;
  background: #0e0c1e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold-light);
  margin: 0 auto 14px;
}

.partners-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #111;
}

.partner-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.partner-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform .2s;
}

.partner-card:hover {
  transform: translateY(-2px);
}

.partner-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, .25);
  letter-spacing: .05em;
  padding: 15px;
}

.partner-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-logo {
  position: absolute;
  bottom: -16px;
  left: 16px;
  width: 52px;
  height: 52px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #333;
  text-align: center;
  padding: 4px;
  line-height: 1.2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}

.p-disc {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #10102a;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 6px;
  line-height: 1.1;
  text-align: center;
  border: 1px solid rgba(201, 145, 74, .3);
}

.partner-body {
  padding: 24px 14px 16px;
}

.partner-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.partner-addr {
  display: flex;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

.partner-note {
  font-size: 11px;
  color: #9a6a2a;
  font-style: italic;
  margin-top: 6px;
  line-height: 1.4;
}

/* 
   SEÇÃO CARDÁPIO RESPLANDECER BURGUER 
*/
.menu-resplandecer {
  background: var(--brown-dark);
  padding: 38px 18px;
  border-top: 2px solid rgba(201, 145, 74, .12);
}

.menu-header {
  text-align: center;
  margin-bottom: 22px;
}

.menu-icon-wrap {
  width: 56px;
  height: 56px;
  background: #0e0c1e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold-light);
  margin: 0 auto 14px;
}

.menu-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
}

.menu-content {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 15px;
}

.menu-img {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 
   SEÇÃO CANTINAS 
*/
.cantinas {
  background: var(--brown-dark);
  padding: 38px 18px;
  border-top: 2px solid rgba(201, 145, 74, .12);
}

.cant-header {
  text-align: center;
  margin-bottom: 22px;
}

.cant-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(201, 145, 74, .5);
  border-radius: 50%;
  font-size: 22px;
  color: var(--gold-light);
}

.cant-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin: 12px 0 6px;
}

.cant-sub {
  font-size: 13px;
  color: var(--gold-text);
  line-height: 1.5;
}

.cant-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cant-item {
  background: #10102a;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .05);
  overflow: hidden;
}

.cant-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
}

.cant-head-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.cant-toggle {
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(201, 145, 74, .4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .25s;
}

.cant-item.open .cant-toggle {
  transform: rotate(180deg);
}

.cant-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.cant-item.open .cant-body {
  max-height: 500px;
}

.cant-menu {
  list-style: none;
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cant-menu li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  line-height: 1.5;
}

.cant-menu li::before {
  content: '–';
  color: var(--gold-text);
  flex-shrink: 0;
}

/* 
   SEÇÃO AVALIAÇÃO 
*/
.eval {
  background: var(--dark);
  padding: 60px 24px 0;
  text-align: center;
  overflow: hidden;
}

.eval-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.eval-title {
  font-size: clamp(2.4rem, 1vw, 4rem);
  font-weight: 00;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.0;
  margin-bottom: 16px;
}

.eval-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 340px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.eval-btn {
  display: inline-block;
  background: var(--white);
  color: #111;
  font-size: 14px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  margin-bottom: 40px;
}

.eval-btn:hover {
  opacity: .9;
  transform: translateY(-2px);
}

.eval-video-container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eval-video-container video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* 
   FOOTER E BOTÃO VOLTAR AO TOPO 
*/
footer {
  background: #0a0a0a;
  text-align: center;
  padding: 22px;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(40, 28, 16, .9);
  border: 1px solid rgba(201, 145, 74, .4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  color: var(--gold);
  text-decoration: none;
  z-index: 999;
  backdrop-filter: blur(4px);
  transition: opacity .2s;
}

/* =========================================
   RESPONSIVIDADE: TABLETS E DESKTOPS
   ========================================= */

@media (min-width: 768px) {

  .intro,
  .tabs-section,
  .infantil,
  .partners,
  .menu-resplandecer,
  .cantinas,
  .eval,
  footer {
    padding-left: max(24px, calc((100vw - 800px) / 2));
    padding-right: max(24px, calc((100vw - 800px) / 2));
  }

  .child-cards,
  .partner-cards,
  .cant-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .intro h2 {
    font-size: 2.8rem;
    text-align: center;
  }

  .intro p {
    text-align: center;
  }
}

@media (min-width: 1024px) {

  .intro,
  .tabs-section,
  .infantil,
  .partners,
  .menu-resplandecer,
  .cantinas,
  .eval,
  footer {
    padding-left: max(24px, calc((100vw - 1100px) / 2));
    padding-right: max(24px, calc((100vw - 1100px) / 2));
  }

  .child-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .map-outer {
    height: 450px;
  }

  .intro h2 {
    font-size: 3.5rem;
  }

  .sched-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .notice-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Ajustes Hero para Monitores Grandes (Ex: 27 polegadas) */
  .hero-logo {
    max-width: 480px;
    padding-top: 4vh;
  }

  .hero-ministers-box {
    max-width: 1000px;
    padding-bottom: 15%;
  }

  .hero-content-group {
    margin-top: 40px;
  }

  .hero-guide {
    font-size: 16px;
    letter-spacing: .4em;
    margin-bottom: 20px;
  }

  .hero-tagline {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .hero-desc {
    font-size: 20px;
    max-width: 600px;
    line-height: 1.8;
  }
}