* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #004aad;
  padding: 15px 60px;
  display: flex;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.header .container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  /* retirei justify-content: space-between para usar margin-left auto */
}

.logo {
  font-weight: 900;
  font-size: 1.8rem;
  color: white;
  cursor: default;
}

.logo span {
  font-weight: 400;
  font-size: 1.1rem;
  margin-left: 5px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-left: 20px; /* dá um espaço entre logo e menu */
}

.nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav ul li a:hover {
  color: #ffd600; /* amarelo vivo para o hover do menu */
}

.btn-contato {
  margin-left: auto;
  background-color: #004aad; /* azul */
  color: white;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-contato:hover {
  background-color: #002f6c; /* azul mais escuro */
  color: #ffd600; /* amarelo no texto ao passar o mouse */
}

/* responsivo */
@media (max-width: 768px) {
  .header {
    padding: 10px 30px;
  }

  .nav ul {
    gap: 15px;
  }

  .logo {
    font-size: 1.5rem;
  }

  .btn-contato {
    padding: 6px 14px;
    font-size: 0.9rem;
  }

  .hero {
    margin-top: 50px;
  }
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
}

.hero {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.hero-text {
  flex: 1;
  padding: 80px 60px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  position: relative;
}

.titulo {
  font-size: 5rem;
  font-weight: 900;
  color: #004aad;
  line-height: 1.1;
  text-transform: uppercase;
}

.titulo .linha1 {
  display: block;
}

.titulo .linha2 {
  display: block;
  margin-top: -10px;
}

.descricao {
  margin-top: 30px;
  font-size: 1.4rem;
  color: #222;
  max-width: 600px;
  line-height: 1.6;
}

.scroll-msg {
  margin-top: 50px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #004aad;
  animation: fade 2s infinite;
  cursor: pointer;
}

@keyframes fade {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.hero-image {
  flex: 1;
  position: relative;
  background-image: url('../imgs/fundo/image.png');
  background-size: cover;
  background-position: center;
  clip-path: polygon(
    5% 0%,     /* topo esquerdo mais perto da borda */
    100% 0%,  
    100% 100%,
    3% 100%    /* base esquerda um pouco para dentro */
  );
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    height: auto;
  }

  .hero-image {
    clip-path: none;
    height: 300px;
  }

  .hero-text {
    padding: 40px 20px;
    text-align: center;
  }

  .titulo {
    font-size: 3.5rem;
  }

  .descricao, .scroll-msg {
    text-align: center;
  }
}


/*Serviços*/

.servicos {
  padding: 100px 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.container-servicos {
  max-width: 1200px;
  margin: 0 auto;
}

.titulo-secao {
  font-size: 2.8rem;
  color: #004aad;
  margin-bottom: 50px;
  font-weight: 800;
}

.lista-servicos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.servico {
  background-color: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 330px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
  cursor: pointer;
  position: relative;
}

.servico:hover {
  transform: translateY(-8px);
  background-color: #e6f0ff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.icone-servico {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}

.icone-servico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.servico:hover .icone-servico {
  transform: scale(1.2);
}

.servico h3 {
  font-size: 1.4rem;
  color: #004aad;
  margin-bottom: 15px;
}

.servico p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
  min-height: 70px;
}

/* Responsivo */
@media (max-width: 768px) {
  .lista-servicos {
    flex-direction: column;
    align-items: center;
  }

  .servico {
    max-width: 100%;
  }
}


/*Projetos*/
.projetos {
  padding: 80px 20px;
  background-color: #f0f4ff;
  text-align: center;
}

.projetos h1 {
  font-size: 2.5rem;
  color: #002f6c;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  font-weight: bold;
  letter-spacing: 2px;
}

.projetos h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #00ffff; /* linha decorativa abaixo do título */
  margin: 10px auto 0;
  border-radius: 2px;
}

.container-projetos {
  max-width: 1100px;
  margin: 0 auto;
}

.projeto {
  background: white;
  padding: 25px 20px;
  margin-bottom: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: left;
}

.projeto:hover {
  background-color: #e1e9ff;
}

.projeto-titulo {
  color: #004aad;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1.6rem;
}

.projeto p {
  color: #555;
  margin-bottom: 10px;
}
.img-projetos {
  position: relative;
  width: 800px;
  height: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.img-projetos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nome-projeto {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 10px;
  border-radius: 5px;
}

#anterior, #proximo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

#anterior {
  left: 10px;
}
#proximo {
  right: 10px;
}


.container-img {
  width: 800px;
  height: 600px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  border-radius: 10px;
}

.container-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.container-img:hover img {
  transform: scale(1.2); /* Efeito de zoom */
}

.nome-projeto {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 1.2rem;
}


/*Footer*/
.footer {
  background-color: #2b2b2b; /* cinza forte */
  color: #f0f0f0;
  padding: 50px 20px 30px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.footer h2,
.footer h3 {
  color: #002f6c; /* amarelo destaque */
  margin-bottom: 12px;
}

.footer-logo p {
  margin-top: 10px;
  max-width: 260px;
  font-size: 0.95rem;
  color: #ccc;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li {
  margin: 8px 0;
}

.footer-nav a {
  text-decoration: none;
  color: #f0f0f0;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #002f6c;
}

.footer-contato p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #ccc;
}

.footer-social .social-icons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-social img {
  width: 26px;
  height: 26px;
  transition: transform 0.3s, filter 0.3s;
}

.footer-social img:hover {
  transform: scale(1.15);
  filter: brightness(0.8);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #aaa;
}


/*Aimação + Whatssap Flutuante*/

/* Botão flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 20px;
  
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 0 12px #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  animation: pulse 1.5s infinite;
  z-index: 1002;
  transition: box-shadow 0.3s;
}

.whatsapp-float:hover {
  box-shadow: 0 0 20px #128c36;
}

/* Animação de piscar/pulsar */
@keyframes pulse {
  0% {
    box-shadow: 0 0 8px #25d366;
  }
  50% {
    box-shadow: 0 0 20px #25d366;
  }
  100% {
    box-shadow: 0 0 8px #25d366;
  }
}


#logozap {
  width: 50px;
}

/*Responsivo Celular Projetos*/

@media (max-width: 768px) {
  .img-projetos,
  .container-img {
    width: 100%;
    height: auto;
  }

  .container-img img,
  .img-projetos img {
    height: auto;
  }

  #anterior,
  #proximo {
    font-size: 1.5rem;
    padding: 8px;
  }

  .nome-projeto {
    font-size: 1rem;
    padding: 8px;
    bottom: 5px;
    left: 5px;
  }
}
