
    * {
      box-sizing: border-box;
    }
    body {
      margin: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #121212;
      color: #ffffff;
      overflow-y: scroll;
      scrollbar-width: thin;
      scrollbar-color: #ffb300 #2c2c2c;
    }
    ::-webkit-scrollbar {
      width: 8px;
    }
    ::-webkit-scrollbar-track {
      background: #2c2c2c;
    }
    ::-webkit-scrollbar-thumb {
      background-color: #ffb300;
      border-radius: 10px;
    }
	html {
  scroll-behavior: smooth;
}
	header {
	  background-color: #1f1f1f;
	  padding: 20px;
	  text-align: center;
	  position: relative;
	  z-index: 0;
	  border-left: 0px solid transparent;  /* deixa espaço maior */
	  border-right: 0px solid transparent; /* deixa espaço maior */
	  height: auto; /* garante que ocupe o conteúdo */
	  box-sizing: border-box;	 
	  border-bottom: 4px solid;
	  border-image: linear-gradient(90deg, #ffb300, #ffcc33, #ffb300) 1;
	  border-image-slice: 1;
	}
#logo-container {
  width: fit-content; /* só para ajustar ao tamanho da logo */
  height: fit-content;
}

.logo {
  display: block;
}

#electricCanvas {
  width: 100%;
  height: 100%;
}

	header::before,
	header::after {
	  content: "";
	  position: absolute;
	  top: 0;
	  bottom: 0;
	  width: 60px;  /* aumenta a largura da faixa */
	  z-index: -1;
	}

	header::before {
	  left: 0;
	  background: linear-gradient(to right, #ffb300, transparent);
	  
	}

	header::after {
	  right: 0;
	  background: linear-gradient(to left, #ffb300, transparent);
	  
	}

.icon-heading > div {
  position: relative;
  display: inline-block; /* inline-block evita quebra de linha */
  vertical-align: middle; /* alinha verticalmente com o texto ao lado */
  width: fit-content; /* ajusta largura ao conteúdo */
}

.icon-heading img.no-border-icon {
  display: block;
  width: 24px;  /* ou o tamanho que quiser */
  height: auto;
}

.icon-heading canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 24px;
  height: 24px;
}






    header h1 {
      margin: 0;
      color: #ffb300;
    }
    nav {
      background-color: #2c2c2c;
      text-align: center;
      padding: 10px 0;
      position: sticky;
      top: 0;
      z-index: 100;
	  background-color: #1f1f1f;
	  border-bottom: 4px solid;
	  border-image: linear-gradient(90deg, #ffb300, #ffcc33, #ffb300) 1;
	  border-image-slice: 1;
    }
	
	nav {
    display: flex;
    align-items: center; /* Centraliza verticalmente */
	justify-content: center;    /* Centraliza horizontalmente o conteúdo */
    gap: 10px; /* Espaçamento entre os itens */
  }

  nav img {
    width: 20px;
    height: 20px;
  }
	
    nav a {
      color: #ffffff;
      text-decoration: none;
      margin: 0 15px;
      font-weight: bold;
	  	  
	  
    }
	
	nav a {
	transition: color 0.3s ease;
	}
	nav a:hover {
	  color: #ffb300;
	}
	form button:hover {
	  background-color: #e6a200;
	}
	.image-gallery img:hover {
	  transform: scale(1.03);
	  transition: transform 0.3s ease;
	}

	.parallax-background {
	  background-image: url('img/bg.jpg');
	  background-position: center;
	  background-repeat: no-repeat;
	  background-size: cover;
	  background-attachment: fixed;
	  position: fixed;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
	  z-index: -1;
	  opacity: 0.2;
	  filter: brightness(0.5);
	}

#servicos {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

#servicos .content-block {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

#servicos .text ul {
  list-style: none;
  padding: 0;
}

#servicos .text ul li {
  margin: 10px 0;
}

.icon-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

    section {
      padding: 40px 20px;
      max-width: 1100px;
      margin: auto;
    }
    section h2 {
	  font-size: 1.8em;
	  border-bottom: 4px solid #ffb300;
	  padding-bottom: 5px;
	  margin-bottom: 20px;
	}

    .content-block {
  display: flex;
  flex-wrap: nowrap; /* mudar para nowrap para manter lado a lado */
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.success-message {
  font-size: 1.5rem;    /* Fonte maior */
  color: blue;          /* Cor azul */
  text-align: center;   /* Centraliza horizontalmente */
  margin: 20px auto;    /* Espaço em cima e embaixo, e centraliza */
  width: 100%;          /* Ocupa toda a largura para centralizar */
}


#clientes {
  text-align: center; /* Centraliza o conteúdo da seção */
}

