body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: 'Cairo',Helvetica, sans-serif;
  color:black;
}

/* o topo ficar sobre a imagem */

.container-topo {
  width: 100%; 
  z-index: 2;
  margin-bottom: 0;
  position: relative;
  margin-top: 0;
  background-color:black ; 
}


/* header para topo sobre a imagem */

header {
  width: 80%;
  margin-left:10%;
  margin-right:10%;
  top: 0;
  z-index: 10;
  display: flex;
  padding: 0;
  align-items: center;
  background-color: transparent;
}

header .logo img {
  margin-left: 0;
  float: left;
  object-fit: fill;
  width: 100%;
}


.social-icons{
  text-align: center;
  
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
}

.social-icons a:hover{
  color:rgb(0, 255, 42);
}

a{
  text-decoration: none;
  color:white;
  font-weight: 800;
}

a:hover{
  color:#25D366;
  font-weight: 200;
}

span a{
  text-decoration: none;
  color:white;
  font-weight: 400;  
}


/* Logo */
.logo-img {
  max-width: 70%;
  height: auto;
}

/* Menu desktop */
nav {
  display: block;
  width: 50%;  
}

nav .menu {
  display: flex;
  list-style: none;
  align-items: end;
  float: right;
}

nav .menu li {
  display: inline-block;
  font-weight: 100;
  font-size:0.8rem;
  position: relative;
  color:white;
  padding-right: 10px;
}

nav .menu a {
  text-decoration: none;
  color: white;
}

nav .menu li a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: white;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

nav .menu li a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Toggle escondido no desktop */
.menu-toggle, .menu-close {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.whatsapp-popup a:hover {
  color: #25D366;
}

.whatsapp-fixo img {
  width: 50%; /* Ajuste o tamanho conforme necessário */
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.whatsapp-fixo img:hover {
  transform: scale(1.1);
  opacity: 1.0;
}


.texto-quemsomos{
  position: relative;
  width:80%;
  word-break: keep-all;
  margin-left:10%;
  margin-right:10%; 
  margin-bottom: 3%;   
  white-space: 1px;
 }

 .texto-quemsomos h1{
  margin-left:0px;
  line-height:6.6rem;
  font-size:5.3rem;
  font-weight:800;
  margin-bottom:0;
 }

 .texto-quemsomos .paragrafo-item h2,h3,h4,h5{
  margin-top: 2%; 
  margin-bottom: 0.3%;
  font-size: 2rem;
 }

 .texto-quemsomos .texto p{
  line-height: 1.4rem;
  font-size:1.3rem;
  font-weight: 600;
  top:0;
  background-color: transparent;
 } 

 .texto-quemsomos .paragrafo-conteudo img{
  align-items: center;
  float: left;
  margin-bottom: 5%;
  margin-right: 2.5%;
  width: 20.7%;
  object-fit: contain;
 }


.contato{
  width: 100%;
  height:auto ;
  position: relative;
  color: #fff;
  background-color: black;
  margin-top: 10%;
  margin-bottom: 10%;
  align-items: center;
  align-content: normal;
}



.rodape-row{
  display:flex;
  height: 100%;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  margin-bottom: 5%;
  font-size:2.5rem;
  font-weight:300; 
  position: relative;
  flex-wrap: wrap;     /* ajusta no responsivo */
  justify-content: space-between;
  gap: 1.5rem;               /* espaçamento entre colunas */
}

.rodape-col1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  font-size: 1.2rem;
  text-align: center;
  margin-top: 10%;
}

.rodape-col2 {
  font-size: 1rem;
  font-weight: 300;
  display: flex;
  margin-top: 10%;
  margin-left: 30%;
  margin-bottom: 10%;
  width: 53%;
  align-content: end;
  flex-direction: column;
  line-height: 1.4em;
  font-size: 0.95rem;
  
}

.rodape-col3 {
  flex: 1;
  float: right;
  margin-top: 10%;
  margin-bottom: 10%;
  margin-right: 0;
  width: 20%;
  display: flex;
  justify-content: flex-start;  /* empurra logo para a direita */
  align-items: center;    
  align-content: flex-start;    /* alinha textos e logo pela altura */
  
}

.rodape-contatos {
  display: flex;
  flex-direction: column;     /* empilha os contatos */
  font-weight: 200;
  align-content: end;
  text-align: right;
}

.rodape-contatos a{
  font-style: normal;
}

.rodape-logo img {
  width: 70%;
  height: 100%;
  margin-right: 0;
  margin-left: 5%;
  object-fit: contain;
  
}
.rodape-row p{
  line-height: 0.1;
}

.cursor {
  cursor: pointer; 
}

.titulo {
  font-size: 3rem;
  font-weight: 800;
  color: #404340;
  margin-top: 2rem;
  margin-bottom: 1.5rem; /* Espaçamento inferior */
  text-align: justify; /* Centraliza o título */
  position: relative; /* Necessário para a linha decorativa */
}

/* Linha decorativa abaixo do título */
.titulo::after {
  content: '';
  display: block;
  width: 100px; /* Tamanho da linha (ajustável) */
  height: 5px; /* Espessura da linha */
  margin: 0.5rem auto; /* Centraliza a linha */
}


.galeria-carousel {
  position: relative;
  overflow: hidden;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 0;  
}

.galeria-slide { 
    flex: 0 0 20%; } /* desktop: 4 slides */

.galeria-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  margin-top: 0;
}


