.contato-header-1 {
  background-image: url('../images/hero/header-2.png');
  background-image: image-set(
    url('../images/hero/header-2-desktop.webp') type('image/webp'),
    url('../images/hero/header-2.png') type('image/png')
  );
  aspect-ratio: 5760 / 1247;
}

@media (max-width: 900px) {
  .contato-header-1 {
    background-image: url('../images/hero/header-2-mobile.webp');
    background-image: image-set(
      url('../images/hero/header-2-mobile.webp') type('image/webp')
    );
    aspect-ratio: auto;
    min-height: 220px;
    padding: 0;
  }
}

.contato-footer-1 {
  background-image: url('../images/footer/footer-5.png');
  background-image: image-set(
    url('../images/footer/footer-5-desktop.webp') type('image/webp'),
    url('../images/footer/footer-5.png') type('image/png')
  );
  aspect-ratio: 5760 / 2074;
}

@media (max-width: 900px) {
  .contato-footer-1 {
    background-image: url('../images/footer/footer-5-mobile.webp');
    background-image: image-set(
      url('../images/footer/footer-5-mobile.webp') type('image/webp')
    );
  }
}

.contato-content-2 {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #ffffff;
  padding: 0;
}

.contato-content-2__map {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* Footer sobe sobre o mapa para que o rasgado decorativo da imagem cubra a base. */
.contato-footer-1 {
  position: relative;
  z-index: 2;
  margin-top: -3vw;
}

@media (max-width: 900px) {
  .contato-content-2__map { height: 300px; }
  .contato-footer-1 { margin-top: -16vw; }
}

.contato-content {
  font-family: "Fraunces", serif;
  color: #2c160a;
  background: #ffffff;
}

.contato-content-1 {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 80px) clamp(20px, 6vw, 80px) clamp(48px, 6vw, 96px);
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.contato-content-1__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contato-content-1__title {
  margin: 0;
  color: #613b21;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 50px);
  line-height: 96%;
}

.contato-content-1__address,
.contato-content-1__phones,
.contato-content-1__email {
  margin: 0;
  color: #454545;
  font-size: 16px;
  line-height: 137%;
  font-weight: 500;
}

.contato-content-1__email a {
  color: inherit;
  text-decoration: underline;
}

.contato-content-1__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contato-content-1__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contato-content-1__field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.contato-content-1__label {
  position: absolute;
  top: 14px;
  left: 22px;
  color: #613b21;
  font-weight: 700;
  font-size: 17px;
  line-height: 116%;
  pointer-events: none;
}

.contato-content-1__input,
.contato-content-1__textarea {
  width: 100%;
  border: 1px solid rgba(97, 59, 33, 0.5);
  border-radius: 20px;
  background: transparent;
  padding: 40px 22px 14px;
  font-family: inherit;
  font-size: 16px;
  color: #2c160a;
  outline: none;
  transition: border-color 0.2s;
}

.contato-content-1__input { height: 69px; }
.contato-content-1__textarea { min-height: 193px; resize: vertical; }

.contato-content-1__input:focus,
.contato-content-1__textarea:focus { border-color: #613b21; }

.contato-content-1__submit {
  align-self: flex-start;
  margin-top: 8px;
  background: #613b21;
  color: #e0bd8e;
  font-family: inherit;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  padding: 16px 56px;
  border-radius: 20px;
  border: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contato-content-1__submit:hover { opacity: 0.9; }

@media (max-width: 900px) {
  .contato-content-1 {
    grid-template-columns: 1fr;
  }
  .contato-content-1__row {
    grid-template-columns: 1fr;
  }
}