#servicos {
  text-align: center; /* Centraliza o conteúdo da seção */
}

.content-block img:not(.no-border-icon) {
  flex: 0 0 40%;
  max-width: 40%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  border: 4px solid #ffb300; /* borda amarela */
  
}

.icon-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px; /* espaço entre ícone e texto */
}

.no-border-icon {
  height: 24px;
  width: 24px;
  border: none !important;
}


.content-block .text {
  flex: 1 1 50%;
}
    .image-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }
    .image-gallery img {
      width: 100%;
      border-radius: 8px;
      object-fit: cover;
      border: 2px solid #333;
    }
    .clientes {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 20px;
    }
    .clientes img {
      height: 80px;
      object-fit: contain;
    }
    .whatsapp-float {
	  position: fixed;
	  width: 60px;
	  height: 60px;
	  bottom: 20px;
	  right: 20px;
	  background-color: #25d366;
	  border-radius: 50%;
	  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  z-index: 1000;
	  transition: transform 0.3s ease;
	}
	.whatsapp-float:hover {
	  transform: scale(1.1);
	}
	.whatsapp-float img {
	  width: 30px;
	  height: 30px;
	  filter: invert(1);
	}


    form input, form textarea {
      width: 100%;
      padding: 10px;
      margin-bottom: 10px;
      border-radius: 5px;
      border: none;
    }
    form button {
      background-color: #ffb300;
      color: #000;
      padding: 10px 20px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
    }
	
    footer {
	  position: fixed;
	  bottom: 0;
	  left: 0;
	  width: 100%;
	  background-color: #1f1f1f;
	  color: #ccc;
	  text-align: center;
	  padding: 6px 12px; /* menor altura */
	  font-size: 0.85em; /* fonte um pouco menor */
	  z-index: 100;
	  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
	}


    .carousel {
      width: 100%;
      max-height: 400px;
      overflow: hidden;
    }
    .carousel img {
      width: 100%;
      display: block;
      object-fit: cover;
    }
	
	/* Botão hambúrguer */
	.hamburger {
	  display: none;
	  cursor: pointer;
	  flex-direction: column;
	  gap: 5px;
	  padding: 10px;
	  position: fixed;
	  top: 15px;
	  left: 15px;
	  z-index: 1001;
	}
	.hamburger div {
	  width: 25px;
	  height: 3px;
	  background-color: #ffb300;
	}

	/* Menu lateral */
	.side-menu {
	  position: fixed;
	  top: 0;
	  left: -250px;
	  width: 200px;
	  height: 100%;
	  background-color: #1f1f1f;
	  padding-top: 60px;
	  display: flex;
	  flex-direction: column;
	  transition: left 0.3s ease;
	  z-index: 1000;
	  background-color: #1f1f1f;
  border-right: 4px solid;
  border-image: linear-gradient(90deg, #ffb300, #ffcc33, #ffb300) 1;
  border-image-slice: 1;
	}
	.side-menu a {
	  color: white;
	  padding: 15px 20px;
	  text-decoration: none;
	  border-bottom: 1px solid #333;
	}
	.side-menu a:hover {
	  background-color: #2c2c2c;
	}

	/* Mostrar menu quando aberto */
	.side-menu.open {
	  left: 0;
	}
	
	
	section#contato {
    padding-bottom: 80px; /* Ajuste conforme a altura do footer */
  }
	
	
/* Container do logo */
.side-menu-logo {
  margin-top: 100px;    /* empurra o logo para baixo */
  padding: 20px;
  text-align: center;  /* centraliza horizontalmente */
  position: relative;  /* para o canvas ficar posicionado relativamente */
  display: inline-block; /* evita que ocupe toda a largura */
  width: 120px;          /* largura fixa igual max-width da imagem */
  height: auto;          /* altura automática */
}

/* Ajuste do logo dentro do container */
.side-menu-logo img {
  max-width: 120px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1; /* fica atrás do canvas */
}

