.contato {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Alterado de height para min-height para melhor responsividade */
    background-color: #bb2227;
    padding: 20px;
}

.conteudoContato {
    display: flex;
    flex-wrap: wrap; /* Permite que os elementos se ajustem melhor em telas menores */
    width: 100%;
    color: white;
    gap: 40px;
    max-width: 1200px; /* Deixa a seção maior */
    justify-content: space-between; /* Separa melhor as áreas */
}

.areaFormulario {
    flex: 4; /* Faz com que a área do formulário fique maior que a de informações */
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}



.areaFormulario h2 {
    font-weight: 450;
   font-size: 30px;
   white-space: nowrap;
}

.areaFormulario label {
    font-size: 16px;
    font-weight: 400;
    
}

.campoPreenchimento {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out; /* Efeito suave ao focar */
}

/* Adicionando efeito de foco para acessibilidade */
.campoPreenchimento:focus {
    outline: 2px solid #fff; /* Destaca o campo ao ser focado */
    background-color: #fff;
    color: #000;
}

/* Ajuste para o textarea */
#mensagem {
    height: 200px; /* Mantém o tamanho fixo */
    resize: none;  /* Impede redimensionamento */
}

.botaoConfirmar {
    background-color: #191919;
    color: white;
    border: none;
    padding: 8px 16px; /* Reduzi o padding para deixar menor */
    font-size: 14px; /* Diminuí o tamanho da fonte */
    cursor: pointer;
    border-radius: 5px;
    font-weight: 450;
    transition: background 0.3s;
    width: 170px; /* Define um tamanho menor para o botão */
    height: 40px; /* Mantém uma altura fixa */
    text-align: center; /* Centraliza o texto */
    display: flex;
    justify-content: center;
    align-items: center;
}

.botaoConfirmar:hover {
    background-color: #333333;
}

.areaInformacoes {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px; /* Aumenta o espaçamento entre os itens */
    font-size: 15px; /* Aumenta o tamanho do texto */
    align-items: flex-start; /* Alinha os itens à esquerda */
    margin-top: 200px; /* Ajuste conforme necessário */
    margin-left: 50px;
}

.detalheContato {
    display: flex;
    align-items: center; /* Centraliza verticalmente o ícone e o texto */
    gap: 15px; /* Aumenta a distância entre o ícone e o texto */
    
    
}

.detalheContato img {
    width: 40px; /* Aumenta o tamanho dos ícones */
    height: auto;
    white-space: nowrap;
}

.footer{
    padding: 10px;
    background-color: #fff;
    text-decoration: none;
    color: #191919;
}

@media (max-width: 768px) {

  .contato {
    padding: 20px 10px;
    min-height: auto;
  }

  .conteudoContato {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .areaFormulario {
    width: 100%;
    max-width: 340px; /* diminui largura geral */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .areaFormulario h2 {
    font-size: 22px;
    text-align: center;
  }

  .areaFormulario label {
    font-size: 14px;
    text-align: center;
    width: 100%;
  }

  .campoPreenchimento {
    width: 100%;
    max-width: 320px; /* campos menores */
    font-size: 14px;
    padding: 8px;
    text-align: center;
  }

  #mensagem {
    height: 120px;
  }

  .botaoConfirmar {
    width: 180px; /* botao menor */
    font-size: 15px;
    padding: 10px;
    margin: 10px auto 0;
    display: block;
    text-align: center;
  }

  .areaInformacoes {
    margin: 0;
    gap: 20px;
    font-size: 14px;
    align-items: center;
    text-align: center;
  }

  .detalheContato {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .detalheContato img {
    width: 28px;
  }

  .footer {
    font-size: 14px;
    padding: 8px 0;
    text-align: center;
  }
}
