/* Contato - Pagina */
.contact-page {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding-top: 169px;
}

.contact-page__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 756px;
  background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
  z-index: 0;
}

.contact-page__union {
  position: absolute;
  top: -435px;
  right: -171px;
  width: 1215px;
  height: 1108px;
  max-width: none;
  pointer-events: none;
  z-index: 0;
}

.contact-page__inner {
  position: relative;
  z-index: 1;
  width: min(1216px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 592px 488px;
  justify-content: space-between;
  align-items: start;
}

.contact-page__info {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.contact-page__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-page__title {
  margin: 0;
  color: #1a1a1a;
  font-size: 64px;
  line-height: 1.15;
  font-weight: 600;
}

.contact-page__title-highlight {
  color: #ff377a;
}

.contact-page__description {
  margin: 0;
  color: #332f30;
  font-size: 16px;
  line-height: 1.5;
}

.contact-page__details {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-page__details-block {
  width: min(360px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-page__detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-page__detail-item--address {
  align-items: flex-start;
}

.contact-page__detail-item img {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.contact-page__detail-item span {
  color: #332f30;
  font-size: 16px;
  line-height: 1.5;
}

.contact-page__units {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-page__unit {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-page__unit-title {
  margin: 0;
  color: #1a1a1a;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}

.contact-page__unit-address {
  margin: 0;
  color: #332f30;
  font-size: 16px;
  line-height: 1.5;
}

.contact-page__form-card {
  background: #f5f5f5;
  padding: 24px;
}

.contact-page__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-page__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-page__field span {
  color: #4d4648;
  font-size: 16px;
  line-height: 1.5;
}

.contact-page__field input,
.contact-page__field textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-sizing: border-box;
  padding: 16px;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.5;
  outline: 1px solid transparent;
  transition: outline-color 0.2s ease;
}

.contact-page__field input {
  min-height: 56px;
}

.contact-page__field textarea {
  min-height: 148px;
  resize: vertical;
}

.contact-page__field input:focus,
.contact-page__field textarea:focus {
  outline-color: #980577;
}

.contact-page__field input::placeholder,
.contact-page__field textarea::placeholder {
  color: #7a7375;
}

.contact-page__privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
}

.contact-page__privacy input {
  margin-top: 4px;
  flex-shrink: 0;
}

.contact-page__privacy span,
.contact-page__privacy a {
  color: #4d4648;
  font-size: 14px;
  line-height: 1.5;
}

.contact-page__privacy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-page__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  margin-top: 12px;
  background: #980577;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-page__submit:hover,
.contact-page__submit:focus-visible {
  background: #860468;
}

.contact-page__cta {
  position: relative;
  overflow: hidden;
  min-height: 412px;
  margin-top: 96px;
}

.contact-page__cta-bg,
.contact-page__cta-overlay {
  position: absolute;
  inset: 0;
}

.contact-page__cta-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-page__cta-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.contact-page__cta-content {
  position: relative;
  z-index: 1;
  width: min(1216px, calc(100% - 32px));
  min-height: 412px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
}

.contact-page__cta-title {
  margin: 0;
  width: min(568px, 100%);
  color: #ffffff;
  font-size: 40px;
  line-height: 1.3;
  font-weight: 600;
}

.contact-page__cta-description {
  margin: 0;
  width: min(568px, 100%);
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
}

/* Notebook */
@media (max-width: 1439px) {
  .contact-page {
    padding-top: 150px;
  }

  .contact-page__bg {
    height: 720px;
  }

  .contact-page__inner,
  .contact-page__cta-content {
    width: calc(100% - 48px);
  }

  .contact-page__inner {
    grid-template-columns: minmax(0, 1fr) 440px;
    column-gap: 28px;
  }

  .contact-page__title {
    font-size: 54px;
  }

  .contact-page__unit-title {
    font-size: 24px;
  }

  .contact-page__cta {
    min-height: 380px;
  }

  .contact-page__cta-content {
    min-height: 380px;
  }

  .contact-page__cta-title {
    font-size: 36px;
  }
}

/* Tablet */
@media (max-width: 1023px) {
  .contact-page {
    padding-top: 136px;
  }

  .contact-page__bg {
    height: 680px;
  }

  .contact-page__inner,
  .contact-page__cta-content {
    width: calc(100% - 40px);
  }

  .contact-page__inner {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .contact-page__info {
    gap: 42px;
  }

  .contact-page__title {
    font-size: 42px;
  }

  .contact-page__description,
  .contact-page__detail-item span,
  .contact-page__unit-address,
  .contact-page__field span,
  .contact-page__field input,
  .contact-page__field textarea {
    font-size: 16px;
  }

  .contact-page__unit-title {
    font-size: 24px;
  }

  .contact-page__cta {
    margin-top: 72px;
    min-height: 340px;
  }

  .contact-page__cta-content {
    min-height: 340px;
    gap: 22px;
  }

  .contact-page__cta-title {
    font-size: 34px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .contact-page {
    padding-top: 118px;
  }

  .contact-page__bg {
    height: 620px;
  }

  .contact-page__inner,
  .contact-page__cta-content {
    width: calc(100% - 24px);
  }

  .contact-page__info {
    gap: 32px;
  }

  .contact-page__intro {
    gap: 14px;
  }

  .contact-page__title {
    font-size: 40px;
    line-height: 1.2;
  }

  .contact-page__description,
  .contact-page__detail-item span,
  .contact-page__unit-address,
  .contact-page__field span,
  .contact-page__field input,
  .contact-page__field textarea {
    font-size: 15px;
  }

  .contact-page__details {
    gap: 28px;
  }

  .contact-page__unit-title {
    font-size: 24px;
    line-height: 1.25;
  }

  .contact-page__form-card {
    padding: 16px;
  }

  .contact-page__field input {
    min-height: 50px;
    padding: 14px;
  }

  .contact-page__field textarea {
    min-height: 130px;
    padding: 14px;
  }

  .contact-page__privacy span,
  .contact-page__privacy a {
    font-size: 13px;
  }

  .contact-page__submit {
    min-height: 46px;
  }

  .contact-page__cta {
    min-height: 300px;
    margin-top: 56px;
  }

  .contact-page__cta-content {
    min-height: 300px;
    gap: 16px;
  }

  .contact-page__cta-title {
    font-size: 30px;
    line-height: 1.25;
  }

  .contact-page__cta-description {
    font-size: 15px;
  }
}