/* ===== TÍTULO DE CATEGORIA ===== */
.titulo-categoria {
  font-size: 1.8rem;
  color: #0D47A1;
  font-weight: bold;
  margin-top: 60px;
  margin-bottom: 20px;
  border-left: 6px solid #F57C00;
  padding-left: 12px;
}

/* ===== LISTA DE VIAGENS ===== */
.lista-viagens {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

/* ===== CARD DE VIAGEM ===== */
.viagem-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.viagem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.viagem-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.viagem-card-content h3 {
  font-size: 1.4rem;
  color: #0D47A1;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== DESCRIÇÃO LIMITADA ===== */
.viagem-card-content .descricao {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
  max-height: 4.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.viagem-card-content p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

.viagem-card-content .btn-categoria {
  margin-top: 10px;
  align-self: flex-start;
}

/* ===== ETIQUETA COMO BADGE ===== */
.badge-etiqueta {
  background-color: #F57C00;
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 14px;
  font-weight: bold;
  white-space: nowrap;
}

/* ===== NAVEGAÇÃO DE CATEGORIAS ===== */
.navegacao-categorias {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 50px;
  justify-content: center;
}

.btn-categoria {
  background-color: #0D47A1;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-categoria:hover {
  background-color: #2196F3;
}

/* ===== BOTÃO TOPO ===== */
#btn-topo {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #0D47A1;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

#btn-topo:hover {
  background-color: #2196F3;
}

/* ===== RESPONSIVO PARA LARGURAS MAIORES ===== */
@media (min-width: 768px) {
  .lista-viagens {
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  }

  .viagem-card {
    flex-direction: row;
  }

  .viagem-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .viagem-card-content {
    padding: 20px 24px;
  }

  .titulo-categoria {
    font-size: 1.6rem;
  }
}
