/* =============================================
   Igreja Batista Recomeçar em Jesus Cristo
   Landing Page — Variáveis e reset
   ============================================= */

:root {
  --blue-dark: #071F3F;
  --blue-medium: #0B2D59;
  --gold: #F5B719;
  --white: #FFFFFF;
  --bg-light: #F7F5EE;
  --whatsapp: #20B15A;
  --whatsapp-hover: #1a9a4d;
  --kids-pink: #E879A8;
  --kids-purple: #9B6FD4;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(7, 31, 63, 0.12);
  --shadow-lg: 0 8px 40px rgba(7, 31, 63, 0.18);
  --transition: 0.25s ease;
  --top-bar-height: 40px;

  /* Overlays semi-transparentes sobre a foto de fundo */
  --overlay-light: rgba(247, 245, 238, 0.82);
  --overlay-white: rgba(255, 255, 255, 0.86);
  --overlay-blue: rgba(11, 45, 89, 0.88);
  --overlay-dark: rgba(7, 31, 63, 0.90);
  --overlay-footer: rgba(5, 21, 40, 0.93);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--blue-dark);
  background: var(--blue-dark);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Foto do culto — fundo fixo em todo o site */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('foto-culto.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: translateZ(0);
}

main {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Destaque BATISTA */
.highlight-batista {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.church-name-sub {
  font-size: 0.8em;
  font-weight: 500;
  color: var(--blue-medium);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* =============================================
   Barra superior fixa
   ============================================= */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--top-bar-height);
  background: var(--blue-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.top-bar .highlight-batista {
  color: var(--gold);
}

/* =============================================
   Botões
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font);
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:active {
  transform: scale(0.97);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(32, 177, 90, 0.4);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 6px 24px rgba(32, 177, 90, 0.5);
  transform: translateY(-2px);
}

.btn--large {
  font-size: 1.1rem;
  padding: 1rem 2rem;
  min-height: 56px;
  width: 100%;
  max-width: 360px;
}

.btn--prayer {
  max-width: 100%;
  font-size: 1.15rem;
  padding: 1.1rem 1.5rem;
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 16px rgba(32, 177, 90, 0.4); }
  50% { box-shadow: 0 4px 28px rgba(32, 177, 90, 0.65); }
}

.btn__icon {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
}

.btn--maps {
  background: var(--gold);
  color: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(245, 183, 25, 0.35);
}

.btn--maps:hover {
  background: #e0a816;
  box-shadow: 0 6px 24px rgba(245, 183, 25, 0.45);
  transform: translateY(-2px);
}

/* =============================================
   Hero
   ============================================= */

.hero {
  position: relative;
  padding: calc(var(--top-bar-height) + 2.5rem) 0 3rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(
      160deg,
      rgba(7, 31, 63, 0.82) 0%,
      rgba(11, 45, 89, 0.72) 45%,
      rgba(7, 31, 63, 0.78) 100%
    );
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 85%, rgba(245, 183, 25, 0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 15%, rgba(255, 255, 255, 0.04) 0%, transparent 35%),
    linear-gradient(to bottom, rgba(7, 31, 63, 0.35) 0%, transparent 40%);
  pointer-events: none;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to top, var(--overlay-light) 0%, rgba(247, 245, 238, 0.35) 55%, transparent 100%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero__content {
  color: var(--white);
}

.hero__badge {
  display: inline-block;
  background: rgba(245, 183, 25, 0.2);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(245, 183, 25, 0.35);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
  max-width: 520px;
  line-height: 1.65;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero__note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 400px;
}

/* Card lateral do hero */
.hero__card {
  width: 100%;
}

.hero__card-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--gold);
}

.hero__card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.hero__card-text {
  font-size: 0.95rem;
  color: var(--blue-medium);
  margin-bottom: 1.25rem;
}

.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--blue-dark);
  padding: 0.4rem 0;
}

.bullet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(32, 177, 90, 0.12);
  color: var(--whatsapp);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================
   Seções gerais
   ============================================= */

.section {
  padding: 4rem 0;
}

.section--light {
  background: var(--overlay-light);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 0.75rem;
}

.section__title--light {
  color: var(--white);
}

