@keyframes zoomOut {
    0% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html, body {
  max-width: 100%;
    margin: 0;
  padding: 0;
  overflow-x: hidden;
}

header {
    background-color: transparent;
    color: #fff;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    z-index: 1000;
    top: 0;
    height: 80px;
}

.header-spacer {
    height: 80px; /* igual à altura do header */
}



header .logo img {
    width: 180px;
    height: auto;
}

header nav {
    display: flex;
    align-items: center;
    height: 100%;
    margin-right: 30%;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    margin: 0;
    align-items: center;
    height: 100%;
}

header nav ul li {
    margin: 0 20px;
    position: relative; /* Necessário para a bolinha */
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: font-weight 0.3s ease;
}

header nav ul li:hover::before {
    content: '●';
    color: orange; /* #47606c;*/
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px; /* Aumenta o tamanho da bolinha */
}

header nav ul li a i {
  font-size: 25px;
  color: #fff;
  opacity: 0.8;
  transition: 0.3s;
}

header nav ul li a i:hover {
  opacity: 1;
  transform: scale(1.1);
}




.home {
    display: flex;
	margin-top: -80px;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.carrossel {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 0;
}

.carrossel .slides {
    position: relative;
    height: 100%;
}

.carrossel .slides .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.carrossel .slides .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrossel .slides .slide.active {
    opacity: 1;
    transform: scale(1.05);
    animation: zoomOut 6s ease-in-out;
}

.carousel-buttons {
    position: absolute;
    bottom: 30px;
    left: 5%;
    display: flex;
    gap: 10px;
}

.carousel-buttons button {
    width: 12px;
    height: 12px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.carousel-buttons button.active {
    opacity: 1;
}





/*--- SOBRE --*/

.sobre-section {
    padding: 10px 10% 60px;
    background-color: #f8f8f8;
}

.sobre-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.sobre-logo img {
    max-width: 280px;
    height: auto;
}



.sobre-texto {
    max-width: 600px;
    text-align: left;
}

.sobre-texto h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
    color: #2d2a26;
    text-align: left;
}

.sobre-texto p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.sobre-texto strong {
    color: #000;
    font-weight: 700;
}




/*-------------PROJETOS-----------------------------*/


.projeto-outside {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.projetos-home {
    padding: 40px 1% 40px; /* menor espaçamento vertical + bordas laterais mais estreitas */
    background-color: #fff;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    text-align: center;
}

.projetos-home h2 {
    font-size: 1.8rem;
    margin: 10px 0 20px;
	margin-top: 40px;
    font-weight: 600;
    color: #2d2a26;
}

.projetos-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.projeto-outside {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.projeto-card {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 66.25%;
    overflow: hidden;
    background-color: #e7e7e7;
    transition: transform 0.3s ease;
}

.projeto-card:hover img {
    transform: scale(1.05);
}

.projeto-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-button {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
 /*
.portfolio-button.right {
    justify-content: flex-end;
    margin-top: 10px;
	margin-right: 50px;
	
}*/

.btn-ver-todos {
    background-color: transparent;
    color: #2d2a26;
    padding: 12px 24px;
    border-radius: 20px;
    border: 2px solid #2d2a26;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-ver-todos:hover {
    background-color: #2d2a26;
    color: #fff;
}






/*--------- SERVIÇOS ---------*/

.servicos-section {
   padding: 20px 10% 30px; /* reduziu de 60px pra 30px */
  background-color: #f8f8f8;

}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #2d2a26;
  text-align: center;
  margin-bottom: 40px;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* força 4 colunas iguais */
  gap: 30px;
}

.servico-item {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.servico-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d2a26;
  margin-bottom: 10px;
}

.servico-item p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/*----*/


.impacto-section {
  background-color: #e7e7e7;
  padding: 60px 10%;
}

.impacto-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 20px;
}

.impacto-item h3 {
  font-size: 2.2rem;
  font-weight: bold;
  color: #000;
  margin: 0;
}

.impacto-item p {
  font-size: 1rem;
  color: #333;
  margin-top: 8px;
}



/*-  COMO FUNCIONA  ---------------*/


.como-funciona {
  background: url('imagens/fundo-madeira-claro.png'); /* ou use o fundo de textura que desejar */
  padding: 80px 10%;
}

.funciona-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.funciona-texto {
  flex: 1;
  min-width: 280px;
}

.funciona-texto h2 {
  font-size: 2rem;
  color: #264e3f; /* Verde escuro da logo */
  margin-bottom: 20px;
  position: relative;
}

.funciona-texto h2::before {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #264e3f;
  margin-bottom: 10px;
}

.funciona-texto p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 30px;
}

.btn-etapas {
  border: 2px solid #264e3f;
  color: #264e3f;
  text-decoration: none;
  padding: 12px 22px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-etapas:hover {
  background-color: #264e3f;
  color: #fff;
}

.funciona-carrossel {
  flex: 1;
  min-width: 300px;
  position: relative;
  background-color: #264e3f;
  padding: 40px 30px;
  border-radius: 8px;
  color: #fff;

}

.etapas-slider .etapa {

  margin: 0 auto; 
  display: none;
  animation: fadeIn 0.6s ease;
  height: 150px;
  max-width: 70%;
}

.etapas-slider .etapa.active {
  display: block;
}

.etapa h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.etapas-slider .etapa p {
  font-size: 1.05rem; /* Texto mais confortável */
  line-height: 1.6;
  color: #fff;
}

.etapas-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.etapas-controls button {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
}

.etapas-controls button:hover {
  color: #ccc;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/*----  AVALIAÇÃO   ---------*/
.avaliacoes-section {
  padding: 5px 10% 50px;
}

  background-color: #f8f8f8;
  text-align: center;
}

.avaliacoes-container {
  margin-top: 0px;
    max-height: 500px; /* ajuste conforme necessário */

}

.avaliacoes-section h2 {
  margin-bottom: 8px; /* antes devia estar algo como 30px ou 40px */
}


.elfsight-app [class*="subtitle"] {
  display: none !important;
}






/*-----  ROPDAPÉ ---------*/
.contato-section {
  background-image: url('imagens/fundosobre.jpg');
  background-size: cover;
  background-position: center;
  width: 100%;
  position: relative;
  padding: 0;
}

.contato-overlay {
  background-color: rgba(0, 0, 0, 0.6); /* ficou um pouco mais escuro */
  width: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
}

.contato-overlay h2 {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
 /* text-shadow: 2px 2px 6px rgba(0,0,0,0.5);*/
  margin-bottom: 20px;
}

.contato-overlay p {
  color: #ddd;
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.btn-whatsapp {
  display: inline-block;
  background-color: #25D366;
  color: white;
  font-weight: bold;
  padding: 16px 36px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 1.2rem;
  margin-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.btn-whatsapp i {
  margin-right: 10px;
  font-size: 1.4rem;
}

.btn-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.8);
}

/* Pulse animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.contato-icons {
  display: flex;
  gap: 30px;
  margin-top: 10px;
}

.contato-icons a {
  color: white;
  font-size: 5rem; /* aumentado */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.contato-icons a:hover {
  transform: scale(1.3);
  opacity: 0.8;
}








/*-----  CONTATO ---------*/

.contact-button {
    position: fixed;
    bottom: 30px;
    right: 5%;
    z-index: 1100;
    text-decoration: none;
}

.contact-button img {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease;
}

.contact-button:hover img {
    transform: scale(1.1);
}

@keyframes whatsappAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.contact-button img {
    animation: whatsappAnimation 2s infinite;
}








/*---------------------*/

.view-project-btn {
    position: fixed;
    bottom: 20%;
    right: 5%;
    z-index: 1100;
    background-color: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.view-project-btn:hover {
    background-color: #ddd;
}

/* Menu Hambúrguer */

.menu-hamb {
  display: none;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 5%;
  z-index: 1100;
}

.menu-hamb span {
  font-size: 30px;
  color: #fff;
}

.menu-hamb-dropdown {
  display: none;
  position: absolute;
  top: 80px;
  right: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.93);
  z-index: 1000;
}

.menu-hamb-dropdown .nav-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
}

.menu-hamb-dropdown .nav-menu li {
  list-style: none;
}

.menu-hamb-dropdown .nav-menu li a {
  text-decoration: none;
  color: #2d2a26;
  font-size: 1.5rem;
}

/*----------------------------*/
/*----------------------------*/
/*----------------------------*/
/*----------------------------*/
/*----------------------------*/







/* Responsividade */

@media screen and (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
	
	

@media screen and (max-width: 768px) {
  header {
    padding: 0 5%;
    width: 100vw;
    box-sizing: border-box;
    justify-content: flex-start;
    align-items: center;
    height: 80px;
    position: relative;
   /* background-color: blue;*/
    overflow-x: hidden;
  }

  .logo img {
    max-width: 140px;
    height: auto;
  }

  .header-menu {
    display: none;
  }

  .menu-hamb {
    display: block;
    position: absolute;
    right: 5%;
    top: 25px;
    z-index: 1100;
  }
}

  .menu-hamb-dropdown {
    width: 100%;
  }

  .menu-hamb-dropdown .nav-menu {
    gap: 30px;
    padding: 30px 0;
  }

  nav ul {
    padding: 0;
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  .home {
    height: 60vh !important;
    aspect-ratio: unset !important;
    overflow: hidden;
  }

  .carrossel,
  .carrossel .slides,
  .carrossel .slides .slide {
    height: 100% !important;
    aspect-ratio: unset !important;
    overflow: hidden;
  }

  .carrossel .slides .slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
  }
}


@media screen and (max-width: 768px) {
  .sobre-content {
    flex-direction: column;
    align-items: center;
    gap: 5px; /* diminui o espaçamento entre logo e texto */
    padding: 15px 0%;
    box-sizing: border-box;
  }

  .sobre-logo {
    display: none;
  }


/*
  .sobre-logo {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .sobre-logo img {
    max-width: 220px;
    height: auto;
  }    */

  .sobre-texto {
    width: 100%;
    text-align: justify;
    margin-top: 0;
  }

  .sobre-texto h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2px;
  }

  .sobre-texto p {
    font-size: 0.875rem;
    line-height: 1.6;
  }
}


@media screen and (max-width: 768px) {
  .projeto-outside {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media screen and (max-width: 768px) {
  .servicos-grid {
   grid-template-columns: 1fr;
   /*grid-template-columns: repeat(2, 1fr);*/
   padding: 0 5%;
  }
} 


@media screen and (max-width: 768px) {
  .contato-overlay {
    padding: 40px 5%;
    box-sizing: border-box;
  }

  .contato-overlay h2 {
    font-size: 2rem;
  }

  .contato-overlay p {
    font-size: 1rem;
  }

  .btn-whatsapp {
    font-size: 1rem;
    padding: 12px 24px;
  }

  .contato-icons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .contato-icons a {
    font-size: 3rem;
  }
}


@media screen and (max-width: 768px) {
  .como-funciona {
    padding: 40px 5%;
    background-size: cover;
  }

  .funciona-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .funciona-texto {
    width: 100%;
    text-align: center;
  }

  .funciona-texto h2 {
    font-size: 1.6rem;
  }

  .funciona-texto p {
    font-size: 1rem;
  }

  .btn-etapas {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .funciona-carrossel {
    width: 100%;
    padding: 30px 20px;
    box-sizing: border-box;
  }

  .etapas-slider .etapa {
    max-width: 100%;
    height: auto;
  }

  .etapa h3 {
    font-size: 1.1rem;
  }

  .etapas-slider .etapa p {
    font-size: 0.95rem;
  }

  .etapas-controls {
    justify-content: space-between;
  }

  .etapas-controls button {
    font-size: 1.5rem;
  }
}


