input[type="text"],
input[type="tel"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  background: none;
}

.conteudo h2 {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 25px;
}

.conteudo p {
  color: #000000;
  font-size: 16px;
  line-height: 25px;
}

.conteudo a {
  color: #3c65db;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

.icone {
  display: flex;
  flex-direction: column; /* Padrão para mobile: imagem em cima do texto */
  align-items: center; /* Centraliza a imagem */
  text-align: left; /* Alinha o texto à esquerda */
}

.icone img {
  width: 40%; /* Padrão para dispositivos móveis */
  max-width: 100%;
  margin-bottom: 20px; /* Espaço entre a imagem e o texto no mobile */
}

/* Início da estrutura do Formulário*/

.content-area {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
  padding: 10px 0px;
}

.content-area img {
  max-width: 90%;
  border-radius: 10px;
}

#banner-conteudo {
  max-width: 100%; /* Garante que a largura não exceda o contêiner */
  height: auto; /* Mantém a proporção da imagem */
  width: auto; /* Ajusta dinamicamente com base no tamanho do contêiner */
}

/* Início da estrutura do Formulário*/
.form-container {
  width: 100%;
  margin-bottom: 20px;
  padding: 20px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  background-color: #003952;
  border-radius: 20px;
  box-shadow: 0px 0px 12px #002738;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.step h2 {
  color: #ffffff;
  font-weight: 600; /* Bold added */
  font-size: 25px;
  line-height: 35px;
}

.step b {
  color: #fff;
  background-color: #009bdb;
  padding: 3px 5px;
  border-radius: 5px;
}

.step p {
  color: #dadada;
  margin: 20px;
  font-size: 16px;
}

button[type="button"] {
  background-color: transparent;
  border: none;
  border-radius: 40px;
  padding: 10px 20px;
  cursor: pointer;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

button[type="button"]:hover {
  background-color: #025f86;
}

#amount {
  flex: 1;
  margin: 0;
}

#rs,
#centavos {
  font-size: 14px;
  font-weight: light;
  margin-bottom: 20px;
  padding-right: 5px;
  color: #dadada;
}

#amount-value {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

#consorcio-form input[type="range"] {
  width: 95%;
  height: 10px;
  border-radius: 5px;
  background: #000000;
  outline: none;
  padding: 0px;
  margin: 20px 0px 0px 0px;
}

.range-container {
  display: flex;
  align-items: center;
  padding: 10px 15px;
}

#range-min,
#range-max {
  width: auto;
  text-align: center;
  color: #dadada;
  font-size: 14px;
  font-weight: normal;
  font-style: italic;
}

#range-min-rs {
  width: auto;
  text-align: start;
  color: #dadada;
  font-size: 14px;
  font-weight: normal;
  margin-right: 4px;
}

#range-max-rs {
  width: 100%;
  text-align: end;
  color: #dadada;
  font-size: 14px;
  font-weight: normal;
  margin-right: 4px;
}

#simular-btn {
  background-color: #db6a00;
  border: none;
  border-radius: 40px;
  padding: 10px 20px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  font-size: 15px;
  width: 100%;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 15px;
}

#step-2 h2 {
  color: #ffffff;
  font-weight: bold; /* Bold added */
  font-size: 25px;
  margin-bottom: 20px;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"] {
  width: 100%;
  padding: 10px 20px;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: #505050;
  background-color: #fff;
}

.input-group input:focus {
  border-color: #131313;
  box-shadow: 0 0 5px rgba(54, 54, 54, 0.75);
}

.input-group label {
  position: absolute;
  top: 12px;
  left: 20px;
  color: #505050;
  transition: 0.3s;
  pointer-events: none;
}

.input-group input[type="text"]:focus + label,
.input-group input[type="email"]:focus + label,
.input-group input[type="tel"]:focus + label {
  opacity: 0;
  transform: translateY(-10px);
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  opacity: 0;
  transform: translateY(-10px);
}

.ui-autocomplete {
  max-height: 150px; /* Limita a altura visível para exibir 5 opções */
  overflow-y: auto; /* Adiciona barra de rolagem vertical */
  overflow-x: hidden; /* Remove barra de rolagem horizontal */
  background-color: #fff !important; /* Fundo branco */
  font-family: "Montserrat", sans-serif !important; /* Fonte personalizada */
}

.ui-menu-item-wrapper {
  padding: 10px 15px !important; /* Espaçamento das opções */
  cursor: pointer;
}

.canal {
  color: #dadada;
  font-style: italic;
  font-size: 14px;
}

.button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

#back-btn-2 {
  background-color: transparent;
  border: none;
  border-radius: 40px;
  padding: 10px 20px;
  cursor: pointer;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

#result-btn {
  background-color: #db6a00;
  border: none;
  border-radius: 40px;
  color: #fff;
  cursor: pointer;
  padding: 10px 20px;
  font-size: 16px;
  width: auto;
}

#mensagem {
  color: rgb(255, 109, 109);
  padding-top: 15px;
}

