/* =========================================================
   HUBFOR — COMPONENTES GLOBAIS
   Este arquivo concentra estilos compartilhados entre páginas.
   ========================================================= */

:root {
  --hubfor-red: #c44039;
  --hubfor-black: #050505;
  --hubfor-white: #ffffff;
  --hubfor-title: "Bebas Neue", Impact, sans-serif;
  --hubfor-page-padding: clamp(22px, 5vw, 80px);
}

/* FOOTER COMPARTILHADO */

hubfor-footer {
  display: block;
}

.footer-new {
  position: relative;
  min-height: auto;
  padding:
    clamp(70px, 8vw, 110px)
    var(--hubfor-page-padding)
    28px;

  overflow: hidden;
  color: var(--hubfor-white);

  background:
    radial-gradient(
      circle at 15% 30%,
      rgba(196, 64, 57, .15),
      transparent 28%
    ),
    var(--hubfor-black);
}

.footer-new-grid {
  width: min(1220px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.1fr .7fr .8fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.footer-brand-block {
  max-width: 440px;
}

.footer-logo {
  display: block;
  width: 160px;
  height: auto;
  margin-bottom: 24px;
}

.footer-brand-block p {
  max-width: 390px;
  margin: 0;

  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  line-height: 1.55;
}

.footer-label {
  margin: 0 0 20px;

  color: var(--hubfor-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials a {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;

  background: rgba(255, 255, 255, .035);

  transition:
    transform .25s ease,
    background .25s ease,
    border-color .25s ease;
}

.footer-socials a:hover {
  transform: translateY(-4px);
  background: var(--hubfor-red);
  border-color: var(--hubfor-red);
}

.footer-socials img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;

  color: var(--hubfor-white);
  font-family: var(--hubfor-title);
  font-size: clamp(40px, 4vw, 62px);
  line-height: .9;
  text-transform: uppercase;

  transition: color .25s ease;
}

.footer-cta span {
  color: var(--hubfor-red);
  transition: transform .25s ease;
}

.footer-cta:hover {
  color: var(--hubfor-red);
}

.footer-cta:hover span {
  transform: translateX(8px);
}

.footer-route {
  width: min(1220px, 100%);
  margin: clamp(50px, 7vw, 80px) auto 30px;

  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-route span {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;

  border-radius: 50%;
  background: var(--hubfor-red);
}

.footer-route i {
  flex: 1;
  height: 2px;

  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, .4) 0 10px,
      transparent 10px 18px
    );
}

.footer-bottom {
  width: min(1220px, 100%);
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;

  color: rgba(255, 255, 255, .55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-bottom a:hover {
  color: var(--hubfor-red);
}

@media (max-width: 900px) {
  .footer-new-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cta-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-new {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-new-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-cta-block {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-logo {
    width: 140px;
  }
}
