/* === CONTAINER DO TOPO === */
.topo-conteudo {
  display: flex;
  width: 100%;
  max-width: 1440px;
  margin: 2rem auto;
  padding: 0 2rem;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

/* === CARROSSEL === */
.carrossel-container {
  flex: 2;
  min-width: 500px;
  max-width: 1000px;
  height: 600px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background-color: white;
}

#carrossel {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.slide.ativo {
  display: block;
}

/* SETAS */
.carrossel-anterior,
.carrossel-proximo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: var(--button-bg-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carrossel-anterior i,
.carrossel-proximo i {
    color: white;
}

.carrossel-anterior:hover,
.carrossel-proximo:hover {
  background-color: var(--button-hover-bg-color);
  transform: translateY(-50%) scale(1.1);
}

.carrossel-anterior {
  left: 1.5rem;
}

.carrossel-proximo {
  right: 1.5rem;
}

/* INDICADORES */
.indicadores {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dot.ativo {
  background-color: var(--secondary-color);
}

/* === MENU DE SERVIÇOS - ÍCONE + NOME === */
.servicos-menu {
  flex: 1;
  min-width: 280px;
  padding: 2rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.servicos-menu h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--header-color);
}

.servicos-botoes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  justify-items: center;
}

.servico-item {
  background-color: var(--button-bg-color);
  border: 1px solid var(--button-hover-bg-color);
  border-radius: 12px;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
  padding: 0.6rem;
}

/* Ícones Font Awesome (legado) */
.servico-item i {
  color: white;
  font-size: 2.4rem;
  margin-bottom: 0.3rem;
}

/* Ícones SVG Lucide */
.servico-item svg {
  width: 2.4rem;
  height: 2.4rem;
  stroke: white;
  fill: none;
  margin-bottom: 0.3rem;
  transition: stroke 0.3s ease;
}

.servico-item span {
  font-size: 1.1rem;
  color: white;
  line-height: 1.2;
}

.servico-item:hover {
  background-color: var(--button-hover-bg-color);
  transform: translateY(4px);
}

.servico-item:hover i,
.servico-item:hover span {
  color: var(--secondary-color);
}

.servico-item:hover svg {
  stroke: var(--secondary-color);
}

.servicos-menu a {
  text-decoration: none;
}


/* === RESPONSIVO === */
@media (max-width: 768px) {
  .topo-conteudo {
    flex-direction: column;
    align-items: center;
  }

  .carrossel-container,
  .servicos-menu {
    width: 100%;
  }

  .servicos-botoes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .servicos-botoes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