.slide-img {
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.slide-img:hover {
  transform: scale(1.05);
}

/* Botões do carrossel */
.galeria-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}
.galeria-btn.prev { left: 10px; }
.galeria-btn.next { right: 10px; }


.detalhe {
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  display: none; /* começa invisível */
  height: 100%;
  margin-bottom: 20%;
  position: relative;
  flex:auto; 
  line-height:1.5;
}

.detalhe-img {
  width:60%; 
  float:left; 
  margin-left:0;
  margin-top:0%;
  object-fit:cover;
  position:relative;
}

.detalhe-text {
  width:40%;
  margin-top:3%;
  margin-right:auto;
  line-height:1.4em;
  display: flex;
  flex-direction: column;     /* coloca um embaixo do outro */
  position: relative;
  height: 100%;
  white-space: 2px;
  word-spacing: 2px;
  word-break: keep-all;
}

.detalhe-text h3{
  margin-top: 80%;
  font-weight: 800;
  font-size: 2rem;
  margin-left: 5%; /* gruda no h3 */ 
  white-space: 2px;
  word-spacing: 2px;
  line-height: 0.9em;
}

.detalhe-text p{
  margin-top: 1%;
  position: relative;
  font-size: 1.3rem;
  font-weight: 600;
  font-style: bold;
  margin-left: 5%; /* gruda no h3 */
  height: 100%;  
  
}  

.fechar {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}


/* Estilo do formulário */

.container-form {
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  z-index: 2;
  height: auto;
  margin-bottom: 3%;
  position: relative;

}

.container-form h2{
  font-size: 1.1 rem;
  font-weight: 800;
  margin-bottom: 2%;
  margin-left: 0;
  line-height: 0.5em;
}
.container-form small{
  margin-top:0;
  margin-left: 0;
  margin-bottom: 2%;
  color:black;
}
#formRetorno{
  margin-left: 20%;
  background: white;
}

form {
  width: 100%;
  margin: auto;
  position: relative;
}

/* Label */
form label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
  font-size: 16px;
}

/* Textarea */
form textarea {
  width: 99.7%;
  resize: vertical;
  min-height: 200px;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.3s;
}

form textarea:focus {
  border-color: #011018;
  outline: none;
}

