* {
  margin: 0;
  padding: 0;
}
p{
  font-size: 24px !important;
}

/* */
elemento {
  --main-bg-color: brown;
}
  #divpai_sobre{
    margin-top: 70px;
  }

  /* Estilo do corpo da página */
body {
  margin: 0;
  padding: 0;
  background-color: rgb(255, 255, 255);
}

/* Ícones das seções de qualidade */
#casa,
#cadeado,
#cifrao {
  border-radius: 50%;
  margin: 15px;
}

/* Barra de navegação */
.botaoMenu{
  background-color: #3f51b5 !important;
  color: #d6d9e7 !important;
}
nav {
  background-color: #d6d9e7;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Imagem principal da seção "Sobre" */
#img-fluid {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}

/* Espaçamento da seção de segurança, qualidade e garantia */
#div_seg_qualidade_gar {
  margin: 50px;
}

/* Botão "Saiba Mais" da seção sobre */
.botao_sobre {
  display: flex;
  width: 180px;
  height: 60px;
  background-color: #3f51b5;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  color: white;
}

/* Texto do botão "Saiba Mais" */
#Saibamais {
  font-size: 18px;
  color: white;
  text-align: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
}

/* Links do menu de navegação */
.nav-link {
  font-weight: bold;
  font-size: 18px;
  color: #222;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #3f51b5;
}

/* Container da barra de navegação */


/* Cabeçalho (fundo de tela toda) */
.head1 {
  margin-bottom: 40px;
  width: 100%;
}

.fundo-barra {
  background-color: rgb(214, 217, 231) !important; /* cor que vai até as extremidades */
  width: 100%;
    position: fixed;
    top: 0;
      z-index: 1001;
}

/* Parte central da barra */
.container-navegacao {
  max-width: 1000px;
  margin: 0 auto;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  max-height: 80px;
  height: auto;
  width: auto;
  margin-right: 24px;
}

/* Colunas das seções */
.col {
  font-size: 20px;
}

/* Responsividade para o carrossel em telas maiores */
@media (min-width: 568px) {
  .carousel-inner {
    display: flex;
  }

  .carousel-item {
    margin-right: 0;
    flex: 0 0 33.333333%;
    display: block;
    width: 550px; 
    flex: 0 0 auto;
  }

}

/* Container do carrossel */
.carousel-inner {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  justify-content: flex-start;
  align-items: center;
  scrollbar-width: none;
  padding: 40px 0;
}

/* Esconde a barra de rolagem do carrossel */
.carousel-inner::-webkit-scrollbar {
  display: none;
}

/* Itens do carrossel (cards) */
.carousel-item {
  flex: 0 0 300px;
  margin: 0 16px 0 1.226cm;
  height: 200px;
  width: 300px;
  opacity: 0.5;
  transform: scale(0.9);
  transition: opacity 0.4s, transform 0.4s;
  z-index: 1;
}

/* Item ativo do carrossel */
.carousel-item.active {
  opacity: 1;
  transform: scale(1.08);
  z-index: 2;
}

/* Imagem dentro do card do carrossel */
.d-block {
  width: 100%;
  height: 100%;
}

/* Botões de navegação do carrossel */
.carousel-control-prev,
.carousel-control-next {
  background-color: #656464;
  width: 10vh;
  height: 10vh;
  border-radius: 50%;
  top: 40%;
  transform: translateY(-10%);

}

/* Container padrão para centralizar conteúdo */
.container {
  max-width: 950px;
  margin: auto;
  padding: 40px 20px;
  scroll-margin-top: 100px; /* distância desejada do topo */
}

/* Fundo da seção de feedbacks ocupando 100% da tela */
.fundo-feedbacks {
  width: 100%;
  scroll-margin-top: 50px; /* distância desejada do topo */
  padding: 60px 20px;
 background: #FFFFFF;
background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(63, 81, 181, 1) 0%, rgba(255, 255, 255, 1) 50%);
}

/* Área dos depoimentos */
.testimonials {
  position: relative;
  height: 300px;
  width: 100%;
}

/* Cada depoimento (inicialmente oculto) */
.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* Depoimento visível */
.testimonial.active {
  opacity: 1;
  z-index: 1;
}

/* Imagem do depoimento */
.testimonial img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}


/* Espaçamento entre itens do menu em telas pequenas */
@media (max-width: 743px) {
  .logo {
    max-height: 60px;
    margin-right: 0;
    margin-bottom: 0px;
  }

  #partedohead {
    flex-direction: row !important;
    align-items: center !important;
    text-align: center;
  }
  #divpai_sobre{
    margin-top: 75px;
  }
  #img-fluid {
  width: 100%;
  max-width: 500px;
  height: 200px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}
}

/* Modal de orçamento */
button {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #3f51b5;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #1f2c77;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  z-index: 1011;
}

.modal-conteudo {
  background-color: rgb(214, 217, 231);
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.fechar {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.fechar:hover {
  color: black;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.resultado {
  margin-top: 20px;
  background-color: #e2f0d9;
  padding: 15px;
  border-radius: 4px;
  font-size: 18px;
}

.btn{
  color: white;
}
.btn:hover {
  color: #000000 !important;
}