/* ================= CONTATO ================= */

.contato {
  position: relative;
  min-height: min(86vh, 860px);
  display: grid;
  place-items: center;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: #2b1fd1;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.contato__silhueta {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  height: 110%;
  width: auto;
  max-width: none;
  filter: invert(1) contrast(1.4);
  mix-blend-mode: screen;
  opacity: 0.14;
}

.contato__inner {
  position: relative;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.contato__title {
  font-family: var(--font-borgy);
  font-weight: 400;
  /* uma palavra só, não quebra: no celular o tamanho acompanha a largura para caber */
  font-size: min(clamp(56px, 10vw, 150px), 13.5vw);
  line-height: 1;
}

.contato__email {
  font-family: var(--font-script);
  font-size: clamp(26px, 5vw, 70px);
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--yellow), var(--yellow)) left 92% / 0 3px no-repeat;
  transition: background-size 0.5s var(--ease);
}

.contato__email:hover {
  background-size: 100% 3px;
}

.ig-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 52px;
  height: 52px;
  padding-left: 12px;
  border: 2px solid var(--navy);
  border-radius: 16px;
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 3px 3px 0 var(--navy);
  text-decoration: none;
  overflow: hidden;
  transition: width 0.35s var(--ease), box-shadow 0.2s, translate 0.2s;
}

.ig-float .ig {
  width: 26px;
  height: 26px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.ig-float span {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: max-width 0.35s var(--ease), opacity 0.2s, margin 0.35s var(--ease);
}

.ig-float:hover,
.ig-float:focus-visible,
.ig-float.is-open {
  width: 158px;
  translate: -1px -1px;
  box-shadow: 4px 4px 0 var(--navy);
}

.ig-float:hover span,
.ig-float:focus-visible span,
.ig-float.is-open span {
  max-width: 8em;
  opacity: 1;
  margin-left: 8px;
}

.contato__pedrinhas {
  position: absolute;
  bottom: 4%;
  left: 50%;
  translate: -50% 0;
  width: min(720px, 90%);
  opacity: 0.85;
}

/* ================= FOOTER ================= */

.footer {
  padding: 0 0 78px;
  background: var(--red);
  color: var(--yellow);
}

.footer__poster {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 16px var(--pad) 18px;
  border-top: 10px solid var(--yellow);
}

.footer__title {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 0;
  max-width: min(100%, 78%);
  font-size: clamp(64px, 15vw, 168px);
  line-height: 0.8;
}

.footer__title-back,
.footer__title-front {
  grid-area: 1 / 1;
  justify-self: start;
}

.footer__title-back {
  z-index: 0;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-stretch: condensed;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--navy);
  translate: 0.08em 0.12em;
}

.footer__title-front {
  z-index: 1;
  font-family: var(--font-borgy);
  font-weight: 400;
  font-size: 0.92em;
  color: var(--yellow);
  line-height: 0.85;
  align-self: center;
}

.footer__figure {
  position: absolute;
  z-index: 2;
  right: 3%;
  top: 0;
  width: min(240px, 34vw);
  height: min(260px, 78%);
  background: var(--pink);
  pointer-events: none;
  -webkit-mask: url("../../assets/img/silhueta.png") right bottom / contain no-repeat;
  mask: url("../../assets/img/silhueta.png") right bottom / contain no-repeat;
}

.footer__cols {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  max-width: min(640px, 68%);
  margin-top: 64px;
}

.footer__ascii {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: 100%;
  margin: 28px auto 2px;
  font-family: "Segoe UI Symbol", Consolas, "Courier New", ui-monospace, monospace;
  font-size: 8px;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--yellow);
  white-space: pre;
}

.credit {
  display: grid;
  grid-template-columns: 18px auto;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 2px;
  align-items: center;
  color: var(--yellow);
  text-decoration: none;
}

.credit__role {
  grid-column: 1 / -1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.credit .ig {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.credit__name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.credit:hover .credit__name {
  color: var(--white);
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px var(--pad) 0;
  color: var(--white);
  font-family: var(--font-pixel);
  font-size: 10px;
}

.footer img {
  height: 26px;
  width: auto;
}

@media (max-width: 700px) {
  .footer__title {
    font-size: clamp(46px, 16vw, 78px);
  }

  .footer__figure {
    width: 42vw;
    height: 78%;
    opacity: 0.95;
  }

  .footer__cols {
    max-width: 100%;
    margin-top: 40px;
  }

  .footer__ascii {
    font-size: 5px;
    margin-top: 20px;
  }

  .footer__bar {
    justify-content: center;
    text-align: center;
  }
}
