/* styles.css */

/* Estilos para dispositivos móveis (mobile first) */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html, body {
  margin: 0;    
  padding: 0;   
  background-color: #f3f3f3;
  display: flex;
  flex-direction: column;
  font-family: Barlow, sans-serif;
}

body {
  font-family: Barlow, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  font-style: italic;
  height: auto;
}

/* Estilos do Header */
header {
  background-color: #d60d10;
  color: white;
  text-align: center;
}

h1 {
  font-size: 1.5em;
}

.section{
  width: 100%;
}

.main-1 {
  padding: 15px;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  height: 100%;
}

main.main-2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  padding: 15px; 
  background-color: #fff;
}

.section-2 {
  width: 100%; 
  display: flex;
  flex-direction: column; 
  justify-content: flex-start;
  flex: 1;
}


h2 {
  color: #d60d10;
  font-style: normal;
  font-weight: 800;
}

h3 {
  color: #d60d10;
  font-style: normal;
  text-align: center;
}

span {
  text-align: center;
  color: #747474;
  font-weight: 500;
}

.wpp-btn {
  background-color: #00C300;
  color: #fff;
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  margin-top: 15px;
  display: flex;
  width: 85%;
  border: none;
  justify-content: space-around;
  align-items: center;
  cursor: pointer;
}
a {
  color: #fff;
}

.h4-main {
  color: #d60d10;
  text-align: center;
  font-size: 0.8rem;
}

.h4-footer {
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  padding-top: 20px;
}

.logo {
  width: 200px;
  padding: 20px;
}

.banner {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.div-input-2 {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
  line-height: 30px;
}

label {
  text-align: left;
  width: 80%;

}
.input-style {
  background-color: #dddddd;
  border: none;
  width: 80%;
  height: 30px;

}

.send-btn {
  background-color: #00182e;
  width: 100px;
  height: 32px;
  justify-content: space-between;
  padding: 10px 10px;
  align-items: center;
  display: flex;
  border: none;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  font-family: Barlow, sans-serif;
}


.send-btn img {
  width: 16px;
}

.color-grey {
  color: #747474;
}

.txt {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
}

footer {
  background-color: #d60d10;
  width: 100%;
  height: auto;
  bottom: 0;
  left: 0;
  position: relative; /* O footer vai se posicionar normalmente no final do conteúdo */
}

.p-footer {
  color: #fff;
  font-size: 0.8rem;
  text-align: left;
  margin-left: 50px;
  width: 80%;
  display: flex;
  flex-direction: column;
}

.p-footer p {
  display: flex;
  align-items: start;
  flex-wrap: wrap;
}

.sub-text {
  margin-left: 30px; 
  display: block; 
  color: #fff;  
  font-weight: 400;
  text-align: left;
}

.p2 {
  width: 82%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.p2-footer {
  font-size: 0.6rem;
  color: #fff;
  text-align: center;
  font-style: normal;
}

.dot {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: #00182e;
  display: flex;
  justify-content: center;
  font-weight: 800;
  text-align: center;
  align-items: center;
  margin-right: 10px;
  font-size: 14px;
  color: #fff; 
  font-style: normal;
}

.img {
  width: 200px;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Estilos específicos para dispositivos móveis */
@media (max-width: 375px) {
  html, body {
    font-size: 14px; /* Ajuste global do tamanho da fonte para telas pequenas */
  }

  h1 {
    font-size: 1.3em; /* Reduz o tamanho do título */
  }

  .logo {
    width: 160px; /* Ajusta o tamanho do logo */
    padding: 15px; /* Reduz o padding */
  }

  .banner {
    width: 100%; /* Garante que a imagem ocupe toda a largura disponível */
    height: auto; /* Mantém as proporções da imagem */
  }

  .h4-main, .h4-footer {
    font-size: 0.75rem; /* Reduz levemente o tamanho da fonte */
  }

  .p-footer {
    font-size: 0.8rem; /* Ajusta o tamanho do texto */
    margin-left: 30px; /* Reduz a margem lateral */
    width: 90%; /* Garante que o conteúdo ocupe a largura da tela */
  }

  .p-footer p {
    display: flex;
    align-items: flex-start; /* Garante o alinhamento correto sem quebra */
    flex-wrap: wrap; /* Permite que o texto se ajuste em várias linhas */
  }

  .dot {
    height: 18px; /* Ajusta o tamanho do círculo */
    width: 18px; /* Ajusta o tamanho do círculo */
    font-size: 10px; /* Ajusta o tamanho do texto no círculo */
    margin-right: 8px; /* Reduz o espaço entre o círculo e o texto */
  }

  .input-style {
    width: 90%; /* Ajusta o input para ocupar o espaço disponível */
    height: 28px; /* Reduz a altura do campo */
  }

  .send-btn {
    width: 30px; /* Ajusta o tamanho do botão */
    height: 30px; /* Ajusta o tamanho do botão */
  }

  .send-btn img {
    width: 12px; /* Ajusta o tamanho do ícone no botão */
  }

  .txt {
    font-size: 0.65rem; /* Ajusta o tamanho do texto informativo */
  }

  .p2 {
    width: 90%; /* Garante que o conteúdo fique ajustado */
  }

  .p2-footer {
    font-size: 0.6rem; /* Ajusta o tamanho do texto no rodapé */
  }
}

/* Forçar visualização no modo mobile, independente da tela */
@media (min-width: 1024px) {
  body {
    width: 375px; /* Fixar largura para simular o comportamento mobile */
    margin: 0 auto; /* Centraliza o conteúdo */
    overflow-x: hidden; /* Evita o overflow horizontal */
  }

  main {
    max-width: 375px; /* Limitar largura do conteúdo */
  }
}
