/* Page-local styles for contato.html. */

.contact-page {
  background: var(--color-paper);
  color: var(--color-moss);
}

.contact-hero {
  width: min(100% - 112px, 1480px);
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(52px, 7vw, 128px);
  margin-inline: auto;
  padding: 88px 40px 70px;
}

.contact-hero__copy {
  text-align: center;
}

.contact-hero h1 {
  margin: 0 0 44px;
  color: var(--color-moss);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 58px);
  font-weight: 700;
  line-height: 1.1;
}

.contact-hero__copy p {
  margin: 0 0 26px;
  color: var(--color-moss);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.contact-hero__copy span {
  display: block;
}

.contact-hero__button {
  min-height: 38px;
  padding-inline: 20px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  background-color: #3B4126;
}

.contact-panel {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 58px 44px;
  border-radius: 18px;
  background: #233f1e;
  color: var(--color-paper);
  box-shadow: 0 20px 36px rgba(35, 44, 28, 0.2);
}

.contact-panel__intro {
  max-width: 430px;
  margin: 0 auto 34px;
  text-align: center;
}

.contact-panel__intro h2 {
  margin: 0 0 16px;
  color: var(--color-paper);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
}

.contact-panel__intro p {
  margin: 0;
  color: var(--color-paper);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.contact-panel__intro span {
  display: block;
  width: 170px;
  height: 1px;
  margin: 24px auto 0;
  background: rgba(247, 247, 245, 0.5);
}

.contact-panel__channels {
  display: grid;
  gap: 14px;
  max-width: 430px;
  width: 100%;
  margin-inline: auto;
}

.contact-panel__channels a,
.contact-panel__channels p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 15px 18px;
  border: 1px solid rgba(247, 247, 245, 0.22);
  border-radius: 8px;
  background: rgba(247, 247, 245, 0.08);
  color: var(--color-paper);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.contact-panel__channels span {
  color: rgba(247, 247, 245, 0.64);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-panel__channels p {
  color: rgba(247, 247, 245, 0.78);
  font-size: 12px;
  font-weight: 600;
}

.contact-panel__channels a:hover,
.contact-panel__channels a:focus-visible {
  border-color: rgba(247, 247, 245, 0.48);
  background: rgba(247, 247, 245, 0.13);
}

body[data-page="contato"] .site-footer {
  min-height: 300px;
  padding: 58px 6%;
  border-top-right-radius: 0;
}

body[data-page="contato"] .site-footer__content {
  max-width: 1080px;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(54px, 9vw, 140px);
}

body[data-page="contato"] .site-footer__content > div {
  order: 2;
}

body[data-page="contato"] .site-footer__logo {
  order: 1;
  width: min(100%, 260px);
  justify-self: center;
  margin-top: 0;
}

body[data-page="contato"] .site-footer h2 {
  margin-bottom: 24px;
  font-size: 22px;
  line-height: 1.25;
}

body[data-page="contato"] .site-footer__list {
  gap: 10px;
  font-size: 12px;
  line-height: 1.35;
}

body[data-page="contato"] .site-footer__list li {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
}

body[data-page="contato"] .site-footer__icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 920px) {
  .contact-hero,
  body[data-page="contato"] .site-footer__content {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    width: min(100% - 40px, 1480px);
    gap: 36px;
    padding: 58px 0 48px;
  }

  .contact-panel {
    padding: 34px 24px;
  }

  body[data-page="contato"] .site-footer__content > div {
    order: 1;
  }

  body[data-page="contato"] .site-footer__logo {
    order: 2;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .contact-hero h1 {
    font-size: 2.25rem;
  }

  .contact-panel {
    min-height: 360px;
  }
}