.section__text {
  font-size: 1.05rem;
  color: var(--blue-medium);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

.section__text--light {
  color: rgba(255, 255, 255, 0.88);
}

/* Cards informativos */
.cards-grid {
  display: grid;
  gap: 1.25rem;
}

.cards-grid--3 {
  grid-template-columns: 1fr;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: var(--gold);
}

.info-card__icon svg {
  width: 100%;
  height: 100%;
}

.info-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.info-card__text {
  font-size: 0.95rem;
  color: var(--blue-medium);
  line-height: 1.55;
}

/* =============================================
   Área Kids
   ============================================= */

.section--kids {
  background: linear-gradient(135deg, rgba(11, 45, 89, 0.88) 0%, rgba(26, 61, 110, 0.85) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  position: relative;
  overflow: hidden;
}

.section--kids::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 121, 168, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.section--kids::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 111, 212, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.kids__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.kids__label {
  display: inline-block;
  background: linear-gradient(90deg, var(--kids-pink), var(--kids-purple));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.kids__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.kids__benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

.kids__benefits li::before {
  content: '★';
  color: var(--kids-pink);
  font-size: 0.85rem;
}

.kids__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(232, 121, 168, 0.4);
  background: rgba(255, 255, 255, 0.08);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.kids__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.kids__image-wrap--placeholder::before {
  content: 'Área Kids';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.kids__image-wrap {
  position: relative;
}

/* =============================================
   Horários
   ============================================= */

.section--schedule {
  background: var(--overlay-white);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.schedule-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 2px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
}

.schedule-card:hover {
  border-color: rgba(245, 183, 25, 0.4);
  transform: translateX(4px);
}

.schedule-card--highlight {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-medium));
  color: var(--white);
}

.schedule-card--highlight .schedule-card__day {
  color: rgba(255, 255, 255, 0.85);
}

.schedule-card__day {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-medium);
}

.schedule-card__time {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
}

.schedule-card--highlight .schedule-card__time {
  color: var(--gold);
}

/* =============================================
   Localização
   ============================================= */

.section--location {
  background: var(--overlay-dark);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  text-align: center;
}

.location__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.location__address {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-align: center;
}

/* Mapa incorporado */
.map-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(245, 183, 25, 0.35);
  background: var(--blue-medium);
}

.map-click-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

.map-iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  pointer-events: none;
}

/* Contato / redes sociais */
.location__contact {
  text-align: center;
}

.location__contact-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links--footer {
  margin-top: 1.25rem;
}

.social-links__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.social-links__item svg {
  width: 22px;
  height: 22px;
}

.social-links__item:hover {
  transform: translateY(-3px) scale(1.05);
}

.social-links__item--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(32, 177, 90, 0.4);
}

.social-links__item--whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 6px 20px rgba(32, 177, 90, 0.5);
}

.social-links__item--instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35);
}

.social-links__item--instagram:hover {
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.5);
}

.social-links__item--facebook {
  background: #1877F2;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.social-links__item--facebook:hover {
  background: #166fe5;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.5);
}

/* =============================================
   Rodapé
   ============================================= */

.footer {
  background: var(--overlay-footer);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer__pastor {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer__church {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer__subtitle {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
}

.footer__address {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* =============================================
   Botão flutuante WhatsApp
   ============================================= */

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(32, 177, 90, 0.5);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  animation: float-bounce 3s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  background: var(--whatsapp-hover);
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(32, 177, 90, 0.6);
  animation: none;
}

@keyframes float-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* =============================================
   Responsivo — tablet e desktop
   ============================================= */

@media (min-width: 640px) {
  .map-iframe {
    height: 360px;
  }

  .btn--large {
    width: auto;
  }

  .btn--prayer {
    max-width: 400px;
  }

  .cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .schedule-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .schedule-card {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
  }

  .schedule-card:hover {
    transform: translateY(-4px);
  }
}

@media (min-width: 768px) {
  .map-iframe {
    height: 420px;
  }

  .top-bar {
    font-size: 0.875rem;
  }

  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }

  .kids__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .kids__benefits {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: calc(var(--top-bar-height) + 3rem) 0 4rem;
  }

  .section {
    padding: 5rem 0;
  }
}

/* Animação de entrada ao rolar */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Acessibilidade — reduzir animações */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