/* Botão */
form button {
  margin-top: 0.2rem;
  padding: 12px 12px;
  background: white;
  color:rgb(0, 0, 0);
  font-size: 16px;
  font-weight: bold;
  border: 1px;
  border-style: solid;
  cursor: pointer;
  position:relative ;
  display: flex;
  float: right;
  transition: background 0.3s, transform 0.2s;
}

form button:hover {
  background: black;
  color:white;
  transform: translateY(-2px);
}

form button:active {
  background: red;
  transform: translateY(0);
}

/* Mensagens de retorno */
form + p,
form + ul {
  max-width: 700px;
  margin: 20px auto;
  padding: 15px;
  border-radius: 8px;
  font-size: 15px;
}

form + p[style*="green"] {
  background: #e6f9ec;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

form + p[style*="red"],
form + ul {
  background: #fdecea;
  color: #c62828;
  border: 1px solid #f5c6cb;
}


/* Responsivo */
@media (max-width: 1024px) {
  
  .texto-quemsomos h1{
   font-size:3rem; 
   display: flex;
   white-space:initial;
    line-height:3rem;
  }

  .container-topo{
   margin-top: 0;
  }

  .texto-quemsomos{
   margin-left:auto;
   margin-right:auto;
  }
 
  .paragrafo-conteudo{
   display: flex;
   flex-direction: column;
  }
  
  .texto-quemsomos .paragrafo-conteudo img{
   width: 100%;
  }
  
 .galeria-slide {
    flex: 0 0 100%; /* ocupa 100% = 1 slide por vez */
  }

  /* Botões do carrossel ficam mais amigáveis no mobile */
  .galeria-btn {
    padding: 0.4rem 0.8rem;
    font-size: 1.2rem;
  }

  /* Ajuste da galeria para caber bem no mobile */
  .galeria-carousel {
    width: 100%;   /* ocupa toda largura da tela */
    margin-left: 0;
    margin-right: 0;
  }

  .rodape-row {
    display: flex;
    flex-direction: column; 
  }

  .rodape-col1,
  .rodape-col2,
  .rodape-col3 {
    width: 100%;
    margin-left: 0%;
    margin-right:0%;
    justify-content: center;
  }

  .rodape-col2 {
    width: 100%;
    margin-right:0%;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
  }

  .rodape-contatos{
    text-align: center;
  }
  .rodape-row img{
   margin-top: 0;
   width: 100%;

  }
 
  .detalhe{
   align-items: center;
   align-content: center;
   width: 100%;
   height: auto;
   margin-bottom: 2%;
   margin-left: 15%;
  }
 
  .detalhe-img{
    margin-bottom: 1%;
  }
  .detalhe-text{
    margin-top: 0;
  }
  .detalhe h3{
    margin-top: 0.5%;
    margin-left: 10%;
  }
 
  .detalhe p{
   margin-left: 10%;
  }
  .detalhe-img {
   display: none;
  }

  .container-form{
   margin-top: 20%;
   display: flex;
   flex-direction: column;
   white-space: 1px;
   word-break: break-all;
   font-size: 90%;
  }

  nav {
   display: none;
   position: fixed;
   top: 0;
   left: 30%;
   width: 100%;
   height: auto;
   background: white;
   z-index: 99;
   overflow-y: auto; /* permite rolar se tiver muitos itens */
  }

  nav.active {
    display: block;
  }

  nav .menu {
    display: flex;
    flex-direction: column; /* garante vertical */
    align-items: flex-start;
    width: 100%;
    padding: 0;
    list-style: none;
  }

  nav .menu li {
    width: 100%;
    margin: 0;
  }

  nav .menu li a {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 1.2em;
    color:black;
  }


  .menu-toggle {
    display: block;
    color:white;
    margin: 1.5%;
  }

  .menu-close {
    display: block;
    text-align: left;
    color: red;
    font-size: 2rem;
    margin: 5%;
    cursor: pointer;
  }

  #menuIcon {
    top:10%;
    bottom: 3%;
    margin-right: 35%;
  }
  

}