/* Canvas com animação sobreposta */
.side-menu-logo canvas {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 120px !important;  /* igual ao max-width da imagem */
  height: auto !important;
  z-index: 2;
  pointer-events: none; /* não interfere em cliques */
}


.escrita-manual {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8em; /* Ajuste o tamanho conforme necessário */
  color: #fff; /* ou qualquer cor que combine com seu layout */
  text-align: center; /* opcional */
}


#formContato button {
  display: inline-block;
  margin-top: 20px;
}

/* Somente no mobile */
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .content-block {
    max-width: 100% !important;
    overflow-x: hidden;
  }
  
  section {
    padding-top: 20px !important;
    padding-bottom: 30px !important;
  }

  .content-block {
    margin-bottom: 20px !important; /* menor espaço entre sessões */
  }

  .content-block h2 {
    margin-bottom: 10px !important;
  }

  .content-block p {
    margin-bottom: 0 !important;
  }
  
  html {
    scroll-behavior: smooth;
  }

  .logo {
    max-width: 200px;
    height: auto;
  }

  .content-block {
    flex-wrap: wrap; /* permite quebra de linha no mobile */
  }

  .content-block img,
  .content-block .text {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Aplica a barra de rolagem estilizada em todas as plataformas que suportam */
  html, body {
    -webkit-overflow-scrolling: touch; /* rolagem suave no iOS */
    scrollbar-width: thin;             /* Firefox */
    scrollbar-color: #ffb300 #2c2c2c; /* Firefox */
  }
  
  body {
    padding-bottom: 60px; /* espaço extra para o conteúdo não ser coberto */
    overflow-x: hidden;   /* remove rolagem horizontal */
  }

  /* Chrome, Edge, Brave e outros navegadores baseados em WebKit/Blink */
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #2c2c2c;
  }

  ::-webkit-scrollbar-thumb {
    background-color: #ffb300;
    border-radius: 10px;
  }

  section#contato {
    padding-bottom: 80px; /* Ajuste conforme a altura do footer */
  }

  /* Ícone com layout coluna, centralizado e espaçamento */
  .icon-heading {
    flex-direction: column;  /* ícone em cima, texto embaixo */
    align-items: center;     /* centraliza horizontalmente */
    text-align: center;      /* texto centralizado */
    gap: 4px;                /* espaçamento vertical entre ícone e texto */
    width: 100%;             /* ocupa toda a largura do container */
    justify-content: center; /* centraliza conteúdo no eixo principal (coluna) */
  }

   /* container do ícone e canvas */
  .icon-heading > div {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-block;
  }

  /* ícone */
  .icon-heading img.no-border-icon {
    width: 40px !important;
    height: 40px !important;
    display: block;
    position: relative; /* opcional */
    z-index: 1; /* fica acima do canvas */
  }

  /* canvas com animação */
  .icon-animation-canvas {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 40px !important;
    height: 40px !important;
    z-index: 2; /* fica acima do ícone */
    pointer-events: none; /* para não interferir em cliques */
  }

  /* Ajusta as imagens das sessões para ficarem maiores e responsivas */
  .content-block img:not(.no-border-icon) {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    order: 3 !important;
    margin-top: 15px;
  }

  /* Ajusta o bloco "sobre" para empilhar e centralizar */
  #sobre .content-block {
    display: flex !important;             /* garante que seja flex */
    flex-direction: column !important;   /* empilha os elementos */
    align-items: center !important;       /* centraliza horizontalmente */
  }

  #sobre .content-block .text {
    width: 100% !important;      /* texto ocupa largura completa */
    order: 2 !important;
    text-align: center;          /* centraliza texto */
  }
  
  footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    max-width: 1100px; /* mesma largura do conteúdo */
    margin: 0 auto;    /* centralizado */
    background-color: #1f1f1f;
    color: #ccc;
    padding: 6px 12px;
    font-size: 0.85em;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }

  .whatsapp-float {
    position: fixed;
    right: 10px; /* Alinhado à direita */
    bottom: 12px;
    z-index: 2000;
    background-color: #25D366;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .whatsapp-float img {
    width: 30px;
    height: 30px;
    display: block;
  }
  
  form {
    text-align: center;
  }

  button[type="submit"] {
    display: inline-block; /* necessário para centralizar com text-align */
  }
  
  /* Impede a rolagem horizontal */
html, body {
  overflow-x: hidden;
  position: relative;
  max-width: 100vw;
}
}
