/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f8f9fa;
  color: #333;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Top Bar */
.top-bar {
  background-color: #1e293b;
  color: #fff;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3rem;
}
.top-bar__categories-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}
.top-bar__search {
  position: relative;
  flex: 1;
  max-width: 400px;
  margin: 0 1rem;
}
.top-bar__search input {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border-radius: 4px;
  border: none;
}
.top-bar__search i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}
.top-bar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}
.top-bar__actions .badge {
  background: #047857;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: bold;
}
.top-bar__actions i,
.top-bar__actions .dropdown {
  cursor: pointer;
}

/* Header principal */
.main-header {
  background-color: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.main-header__inner {
  display: flex;
  align-items: flex-start;
}

/* Sidebar */
.sidebar {
  width: 240px;
  background: #fff;
  box-shadow: 2px 0 6px rgba(0,0,0,0.05);
}
.sidebar h2 {
  padding: 1rem;
  font-size: 1.1rem;
  border-bottom: 1px solid #e2e8f0;
}
.sidebar__list li a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #333;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.sidebar__list li a:hover {
  background-color: #f1f5f9;
}
.sidebar__list li a i {
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

/* Área que contém nav + carrossel */
.main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-left: 2rem;
}

/* Navegação principal */
.site-nav {
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.site-nav ul {
  display: flex;
  gap: 2rem;
}
.site-nav ul li a {
  color: #333;
  font-weight: 500;
}

/* Carrossel */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 8px;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-slide {
  min-width: 100%;
}
.carousel-slide img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 10;
}
.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }

/* Hero Banner */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f1f5f9;
  border-radius: 8px;
  padding: 3rem 1rem;
  margin: 2rem 0;
}
.hero__content {
  max-width: 50%;
}
.hero__subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.hero__title {
  font-size: 2.5rem;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 1rem;
}
.btn--primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #047857;
  color: #fff;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.2s;
}
.btn--primary:hover {
  background-color: #065f46;
}
.hero__image img {
  max-width: 100%;
  border-radius: 8px;
}

/* Seção de Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.feature {
  background: #fff;
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.feature i {
  font-size: 2rem;
  color: #047857;
  margin-bottom: 0.75rem;
}
.feature h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.feature p {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Produtos (Categoria) */
.products {
  margin: 2rem 0;
}
.products__title {
  font-size: 2rem;
  color: #111827;
  margin-bottom: 1rem;
  text-align: center;
}
.lista-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.lista-produtos li {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.lista-produtos img {
  max-width: 100%;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.botao {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  background-color: #047857;
  color: #fff;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.2s;
}
.botao:hover {
  background-color: #065f46;
}

/* Footer */
.site-footer {
  background-color: #f1f5f9;
  text-align: center;
  padding: 1.5rem 0;
}
.site-footer p {
  color: #6b7280;
  font-size: 0.9rem;
}
