/* ==================================================
   VIVER A PEDRA – ESTILO OFICIAL
================================================== */

/* =========================
   TEXTO INTRO PADRÃO
========================= */
.section-intro {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
}

/* =========================
   HERO / MANIFESTO
========================= */
.viver-hero {
    min-height: 50vh;
  background:
    linear-gradient(rgba(15,23,42,.7), rgba(15,23,42,.7)),
    url("/img/viveraPedra.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}

.viver-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  letter-spacing: .5px;
}

.viver-hero p {
  max-width: 760px;
  margin: auto;
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: .95;
}

/* =========================
   GALERIA IMERSIVA
========================= */
.galeria-imersiva {
  margin: 100px 0;
}

.galeria-grid-imersiva {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}

.galeria-grid-imersiva .foto {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

.galeria-grid-imersiva img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  cursor: zoom-in;
}

.galeria-grid-imersiva .foto:hover img {
  transform: scale(1.08);
}

/* tamanhos variáveis */
.galeria-grid-imersiva .foto.grande {
  grid-column: span 3;
  grid-row: span 2;
}

.galeria-grid-imersiva .foto.media {
  grid-column: span 2;
}

/* legenda */
.galeria-grid-imersiva span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color: #fff;
  font-size: .95rem;
  font-weight: 500;
}

/* =========================
   HISTÓRIAS – ESTILO EDITORIAL
========================= */
.historias-editorial {
  margin: 110px 0;
}

.historias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.historia-card {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
  transition: transform .35s ease;
}

.historia-card:hover {
  transform: translateY(-8px);
}

.historia-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.historia-info {
  padding: 26px;
}

.historia-info h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: #1e293b;
}

.historia-info p {
  font-size: .95rem;
  line-height: 1.6;
  color: #555;
}

/* =========================
   MAPA CONTEMPLATIVO
========================= */
.viver-mapa {
  margin: 110px 0;
  text-align: center;
}

.mapa-container {
  margin-top: 30px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0,0,0,.25);
}

.mapa-container iframe {
  width: 100%;
  height: 420px;
  border: none;
}

/* =========================
   CONVITE HUMANO
========================= */
.convite-humano {
  background: linear-gradient(135deg, #e0f2fe, #fef3c7);
  padding: 100px 25px;
  border-radius: 36px;
  text-align: center;
  margin: 120px 0 80px;
}

.convite-humano h2 {
  margin-bottom: 10px;
}

.convite-humano p {
  max-width: 700px;
  margin: 0 auto 35px;
  font-size: 1.1rem;
  color: #444;
}

.convite-contatos {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.convite-contatos a {
  padding: 14px 30px;
  border-radius: 30px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease;
}

.convite-contatos a:hover {
  transform: translateY(-2px);
  background: #1d4ed8;
}

.convite-contatos a:last-child {
  background: #0f766e;
}

.convite-contatos a:last-child:hover {
  background: #115e59;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 768px) {

  .viver-hero {
    padding: 90px 20px;
  }

  .viver-hero h1 {
    font-size: 2.3rem;
  }

  .viver-hero p {
    font-size: 1.05rem;
  }

  /* galeria */
  .galeria-grid-imersiva {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .galeria-grid-imersiva .foto.grande,
  .galeria-grid-imersiva .foto.media {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* mapa */
  .mapa-container iframe {
    height: 300px;
  }

  /* convite */
  .convite-humano {
    padding: 70px 20px;
  }
}
/* =========================
   LIGHTBOX GLOBAL
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  padding: 20px;
}

.lightbox.aberto {
  display: flex;
}

.lightbox-fechar {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 38px;
  color: #fff;
  cursor: pointer;
}

.lightbox-conteudo {
  max-width: 900px;
  text-align: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.lightbox-texto {
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f1f5f9;
}

