/* ========= BRAND ANIMATION - NETWORK ========= */

.brand-animation-container {
  /* Oculto: o banner acima passou a ser a abertura da página. */
  display: none;
  width: 100%;
  height: 600px;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f2438 0%, #1b3a57 55%, #16314a 100%);
  margin-bottom: 0;
  z-index: 1;
  isolation: isolate;
}

.brand-animation-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    #d0bb6c 50%,
    transparent
  );
  box-shadow:
    0 0 20px rgba(208, 187, 108, 0.55);
}

.brand-animation-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Container do texto */
.brand-text-container {
  position: relative;
  z-index: 10;
  text-align: center;
  animation: fadeInTitle 1.5s ease-out forwards;
}

@keyframes fadeInTitle {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Título branco limpo */
.brand-title-network {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin: 0;
  padding: 0;
  position: relative;
  text-shadow:
    0 0 20px rgba(208, 187, 108, 0.5),
    0 10px 30px rgba(208, 187, 108, 0.2);
}

/* Wrapper do subtitle com linha */
.brand-subtitle-wrapper {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Subtitle branco */
.brand-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #ffffff;
  text-transform: uppercase;
  animation: fadeInSubtitle 2s ease-out 0.5s forwards;
  opacity: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Linha animada com degradê neon */
.brand-animated-line {
  width: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    #d0bb6c 50%,
    transparent
  );
  border-radius: 2px;
  box-shadow:
    0 0 10px rgba(208, 187, 108, 0.55);
  animation: expandLine 1.5s ease-out 1s forwards;
}

@keyframes expandLine {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 300px;
    opacity: 1;
  }
}

@keyframes fadeInSubtitle {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .brand-animation-container {
    height: 400px;
  }
  
  .brand-title-network {
    font-size: clamp(2rem, 10vw, 4rem);
  }
  
  .brand-subtitle {
    font-size: 0.9rem;
  }
  
  .brand-animated-line {
    max-width: 200px;
  }
}
