html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background-color: #faf8f8;
  font-family: 'Inter', "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

main {
  flex: 1;
}

/* 🔵 Topo Informativo */
.topbar {
  background-color: #0006b4;
  color: white;
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.topbar a {
  color: #ffc107;
  font-weight: 500;
  transition: all 0.2s;
}
.topbar a:hover {
  color: white;
  text-decoration: none;
}

/* 🔵 Navbar Principal */
.navbar {
  background-color: #0006b4 !important;
}

.navbar .navbar-toggler {
  border-color: #ffc107;
}

.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,193,7, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar .nav-link {
  color: #fff;
  font-weight: 600;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #ffc107;
}

.navbar .dropdown-toggle {
  background-color: #ffc107 !important;
  color: #000 !important;
  font-weight: bold;
  border: none;
}

.navbar .dropdown-menu {
  background-color: #fff;
  border: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar .dropdown-menu a {
  color: #000;
  padding: 8px 15px;
}
.navbar .dropdown-menu a:hover {
  background-color: #f8f9fa;
  color: #0006b4;
}

/* 📦 Produtos */
.card-produto {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 15px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.card-produto:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.produto-titulo {
  height: 40px;
  overflow: hidden;
  margin-bottom: 10px;
}

.produto-img {
  height: 200px;
  object-fit: contain;
  padding: 10px;
}

.btn-successo {
  background-color: #0006b4;
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-successo:hover {
  background-color: #00059a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-warning {
  color: #000;
  font-weight: bold;
  transition: all 0.3s;
}
.btn-warning:hover {
  transform: translateY(-2px);
}

.list-group-item.active {
  background-color: #0006b4;
  border-color: #0006b4;
}
.list-group-item a {
  display: block;
  padding: 4px 8px;
}

/* 🟡 Links das páginas */
.link-pagina {
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  padding: 8px 12px;
}
.link-pagina:hover {
  color: #ffc107;
}

/* 🔽 Categorias Slider */
#categoriaSlider::-webkit-scrollbar {
  display: none;
}
#categoriaSlider {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.categoria-card:hover {
  box-shadow: 0 0 0 3px #ffc107;
  transition: 0.3s;
}

/* ⬅️➡️ Botões do slider */
#categoriaSlider-container {
  position: relative;
}
.btn-categoria-scroll {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: #0006b4;
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  color: white;
  transition: all 0.3s;
}
.btn-categoria-scroll:hover {
  background-color: #ffc107;
  color: #000;
}
#btn-categoria-prev {
  left: -20px;
}
#btn-categoria-next {
  right: -20px;
}

/* 💬 Depoimentos */
.depoimento-card {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
}
.depoimento-card:hover {
  transform: translateY(-5px);
}

/* 🏷️ Marcas */
.marca-item {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}
.marca-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* 📦 Footer */
footer {
  background-color: #0006b4;
  color: white;
  padding-top: 40px;
}

footer a {
  color: #ffc107;
  transition: all 0.2s;
}
footer a:hover {
  color: white;
  text-decoration: none;
}

footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  margin-right: 10px;
  transition: all 0.3s;
}
footer .social-icons a:hover {
  background-color: #ffc107;
  color: #000;
  transform: translateY(-3px);
}

/* 📱 Responsividade extra para mobile */
@media (max-width: 767px) {
  .topbar {
    text-align: center;
  }

  .navbar .nav-link {
    padding: 0.5rem 1rem;
  }

  .produto-img {
    height: 140px;
  }

  .dropdown-menu {
    font-size: 0.9rem;
  }

  .card-produto {
    padding: 10px;
  }
}
