:root {
  --mwx-dark-bg: #030a14;
  --mwx-cyan: #00f2fe;
  --mwx-blue: #4facfe;
  --mwx-text-light: #e0e6ed;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 80% 20%, #0a2540 0%, #030a14 70%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 3rem;
}

.hero-title {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  font-family: "Poppins", sans-serif;
}

.hero-description {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  color: var(--mwx-text-light);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-cta-wrapper {
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.btn-mwx {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 50%, #b2ebf2 100%) !important;
  color: #030a14 !important;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 0.85rem 2rem !important;
  border-radius: 50rem !important;
  border: 3px solid var(--mwx-cyan) !important;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
  transition: all 0.3s ease;
  text-transform: uppercase;
  text-decoration: none !important;
  font-family: "Poppins", sans-serif;

}

.btn-mwx:hover {
  animation: mwxPulse 1.2s infinite ease-in-out;
  color: #ffffff !important;
  background: #045084 !important;
  border-color: var(--mwx-cyan) !important;
}


@keyframes mwxPulse {
  0% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 242, 254, 0.5); }
  50% { transform: scale(1.04); box-shadow: 0 0 35px rgba(0, 242, 254, 0.9); }
  100% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 242, 254, 0.5); }
}


/* ==========================================================================
   HERO MOBILE
   ========================================================================== */
@media (max-width: 991.98px) {

  .hero-section{
    text-align: center;
  }

  .hero-description{
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-wrapper{
    width: 100%;
    justify-content: center;
    margin-top: 2rem;
  }

  .btn-mwx{
    width: min(100%, 370px);
    min-height: 72px;
    text-align: center;
    line-height: 1.35;
    padding: 1rem 1.8rem !important;
  }
}

/* ==========================================================================
   2. CARROSSEL COM BORDA ÚNICA E TEXTOS NA BASE (IGUAL IMAGEM 01)
   ========================================================================== */

/* Container externo com a Borda Ciano Unificada */
.mwx-carousel-container {
  width: 100%;
  position: relative;
  border-radius: 20px; /* Mesma curva do filho para alinhar os cantos */
  background: transparent !important; /* Elimina a cor escura do pai que vazava na quina */
  overflow: hidden; /* Corta qualquer fundo residual */
}

/* 1. Zera a div intermediária nativa do Bootstrap que gera essa sombra */
.carousel-inner {
  background: transparent !important;
  overflow: visible !important;
}

/* 2. Mantém seu estilo do item e força o isolamento de camadas */
.carousel-item {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: transparent !important;
  border: 2px solid var(--mwx-cyan);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate; /* Impede o vazamento de camadas empilhadas do fade */
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none !important; /* Remove qualquer borda interna */
}

/* Legenda Posicionada na Margem Inferior */
.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  padding: 2.5rem 2rem 2.2rem 2rem; /* Espaço inferior para os botões indicadores */
  /* Gradiente escuro sutil apenas na base para dar leitura ao texto */
  background: linear-gradient(to top, rgba(3, 10, 20, 0.95) 0%, rgba(3, 10, 20, 0.6) 60%, transparent 100%) !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  z-index: 2;
}

/* Tipografia dos Títulos */
.titulo__banner {
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.3rem 0;
  line-height: 1.25;
  font-family: "Poppins", sans-serif;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.paragrafo__banner {
  font-size: clamp(0.75rem, 1.1vw, 0.88rem);
  font-weight: 400;
  color: var(--mwx-text-light);
  margin: 0;
  line-height: 1.35;
  font-family: "DM Sans", sans-serif;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Controles e Indicadores do Carrossel */
.carousel-control-prev,
.carousel-control-next {
  width: 12%;
  opacity: 0.85;
  z-index: 4;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(3, 10, 20, 0.6);
  padding: 0.8rem;
  border-radius: 50%;
  background-size: 50%;
}

.carousel-indicators {
  margin-bottom: 8px;
  z-index: 4;
}

.carousel-indicators [data-bs-target] {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background-color: #ffffff;
  opacity: 0.4;
  border: none;
  margin: 0 3px;
}

.carousel-indicators .active {
  background-color: var(--mwx-cyan);
  opacity: 1;
  width: 30px;
}

/* ==========================================================================
   3. RESPONSIVIDADE (MOBILE E TABLETS)
   ========================================================================== */

@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 2.5rem;
  }

  .btn-mwx {
    width: 100%;
    max-width: 380px;
  }

  .mwx-carousel-container {
    margin-top: 1.5rem;
  }

  .carousel-item {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 575px) {
  .hero-section {
    padding-top: 90px;
  }

  .carousel-item {
    aspect-ratio: 16 / 12;
  }

  .carousel-caption {
    padding: 2rem 1.2rem 2rem 1.2rem;
  }
}