.hero-logo-engie {
  position: absolute;
  top: 177px;
  right: 0;
  transform: translate(-80px, 10px);
}
.hero-logo-engie img {
  max-width: 87px;
}

@media (max-width: 768px) {
  .swiper-slide {
    padding: 0;
    min-height: 90dvh;
    padding-bottom: 80px;
  }
  .hero-logo-engie {
    left: 50%;
    bottom: 0;

    width: fit-content;
    top: 100%;
    transform: translate(-50%, 20px);
  }
  .hero-logo-engie img {
    max-width: 70px;
    margin-top: 16px;
  }
  .badge {
    margin-bottom: 10px;
  }

  /* .espaco-logo{
    padding-top: 30px;
} */
}

/* ................... */

/* Estilos Gerais / Desktop */
.swiper {
  width: 100%;
  height: calc(100dvh - 144px);
  /*min-height: 550px;*/
}

.swiper-slide {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  display: flex;
  align-items: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(3, 13, 24, 0.95) 35%,
    rgba(3, 13, 24, 0.6) 65%,
    rgba(3, 13, 24, 0.1) 100%
  );
  z-index: 1;
}

.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Fix para o espaço entre as palavras do título */
.content h1 span,
.content h1 {
  word-break: break-word;
}

/* -----------------------------------------------------------
       RESTRUTURAÇÃO COMPLETA MOBILE (max-width: 768px)
    ----------------------------------------------------------- */
@media (max-width: 768px) {
  .swiper {
    height: 100dvh;
    min-height: 100dvh;
  }

  .swiper-slide {
    background-color: #030d18 !important;

    /* Ajuste de Zoom & Enquadramento: empurra a foto para a esquerda */
    background-size: 250% auto !important;
    background-repeat: no-repeat !important;
    background-position: 90% 0px !important; /* Rosto centralizado no topo */

    height: 100dvh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 36px 110px 36px;
    box-sizing: border-box;
  }

  /* Gradiente suave cobrindo a transição a partir da metade da tela */
  .overlay {
    background: linear-gradient(
      to bottom,
      rgba(3, 13, 24, 0) 0%,
      rgba(3, 13, 24, 0.1) 20%,
      rgba(3, 13, 24, 0.85) 42%,
      #030d18 58%
    ) !important;
    z-index: 1;
  }

  .container {
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Badge/Subtítulo com respiro superior para subir no meio da tela */
  .badge {
    margin-bottom: 12px;
    font-size: 0.85rem;
    line-height: 1.3;
    flex-direction: column;
    align-items: start;
  }

  /* Título bem espaçado e legível */
  .content h1 {
    font-size: 1.8rem;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
  }

  /* Descrição central de apoio */
  .content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 28px; /* Dá respiro limpo antes do botão */
    color: rgba(255, 255, 255, 0.85);
  }

  /* Botão posicionado sem ficar esmagado no rodapé */
  .btn-cta {
    align-self: flex-start;
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }

  .hero-logo-engie {
    left: 50%;
    bottom: 0;
    width: fit-content;
    top: auto;
    transform: translate(-50%, 20px);
  }

  .hero-logo-engie img {
    max-width: 70px;
    margin-top: 16px;
  }
}
