/* ============================================================
   Igreja de Cristo – Orizona, GO
   Arquivo: worship.css — Ministério de Louvor
   Estende style.css sem sobrescrever nada
   ============================================================ */

/* ============================================================
   HERO DO LOUVOR
   ============================================================ */
.worship-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.worship-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10,10,10,0.25) 0%,
      rgba(10,10,10,0.6)  55%,
      rgba(10,10,10,1)   100%),
    url('https://images.unsplash.com/photo-1510915361894-db8b60106cb1?w=1800&q=85')
    center / cover no-repeat;
}

/* grain */
.worship-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.55;
  pointer-events: none;
}

/* gold accent line — top center */
.worship-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  opacity: 0.6;
  z-index: 3;
}

/* ── Stats bar ── */
.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 1.1s forwards;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232,227,218,0.55);
  margin-top: 0.2rem;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  align-self: center;
}


/* ============================================================
   SOBRE O MINISTÉRIO
   ============================================================ */
.worship-about {
  background: var(--dark);
}

/* reutiliza .about-grid mas com proporção diferente */
.worship-about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 6rem;
  align-items: center;
}

.worship-img-stack {
  position: relative;
}

.worship-img-main {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  filter: brightness(0.85) contrast(1.05);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  display: block;
}

.worship-img-accent {
  position: absolute;
  width: 52%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  bottom: -2.5rem;
  right: -2.5rem;
  border: 3px solid var(--dark);
  filter: brightness(0.8);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.worship-badge {
  position: absolute;
  top: 2rem;
  left: -1.5rem;
  background: var(--gold);
  color: var(--black);
  padding: 1rem 1.4rem;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(200,169,110,0.35);
}

.worship-badge .icon { font-size: 1.6rem; margin-bottom: 0.2rem; }
.worship-badge .lbl {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* Pillars */
.worship-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.worship-pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.4rem;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}

.worship-pillar:hover {
  border-color: rgba(200,169,110,0.45);
  transform: translateX(5px);
}

.pillar-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.pillar-body h4 {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.pillar-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
}


/* ============================================================
   QUOTE BÍBLICA (ouro)
   ============================================================ */
/* reusa .quote-banner de style.css — sem adições */


/* ============================================================
   GALERIA
   ============================================================ */
.worship-gallery {
  background: var(--dark);
  padding: 7rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 6px;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--dark2);
}

/* Large featured item */
.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) saturate(0.8);
  transition: var(--transition);
  aspect-ratio: 1;
}

.gallery-item.featured img {
  aspect-ratio: auto;
  min-height: 100%;
}

.gallery-item:hover img {
  filter: brightness(0.95) saturate(1.1);
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.2rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-caption {
  font-size: 0.75rem;
  color: var(--white);
  letter-spacing: 0.06em;
}

/* Lightbox (pure CSS preview) */
.gallery-zoom-hint {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  background: rgba(200,169,110,0.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--black);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.gallery-item:hover .gallery-zoom-hint { opacity: 1; }


/* ============================================================
   FORMULÁRIO DE INSCRIÇÃO
   ============================================================ */
.worship-form-section {
  background: var(--black);
}

.worship-form-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}

/* info lateral */
.worship-form-info .section-text { margin-bottom: 2rem; }

.form-benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.form-benefit-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}

.form-benefit h4 {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.form-benefit p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* form box */
.worship-form-box {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2.5rem 3rem;
}

.form-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.4rem;
}

.worship-form { display: flex; flex-direction: column; gap: 1rem; }

/* radio & checkbox groups */
.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.radio-pill,
.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--dark);
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  user-select: none;
}

.radio-pill input,
.check-pill input {
  display: none;
}

.radio-pill:has(input:checked),
.check-pill:has(input:checked) {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* instrument sub-group */
.instrument-group {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.2rem;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 0.5rem;
}

.instrument-group.visible { display: flex; }

.instrument-group .checkbox-group { margin-top: 0; }

/* experience level */
.level-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.level-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  background: var(--dark);
}

.level-card input { display: none; }

.level-card:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.level-icon { font-size: 1.3rem; margin-bottom: 0.3rem; }

.level-card span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.level-card:has(input:checked) span { color: var(--gold); }

/* step divider inside form */
.form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* success message */
#worshipFormSuccess {
  display: none;
  padding: 1.4rem;
  background: var(--gold-dim);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: 0.88rem;
  text-align: center;
  margin-top: 1rem;
}


/* ============================================================
   CONTATO VIA WHATSAPP
   ============================================================ */
.worship-contact {
  background: var(--dark);
}

.worship-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.whatsapp-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.whatsapp-card:hover { border-color: rgba(37,211,102,0.35); }

.whatsapp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, #25d366, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.whatsapp-card:hover::before { opacity: 1; }

.whatsapp-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}

.whatsapp-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.whatsapp-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.8rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  background: #25d366;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.3);
}

.btn-whatsapp svg { flex-shrink: 0; }

/* contact info items — reutiliza .info-item de style.css */
.worship-contact-info { display: flex; flex-direction: column; gap: 0; }

.worship-contact-info .section-text { margin-bottom: 2rem; }

/* leader card */
.leader-card {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem 1.4rem;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 1.5rem;
  transition: border-color 0.3s;
}

.leader-card:hover { border-color: rgba(200,169,110,0.4); }

.leader-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
  filter: brightness(0.85);
}

.leader-info h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

.leader-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.leader-role {
  margin-left: auto;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  white-space: nowrap;
}


/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 900px) {
  .worship-about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .worship-img-accent { display: none; }
  .worship-badge { left: 1rem; }

  .activities-grid { grid-template-columns: 1fr 1fr; }

  .worship-form-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .worship-contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-stats { gap: 1.5rem; }
  .hero-stat-divider { display: none; }
}

@media (max-width: 600px) {
  .activities-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.featured { grid-column: span 2; }
  .level-grid { grid-template-columns: repeat(3, 1fr); }
  .worship-form-box { padding: 1.5rem 1.2rem 2rem; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
}
