/* ====== RESET E BOX-SIZING ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
}

/* ====== SEÇÃO FALE CONOSCO ====== */
.secao-fale-conosco {
  position: relative;
  background-image: url('../imag/coworkers-addressing-innovation-initiatives-research.webp');
  background-size: cover;
  background-position: center;
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.secao-fale-conosco .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(3, 2, 56, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.secao-fale-conosco h2{
  color: white;
  font-size: 48px;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 1;
  font-family: 'Barlow', sans-serif;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .secao-fale-conosco {
    height: 270px;
  }
  
  .secao-fale-conosco h2 {
    font-size: 32px;
    margin-top: 30px;
  }
}

/* ====== ORÇAMENTO ====== */
.orcamento-container {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  margin: 40px auto;
  max-width: 1200px;
  width: 95%;
}

/* LADO ESQUERDO */
.orcamento-esquerda {
  flex: 1 1 350px;
  padding: 40px 20px;
  background-color: #f9f9f9;
  min-width: 280px;
}

/* LADO DIREITO */
.orcamento-direita {
  flex: 1 1 350px;
  padding: 40px 20px;
  background-color: #fff;
  min-width: 280px;
}

/* Formulário */
form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.linha-dupla {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap; /* Permite quebrar em mobile */
}

.linha-dupla input {
  flex: 1 1 100%; /* Ocupa 100% se quebrar */
  min-width: 0; /* Evita overflow */
}

form input,
form select,
form textarea {
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  width: 100%; /* Garante responsividade */
}

form textarea {
  resize: vertical;
}

form button {
  background: linear-gradient(to right, #A9CB40, #023d7c);
  color: #fdf6f6;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%; /* Botão ocupa toda a largura do form */
}

form button:hover {
  background-color: #c89c00;
}

/* REDES SOCIAIS E BOTÃO WHATSAPP */
.redes-sociais a {
  margin-right: 15px;
  font-size: 20px;
  color: #111;
  transition: color 0.3s;
}

.redes-sociais a:hover {
  color: #e0a700;
}

.btn-whatsapp {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  transition: background-color 0.3s;
  width: 100%;
  text-align: center;
}

.btn-whatsapp i {
  margin-right: 8px;
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
  .secao-fale-conosco {
    height: 270px;
  }
  .orcamento-container {
    flex-direction: column;
  }
  .linha-dupla {
    flex-direction: column;
  }
  .orcamento-esquerda, .orcamento-direita {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .secao-fale-conosco {
    height: 270px;
  }
  .secao-fale-conosco h2 {
    font-size: 28px;
    margin-top: 20px;
  }
  .orcamento-esquerda, .orcamento-direita {
    padding: 20px 15px;
  }
  form button, .btn-whatsapp {
    padding: 10px;
    font-size: 14px;
  }
}
