/*!
 * Desenvolvido por KLIF Media Marketing Digital e Internet
 * https://klifmedia.com.br
 * (c) 2025 KLIF Media Marketing Digital e Internet. Todos os direitos reservados.
 */


/* Scroll suave */
html {
  scroll-behavior: smooth;
}

/* Reset e estilos básicos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Barra superior */
.top-bar {
  background-color: #333;
  color: #fff;
  padding: 5px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.top-bar a {
  color: #fff;
  text-decoration: none;
}
.top-bar a:hover {
  text-decoration: underline;
}

/* Cabeçalho (Header) - sticky em desktop, normal em mobile/tablet */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #000;
  position: sticky; 
  top: 0;           
  z-index: 9999;    
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 135px;
  margin-right: 10px;
}

/* Menu normal (desktop) */
nav ul {
  list-style: none;
  display: flex;
  transition: transform 0.3s ease;
}
nav ul li {
  margin-left: 20px;
}
nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease;
}
nav ul li a:hover {
  color: #007BFF;
}

/* Ícone do menu hamburger (invisível em desktop) */
.menu-toggle {
  display: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #fff;
  transition: all 0.3s ease;
}
.menu-toggle.close span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.close span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.close span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Seção Hero */
.hero {
  position: relative;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 50px;
  color: #fff;
  background: url('img/hero-bg.jpg') no-repeat center center/cover;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.2);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.hero-content a {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 15px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
.hero-content a:hover {
  background-color: #0056b3;
}

/* Seção Empresa */
#empresa {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
#empresa h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}
#empresa p {
  text-align: center;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Seção Serviços */
#servicos {
  padding: 60px 20px;
  background-color: #f7f7f7;
}
#servicos .services-heading p {
  text-align: center;
  color: #007BFF;
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 1.1rem;
}
#servicos .services-heading h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  text-transform: uppercase;
}
#servicos .services-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-box {
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.service-box img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  object-fit: contain;
}
.service-box h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.service-box p {
  font-size: 0.95rem;
  line-height: 1.4;
}
.service-box:hover {
  background-color: #000;
  color: #fff;
}
/* Imagem branca no hover */
.service-box:hover img {
  filter: brightness(0) invert(1);
}

/* Seção Trabalhos (Carrossel) */
#projetos {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}
#projetos .projetos-heading p {
  color: #007BFF;
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 1.1rem;
}
#projetos .projetos-heading h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.3;
}
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-item {
  min-width: 20%;
  box-sizing: border-box;
  padding: 10px;
}
.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
}
.carousel-dots {
  margin-top: 20px;
}
.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
}
.dot.active {
  background-color: #007BFF;
}

/* Seção "PORQUE NOS ESCOLHER?" */
#porque-escolher {
  background-color: #f7f7f7;
  padding: 60px 20px;
}
.porque-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.about-images {
  flex: 1;
  min-width: 300px;
  position: relative;
}
.about-images .img1 {
  width: 80%;
  border-radius: 5px;
  display: block;
  margin-bottom: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.about-images .img2 {
  width: 80%;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  position: relative;
  top: -30px;
}
.about-content {
  flex: 1;
  min-width: 300px;
}
.about-content .subtitle {
  color: #007BFF;
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 1.1rem;
  text-transform: uppercase;
}
.about-content h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.about-content p {
  margin-bottom: 15px;
  line-height: 1.6;
}
.btn-about {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}
.btn-about:hover {
  background-color: #0056b3;
}

/* Seção de Marcas (carrossel 5 itens, avança 2) */
#marcas {
  background-color: #fff;
  padding: 40px 20px;
  text-align: center;
}
#marcas h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}
.brand-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.brand-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.brand-item {
  min-width: 20%;
  box-sizing: border-box;
  padding: 10px;
  text-align: center;
}
.brand-item img {
  width: 80%; 
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Seção Contato */
#contato {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
#contato h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}
.contato-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}
.contato-info, .contato-form {
  flex: 1;
  min-width: 300px;
}
.contato-info p {
  font-size: 1rem;
  margin-bottom: 10px;
}
.contato-info a {
  color: #007BFF;
  text-decoration: none;
}
.contato-info a:hover {
  text-decoration: underline;
}
.contato-form form {
  display: flex;
  flex-direction: column;
}
.contato-form label {
  margin-bottom: 5px;
  font-weight: bold;
}
.contato-form input, 
.contato-form textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contato-form button {
  background-color: #007BFF;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}
.contato-form button:hover {
  background-color: #0056b3;
}

/* Mapa */
.mapa {
  margin-top: 40px;
}
.mapa iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* Rodapé */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}
footer p {
  margin-bottom: 5px;
  font-size: 0.9rem;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Botão Flutuante do WhatsApp (no meio da tela à direita) */
.whatsapp-button {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background-color: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 9px 41px;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  z-index: 9999;
  font-size: 0.95rem;
}
.whatsapp-button:hover {
  background-color: #20b954;
}
.whatsapp-button img {
  margin-right: 8px;
}

/* Responsividade */

/* Desativar sticky e usar menu hamburger + slide da direita até 1024px */
@media (max-width: 1024px) {
  header {
    position: static; /* Não fica sticky em mobile/tablet */
  }
  .menu-toggle {
    display: block;
  }
  nav ul {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: #000;
    flex-direction: column;
    padding: 40px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99999; /* à frente de todo o site */
  }
  nav ul.show-menu {
    transform: translateX(0);
  }
}

/* Em telas até 768px, carrossel de Trabalhos exibe 2 imagens por vez */
@media (max-width: 768px) {
  .carousel-item {
    min-width: 50%;
  }
  /* Agora, no bloco de serviços, 1 serviço por linha */
  #servicos .services-container {
    grid-template-columns: 1fr;
  }
}

/* Em telas até 768px, carrossel de Marcas exibe 2 logos por vez */
@media (max-width: 768px) {
  .brand-item {
    min-width: 50%;
  }
}

/* Botão WhatsApp no canto inferior direito no mobile */
@media (max-width: 768px) {
  .whatsapp-button {
    top: auto;
    bottom: 20px;
    transform: none;
  }
}

/* Estilos para a seção de Depoimentos */
#depoimentos {
  padding: 60px 20px;
  background-color: #0056b3;
  text-align: center;
}
#depoimentos h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.depoimentos-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.depoimentos-track {
  display: flex;
  transition: transform 0.5s ease;
}
.depoimento {
  box-sizing: border-box;
  padding: 20px;
  background-color: #fff;
  margin: 10px;
  border-radius: 5px;
  text-align: left;
  flex: 0 0 calc(100%/3);
}
.depoimento h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.depoimento p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Estilos para as setas de navegação */
.depoimentos-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}
.depoimentos-arrow.left {
  left: 10px;
}
.depoimentos-arrow.right {
  right: 10px;
}

/* Responsividade: em telas menores, exibe 1 depoimento por vez */
@media (max-width: 768px) {
  .depoimento {
    flex: 0 0 100%;
  }
}
