.bg-main-home .introducao {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  height: 100%;
  text-align: start;
  min-height: calc(100vh - 9rem);
  min-height: calc(100svh - 9rem);
  text-align: center;
}

@media (max-width: 1100px) {
  .bg-main-home .introducao {
    min-height: calc(100vh - 15rem);
    min-height: calc(100svh - 15rem);
  }
}

@media (max-width: 991px) {
  .bg-main-home .introducao {
    min-height: calc(100vh - 8rem);
    min-height: calc(100svh - 8rem);
  }
}

.bg-main-home .linhas {
  position: relative;
}

.bg-main-home .linhas::after {
  content: "";
  display: block;
  width: 94.4rem;
  height: 37.2rem;
  background: url("../../img/linhas-bgmain.svg") no-repeat top left;
  position: absolute;
  right: 0;
  bottom: 0;
}

.bg-main-home .introducao .tex {
  width: 100%;
  margin: auto;
  padding: 3rem 0;
}

.bg-main-home .introducao .tex a {
  margin: 0 auto;
  position: relative;
  z-index: 200;
}

.bg-main-home .introducao .tex a img {
  animation: floatseta 4s ease-in-out infinite;
}

.bg-main-home .introducao .tex a img {
  width: inherit;
  margin: 5rem auto 0 auto;
}

.bg-main-home .introducao .img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-main-home .introducao .img img {
  width: max-content;
}

.bg-main-home .introducao .tex-sub {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.bg-main-home .swiper {
  max-width: 100%;
}

.bg-main-home .swiper-slide {
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  height: initial;
}

.bg-main-home .swiper-slide img {
  margin: auto;
  width: max-content;
  height: auto;
  object-fit: inherit;
}

.bg-main-home .buttons {
  display: flex;
  width: 100%;
  max-width: 100%;
  align-items: center;
  gap: 1.5rem;
  position: absolute;
  bottom: 50%;
}

.bg-main-home .swiper-button-next {
  margin: 0 auto 0 0;
}

.bg-main-home .swiper-button-prev {
  margin: 0 0 0 auto;
}

.bg-main-home .swiper-button-next,
.bg-main-home .swiper-button-prev {
  /* position: initial; */
  width: initial;
  height: initial;
}

.bg-main-home .swiper-button-next {
  right: var(--swiper-navigation-sides-offset, 20px);
}

.bg-main-home .swiper-button-prev {
  left: var(--swiper-navigation-sides-offset, 20px);
}

.bg-main-home .swiper-horizontal > .swiper-pagination-bullets,
.bg-main-home .swiper-pagination-bullets.swiper-pagination-horizontal,
.bg-main-home .swiper-pagination-custom,
.bg-main-home .swiper-pagination-fraction {
  width: initial;
  position: initial;
  display: flex;
}

/* .bg-main-home .swiper-button-next,
.bg-main-home .swiper-button-prev {
  scale: 0.5;
} */

.bg-main-home .swiper-button-next:after,
.bg-main-home .swiper-button-prev:after {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  color: var(--branco) !important;
  font-size: 3rem !important;

  background-color: none;
  border-radius: 50%;
  padding: 1.5rem 1.7rem;
  transition: all 0.3s;
}

.bg-main-home .swiper-button-next:after {
  content: "\f061" !important;
}

.bg-main-home .swiper-button-prev:after {
  content: "\f060" !important;
}

.bg-main-home .swiper-button-next:hover:after,
.bg-main-home .swiper-button-prev:hover:after {
  background-color: var(--amarelo) !important;
  color: var(--branco) !important;
}

@media (max-width: 1500px) {
  .bg-main-home .introducao .tex {
    max-width: 90%;
    padding: 3rem 0;
  }
}

@media (max-width: 991px) {
  .bg-main-home .introducao {
    grid-template-columns: 1fr;
  }

  .bg-main-home .introducao .tex {
    width: 90%;
    max-width: inherit;
    padding: 3rem 0;
    order: 2;
  }

  .bg-main-home .introducao .img {
    width: 80%;
    margin: 0 auto;
  }

  .bg-main-home .swiper-button-next {
    right: var(--swiper-navigation-sides-offset, 10px);
  }

  .bg-main-home .swiper-button-prev {
    left: var(--swiper-navigation-sides-offset, 10px);
  }
}

@media (max-width: 768px) {
  .bg-main-home .linhas::after {
    width: 42.6rem;
    height: 17.1rem;
    background: url("../../img/linhas-bgmain-mob.svg") no-repeat top left;
    background-size: cover;
  }

  .bg-main-home .introducao .tex .seta-main {
    display: none;
  }

  .bg-main-home .swiper-button-next,
  .bg-main-home .swiper-button-prev {
    position: initial;
  }

  .bg-main-home .buttons {
    bottom: 1.5rem;
  }

  .bg-main-home .swiper-button-next,
  .bg-main-home .swiper-button-prev {
    scale: 0.5;
  }
}

@media (max-width: 450px) {
  .bg-main-home .linhas::after {
    width: 24.6rem;
    height: 9.1rem;
  }
}

/* Slide com as linhas decorativas desligadas no painel */
.bg-main-home .linhas.sem-linhas::after {
  display: none;
}

/* Foto do banner: menor no celular, maior em tela grande (as variáveis vêm do page-home.php) */
.bg-main-home .swiper-slide {
  background-image: var(--sombra, none), var(--foto-celular);
}

@media (min-width: 769px) {
  .bg-main-home .swiper-slide {
    background-image: var(--sombra, none), var(--foto);
  }
}
