.contato {
  padding: 7.188rem 0 5.25rem 0;
  background: #f3f7f8;
  margin-top: -6.25rem;
  border-radius: 50px 50px 0px 0px;
}

.contato .text-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contato .text-container .badge {
  display: flex;
  width: 115px;
  padding: 10px;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  border-radius: 5px;
  background: #df7100;
}

.contato .text-container .badge p {
  color: #fdfdfd;
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 2.1px;
  text-transform: uppercase;
}

.contato .text-container h2 {
  color: var(--Foundation-Blue-Darker, #00354a);
  font-size: 3rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.92px;
}

.contato .text-container span {
  color: var(--Foundation-Blue-Normal, #0097d4);
}

.contato .links {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contato .links .link .icon {
  display: flex;
  width: 58px;
  height: 58px;
  padding: 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 31.5px;
  background: var(--Foundation-Blue-Normal, #0097d4);
}

.contato .links .link {
  display: flex;
  align-items: center;
  max-width: 378px;
  gap: 20px;
}

.contato .links .link a {
  color: var(--Foundation-Grey-Darker, #0e0e0e);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 133.333% */
}

.contato .links .link p {
  color: var(--foundation-white-dark-active, #737373);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 30px; /* 214.286% */
}

.contato .contato-flex {
  display: flex;
  justify-content: space-between;
  padding-top: 6rem;
}

.contato form {
  display: flex;
  width: 733px;
  padding: 40px 32px;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  border-radius: 20px;
  background: var(--White, #fff);
  box-shadow: 0px 0px 60.3px 0px rgba(0, 0, 0, 0.1);
}

.contato form .form-flex {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
  width: 100%;
}

.contato form .form-flex div,
.contato form .input-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-flex > div,
.input-container,
.btn-form-container {
  width: 100%;
}

.contato form .form-flex input {
  display: flex;
  height: 48px;
  width: 100%;
  padding: 0px 16px;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 10px;
  background: #f2f2f2;
  border: none;
}

.contato form select {
  display: flex;
  height: 48px;
  padding: 0px 16px;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 10px;
  background: #f2f2f2;
  appearance: none;
  border: none;
  width: 100%;
}

.contato form .form-flex label,
.contato form .input-container label {
  color: var(--Foundation-Grey-Normal, #292929);
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 150% */
}

.contato form .form-flex label span,
.contato form .input-container label span {
  color: #e20000;
}

.contato form textarea {
  display: flex;
  height: 200px;
  padding: 12px;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 10px;
  background: #f2f2f2;
  border: none;
  resize: none;
}

.contato .btn-form-container button {
  display: flex;
  height: 56px;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 5px;
  background: var(--Foundation-Blue-Normal, #0097d4);
  color: var(--Branco, #fff);
  text-align: center;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  border: none;
  line-height: normal;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contato .btn-form-container button:hover {
  background-color: #015c80;
}

.inframe {
  padding: 6.25rem 0 6.25rem 0;
  border-radius: 50px 50px 0px 0px;
  background: #FFF;
}

@media (max-width: 1024px) {
  .contato-flex {
    gap: 32px;
    flex-direction: column;
  }

  .contato form {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .contato form {
    background: #f3f7f8;
    box-shadow: none;
    padding: 0;
  }

  .contato form .form-flex {
    flex-direction: column;
    gap: 56px;
  }

  .contato form .form-flex input, .contato form textarea, .contato form select {
    background-color: #fff;
  }
  
  .contato .text-container h2 {
    font-size: 1.8rem;
  }

  .contato .links .link a {
    font-size: 1rem;
  }
}
