/* Livres do Medo — estilos do site institucional.
 * Identidade visual: preto e dourado, seguindo a logo oficial da igreja. */

:root {
  --fundo: #0c0c0e;
  --painel: #16161a;
  --painel-2: #1c1c21;
  --borda: #2a2a30;
  --dourado: #d4a94e;
  --dourado-claro: #e8c87c;
  --dourado-contraste: #17130a;
  --texto: #e8e5dd;
  --texto-suave: #a29d90;
  --branco: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--branco);
}

img { max-width: 100%; }

a { color: var(--dourado); }
a:hover { color: var(--dourado-claro); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.4rem; }

/* ---------- Header ---------- */
.topo {
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borda);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.marca { display: flex; align-items: center; }
.marca img { height: 34px; display: block; }

.menu { display: flex; gap: 1.3rem; flex-wrap: wrap; align-items: center; }

.menu a {
  color: var(--texto-suave);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}

.menu a:hover, .menu a.ativo { color: var(--dourado-claro); border-bottom-color: var(--dourado); }

.menu a.destaque {
  background: var(--dourado);
  color: var(--dourado-contraste);
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  border-bottom: none;
}

.menu a.destaque:hover { background: var(--dourado-claro); color: var(--dourado-contraste); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: 4rem 1.4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero-culto.jpg") center 30% / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 12, 14, 0.55), rgba(12, 12, 14, 0.75) 60%, var(--fundo) 98%);
}

.hero-conteudo { position: relative; z-index: 1; max-width: 46rem; }

.hero-marca {
  height: clamp(56px, 9vw, 88px);
  margin: 0 auto 2rem;
  display: block;
  filter: drop-shadow(0 6px 24px rgba(212, 169, 78, 0.35));
}

.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.3rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
}

.hero h1 em { color: var(--dourado); font-style: normal; }

.hero p { max-width: 34rem; margin: 0 auto 2rem; color: #cfcabe; font-size: 1.1rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  background: var(--dourado);
  color: var(--dourado-contraste);
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: 0.8rem 1.7rem;
  border-radius: 4px;
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover { background: var(--dourado-claro); color: var(--dourado-contraste); transform: translateY(-2px); }

/* Variante vazada: usada como botão secundário em qualquer fundo escuro */
.btn.secundario, .btn.escuro {
  background: transparent;
  color: var(--dourado);
  border: 1px solid var(--dourado);
}

.btn.secundario:hover, .btn.escuro:hover { background: rgba(212, 169, 78, 0.12); color: var(--dourado-claro); }

.hero .btn + .btn { margin-left: 0.75rem; }

/* ---------- Seções ---------- */
.secao { padding: 4rem 0; }

.secao.alt { background: var(--painel); border-block: 1px solid var(--borda); }

.secao h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin-bottom: 0.5rem; }

.secao h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--dourado);
  margin-top: 0.8rem;
  border-radius: 2px;
}

.centro h2::after, h2.centro::after { margin-inline: auto; }

.secao .sub { color: var(--texto-suave); margin: 1rem 0 2rem; max-width: 40rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }

.card {
  background: var(--painel);
  border: 1px solid var(--borda);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.secao.alt .card { background: var(--painel-2); }

.card:hover { border-color: var(--dourado); transform: translateY(-3px); }

.card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }

.card p { color: var(--texto-suave); font-size: 0.94rem; margin-bottom: 0.9rem; }

.card .btn { padding: 0.6rem 1.2rem; font-size: 0.87rem; }

/* ---------- Pastores ---------- */
.pastores {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 420px));
  gap: 1.6rem;
  justify-content: center;
}

.pastor { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--borda); }

.pastor img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; width: 100%; display: block; transition: transform 0.4s ease; }

.pastor:hover img { transform: scale(1.03); }

.pastor figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.2rem 1.4rem 1.2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.pastor strong { font-family: "Montserrat", sans-serif; font-size: 1.1rem; color: var(--branco); display: block; }

.pastor small { color: var(--dourado-claro); }

