/* =====================================================
   HERO CÊNICO — PRÊMIO MANIA (LIMPO E SEGURO)
   - Mantém o layout e o carrossel funcionando
   - Remove apenas excessos sem alterar estrutura
===================================================== */

.hero-scene {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(207, 226, 0, 0.204), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(64, 255, 0, 0.12), transparent 45%),
    linear-gradient(180deg, #0c2f22, #050807 70%);
  overflow: hidden;
}

/* luz de palco */
.scene-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(255,255,255,0.08), transparent 40%);
  pointer-events: none;
}

/* grid principal (base) */
.scene-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

/* =====================================================
   CARROSSEL DO HERO
===================================================== */

.hero-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  animation: heroFadeLeft 0.8s ease-out both;
}

.hero-carousel--top {
  padding-top: 10px;
  margin-bottom: 26px;
}

/* trilho */
.hero-carousel .carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.7s cubic-bezier(.4,0,.2,1);
}

/* slide */
.hero-carousel .carousel-slide {
  position: relative;
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 4px; /* 👈 RESPIRO ENTRE SLIDES (ajuste: 8 a 14) */
  box-sizing: border-box;
}

.hero-carousel .carousel-slide img {
  width: 100%;
  display: block;
  border-radius: 22px;
  position: relative;
  z-index: 1;
}

/* moldura premium */
.hero-carousel .carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: 0 4px; /* 👈 mesmo valor do padding */
  border-radius: 24px;
  padding: 2.5px;

  background: linear-gradient(
    135deg,
    rgba(202, 255, 42, 0.65),
    rgba(0, 255, 170, 0.55),
    rgba(202, 255, 42, 0.65)
  );

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  pointer-events: none;
  z-index: 2;
}

/* =====================================================
   TEXTO DO HERO
===================================================== */

.scene-text {
  max-width: 520px;
}

.scene-text h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  animation: heroFadeUp 0.7s ease-out both;
}

.scene-text h1 span {
  display: block;
  font-size: 1.85rem;
  font-weight: 600;
  margin-top: 10px;
  color: #caff2a;
  opacity: 0.95;
}

.scene-text p {
  margin-top: 24px;
  font-size: 1.15rem;
  opacity: 0.9;
  animation: heroFadeUp 0.7s ease-out both;
  animation-delay: 0.12s;
}

/* logo institucional */
.scene-logo {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  animation: heroFadeScale 0.6s ease-out both;
  animation-delay: 0.22s;
}

.scene-logo img {
  width: 180px;
  max-width: 100%;
  opacity: 0.95;
}

/* =====================================================
   MOBILE — HERO
===================================================== */

@media (max-width: 900px) {
  .scene-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3px;
  }

  .scene-text {
    z-index: 3;
  }

  .scene-logo img {
    width: 180px;
    margin: 0 auto;
  }

  .hero-carousel--top {
    padding-top: 14px;
    margin-bottom: 20px;
  }
}

/* =====================================================
   DESKTOP — HERO (NÃO MEXER: É A CHAVE DO SEU LAYOUT)
===================================================== */

@media (min-width: 901px) {
  .scene-content {
    grid-template-columns: 1fr 1fr;
    column-gap: 96px;
    align-items: center;
    padding: 80px 20px 100px;
  }

  /* ESSENCIAL: permite carrossel e texto ocuparem as 2 colunas */
  .scene-left {
    display: contents;
  }

  .hero-carousel {
    grid-column: 1;
    max-width: 560px;
    justify-self: start;
  }

  .scene-text {
    grid-column: 2;
    max-width: 520px;
    justify-self: start;
  }

  .scene-text h1,
  .scene-text p {
    text-align: center;
  }
}

/* =====================================================
   ANIMAÇÕES
===================================================== */

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroFadeScale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