/* Fim da estrutura do Formulário*/

/* Estilos para a seção de FAQ */
.faq-section {
  padding: 20px;
  background-color: #e6e6e6;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #000000;
}

.faq-container {
  max-width: 800px;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 15px;
  text-align: left;
  background-color: #009bdb;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 18px;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #037fb4;
}

.faq-answer {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  border-top: 1px solid #f1f1f1;
}

.faq-answer p {
  padding: 15px 0;
  margin: 0;
  font-size: 16px;
  color: #454545;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Ajuste conforme necessário */
  padding: 15px;
}

.btn-fazer-simu {
  background-color: #009bdb;
  border: none;
  border-radius: 40px;
  color: #fff;
  cursor: pointer;
  margin-top: 15px;
  padding: 10px;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

/* Início do rodapé */
.rodape-section {
  background-color: #009de1;
}
.rodape,
.politica {
  background-color: #009de1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin: auto;
  max-width: 1200px;
}

.rodape img {
  width: 150px;
  margin: 20px;
}

.rodape a,
.rodape p {
  color: white;
  margin: 20px;
}

.politica a {
  color: white;
  margin-bottom: 25px;
}

/* Para telas maiores (tablet e desktop) */
@media (min-width: 768px) {
  .icone {
    flex-direction: row; /* Coloca a imagem ao lado do texto em desktops */
    align-items: center; /* Alinha a imagem e o texto ao topo */
  }

  .icone img {
    max-width: 20%;
    margin: 0px 15px; /* Espaço entre a imagem e o texto no desktop */
  }

  .content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
  }

  .form-placeholder {
    display: none; /* Placeholder oculto no desktop */
  }

  .conteudo {
    flex: 4;
    padding-right: 20px;
    width: 500px;
  }

  #simular-btn:hover,
  #result-btn:hover {
    background-color: #ffffff;
    color: #db6a00;
    transform: translateY(-5px); /* Leva o botão 5px para cima */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  }

  #back-btn-2:hover {
    background-color: #025f86;
    color: #ffffff;
    transform: translateY(-5px); /* Leva o botão 5px para cima */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  }

  /* Início da estrutura do Formulário*/
  .form-lateral {
    margin: 20px;
  }

  .form-container {
    max-width: 50%;
    margin: auto;
    padding: 20px 30px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    background-color: #003952;
    border-radius: 20px;
  }

  .step {
    display: none;
  }

  .step.active {
    display: block;
  }

  .step h2 {
    color: #ffffff;
    font-weight: bold; /* Bold added */
    font-size: 25px;
  }

  .step p {
    color: #dadada;
    margin: 20px;
  }

  #amount {
    flex: 1;
    margin: 0;
  }

  #rs,
  #centavos {
    font-size: 16px;
    font-weight: light;
    margin-bottom: 20px;
    padding-right: 5px;
    color: #dadada;
  }

  #amount-value {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
  }

  #consorcio-form input[type="range"] {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #000000;
    outline: none;
    padding: 0px;
    margin: 20px 0px 0px 0px;
  }

  .range-container {
    display: flex;
    align-items: center;
    padding: 10px 15px;
  }

  #range-min,
  #range-max {
    width: auto;
    text-align: center;
    color: #c7c7c7;
    font-size: 14px;
    font-weight: normal;
  }

  #range-min-rs {
    width: auto;
    text-align: start;
    color: #dadada;
    font-size: 14px;
    font-weight: normal;
  }

  #range-max-rs {
    width: 100%;
    text-align: end;
    color: #dadada;
    font-size: 14px;
    font-weight: normal;
  }

  #step-2 h2 {
    color: #ffffff;
    font-weight: bold; /* Bold added */
    font-size: 25px;
    margin-bottom: 20px;
  }

  .input-group {
    position: relative;
    margin-bottom: 20px;
  }

  .input-group input[type="text"],
  .input-group input[type="email"],
  .input-group input[type="tel"] {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #505050;
  }

  .input-group input:focus {
    border-color: #131313;
    box-shadow: 0 0 5px rgba(54, 54, 54, 0.75);
  }

  .input-group label {
    position: absolute;
    top: 12px;
    left: 20px;
    color: #505050;
    transition: 0.3s;
    pointer-events: none;
  }

  .input-group input[type="text"]:focus + label,
  .input-group input[type="email"]:focus + label,
  .input-group input[type="tel"]:focus + label {
    opacity: 0;
    transform: translateY(-10px);
  }

  .input-group input:focus + label,
  .input-group input:not(:placeholder-shown) + label {
    opacity: 0;
    transform: translateY(-10px);
  }

  #mensagem {
    color: rgb(255, 109, 109);
    padding: 0px;
  }

  /* Fim da estrutura do Formulário*/
  .btn-fazer-simu {
    padding: 10px;
    width: 40%;
  }

  .rodape {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 100px;
    text-align: center;
  }

  .rodape img {
    width: 150px;
    margin: 20px;
  }

  .rodape p {
    color: white;
    margin: 20px;
  }
}

