/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  display: none;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #0e0e0e;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Canvas de fundo */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Cabeçalho */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 1rem;
  flex-wrap: wrap;
  background-color: transparent;
}

header img {
  max-width: 150px;
}

header h1 {
  font-size: 3rem;
  color: #3db6ff;
}

/* Container geral */
.container {
  max-width: 960px;
  margin: 2rem auto;
  padding: 1rem;
}

/* Introdução / Quem somos */
.intro, .about {
  text-align: center;
  margin-bottom: 2rem;
}

.intro h2, .about h2 {
  font-size: 1.7rem;
  color: #3db6ff;
}

.intro p, .about p {
  font-size: 1.1rem;
  margin-top: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards de serviços */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.service {
  background-color: #1b1b1b;
  padding: 1.5rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s forwards;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.service:nth-child(1) { animation-delay: 0.1s; }
.service:nth-child(2) { animation-delay: 0.2s; }
.service:nth-child(3) { animation-delay: 0.3s; }
.service:nth-child(4) { animation-delay: 0.4s; }
.service:nth-child(5) { animation-delay: 0.5s; }
.service:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service:hover {
  background-color: #252525;
  transform: translateY(-10px);
}

.service h3 {
  color: #3db6ff;
  margin-bottom: 0.5rem;
}

/* Contato */
.contact {
  margin-top: 3rem;
  text-align: center;
}

.contact h2 {
  color: #3db6ff;
  margin-bottom: 1rem;
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.email-button {
  background-color: #3db6ff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
  margin-right: 1rem;
}

.email-button:hover {
  background-color: #1e9bdd;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Botão flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
}

/* Rodapé */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: transparent;
  color: #ccc;
  font-size: 0.9rem;
}

/* RESPONSIVO */
@media (max-width: 480px) {
  header {
    flex-direction: column;
  }

  header h1 {
    font-size: 1.5rem;
  }

  .intro h2 {
    font-size: 1.3rem;
  }

  .service:hover {
    transform: none;
  }
}

/* === Carrossel de Tecnologias - versão contínua com todos os ícones === */
.tech-carousel {
  margin: 4rem auto 2rem;
  text-align: center;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.tech-carousel h2 {
  font-size: 1.5rem;
  color: #3db6ff;
  margin-bottom: 0.5rem;
}

.carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll-carousel 40s linear infinite;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0;
}

.carousel-track img {
  height: 60px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.carousel-track img:hover {
  filter: grayscale(0%);
}

@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
