
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --azul-escuro: #222a35;
  --branco: #ffffff;
  --azul-medio: #3d83a4;
  --azul-profundo: #333871;
  --preto-intenso: #020202;
  --azul-noite: #0f1a3d;
  --cinza-claro: #b1b1b1;
  --azul-escuro-botao: #333871;
  --cinza-escuro-botao: #646464;
  --azul-fechado-hover: #2c2f5a;
  --preto: #000000;
  --azul-translucido: rgba(28, 31, 59, 0.6);
  --branco-transparente: rgba(255, 255, 255, 0.05);
  --azul-petroleo: #245f7a;
  --laranja-escuro: #b25e1e;
  --laranja-hover: #c76c20;
  --altura-header: 135px;
  --fonte-padrao: "Roboto",sans-serif;
}
html, body{
  height: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
a {
  color: inherit;
  text-decoration: none; 
}
img {
  max-width: 100%;
  height: auto;
}
body {
  font-family:var(--fonte-padrao);
  padding-top: var(--altura-header);
  line-height: 1.5;
  background-color: var(--branco);
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--azul-profundo);
  color: var(--branco);
  z-index: 1001;
  height: var(--altura-header);
  display: flex;
  align-items: center;
}
main {
  flex: 1;
}
section {
  min-height: calc(100vh - var(--altura-header));
  scroll-margin-top: var(--altura-header);
}
.engenan {
  font-family: 'Bauhaus 93';
  -webkit-text-stroke: 0.8px var(--azul-escuro);
  color:var(--branco); 
}
#engenan{
  -webkit-text-stroke: 0.8px var(--azul-medio);
}
.whatsapp {
  position: fixed;
  bottom: 15px;
  right: 15px;
  cursor: pointer;
  z-index: 999999;
  transition: transform 0.2s ease-in-out;
  animation: blink 600ms ease-in-out 5;
}
.whatsapp img {
  width: 90%;
  height: 90%;
  border-radius: 15%;
  filter: brightness(1) invert(0);
}
.whatsapp:hover {
  transform: scale(1.1);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width:100%;
  background-color: var(--azul-escuro);
  color: var(--branco);
  padding: 15px 30px;
}
.logo {
  width: 100%;
  height: auto;
  max-width: 100px;
  margin-left: 10px;
  border-radius: 7px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.nav-links a:hover {
  color: var(--azul-medio);
}
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}
.dest-link{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap:10px;
}
.links{
  padding: 5px;
}
#orcamento,
#obras {
  display: inline-block;
  width: 200px;
  text-align: center;
  color: var(--branco);
  background-color: var(--laranja-escuro);
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 5px;
  margin: 0 5px; 
  transition: background-color 0.3s, color 0.3s;
}
.home {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.inicio {
  background-color: var(--azul-profundo);
  background-image: url("../assets/image/Banner.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.inicio h3 {
  font-size: 35px;
  font-weight: 900;
}
.inicio p {
  font-size: 25px;
  margin: 0 auto;
  text-align: center;
  max-width: 700px;
  width: 90%;
}
.inicio h3,
.inicio p {
  text-shadow: 0 0 2px var(--cinza-claro);
  color: var(--branco);
  text-align: center;
  margin: 0 50px 0 50px;
}
.inicio a {
  display: block;
  color: var(--branco);
  background-color: var(--laranja-escuro);
  font-size: 1.4rem;
  margin: 20px auto 0;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 7px;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
}
.inicio a:hover, #orcamento:hover,
#obras:hover {
  color: var(--preto);
  background-color: var(--cinza-escuro-botao);
}
.slide-up {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 5s ease forwards;
}
.stats-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 30px;
}
.stat-box {
  border: solid 2px var(--branco);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 150px;
}
.box{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.box span{
  font-size: 2.5em;
  font-weight: bold;
  color: var(--branco);
}
.stat-number {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--branco);
}
.stat-label {
  font-size: 1.1em;
  color:var(--branco);
  margin-top: 5px;
}
.colunas {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: calc(100vh - var(--altura-header));
}
.historia,
.ideais {
  display: flex;
  flex-direction: column;
  width: 50%;
  padding: 5px;
  margin: 0;
  text-align: center;
  justify-content: space-between;
}
.historia {
  background-color: var(--azul-medio);
  color: var(--branco);
  gap: 20px;
}
.historia p,
.ideais p {
  margin: 10px 2em;
  font-size: 18px;
}
.ideais img {
  height: 50px;
  width: auto;
}
.especial {
  background-color: var(--azul-fechado-hover);
  background-image: url("../assets/image/especialidades.png");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: calc(50vh - var(--altura-header));
  padding: 0;
  margin: 0;
}
.fundo-especialidades {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--azul-translucido);
  box-shadow: var(--azul-translucido);
  padding: 2em;
}
.especialidades {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.especialidade h3 {
  color: var(--branco);
  text-align: center;
  width: 150px;
  font-size: 1.2em;
  font-weight: 100;
}
.especialidade img {
  align-items: center;
  width: 150px;
}
.diferenciais {
  min-height: calc(60vh - var(--altura-header));
  padding: 2em;
  background-color: var(--azul-fechado-hover);
  color: var(--branco);
}
.grade {
  margin: 50px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  list-style-type: none;
  justify-content: center;
}
.grade li {
  font-size: 1.2em;
  flex: 0 1 350px;
  max-width: 350px;
  background: var(--branco-transparente);
  border: solid 1px var(--cinza-escuro-botao);
  border-radius: 10px;
  padding: 20px;
  gap: 10px;
  transition: 0.3s ease;
  text-align: center;
}
.grade li:hover {
  background-color: var(--cinza-escuro-botao);
  color: var(--branco);
  transform: translateY(-3px);
  cursor: default;
}
.servicos {
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: var(--azul-medio);
  min-height: calc(100vh - var(--altura-header));
}

.lista-servicos {
  width: 50%;
  background-color: var(--azul-medio);
  padding: 20px;
  max-height: calc(100vh - var(--altura-header));
  overflow-y: auto;
  }

.section-title,
.section-title-ideal,
.section-title-clientes{
  font-size: 2em;
  font-weight: bold;
  margin: 10px 0px;
  color: var(--branco);
  text-align: center;
  padding: 10px;
}
.section-title-ideal{
  color:var(--azul-escuro);
}

.clientes h2{
  margin-top: 0;
}
.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--cinza-claro);
  margin: 15px auto 0;
  border-radius: 2px;
}
.title-btn {
  text-align: center;
  color: var(--branco);
  background-color: var(--azul-escuro);
  margin-bottom: 5px;
  cursor: pointer;
  position: relative;
  font-size: 1.2em;
  font-weight: bold;
  border-image: initial;
  padding: 20px;
  transition: background 0.3s;
  border-radius: 5px;
}
.title-btn::after {
  content: '>';
  font-size: 0.6em;  
  position: relative;
  padding-left: 5px;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.title-btn.active::after {
  content: '▼'; 
  font-size: 0.6em;
}
.title-btn:hover{
  background-color: var(--laranja-hover);
}
.panel {
  padding: 10px 15px;
  background-color: var(--cinza-escuro-botao);
  display: none;
  overflow-y: auto;
  margin-bottom: 10px;
  border-radius: 4px;
  max-height:250px;
  border: solid 2px var(--preto-intenso);
  border-radius: 5px;
  color:var(--branco);
  text-align: justify;
}
.panel::-webkit-scrollbar{
  width: 8px;
  height: 12px;
}
.panel::-webkit-scrollbar-track{
  background-color: var(--cinza-claro);
  border-radius: 5px;
  width: 5px;
}
.panel::-webkit-scrollbar-thumb{
   background: #888;
  border-radius: 10px;
  border: 2px solid #f0f0f0; 
}
.panel::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.desc-servico{
  font-size: 1em;
  margin-left: 1.2em;
}
.clientes {
  
  border-radius: 5px;
  margin: 2px;
  background-color: var(--azul-fechado-hover);
  overflow: hidden;
  padding: 10px 0;
}
.logos {
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  animation: scroll 25s linear infinite;
}

.logo-track img {
  height: 120px;
  flex: 0 0 calc(100% / 3);
  object-fit: contain;
  padding: 10px;
  background-color: var(--branco);
  transition: transform 0.3s ease;
}
.fotos {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--azul-escuro);
  padding: 10px;
  max-height: calc(100vh - var(--altura-header));
}
.fotos img {
  width: 90%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 5px;
  transition: opacity 0.5s ease-in-out;
}
.formulario,
.mapa {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  padding: 20px;
}
.fachada{
  width: 80%;
  border-radius: 5px;
  margin: 5px;
}
.formulario {
  background-color: var(--cinza-escuro-botao);
}
.dados {
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
  font-size: 1em;
  margin-bottom: 0.5em;
  color: var(--branco);
}
.dados input,
.dados textarea {
  border: solid 2px var(--preto-intenso);
  border-radius: 5px;
  padding: 10px;
  width: 100%;
  font-size: 1em;
  outline: none;
  transition: 0.3s ease;
}
.dados input:focus,
.dados textarea:focus {
  border-color: var(--preto);
  box-shadow: 0 0 4px var(--preto);
}
.mensagem {
  height: 150px;
}
.enviar {
  background-color: var(--azul-escuro-botao);
  color: var(--branco);
  font-size: 1em;
  padding: 12px;
  border: solid 2px var(--preto-intenso);
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}
.enviar:hover {
  background-color: var(--azul-petroleo);
}
.mapa {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.mapa h3 {
  font-size: 1.5em;
  padding: 1em;
}
.footer{
  display: flex;
  flex-direction: column;
  background-color: var(--azul-escuro);
  color:var(--branco);
  padding: 30px 20px;
  text-align: center;
  width: 100%;
}
.footer-container{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin: 0 auto;
  gap: 20px;
}
.footer-info a:hover,
.footer-social a:hover{
  text-decoration: underline;
}
.footer-info a,
.footer-social a{
  cursor:pointer;
}
.footer-social img{
  width: auto;
  height: 40px;
  border-radius: 15%;
}
.footer-social{
  display: flex;
  flex-direction: column;
  margin-right: auto;

}
.footer-bottom{
  margin-top: 20px;
  border-top: solid 1px var(--cinza-claro);
  padding-top: 10px;
  font-size: 14px;
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@media (min-height: 700px) {
  .historia p {
    font-size: 22px;
  }
}
@media (min-height: 900px) {
  .historia p,
  .ideais p {
    font-size: 25px;
  }
}
@media (max-width: 768px) {
  .stats-container{
    flex-direction: column;
    align-items: center;
    gap:5px;
  }
  .stat-box{
    padding: 5px;
  }
  .stat-number{
    font-size: 1.8em;
  }
  .stat-label,.box span{
    font-size: 1.5em;
  }
 
  .section-title,
  .section-title-ideal,
  .section-title-clientes{
    font-size: 1.6em;
  }
  .logo {
    padding: 5px;
    margin-left: 5px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: var(--azul-profundo);
    width: 100%;
    position: absolute;
    top: var(--altura-header);
    left: 0;
    gap: 0;
  }

  .nav-links a{
    margin: 5px 5px 5px 5px;
    padding: 10px 5px 5px 20px;
    border-radius: 5px;
    border: solid 2px var(--preto-intenso);
    background-color: var(--azul-escuro);
  }
 .dest-link{
  gap:0;
 }
  #orcamento,
  #obras {
    display: block; 
    width: 98%;
    margin: 5px 5px 5px 5px;
    padding: 10px 5px 5px 20px;
    border-radius: 5px;
    text-align: left;
    font-size: 1.1rem;
  }
  .nav-links a:hover {
    background-color: var(--azul-noite);
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .inicio {
    background-position: right center;
  }
  .inicio h3{
    font-size: 1.8em;
  }
  .inicio p {
    font-size: 18px;
    max-width: 90%;
    padding: 1em;
    margin: 0 10px;
    text-align: center;
    box-sizing: border-box;
  }
  .colunas {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
 
  .historia,
  .ideais,
  .mapa,
  .formulario {
    width: 100%;
    margin: 0;
  }
  .servicos {
    flex-direction: column;
    min-height: auto;
  }
  .servicos .colunas{
    flex-direction: column;
    min-height: calc(100vh - var(--altura-header));
  }
  .lista-servicos, .fotos{
    width: 100%;
    height: auto;
  }
  .title-btn::after {
    font-size: 0.6em;
  }
  .title-btn.active::after {
    font-size: 0.6em;
  }
  .slid img {
    margin-right: 300px;
  }
  .mapa h3 {
    font-size: 1em;
  }
    .especial {
    background-attachment: scroll !important;
    background-size: cover;
    background-position: center;
  }
  .especialidades {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .especialidade{
     display: flex;
    flex-direction: column;
    align-items: center;

  }
  .especialidade img {
    width: 100px;
}
  .footer-container{
    flex-direction: column;
    text-align: center;
  }
  .footer-social{
    flex-direction: row;
    justify-content: center;
    margin: 0;
    gap: 15px;
  }
}