/*//////// BLIP CHAT ////////*/
* {
  margin: 0;
  padding: 0;
}

a {
  cursor: pointer;
}

@font-face {
  font-family: "Montserrat", sans-serif;
  src: url(https://www.blip.ai/wp-content/uploads/2023/04/font-47.ttf);
}

.blip-card .bubble.left,
.blip-card .bubble.middle {
  color: #292929 !important;
}

.blip-chat-icon {
  height: auto !important;
  max-height: 6.25em;
}

.message-bubble {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  position: relative;
  display: flex;
  flex-flow: row wrap;
  background: #ffffff;
  color: #000000;
  width: auto;
  max-width: 15em;
  border-radius: 0.8125em 0.8125em 0.125em 0.8125em;
  box-shadow: 0.0625em 0.25em 0.5625em rgb(0 0 0 / 10%);
  z-index: 980;
  animation: toggle-bubble 0.5s ease-out;
  line-height: 1.5em;
  transform-origin: 100% 100%;
}

.textContainer {
  padding: 1em 1.5em;
}

.message-bubble::after {
  bottom: 0;
  content: "";
  position: absolute;
  left: calc(100% - 0.9375em);
  width: 0;
  border: 0.875em solid transparent;
  border-bottom-color: #ffffff;
  border-radius: 0.28125em;
}

.message-bubble::before {
  bottom: 0;
  content: "";
  position: absolute;
  left: calc(100% - 0.75em);
  width: 0;
  border: 0.9375em solid transparent;
  border-bottom-color: rgb(0 0 0 / 5%);
  filter: blur(0.125em);
  border-radius: 0.28125em;
}

.message-bubble .close-button {
  position: absolute;
  right: 0.625em;
  top: 0.9375em;
  width: 0.7em;
  height: 0.7em;
  opacity: 0.3;
}

.message-bubble .close-button:hover {
  opacity: 1;
  cursor: pointer;
}

.message-bubble .close-button:before,
.message-bubble .close-button:after {
  position: absolute;
  content: " ";
  height: 0.8em;
  width: 0.125em;
  background-color: #333;
}

.message-bubble .close-button:before {
  transform: rotate(45deg);
}

.message-bubble .close-button:after {
  transform: rotate(-45deg);
}

@keyframes toggle-bubble {
  from {
    transform: scale(0.1);
  }

  to {
    transform: scale(1);
  }
}

#blip-chat-container {
  display: inline-flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
}

#blip-chat-container > #blip-chat-open-iframe {
  position: static !important;
  background-size: contain;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
}

#blip-chat-icon {
  position: static;
  width: auto !important;
  height: auto !important;
  max-width: 3.75em !important;
  border-radius: 0% !important;
}

#blip-chat-close-icon {
  height: auto !important;
  background-color: #0c4ec0;
}

#blip-chat-header {
  background: #1968f0 !important;
}

#blip-chat-icon:hover {
  transform: translateY(-2px);
}

.option-message {
  font-family: "Montserrat", sans-serif;
  margin-top: 0.3125em;
  width: auto;
  z-index: 980;
  font-size: 14px;
}

.option-message li {
  list-style: none !important;
  margin-top: 0.3125em !important;
  text-align: right !important;
  animation: Appearing2 2s ease-out !important;
}

.option-message li:nth-child(2n + 1) {
  animation: Appearing 1s ease-out !important;
}

@keyframes Appearing {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes Appearing2 {
  from {
    transform: translateX(300%);
  }

  to {
    transform: translateX(0);
  }
}

.option-message li a {
  display: inline-block !important;
  padding: 0.3125em 0.9375em !important;
  background-color: #db6a00 !important;
  margin-top: 0.3125em !important;
  border-radius: 0.8em !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: 0.2s ease-in !important;
  box-shadow: 0.0625em 0.125em 0.375em rgb(0 0 0 / 10%) !important;
  font-weight: 400 !important;
}

.option-message li a:hover {
  transform: scale(1.1) !important;
}

#blip-chat-notifications {
  position: absolute !important;
  bottom: 35px !important;
  right: -4px !important;
}

.containerMessage {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media screen and (max-width: 480px), screen and (max-height: 420px) {
  #blip-chat-container {
    position: fixed !important;
    display: inline-flex !important;
    height: auto !important;
    margin-bottom: 40px;
    margin-right: 20px;
    margin-left: 20px;
  }

  #blip-chat-container #blip-chat-iframe {
    position: fixed !important;
  }
}

@media screen and (max-width: 280px) and (min-width: 0) {
  #blip-chat-container {
    margin-right: -20px;
    margin-bottom: -20px;
  }

  #blip-chat-container #blip-chat-iframe {
    position: fixed !important;
  }
}

@media screen and (max-width: 920px) and (min-width: 481px) {
  #blip-chat-container {
    margin-right: -40px;
  }

  #blip-chat-container #blip-chat-iframe {
    position: fixed !important;
  }
}
