/* ==========================================================================
   Rodapé do site (includes/site-footer.php) — usado em todas as páginas públicas.
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  background: var(--rdw-black, #000);
  color: var(--rdw-white, #fff);
  font-family: 'Manrope', system-ui, sans-serif;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

/* Arte decorativa na lateral direita (quando existir) */
.site-footer__arte {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 64px;
  width: 260px;
  height: calc(100% - 64px);
  object-fit: cover;
  object-position: left center;
  pointer-events: none;
}

.site-footer--arte .site-footer__inner {
  padding-right: 320px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 48px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 80px 72px 64px;
}

/* ---------- Marca ---------- */
.site-footer__logo {
  display: block;
  width: auto;
  height: 96px;
}

.site-footer__slogan {
  margin: 36px 0 0;
  color: #bdbdbd;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .32em;
  line-height: 1.8;
  text-transform: uppercase;
}

.site-footer__texto {
  max-width: 380px;
  margin: 28px 0 0;
  color: #d6d6d6;
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Colunas de links ---------- */
.site-footer__titulo {
  margin: 0 0 40px;
  padding-bottom: 18px;
  position: relative;
  color: var(--rdw-white, #fff);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.site-footer__titulo::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--rdw-terracotta, #B84528);
  content: "";
}

.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__col a {
  color: var(--rdw-white, #fff);
  font-size: 15px;
  letter-spacing: .03em;
  text-decoration: none;
  transition: color .15s ease;
}

.site-footer__col a:hover {
  color: var(--rdw-terracotta, #B84528);
}

.site-footer__col--social {
  padding-left: 48px;
  border-left: 1px solid #333;
}

.site-footer__redes a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.site-footer__redes svg {
  width: 30px;
  height: 30px;
}

.site-footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: fit-content;
  margin-top: 32px;
  padding: 14px 20px;
  background: var(--rdw-terracotta, #B84528);
  color: var(--rdw-white, #fff);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .24em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .15s ease;
}

.site-footer__cta svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
}

.site-footer__cta:hover {
  background: var(--rdw-white, #fff);
  color: var(--rdw-terracotta, #B84528);
}

.site-footer__cta:hover svg {
  transform: translateX(4px);
}

/* ---------- Faixa de baixo ---------- */
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 28px 72px 36px;
  border-top: 1px solid #444;
}

.site-footer__copy,
.site-footer__local {
  margin: 0;
  color: #e5e5e5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.site-footer__local {
  display: inline-flex;
  align-items: center;
  gap: 32px;
}

.site-footer__local::before {
  width: 56px;
  height: 1px;
  background: #666;
  content: "";
}

/* ---------- Responsivo ---------- */
@media (max-width: 1280px) {
  .site-footer__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 64px 40px 48px;
  }

  .site-footer--arte .site-footer__inner {
    padding-right: 40px;
  }

  .site-footer__marca {
    grid-column: 1 / -1;
  }

  .site-footer__arte {
    display: none;
  }

  .site-footer__col--social {
    padding-left: 32px;
  }

  .site-footer__base {
    padding: 24px 40px 32px;
  }
}

@media (max-width: 760px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
    padding: 48px 24px 40px;
  }

  .site-footer__col--social {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
  }

  .site-footer__logo {
    height: 88px;
  }

  .site-footer__titulo {
    margin-bottom: 24px;
    letter-spacing: .2em;
  }

  .site-footer__base {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .site-footer__copy,
  .site-footer__local {
    letter-spacing: .12em;
  }
}
