* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
  /* Melhora a resposta ao toque */
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #0b0e14;
  color: white;
  overflow-x: hidden;
}

span {
  color: #8257e5;
}

/* --- ESTILO DA IMAGEM --- */
.hero-image-container {
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-responsive-tech {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(130, 87, 229, 0.3));
}

/* --- FUNDO TECNOLÓGICO --- */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.glow-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(130, 87, 229, 0.15) 0%,
    transparent 80%
  );
  z-index: 2;
  pointer-events: none;
  animation: aurora 15s infinite alternate ease-in-out;
}

@keyframes aurora {
  0% {
    transform: translate(-10%, -10%) scale(1);
  }
  100% {
    transform: translate(10%, 10%) scale(1.2);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  width: 65px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
  z-index: 2000;
  text-decoration: none;
  transition: 0.3s;
}

/* --- HEADER --- */
header {
  padding: 20px 5%;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(15px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.logo {
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 2px;
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
  padding: 120px 5% 60px 5%;
}

.neon-pulse {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  animation: pulseEffect 4s infinite alternate ease-in-out;
}

@keyframes pulseEffect {
  0% {
    text-shadow: 0 0 10px rgba(130, 87, 229, 0.4);
  }
  100% {
    text-shadow: 0 0 40px rgba(130, 87, 229, 0.8);
  }
}

.hero-subtitle {
  font-size: 1.4rem;
  color: #8b949e;
  max-width: 600px;
}

/* --- SERVIÇOS --- */
.services-container {
  position: relative;
  z-index: 10;
  padding: 30px 5% 40px 5%;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.branding-message p {
  font-size: 1.5rem;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #c9d1d9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 60px auto;
}

.service-card {
  background: rgba(22, 27, 34, 0.6);
  backdrop-filter: blur(10px);
  padding: 60px 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s ease;
  position: relative;
  overflow: visible;
  cursor: pointer;
  outline: none;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-card p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.service-card i {
  font-size: 2.5rem;
  color: #8257e5;
  margin-bottom: 25px;
}

/* CORREÇÃO DO EFEITO AO PASSAR O MOUSE E AO CLICAR NO CELULAR */
.service-card:hover,
.service-card:active,
.service-card:focus {
  border-color: #8257e5;
  transform: translateY(-10px);
  background: rgba(130, 87, 229, 0.15);
  animation: smoke-glow 2s infinite alternate ease-in-out;
}

@keyframes smoke-glow {
  0% {
    box-shadow:
      0 0 15px rgba(130, 87, 229, 0.3),
      0 -5px 20px rgba(130, 87, 229, 0.2);
  }
  100% {
    box-shadow:
      0 0 35px rgba(130, 87, 229, 0.6),
      0 -25px 50px rgba(130, 87, 229, 0.4);
  }
}

/* --- ORÇAMENTO FINAL --- */
.orcamento-final {
  position: relative;
  z-index: 10;
  padding: 60px 0;
  text-align: center;
}

.btn-contato-final {
  display: inline-block;
  background: #8257e5;
  color: white;
  padding: 20px 50px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.2rem;
  box-shadow: 0 0 30px rgba(130, 87, 229, 0.5);
  transition: 0.3s;
}

/* --- DEPOIMENTOS --- */
.testimonials-section {
  position: relative;
  z-index: 10;
  padding: 80px 0;
  overflow: visible;
}

.moving-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll-auto 80s linear infinite;
  padding: 20px 0;
}

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

.card {
  background: rgba(22, 27, 34, 0.8);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  width: 500px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s ease;
  cursor: pointer;
  position: relative;
  overflow: visible;
  outline: none;
}

.card p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #c9d1d9;
}

.card span {
  font-weight: bold;
  font-size: 1.1rem;
}

/* CORREÇÃO DO EFEITO NO CLIQUE DO CELULAR PARA DEPOIMENTOS */
.card:hover,
.card:active,
.card:focus {
  border-color: #8257e5;
  transform: translateY(-10px);
  background: rgba(130, 87, 229, 0.15);
  animation: smoke-glow-depoimentos 2s infinite alternate ease-in-out;
}

@keyframes smoke-glow-depoimentos {
  0% {
    box-shadow:
      0 0 15px rgba(130, 87, 229, 0.3),
      0 -5px 20px rgba(130, 87, 229, 0.2);
  }
  100% {
    box-shadow:
      0 0 35px rgba(130, 87, 229, 0.6),
      0 -25px 50px rgba(130, 87, 229, 0.4);
  }
}

/* --- FOOTER --- */
footer {
  position: relative;
  z-index: 10;
  background: #0b0e14;
  padding: 40px 5% 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.6rem;
  color: white;
}

.footer-contact p {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* CORREÇÃO PARA O TELEFONE NÃO FICAR AZUL */
.footer-link {
  color: inherit !important;
  text-decoration: none !important;
}

/* Previne que o Safari/Chrome Mobile mude a cor do telefone */
a[href^="tel"],
a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.footer-contact i {
  color: #8257e5;
}

.footer-social a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: 0.3s;
}

.insta-color {
  color: #8257e5;
  text-shadow: 0 0 15px rgba(130, 87, 229, 0.6);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #8b949e;
  font-size: 0.95rem;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .card {
    width: 320px;
  }
  .hero-image-container {
    padding: 0 10px;
  }
  .branding-message p {
    font-size: 1.2rem;
  }
  .service-card h3 {
    font-size: 1.6rem;
  }
}
