/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Orbitron', sans-serif;
  background: #000000;
  color: white;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ===== ANIMAÇÕES ===== */
@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 15px rgba(146, 17, 238, 0.8),
                 0 0 25px rgba(25, 41, 240, 0.6);
  }
  50% {
    text-shadow: 0 0 5px rgba(146, 17, 238, 0.4),
                 0 0 10px rgba(25, 41, 240, 0.3);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: url("Assets/header.png") no-repeat center;
  background-size: cover;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s ease;
}

.header.scrolled {
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 50px;
  box-shadow: 0 0 15px #000;
}

.logo img {
  height: 70px;
  width: auto;
}

.menu {
  display: flex;
  gap: 1.5rem;
}

.menu a {
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  background-clip: text;
  color: transparent;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
  position: relative;
}

.menu a:hover {
  color: white;
  text-shadow: 0 0 10px #9211ee;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, #9211ee, #1929f0);
  transition: width 0.3s;
}

.menu a:hover::after {
  width: 100%;
}

/* ===== HERO ===== */
.video-section {
  position: relative;
  width: 100%;
  height: 80vh; /* mantém limite de 70% da altura da tela */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 70px;
  overflow: hidden;
  background: black;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* cobre toda a área sem distorcer */
  object-position: center; /* mantém o foco centralizado */
  display: block;
  filter: brightness(0.85);
}

/* ===== SCROLL DOWN ANIMATION ===== */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 5;
  animation: fadeIn 2s ease-in-out;
}

.scroll-down .mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 20px;
  position: relative;
  margin: 0 auto 10px;
  opacity: 0.8;
}

.scroll-down .wheel {
  width: 6px;
  height: 10px;
  background: linear-gradient(to bottom, #9211ee, #1929f0);
  border-radius: 3px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.6s infinite ease-in-out;
}

.scroll-down p {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.7;
  text-shadow: 0 0 10px rgba(146, 17, 238, 0.5);
  line-height: 1.2;
}

/* animação da rodinha */
@keyframes scrollWheel {
  0% { opacity: 1; top: 8px; }
  50% { opacity: 0.5; top: 18px; }
  100% { opacity: 1; top: 8px; }
}

/* fade suave da entrada */
@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* fade suave da saída */
.scroll-down.hide {
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* responsividade */
@media (max-width: 768px) {
  .scroll-down {
    bottom: 20px;
  }
  .scroll-down p {
    font-size: 0.8rem;
  }
}


/* ===== SERVIÇOS ===== */
.servicos {
  padding: 5rem 2rem;
  text-align: center;
}

.servicos h2 {
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  -webkit-background-clip: text;
  color: transparent;
  font-size: 3rem;
  margin-bottom: 3rem;
  animation: glowPulse 4s infinite ease-in-out;
}

.servicos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.servico-card {
  background: rgba(8, 8, 8, 0.712);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  width: 280px;
  transition: 0.4s ease;
  box-shadow: 0 0 15px rgba(146, 17, 238, 0.2);
  opacity: 1;
  transform: translateY(30px);
}

.servico-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: 0.8s ease;
}

.servico-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 25px rgba(146, 17, 238, 0.6);
}

.servico-card img {
  font-size: 2.5rem;
  color: #9211ee;
  margin-bottom: 1rem;
  animation: float 6s ease-in-out infinite;
  width: 90px;
}

.servico-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.servico-card p {
  font-size: 1rem;
  opacity: 0.8;
}

/* ===== DESTAQUE ===== */
.destaque {
  background: linear-gradient(90deg, #111, #0f0f0f);
  padding: 5rem 2rem;
  text-align: center;

}

.destaque-texto h2 {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  -webkit-background-clip: text;
  color: transparent;
  animation: glowPulse 3s infinite ease-in-out;
}

.destaque-texto p {
  opacity: 0.8;
}

/* ===== CONTATO ===== */
.contato {
  padding: 5rem 2rem;
  text-align: center;
  background: radial-gradient(circle at center, #000, #0a0025);
  animation: fadeInUp 1s ease forwards;
}

.btn-contato {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(146, 17, 238, 0.3);
  animation: glowPulse 3s infinite ease-in-out;
}

.btn-contato:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(146, 17, 238, 0.7);
}

/* ===== FOOTER ===== */
.footer {
  background-color: #0d0d0d;
  color: #ffffff;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

/* 🔥 Linha superior animada */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 4px;
  background: linear-gradient(90deg, #9211ee, #1929f0, #9211ee);
  filter: blur(3px);
  animation: glowingLine 5s linear infinite;
}

/* Container geral */
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.footer-logo img {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(146, 17, 238, 0.8));
}

/* Ícones de redes sociais */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.footer-social a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-social a:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px #9211ee);
}

/* Texto */
.footer-text p {
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 0.8rem;
  background: linear-gradient(to bottom, #9211ee 50%, #1929f0);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {

  .header {
    flex-direction: column;
    padding: 0.5rem 1rem;
    text-align: center;
  }
  .menu {
    gap: 1rem;
    flex-direction: row;
  }

  .menu a {
    font-size: 1rem;
  }

  .overlay-text h1 {
    font-size: 1.8rem;
  }

  .servicos-container {
    flex-direction: column;
    align-items: center;
  }

  .destaque-texto h2 {
    font-size: 3rem;
  }

  .video-section {
    height: 30vh;
  }
}
