/* Rodapé institucional do Grupo Trama Reputale.
   Baseado nas cores e no movimento contínuo definidos no Manual de Marca. */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 0;
  background:
    radial-gradient(72% 100% at 100% 0%, rgba(232, 110, 37, 0.28) 0%, rgba(232, 110, 37, 0) 58%),
    radial-gradient(68% 105% at -4% 100%, rgba(121, 43, 138, 0.74) 0%, rgba(121, 43, 138, 0) 74%),
    linear-gradient(128deg, #2d1539 0%, #552162 47%, #211723 100%);
  color: rgba(255, 255, 255, 0.76);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #792b8a 0%, #9d3e94 42%, #e86e25 77%, #efb336 100%);
}

.footer::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 18%;
  right: -155px;
  width: min(51vw, 660px);
  height: min(22vw, 300px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: none;
  box-shadow:
    0 0 0 58px rgba(255, 255, 255, 0.028),
    0 0 0 116px rgba(255, 255, 255, 0.015);
  transform: rotate(-12deg);
  pointer-events: none;
}

.footer .footer-shell {
  position: relative;
  z-index: 1;
  padding: clamp(76px, 8vw, 122px) 0 30px;
}

.footer .footer-callout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(30px, 6vw, 88px);
  align-items: end;
  padding: 0 0 clamp(42px, 5vw, 68px);
  border-bottom: 0;
}

.footer .footer-callout::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12) 66%, transparent);
}

.footer .footer-kicker {
  margin: 0 0 18px;
  color: #efb336;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer .footer-callout h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.7rem, 5.25vw, 5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.footer .footer-callout .btn {
  min-width: 232px;
  border: 1px solid #e86e25;
  border-radius: 999px;
  background: #e86e25;
  color: #fff;
  box-shadow: 0 12px 28px rgba(26, 11, 33, 0.24);
}

.footer .footer-callout .btn:hover,
.footer .footer-callout .btn:focus-visible {
  border-color: #ff8a4a;
  background: #ff7c36;
  color: #fff;
  box-shadow: 0 14px 32px rgba(17, 7, 23, 0.34);
}

.footer .footer-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  background: none;
}

.footer .footer-path {
  position: relative;
  min-height: 174px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 26px 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(22, 12, 28, 0.22);
  color: #fff;
  transition:
    0.22s ease background,
    0.22s ease border-color,
    0.22s ease transform;
}

.footer .footer-path:first-child {
  border-color: rgba(232, 110, 37, 0.72);
  background: linear-gradient(128deg, rgba(232, 110, 37, 0.28), rgba(232, 110, 37, 0.09));
}

.footer .footer-path:hover,
.footer .footer-path:focus-visible {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-3px);
}

.footer .footer-path__meta {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer .footer-path strong {
  max-width: 260px;
  color: #fff;
  font-size: clamp(1.38rem, 1.8vw, 1.72rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.footer .footer-path__arrow {
  right: 26px;
  bottom: 24px;
  color: #efb336;
}

.footer .footer-grid {
  grid-template-columns: minmax(220px, 1.3fr) minmax(120px, 0.7fr) minmax(160px, 0.95fr) minmax(185px, 1.05fr);
  gap: clamp(34px, 5vw, 76px);
  padding: clamp(58px, 7vw, 90px) 0;
}

.footer .footer-brand .brand {
  display: block;
  width: 220px;
  height: 66px;
  background: url("../brand/LogoSemSlogan-GrupoTramaReputale-Branco.png") center left / contain no-repeat;
}

.footer .footer-brand .brand svg {
  display: none;
}

.footer .footer-brand > p {
  max-width: 340px;
  margin: 24px 0 26px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.64;
}

.footer .footer-address {
  gap: 13px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.62;
}

.footer .footer-address a,
.footer .footer-col a,
.footer .footer-legal a {
  color: inherit;
}

.footer .footer-address a:hover,
.footer .footer-col a:hover,
.footer .footer-legal a:hover {
  color: #efb336;
}

.footer .footer-col > strong {
  margin-bottom: 19px;
  color: #efb336;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer .footer-col > a {
  min-height: 32px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.footer .social {
  gap: 8px;
}

.footer .social a {
  height: 42px;
  padding: 0 12px;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
}

.footer .social a:hover,
.footer .social a:focus-visible {
  border-color: #efb336;
  background: rgba(239, 179, 54, 0.12);
}

.footer .social svg,
.footer .social-arrow {
  color: rgba(255, 255, 255, 0.78);
}

.footer .social a:hover svg,
.footer .social a:hover .social-arrow,
.footer .social a:focus-visible svg,
.footer .social a:focus-visible .social-arrow {
  color: #efb336;
}

.footer .footer-bottom {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 28px;
  padding-top: 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.footer .footer-to-top {
  width: 50px;
  height: 50px;
  border-color: rgba(239, 179, 54, 0.68);
  background: rgba(239, 179, 54, 0.08);
  color: #efb336;
}

.footer .footer-to-top:hover,
.footer .footer-to-top:focus-visible {
  border-color: #efb336;
  background: #efb336;
  color: #30163c;
  box-shadow: 0 0 0 8px rgba(239, 179, 54, 0.12);
}

.footer .footer-legal {
  gap: 10px 24px;
}

@media (max-width: 900px) {
  .footer::after {
    top: 10%;
    right: -145px;
    width: 550px;
    height: 245px;
  }

  .footer .footer-shell {
    padding-top: 72px;
  }

  .footer .footer-callout,
  .footer .footer-paths,
  .footer .footer-grid,
  .footer .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer .footer-callout {
    gap: 30px;
  }

  .footer .footer-callout .btn {
    width: fit-content;
  }

  .footer .footer-path {
    min-height: 142px;
  }

  .footer .footer-grid {
    gap: 42px;
  }

  .footer .footer-bottom {
    justify-items: start;
  }

  .footer .footer-to-top {
    grid-row: 1;
    justify-self: center;
  }

  .footer .footer-legal {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .footer .footer-shell {
    padding-top: 62px;
  }

  .footer .footer-callout h2 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .footer .footer-callout .btn {
    width: 100%;
  }

  .footer .footer-path {
    min-height: 136px;
    padding: 23px;
  }

  .footer .footer-path__arrow {
    right: 23px;
    bottom: 21px;
  }
}