/* ---------- Biografia ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas: "texto foto";
  gap: 3rem;
  align-items: start;
}

.bio-texto { grid-area: texto; }
.bio-foto { grid-area: foto; position: sticky; top: 90px; }

.bio-foto img { border-radius: 10px; border: 1px solid var(--borda); display: block; }

.bio-foto figcaption { color: var(--texto-suave); font-size: 0.88rem; margin-top: 0.6rem; text-align: center; }

.prosa p { color: #c9c4b8; margin-bottom: 1.15rem; max-width: 65ch; }

.prosa .abertura { font-size: 1.12rem; color: var(--texto); }

.prosa strong { color: var(--dourado-claro); font-weight: 600; }

/* ---------- Galeria de fotos ---------- */
.faixa-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.faixa-fotos img {
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  display: block;
  border: 1px solid var(--borda);
}

/* Sobe o enquadramento: revela o palco no topo e corta mais a base */
.faixa-fotos img.foco-alto { object-position: center 35%; }

/* ---------- CTA de destaque (visitantes) ---------- */
.cta-visitante {
  border: 1px solid var(--borda);
  background: linear-gradient(160deg, var(--painel), var(--painel-2));
  border-radius: 14px;
  padding: 3.2rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-visitante::before {
  content: "";
  position: absolute;
  inset: -40% 30% auto;
  height: 70%;
  background: radial-gradient(closest-side, rgba(212, 169, 78, 0.16), transparent);
}

.cta-visitante > * { position: relative; }

.cta-visitante .selo { height: 46px; margin: 0 auto 1.4rem; display: block; }

.cta-visitante h2::after { display: none; }

.cta-visitante .sub { margin-inline: auto; }

.cta-visitante .btn + .btn { margin-left: 0.75rem; }

/* ---------- Lista de links (/links) ---------- */
.linklist { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.85rem; }

.linklist a {
  display: block;
  text-align: center;
  background: var(--painel);
  border: 1px solid var(--borda);
  border-radius: 10px;
  padding: 0.95rem 1.25rem;
  text-decoration: none;
  color: var(--texto);
  font-weight: 600;
  transition: transform 0.1s ease, border-color 0.1s ease;
}

.linklist a:hover { transform: translateY(-2px); border-color: var(--dourado); color: var(--dourado-claro); }

/* ---------- Vídeo ---------- */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--borda);
}

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

/* ---------- Rodapé ---------- */
.rodape { border-top: 1px solid var(--borda); color: var(--texto-suave); padding: 2.6rem 0; margin-top: 4rem; }

.rodape a { color: var(--dourado); text-decoration: none; }
.rodape a:hover { color: var(--dourado-claro); }

.rodape .container { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }

.rodape-logo { height: 30px; display: block; margin-bottom: 0.7rem; }

/* ---------- Utilidades ---------- */
.centro { text-align: center; }
.mt-2 { margin-top: 2rem; }

.aviso {
  background: rgba(212, 169, 78, 0.08);
  border: 1px solid rgba(212, 169, 78, 0.35);
  color: #d8cfb8;
  padding: 1rem 1.25rem;
  border-radius: 10px;
}

/* ---------- Chave PIX (contribuir) ---------- */
.pix-box {
  max-width: 520px;
  margin: 2rem auto 0;
  background: var(--painel);
  border: 1px solid var(--borda);
  border-radius: 12px;
  padding: 1.6rem 1.5rem;
  text-align: center;
}

.pix-rotulo {
  display: block;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 0.9rem;
}

.pix-chave {
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pix-chave code {
  font-family: "Inter", monospace;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--branco);
  background: var(--painel-2);
  border: 1px solid var(--borda);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
}

.pix-copiar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  line-height: 1;
  background: var(--dourado);
  color: var(--dourado-contraste);
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pix-copiar:hover { background: var(--dourado-claro); }

.pix-copiar.copiado { background: var(--dourado-claro); }

.pix-copiar-icone { display: block; flex-shrink: 0; }

.pix-copiar-txt { display: block; }

.pix-titular {
  color: var(--texto-suave);
  font-size: 0.9rem;
  margin-top: 1.2rem;
}

@media (max-width: 780px) {
  .pastores { grid-template-columns: 1fr; }
  .faixa-fotos { grid-template-columns: 1fr; }
  .bio-grid { grid-template-columns: 1fr; grid-template-areas: "foto" "texto"; gap: 2rem; }
  .bio-foto { position: static; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .topo-inner { justify-content: center; }
  .hero { min-height: 60vh; padding: 3rem 1.25rem; }
  .hero .btn + .btn, .cta-visitante .btn + .btn { margin-left: 0; margin-top: 0.75rem; }
}
