html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  background: #f4f9fc;
  color: #333;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Seções com links principais (cards grandes) */
.secao-categorias {
  display: flex;
  
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}

.secao-categorias .card-categoria {
  flex: 1 1 calc(25% - 20px);
  background: white;
  border: 1px solid #dde3eb;
  border-radius: 10px;
  padding: 30px 10px;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #1d2d55;
}

.secao-categorias .card-categoria:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.card-categoria h4 {
  font-weight: 700;
  margin-bottom: 8px;
}

.card-categoria p {
  font-size: 0.9em;
  color: #555;
}
.card-categoria.active {
  background-color: #0078d7;
  color: #fff;
  border-color: #005fa3;
  box-shadow: 0 4px 12px rgba(0, 120, 215, 0.2);
}

.card-categoria.active h4,
.card-categoria.active p {
  color: #fff;
}
/* Formulário de busca moderno */
.form-busca {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);

}

.form-busca select,
.form-busca input[type="text"] {
  padding: 10px;
  font-size: 1.1em;
  border-radius: 8px;
  border: 1px solid #ccc;
  height: auto;
  min-width: 220px;
}

.form-busca button {
  background-color: #0078d7;
  border: none;
  color: white;
  padding: 10px 20px;
  font-size: 1.1em;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-busca button:hover {
  background-color: #005fa3;
}

@media (max-width: 768px) {
  .secao-categorias {
    flex-direction: column;
  }
  .card-categoria {
    width: 100%;
  }
    
.guia-tipo-1 {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 24px;
}
.cred-card {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center;
}
.cred-card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 12px;
}
.cred-card h4 {
  color: #0078d7;
  font-size: 1.2em;
  margin: 0 0 8px;
}
.cred-card p {
  font-size: .95em;
  margin: 4px 0;
}
}
