#principal {
  color: var(--darkblue);
  background-color: var(--cinzaClaro);

  background-repeat: no-repeat;
  background-position-x: 120%;
  background-position-y: -322px;
  background-size: 80% 160%;
}

.principal {
  display: flex;
  align-items: center;
  height: 60vh;
  gap: 5vw;
}

.principal-text .descricao {
  font-size: 22px;
  font-weight: 300;
  opacity: 0.9;
}

.principal-text h1 {
  font-weight: 700;
  line-height: 1.2;
}

.principal-text .subtitulo {
  font-size: clamp(1.875rem, calc(1.875rem + 1.5vw), 3.5rem);
  line-height: normal;
  font-weight: 700;
}

.button {
  color: var(--white);
  background-color: var(--roxo);
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  padding: 10px 25px;
}

.button:hover {
  color: var(--white);
  background-color: var(--roxo);
  border: none;
  text-decoration: none;
}

.formulario-container .button,
.principal .button {
  display: inline-block;
  padding: 10px 34px;
}

.formulario-container .button {
  margin-top: 30px;
}

@media (max-width: 992px) {
  .formulario-container .formulario-text .button {
    margin-bottom: 30px;
  }
}

body > section#principal {
  padding: 100px 10px !important ;
}

@media (min-width: 1024px) {
  body > section#principal {
    padding: 130px 10px !important ;
  }

  body > section#duvidas-valida-pix {
    padding: 0px 10px 100px !important;
  }

  #duvidas-valida-pix .row {
    padding: 0px !important;
  }
}

@media (max-width: 992px) {
  #duvidas-valida-pix .faq-duvidas .col-12,
  #duvidas-valida-pix .faq-duvidas .col-lg-6 {
    padding: 0px !important;
  }
  #duvidas-valida-pix .row .row {
    margin-right: 0px !important;
    margin-left: 0px !important;
  }
}

@media (min-width: 1280px) {
  body > section#principal {
    padding: 170px 10px !important ;
  }
}

body > section#lojistaBuscam {
  padding: 0px 10px !important ;
}

@media (max-width: 992px) {
  body > section#lojistaBuscam {
    padding: 20px 10px !important ;
  }
}

.principal .botao {
  padding: 30px 0;
}

.principal-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-top: 100px;
}

@media (min-width: 1024px) {
  .principal-text {
    width: 45vw !important;
  }
}

#lojistaBuscam img {
  width: 100%;
}

.principal-image-mobile {
  max-width: 100% !important;
}

.principal-image {
  width: 50vw !important;
  margin-top: 100px;
}

@media (min-width: 1280px) {
  .principal-image {
    width: 45vw !important;
  }
}

@media (min-width: 1600px) {
  .principal-image {
    width: 40vw !important;
  }
}

@media (min-width: 1920px) {
  .principal-image {
    width: 35vw !important;
  }
}

@media (min-width: 2560px) {
  .principal-image {
    width: 30vw !important;
  }
}

#formularioForm h5 {
  color: var(--roxo);
  font-weight: 600;
}

.buttonFormulario {
  background-color: var(--roxo);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 10px 25px;
  font-weight: 600;
  text-decoration: none;
}

#formulario {
  display: flex;
  align-items: center;
  height: auto;
}

.formulario-container {
  display: flex;
  justify-content: space-between;
  gap: 10%;
}

.formulario-text {
  display: flex;
  flex-direction: column;
}

.formulario-text .titulo {
  font-size: 56px;
  font-weight: 700;
  line-height: normal;
}

.formulario-text .descricao {
  font-size: 22px;
  font-weight: 500;
  color: var(--darkblue);
}

.formulario {
  width: 100%;
  max-width: 655px;
  background-color: var(--cinzaClaro);
  padding: 50px 50px 0px 50px;
  border-radius: 10px;
  gap: 10px;

  & label {
    text-align: left;
    margin-bottom: 5px;
    color: var(--cinza);
    font-size: 22px;
    font-weight: bold;
  }

  & input {
    width: 100%;
    height: 48px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: transparent;
    border: 2px solid #707070;
    border-radius: 10px;
    font-size: 1rem;
  }
}

.formulario .button {
  width: 170px;
  height: 50px;
  font-size: 1.4rem;
  align-self: center;
  transform: translateY(50%);
}

.captcha-container {
  position: relative;
  display: inline-block;
}

.captcha-overlay {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 1280px) {
  #principal {
    background-position-x: 304%;
    background-position-y: -310px;
    background-size: 90% 170%;
  }

  .formulario-text .titulo {
    font-size: 40px;
  }
}

@media (max-width: 992px) {
  .principal-text .descricao {
    font-size: 18px;
  }

  .principal-text h1 {
    line-height: normal;
  }

  #formulario {
    height: auto;
    padding: 0px 10px 0px 10px;
  }

  .formulario-container {
    flex-direction: column;
    text-align: center;
    gap: 0px;
  }

  .formulario-text {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;

    & .descricao {
      padding: 1.5rem !important;
    }
  }

  .formulario .button {
    font-size: 20px;
  }

  #form-button {
    margin-top: 0px !important;
  }
}

@media (max-width: 720px) {
  .ocultar-desktop {
    display: block !important;
  }

  #principal {
    /* background-image: url('/assets/img/bg/bg-lp-busca-por-imagem-mobile.webp'); */
    background-position: 62% -300%;
    background-size: 200% 110%;
    /* border-radius: 0 0 50px 50px; */
  }

  @media (max-width: 1000px) {
    #principal {
      min-height: 1000px;
    }
  }

  .principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 70vh;
    gap: 0;
  }

  .principal-text {
    align-items: center;
    text-align: center;
    width: 100%;
    margin-top: 40px;
  }

  .principal-text h1 {
    font-weight: 500;
    margin-bottom: 0px;
  }

  .principal-text .subtitulo {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: normal;
  }

  .como-funciona {
    gap: 0px;

    & .button {
      margin-top: 40px;
    }
  }

  .logos img {
    max-width: 210px;
    max-height: 46px;
  }

  .formulario {
    padding: 25px 25px 0px 25px;
  }

  .formulario-text {
    & .titulo {
      font-size: 32px;
    }

    & .descricao {
      font-size: 20px;
    }
  }

  .formulario {
    padding: 25px 25px 0px 25px;
  }
}

@media only screen and (max-height: 760px) and (max-width: 1023px) {
  .principal {
    height: 80vh;
  }
}
@media only screen and (max-height: 640px) {
  .principal {
    height: 85vh;
  }
}
@media (max-height: 480px) {
  .principal {
    height: 110vh;
  }
  .principal-text {
    margin-top: 10px;

    & .subtitulo {
      font-size: 28px;
      margin-bottom: 10px;
    }
  }
}
