/* Variáveis para cores */
:root {
    --primary-color: #5d3fd3;
    --secondary-color: #4b0082; 
    --accent-color: #8a2be2;
    --text-color: #e0e0e0;
    --bg-color: #0d0d2b; 
    --card-bg: #1a1a36;
    --card-border: #2c2c54;
  }
  
  /* Base */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
  }
  
  /* Animação de Fundo (Estrelas) */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--bg-color) 0%, #000 100%);
    z-index: -1;
    animation: star-fall 30s linear infinite;
    opacity: 0.8;
  }
  
  @keyframes star-fall {
    from {
      transform: translateY(-20%);
    }
    to {
      transform: translateY(20%);
    }
  }
  
  /* Estilo do Fundo Interativo (Seguindo o mouse) */
  .interactive-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.2) 0%, rgba(138, 43, 226, 0) 50%);
    pointer-events: none;
    z-index: -1;
    transition: background 0.1s ease-out;
  }
  
  /* Seções */
  section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 10;
  }
  
  h1, h2 {
    color: #fff;
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.4);
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  p {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 300;
  }
  
  /* Header */
  header {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }
  
  header.scrolled {
    background: var(--bg-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  header .logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    transition: color 0.3s ease;
  }
  
  header .logo:hover {
    color: var(--accent-color);
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
  }
  
  nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
  }
  
  nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
    position: absolute;
    bottom: -5px;
    left: 0;
  }
  
  nav a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
  }
  
  nav a:hover::after {
    width: 100%;
  }
  
  /* Hero Section */
  .hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: radial-gradient(circle at 70% 30%, rgba(138, 43, 226, 0.2) 0%, rgba(138, 43, 226, 0) 60%), radial-gradient(circle at 30% 70%, rgba(75, 0, 130, 0.2) 0%, rgba(75, 0, 130, 0) 60%);
    position: relative;
  }
  
  .hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    animation: neon-glow 2s ease-in-out infinite alternate;
  }
  
  @keyframes neon-glow {
    from {
      text-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color);
    }
    to {
      text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color), 0 0 30px var(--accent-color);
    }
  }
  
  .hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
  }
  
  .btn {
    background: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(138, 43, 226, 0.6);
  }
  
  /* Seção Sobre */
  .about-content {
    display: flex;
    gap: 40px; 
    align-items: flex-start; 
    text-align: left; 
}

.about-content p {
    flex: 1; 
    margin-bottom: 0; 
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column; 
    }
}

  /* --- Carrossel de Imagens --- */
.carrossel-imagens {
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background-color: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    margin-top: 40px;
  }

  
  
  .slide-item {
    min-width: 100%;
    height: 450px;
    overflow: hidden;
  }
  
  .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
    transition: transform 0.5s ease-in-out;
  }
  
  .slider-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
  }
  
  .nav-dot {
    width: 12px;
    height: 12px;
    background-color: #555;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
.nav-dot:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
  }
  
.nav-dot.active {
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
  }


  /*Carrossel Infinito - CORRIGIDO*/

.carrossel-infinite {
    max-width: 1200px;
    margin: auto;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
  }
  
.slider-infinite {
    display: flex;
    width: calc(250px * 12); /* 12 slides total (6 originais + 6 duplicados) */
    animation: scroll-infinite 40s linear infinite;
  }

  @keyframes scroll-infinite {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-250px * 6)); /* Move exatamente 6 slides para a esquerda */
    }
  }
  
.slide-infinite {
  height: 200px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  flex-shrink: 0; /* Impede que os slides encolham */
}

.slide-infinite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
  transition: transform 0.3s ease;
}

.slide-infinite img:hover {
  transform: scale(1.05);
}

/* Pausa a animação quando o mouse está sobre o slider */
.slider-infinite:hover {
  animation-play-state: paused;
}
  

/* Seção News e Mais Serviços */
.news .cards,
.servicos .cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.news .card,
.servicos .card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news .card:hover,
.servicos .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

/* Destaque nos títulos das seções novas */
.news h2,
#mais-servicos h2 {
  color: var(--accent-color);
}

/* Seção Contato Estilizada */
.contato {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 60px 40px;
  margin-top: 60px;
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.1);
}

.contato form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.contato input,
.contato textarea {
  padding: 15px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background-color: var(--card-bg);
  color: var(--text-color);
  font-size: 1rem;
  resize: none;
}

.contato textarea {
  height: 150px;
}

.contato button {
  background-color: var(--accent-color);
  color: white;
  padding: 15px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contato button:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.contato button:disabled {
  background-color: #666;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(0, 128, 0, 0.2);
  color: #00ff00;
  border: 1px solid rgba(0, 128, 0, 0.5);
}

.form-status.error {
  display: block;
  background-color: rgba(255, 0, 0, 0.2);
  color: #ff5555;
  border: 1px solid rgba(255, 0, 0, 0.5);
}
/* --- Ajuste para exibir 2 depoimentos por vez --- */
.depoimentos .carrossel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.item-card {
  flex: 0 0 calc(50% - 30px);
  display: none;
}
.item-card.ativo {
  display: block;
}

.card-depoimento {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
  max-width: 700px;
  text-align: center;
}

.card-depoimento p {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--text-color);
}

.card-depoimento span {
  font-weight: 500;
  color: var(--accent-color);
}

.dots-container {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #444;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot:hover {
  background-color: var(--accent-color);
  transform: scale(1.1);
}

.dot.active {
  background-color: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
}

@media (max-width: 768px) {
  .item-card {
    flex: 1 1 100%;
  }
}

/* Botão flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 3px #999;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
}