body {
  margin: 0;
  padding: 0;
}

.sidebar {
  background-color: #4C88E0;
  color: white;
  height: 100vh;
  position: fixed;
  width: 220px;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1rem;
  z-index: 1000;
}

.sidebar a {
  color: white;
  text-decoration: none;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  width: 100%;
  transition: background-color 0.3s, transform 0.3s;
  border-radius: 5px;
}

.sidebar a i {
  transition: color 0.3s;
}

.sidebar a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.sidebar a:hover i {
  color: #0B4257; /* azul */
}

.content {
  margin-left: 220px;
  padding: 20px;
}

.slide-lateral {
  margin-top: auto;
  width: 100%;
  background-color: #c77dff;
  padding: 10px;
}

.slide-lateral img {
  width: 100%;
  margin-bottom: 10px;
}

.slide-lateral p {
  color: white;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: down;
    justify-content: space-between;
    padding: 0.5rem 1rem;
  }

  .sidebar a {
    display: none;
  }

  .sidebar .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .sidebar.active a {
    display: block;
  }

  .content {
    margin: 0;
  }
}

.hero {
  background-image: url('https://comercioemrevista.com.br/assets/images/hero-ini-1200x300.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero-lsl {
  background-color: #E0DEDE;
  max-width: 1080px;
  max-height: 350px;
  background-size: cover;
  background-position: center;
  color: #555; /* substituindo "mute" por cor real */
  padding: 10px 20px;
  text-align: center;
}

.hero-lsl h2 {
  background: rgba(0, 0, 0, 0.4);
  color: white;
}

.bn-claro {
        background-image: url('https://comercioemrevista.com.br/assets/images/claro.jpg');
        background-size: cover;
        background-position: center;
        max-width: 1080px;
        margin: 0 auto; /* centralizar */
        padding: 20px 0; /* espaçamento vertical */
        display: flex;
        align-items: center;
        justify-content: center;
        }

        .bn-claro hr.divisor {
        border-top: 2px solid white;
        width: 75%;
        margin: 0 auto;
        }

/* Mantém as imagens no máximo 360px em telas médias e maiores */
.bn-claro img {
    max-width: 360px;
    width: 100%; /* para respeitar o container */
    height: auto;
}

/* Em telas menores (mobile), deixa a imagem ocupar 100% do container, reduzindo o tamanho */
@media (max-width: 767.98px) {
    .bn-claro img {
        max-width: 100%;
        width: 100%;
    }
}


footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
}

.carousel-inner img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover; 
  float: left;
  margin: 0 15px 15px 0; /* Adiciona margem à direita e abaixo da imagem */  
}

.carousel {
  max-width: 1080px;
  margin: 0 auto;
    
}
