/* ==========================================================================
   CONFIGURAÇÕES GERAIS E VARIÁVEIS
   ========================================================================== */
:root {
  --accent-color: #8a2be2; 
  --accent-glow: rgba(138, 43, 226, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-muted: #adb5bd;
}

html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   SEÇÃO HERO (INÍCIO)
   ========================================================================== */
#nyx-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
}

.nyx-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(30%);
}

.nyx-logo {
  width: 300px;
  height: auto;
  display: block;
  margin-bottom: 40px;
}

@keyframes pular {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
  60% { transform: translateY(-7px); }
}

.nyx-scroll-btn {
  color: #ffffff;
  font-size: 3rem;
  transition: 0.3s;
  display: inline-block;
  animation: pular 2s infinite;
  backface-visibility: hidden; /* Suaviza a animação em navegadores modernos */
}

.nyx-scroll-btn:hover {
  color: #8e33b3;
  transform: translateY(5px);
}

/* ==========================================================================
   SEÇÃO SOBRE (ABOUT)
   ========================================================================== */
#about {
  background: radial-gradient(circle at top right, #0a0a0a, #000000);
  color: #e0e0e0 !important;
  padding: 100px 0;
  min-height: 100vh;
}

#about h2 {
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#about .text-accent {
  color: var(--accent-color) !important;
  font-weight: 600;
}

.feature-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.feature-item:hover { transform: translateX(10px); }

.feature-item i {
  font-size: 24px;
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 8px;
  height: fit-content;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
}

.logo-wrapper::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 200px;
  background: var(--accent-color);
  filter: blur(120px);
  opacity: 0.15;
  z-index: 0;
}

#about .section-title span {
  color: rgba(255, 255, 255, 0.03) !important;
  font-size: 6rem;
  font-weight: 900;
}

/* ==========================================================================
   SEÇÃO SERVIÇOS
   ========================================================================== */
.services-dark {
  background-color: #000 !important;
  padding: 100px 0;
  color: #ffffff;
}

.service-item-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  transition: 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-item-glass:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 15px 35px var(--accent-glow);
}

.icon-box {
  width: 70px; height: 70px;
  background: rgba(138, 43, 226, 0.15);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 25px; font-size: 28px;
}

/* ==========================================================================
   SEÇÃO DE CONTATO COM FUNDO ESPACIAL
   ========================================================================== */
.contact-nyx {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../img/background.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
    padding: 100px 0;
    color: #fff;
    position: relative;
}

.contact-container {
    display: flex !important;
    gap: 30px;
    align-items: stretch !important; /* Força os cards a terem a mesma altura */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.info-card, .form-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.info-items .item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.info-items i {
    color: #8a2be2;
    font-size: 1.5rem;
}

.form-card {
    gap: 15px;
}

.form-card input, .form-card textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    color: #fff;
    outline: none;
    width: 100%; /* Garante que os inputs preencham o card */
    box-sizing: border-box; /* Previne que o padding quebre a largura */
}

/* Forçar BRANCO total no título Entre em Contato */
#contact .section-title h2,
#contact .section-title h2 span,
.contact-nyx .section-header h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important; 
    opacity: 1 !important;
    background: none !important;
}

#contact .section-title h2::before,
#contact .section-title h2::after {
    background: #ffffff !important;
}

.glass-card h3, 
.info-card h3 {
    color: #ffffff !important;
}

.form-card button {
    background: #8a2be2;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    margin-top: auto; 
    width: fit-content;
    transition: 0.3s;
}

.form-card button:hover {
    background: #9d4edd;
    transform: translateY(-3px);
}

/* Responsividade para Celular */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
    .info-card, .form-card {
        width: 100%;
        max-width: 100%;
    }
}

/* Forçar BRANCO total no título Entre em Contato */
.contact-nyx .display-6, 
.contact-nyx h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
}

/* Garante que o título Fale Conosco também acompanhe o padrão */
.info-card h3 {
    color: #ffffff !important;
    opacity: 1 !important;
}
/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */
#footer {
  background: linear-gradient(to top, #000000, #0a0014) !important;
  padding: 60px 0 30px;
  color: #fff;
  border-top: 1px solid rgba(138, 43, 226, 0.1);
}

#footer .sitename {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

#footer .social-links a {
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  margin: 0 8px;
  border-radius: 50%;
  width: 45px; height: 45px;
  transition: 0.3s ease;
  border: 1px solid rgba(138, 43, 226, 0.2);
}

#footer .social-links a:hover {
  background: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px var(--accent-glow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 30px;
  padding-top: 25px;
  font-size: 0.85rem;
  color: var(--text-muted);
}