:root {
  --bg-paper: #fafaf7;
  --bg-card: #ffffff;
  --text-main: #2c302e;
  --text-muted: #6b726c;
  --accent-green: #3b5a40;
  --border-light: #e4e3db;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background-color: var(--bg-paper);
  color: var(--text-main);
  line-height: 1.6;
}

header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.logo-emblem {
  height: 64px;
  width: auto;
  display: block;
  transition: transform 0.2s ease-in-out;
}

.logo-container:hover .logo-emblem {
  transform: scale(1.05);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-text-group h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--accent-green);
  font-weight: 600;
  line-height: 1.1;
}

.logo-text-group span {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

main {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 5%;
}

.passeio-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
}
.passeio-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--text-main);
  margin: 0 0 10px 0;
}
.passeio-meta {
  color: var(--text-muted);
  font-size: 1rem;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Seção de Texto / Relato de Campo */
.passeio-descricao {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 3rem;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

/* Galeria em Grade */
.section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}
.galeria-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}
.galeria-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.galeria-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.galeria-caption {
  padding: 10px;
  font-size: 0.85rem;
}
.galeria-caption .pop {
  font-weight: 600;
  color: var(--text-main);
  display: block;
}
.galeria-caption .cien {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--accent-green);
  font-size: 0.8rem;
}

/* Modal Lightbox */
#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#lightbox img {
  max-width: 85%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
}
#lightbox-caption {
  color: white;
  margin-top: 15px;
  font-size: 1.1rem;
  text-align: center;
}
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}
.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}
#prevBtn {
  left: 30px;
}
#nextBtn {
  right: 30px;
}
#closeLightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  color: white;
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
}

@media (max-width: 600px) {
  .logo-emblem {
    height: 48px;
  }
  .logo-text-group h1 {
    font-size: 1.4rem;
  }
}

/* Limita e estiliza imagens inseridas no corpo do roteiro */
.passeio-descricao img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 8px;
  cursor: zoom-in;
  display: block;
  margin: 20px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.passeio-descricao img:hover {
  transform: scale(1.01);
}
