/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* Container principal */
.conteudo {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Banner e background */
.banner {
  position: relative;
  min-height: 100vh;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.slide-fundo {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.imagem {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  opacity: 0;
  animation: fadeSlide 20s infinite ease-in-out;
}

.fundo1 { background-image: url('image/fundo1.jpg'); animation-delay: 0s; }
.fundo2 { background-image: url('image/fundo2.jpg'); animation-delay: 5s; }
.fundo3 { background-image: url('image/fundo3.jpg'); animation-delay: 10s; }
.fundo4 { background-image: url('image/fundo4.jpeg'); animation-delay: 15s; }

@keyframes fadeSlide {
  0%, 100% { opacity: 0; }
  10%, 40% { opacity: 1; }
  50% { opacity: 0; }
}

/* Logo */
.logo {
  width: 350px; /* ajustar conforme necessidade */
  height: auto;
  margin-bottom: 30px;
}

/* Container das seções (Sobre, Serviços, Contato) */
.container-secoes {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  background-color: rgb(221, 221, 241);
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
}

.container-secoes section {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  word-break: break-word;
}

/* Ícones dentro das seções */
.container-secoes i {
  font-size: 20px;
  margin-right: 8px;
  max-width: 100%;
}

/* Links no contato */
section#contato a {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  word-break: break-word;
}

section#contato i {
  font-size: 20px;
  margin-right: 8px;
}

/* Lista de serviços */
li {
  white-space: normal;
  overflow-wrap: break-word;
}

/* Carrossel */
.carrossel {
  width: 100%;
  max-width: 280px;
  overflow: hidden;
  margin: 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.carrossel-slides {
  display: flex;
  transition: transform 1s ease-in-out;
}

.carrossel-slides img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 10px;
}

.bolinhas {
  text-align: center;
  margin-top: 10px;
}

.bolinha {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 5px;
  border-radius: 50%;
  background: #999;
}

.bolinha.ativa {
  background: #333;
}

/* Linha com todos os carrosséis */
.linha-carrosseis {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px 0;
}

/* Título dos carrosséis */
.titulo-carrosseis {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: white;
  font-weight: bold;
}

/* Rodapé */
footer {
  width: 100%;
  background-color: #0a3d62;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: auto;
}

footer a {
  color: rgb(245, 244, 244);
  text-decoration: none;
}

/* Rodapé interno */
.rodape {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Responsivo */
@media (max-width: 768px) {
  .linha-carrosseis {
    flex-direction: column;
    align-items: center;
  }
}
