/* CONTAINER PRINCIPAL */
.contato {
  width: 100%;
  min-height: 650px;

  margin: 0 auto;
  padding: 0 8%;

  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2%;
  margin-bottom: 2%;
}

/* ESQUERDA */
.contato-info {
  width: 441px;
  color: rgb(8, 55, 97);
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.contato-info h1 {
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  font-size: 60px;
  color: rgb(8, 55, 97);
  line-height: 1;
  letter-spacing: 0;

  text-align: left;
}

.contato-info h1 .highlight {
  color: rgb(8, 55, 97);
}

.contato-info p {
  font-size: 16px;
  line-height: 1.6;
  color: rgb(8, 55, 97);
}

/* FORM */
.contato-form {
  width: 631px;

  padding: 50px 35px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  box-sizing: border-box;

  border: 3px solid rgba(8, 55, 97, 1);
  border-radius: 24px;
  background: rgba(255, 254, 254, 1);
}

.contato-form form {
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FORM GROUP */
.form-group {
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group label {
  color: rgba(8, 55, 97, 1);

  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 18px;

  line-height: 16px;
}

/* INPUTS */
.form-group input {
  width: 100%;
  height: 20px;

  border: none;
  border-bottom: 2px solid #ccc;

  background: transparent;

  font-size: 16px;
  font-family: "Nunito", sans-serif;

  padding: 5px 0 4px;

  transition: border-color 0.2s;
}

/* TEXTAREA vira box */
.form-group textarea {
  width: 100%;
  height: 150px;

  padding: 16px 14px 12px;

  border: 2px solid #ccc;
  border-radius: 12px;

  background: transparent;

  font-size: 16px;
  font-family: "Nunito", sans-serif;

  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom: 2px solid rgba(8, 55, 97, 1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group textarea {
  width: 100%;
  height: 150px;

  padding: 12px 14px;

  border: 2px solid #ccc;
  border-radius: 12px;

  background: transparent;

  font-size: 16px;
  font-family: "Nunito", sans-serif;

  resize: none;

  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form-group textarea:focus {
  outline: none;
  border-color: rgba(8, 55, 97, 1);

  box-shadow: 0 0 0 2px rgba(8, 55, 97, 0.1);
}

/* BOTÃO */
.btn-enviar {
  width: 100%;
  height: 50px;

  background: rgba(8, 55, 97, 1);
  color: #fff;

  border: none;
  border-radius: 50px;

  font-size: 16px;
  cursor: pointer;

  transition: 0.2s;
}

.btn-enviar:hover {
  background: rgba(8, 55, 97, 0.8);
}

/* Responsivo */
@media (max-width: 1024px) {
  .contato {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
  }

  .contato-info,
  .contato-form {
    width: 100%;
  }

  .contato-info {
    gap: 30px;
  }

  .contato-form {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .contato {
    padding: 20px;
    gap: 30px;
    min-height: auto;
  }

  .contato-info h1 {
    font-size: 40px;
    line-height: 1.1;
  }

  .contato-form {
    padding: 30px 20px;
    width: 100%;
  }

  .form-group label {
    font-size: 16px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
  }

  .btn-enviar {
    height: 45px;
    font-size: 16px;
  }
}

/* Responsivo - Telas muito pequenas */
@media (max-width: 480px) {
  .contato {
    padding: 15px;
    gap: 20px;
    min-height: auto;
  }

  .contato-info {
    width: 100%;
    gap: 20px;
  }

  .contato-info h1 {
    font-size: 28px;
    line-height: 1.1;
    font-weight: 700;
  }

  .contato-info p {
    font-size: 14px;
    line-height: 1.5;
  }

  .contato-form {
    padding: 20px 15px;
    border: 2px solid rgba(8, 55, 97, 1);
    width: 100%;
  }

  .contato-form form {
    gap: 15px;
  }

  .form-group {
    gap: 8px;
  }

  .form-group label {
    font-size: 13px;
    font-weight: 600;
  }

  .form-group input {
    font-size: 14px;
    padding: 6px 0 4px;
  }

  .form-group input::placeholder {
    font-size: 12px;
  }

  .form-group textarea {
    font-size: 14px;
    height: 80px;
    padding: 10px 8px;
  }

  .form-group textarea::placeholder {
    font-size: 12px;
  }

  .btn-enviar {
    height: 40px;
    font-size: 13px;
    margin-top: 5px;
  }

  .sucesso {
    font-size: 12px;
    margin-bottom: 15px;
  }
}

.sucesso {
  color: green;
  margin-bottom: 20px;
  font-weight: 600;
}
