body {
  font-family: 'Roboto', sans-serif;
}

.search-box {
  max-width: 280px;
  border: 1px solid #ccc;
  border-radius: 30px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.search-box input {
  border: none;
  border-radius: 0;
  padding: 0.5rem 1rem;
  outline: none;
  box-shadow: none;
}

.search-box input::placeholder {
  color: #999;
}

.search-box button {
  border: none;
  border-radius: 0;
  padding: 0.5rem 1rem;
  background-color: #007bff;
  color: white;
  transition: background 0.2s;
}

.search-box:hover {
  box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
}

.search-box button:hover {
  background-color: #0056b3;
}

@media (min-width: 992px) {
  header img {
    height: 90px;
  }
}

.navbar {
  background: linear-gradient(to right, #005bbf, #007bff);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .nav-link {
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s, background 0.2s;
}

.navbar .nav-link:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 4px;
}

.navbar .navbar-brand {
  font-size: 1.25rem;
  font-weight: bold;
  color: white !important;
}

.navbar-toggler {
  border: none;
}

.card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.card-img-top {
  object-fit: cover;
  height: 220px;
}

.card-body {
  background: #fff;
  padding: 1rem;
}

.card .text-primary {
  font-size: 1.2rem;
  font-weight: bold;
  color: #007bff;
}

.categoria-carousel {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}

.categoria-carousel a {
  scroll-snap-align: center;
  transition: transform 0.3s;
}

.categoria-carousel a:hover {
  transform: scale(1.05);
}

.categoria-carousel .border {
  border: 1px solid #ddd;
  transition: box-shadow 0.3s;
  border-radius: 8px;
  background: #fff;
}

.categoria-carousel .border:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar {
  background: linear-gradient(to right, #333, #444);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.navbar .nav-link {
  color: #f0f0f0;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 4px;
}

.titulo-secao {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  display: inline-block;
  position: relative;
  color: #333;
}

.card-body h5 {
  font-size: 1.1rem;
  font-weight: 600;
}

.card-body span {
  white-space: nowrap;
}

.table td, .table th {
  vertical-align: middle;
}

.alert {
  border-radius: 8px;
}

.titulo-secao hr {
  background-color: #28a745;
}
