.contato {
  padding-block: 80px;
  width: 100%;
}

.contato .container {
  display: flex;
  gap: 147px;
  align-items: center;
}

.contato h1 {
  color: #121212;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 60px;
}

.contato .paragraph {
  color: #424242;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  margin-top: 32px;
}

.contato-info,
.contato-form {
  width: 50%;
}

.contato .cards {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contato .card {
  display: flex;
  width: 100%;
  max-width: 384px;
  padding: 32px 24px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  border: 1px solid #d8d8d8;
  background: #fff;
}

.contato .title-svg {
  display: flex;
  gap: 24px;
  align-items: center;
}

.contato .card h2 {
  color: #121212;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
}

.contato .card p {
  color: #424242;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.contato .card a {
  color: #424242;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.contato form {
  display: flex;
  padding: 64px 64px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  flex-shrink: 0;
  border: 1px solid #d8d8d8;
  background: #fff;
}

.contato form h2 {
  color: #121212;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: -1.08px;
}

.contato form p {
  color: #424242;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.contato form .input-flex {
  display: flex;
  gap: 16px;
  width: 100%;
}

.contato-form .input {
  width: 100%;
}

.contato form input {
  display: flex;
  height: 48px;
  padding: 0 16px;
  align-items: center;
  align-self: stretch;
  border: 1px solid #cbcbcb;
  background: #fff;
  width: 100%;
}

.contato form select {
  appearance: none;
  display: flex;
  height: 48px;
  padding: 0 16px;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border: 1px solid #cbcbcb;
  width: 100%;
  color: #a4a4a4;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.56px;
}

.contato form label {
  display: flex;
  gap: 6px;
  color: #424242;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.contato form span {
  color: #bb2115;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper .svg {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
}

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

.contato form textarea {
  display: flex;
  height: 200px;
  padding: 12px;
  align-items: flex-start;
  align-self: stretch;
  resize: none;
  border: 1px solid #cbcbcb;
}

.contato button {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  background: #ee1610;
  border: none;
  width: 230px;
  height: 56px;
  color: #e6f2f5;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  transition: background-color 0.3s ease-in;
  cursor: pointer;
}

.contato button:hover {
  background: #001d2b;
}

@media (max-width: 1440px) {
  .contato .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .contato {
    padding-block: 64px;
  }

  .contato .contato-info,
  .contato .contato-form {
    width: 100%;
  }

  .contato .cards {
    grid-template-columns: 1fr 1fr;
  }

  .contato .card {
    max-width: 350px;
  }

  .contato .container {
    flex-direction: column;
    gap: 64px;
  }
}

@media (max-width: 767px) {
  .contato h1 {
    font-size: 36px;
    line-height: 48px;
    letter-spacing: -1.08px;
  }

  .contato .cards {
    grid-template-columns: 1fr;
  }

  .contato .card {
    max-width: 100%;
  }

  .contato form {
    padding: 48px 16px;
  }

  .contato form .input-flex {
    flex-direction: column;
  }

  .contato form h2 {
    text-align: start;
    font-size: 36px;
    line-height: 48px;
    letter-spacing: -1.08px;
  }
}
