/*
 * Rodape comercial padrao para as paginas dos seruns HOF Stars.
 * Escopo isolado: .commerce-footer e .commerce-whatsapp-float.
 */
.commerce-footer,
.commerce-footer * {
  box-sizing: border-box;
}

.commerce-footer {
  --commerce-accent: #b8925a;
  --commerce-accent-soft: rgba(184, 146, 90, 0.18);
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0;
  padding: clamp(46px, 6vw, 76px) 24px 28px;
  overflow: hidden;
  color: #f7f7f5;
  background: #050505;
  font-family: inherit;
  text-align: left;
}

.commerce-footer a {
  color: inherit;
  text-decoration: none;
}

.commerce-footer a:focus-visible,
.commerce-whatsapp-float:focus-visible {
  outline: 3px solid var(--commerce-accent, #b8925a);
  outline-offset: 4px;
}

.commerce-footer__container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.commerce-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  margin: 0 auto clamp(38px, 5vw, 58px);
}

.commerce-footer__logo {
  display: block;
  width: auto;
  max-width: min(300px, 74vw);
  height: auto;
  max-height: 90px;
  object-fit: contain;
  object-position: center;
}

.commerce-footer__logo--white {
  filter: brightness(0) invert(1);
}

.commerce-footer__wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: clamp(28px, 3.7vw, 48px);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.commerce-footer__wordmark small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.commerce-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
}

.commerce-footer__column {
  min-width: 0;
}

.commerce-footer__title {
  margin: 0 0 22px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.commerce-footer__links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.commerce-footer__links a,
.commerce-footer__contact p,
.commerce-footer__contact a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.45;
}

.commerce-footer__links a {
  display: inline-flex;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.commerce-footer__links a:hover {
  color: #fff;
  border-color: var(--commerce-accent);
}

.commerce-footer__contact {
  display: grid;
  gap: 12px;
}

.commerce-footer__contact p {
  margin: 0;
}

.commerce-footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #fff !important;
  font-weight: 750;
}

.commerce-footer__phone svg,
.commerce-footer__instagram svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.commerce-footer__hours {
  margin-top: 6px !important;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 13px !important;
}

.commerce-footer__email {
  width: fit-content;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 13px !important;
  overflow-wrap: anywhere;
}

.commerce-footer__lower {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.commerce-footer__social {
  display: flex;
  align-items: center;
}

.commerce-footer__instagram {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 14px;
  font-weight: 700;
}

.commerce-footer__instagram-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  transition: border-color 160ms ease, background 160ms ease;
}

.commerce-footer__instagram:hover .commerce-footer__instagram-icon {
  border-color: var(--commerce-accent);
  background: var(--commerce-accent-soft);
}

.commerce-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.commerce-footer__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.035);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.commerce-footer__badge[data-badge="mastercard"] {
  width: 48px;
  min-width: 48px;
  color: transparent;
}

.commerce-footer__badge[data-badge="mastercard"]::before,
.commerce-footer__badge[data-badge="mastercard"]::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.commerce-footer__badge[data-badge="mastercard"]::before {
  left: 13px;
  background: #e9322b;
}

.commerce-footer__badge[data-badge="mastercard"]::after {
  right: 13px;
  background: rgba(248, 157, 32, 0.86);
}

.commerce-footer__badge[data-badge="visa"] {
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.03em;
}

.commerce-footer__badge[data-badge="elo"]::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border-radius: 50%;
  background: conic-gradient(#22b7a5 0 33%, #f4c328 33% 66%, #e6453d 66%);
}

.commerce-footer__badge[data-badge="pix"]::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border: 2px solid #28c7b7;
  border-radius: 2px;
  transform: rotate(45deg);
}

.commerce-footer__badge[data-badge="google"]::before,
.commerce-footer__badge[data-badge="ssl"]::before,
.commerce-footer__badge[data-badge="blindado"]::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  border-radius: 50%;
  color: #061209;
  background: #37c772;
  font-size: 10px;
  font-weight: 900;
}

.commerce-footer__badge[data-badge="ssl"]::before {
  content: "▣";
  color: #17120a;
  background: #e1af48;
}

.commerce-footer__copyright {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.commerce-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-style: normal;
  line-height: 1.55;
  text-align: center;
}

.commerce-footer__legal strong {
  color: rgba(255, 255, 255, 0.76);
}

.commerce-footer__notice {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 1000;
  max-width: min(330px, calc(100vw - 40px));
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #fff;
  background: rgba(12, 12, 12, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  font-size: 13px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.commerce-footer__notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.commerce-whatsapp-float {
  --commerce-wa: #13c742;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  color: #fff !important;
  background: var(--commerce-wa);
  box-shadow: 0 9px 26px rgba(0, 0, 0, 0.28);
  text-decoration: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.commerce-whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.34);
}

.commerce-whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 820px) {
  .commerce-footer {
    padding: 46px 22px 96px;
  }

  .commerce-footer__brand {
    min-height: 58px;
    margin-bottom: 38px;
  }

  .commerce-footer__grid,
  .commerce-footer__lower {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .commerce-footer__column + .commerce-footer__column {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .commerce-footer__lower {
    margin-top: 34px;
    padding-top: 28px;
  }

  .commerce-footer__social,
  .commerce-footer__badges {
    justify-content: center;
  }

  .commerce-footer__lower > :nth-child(2),
  .commerce-footer__lower > :nth-child(3) {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .commerce-footer__copyright {
    margin-top: 24px;
  }

  .commerce-footer__legal {
    display: grid;
    gap: 5px;
    margin-top: 24px;
  }

  .commerce-whatsapp-float {
    right: 14px;
    bottom: 78px;
    width: 56px;
    height: 56px;
  }

  .commerce-footer__notice {
    right: 14px;
    bottom: 144px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .commerce-footer a,
  .commerce-footer__notice,
  .commerce-whatsapp-float {
    transition: none !important;
  }
}
