/* Bloco: Variáveis de estilo locais */
:root {
  /* Por enquanto, sem novas variáveis globais específicas do footer */
}

/* Bloco: Layout principal do componente */

/* Pré-footer (barra de CTA para WhatsApp) */
.mc-prefooter {
  /* mesma cor do footer */
  background: #050505;
  color: #ffffff;
}

.mc-prefooter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mc-gap);
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mc-prefooter__text {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
}

/* Footer */
.mc-footer {
  background: #050505;
  color: rgba(255, 255, 255, 0.9);
  padding: 32px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mc-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: flex-start;
}

.mc-footer__col {
  min-width: 0;
}

/* Coluna marca */
.mc-footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mc-footer__logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 0%, #1a1a1a, #050505);
}

.mc-footer__logo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-footer__note {
  margin: 14px 0 4px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.mc-footer__copy,
.mc-footer__dev {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Coluna títulos / listas */
.mc-footer__title {
  margin: 0 0 12px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

/* Bloco: Elementos internos (botões, ícones, textos) */

/* Botão pré-footer */
.mc-prefooter__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--mc-accent);
  color: var(--mc-accent-ink, #111111);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    opacity 0.18s ease;
}

/* reflexão em loop */
.mc-prefooter__cta::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.22)
  );
  transform: translateX(-130%);
  animation: mc-prefooter-cta-reflection 2.8s linear infinite;
  pointer-events: none;
}

/* animação da reflexão */
@keyframes mc-prefooter-cta-reflection {
  0% {
    transform: translateX(-130%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateX(130%);
    opacity: 0.85;
  }
  100% {
    transform: translateX(130%);
    opacity: 0;
  }
}

.mc-prefooter__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.mc-prefooter__cta-icon img {
  display: block;
  width: 18px;
  height: 18px;
}

.mc-prefooter__cta-label {
  position: relative;
}

.mc-prefooter__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.mc-prefooter__cta:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.mc-prefooter__cta:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px #000000,
    var(--mc-focus, 0 0 0 3px color-mix(in oklab, var(--mc-accent) 35%, transparent));
}

/* Lista de contatos */
.mc-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-footer__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}

/* remove o “brilho” de fundo dos ícones */
.mc-footer__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* sem background/glow */
}

.mc-footer__icon img {
  display: block;
  width: 18px;
  height: 18px;
}

.mc-footer__item-text {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}

.mc-footer__label {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.mc-footer__value {
  color: rgba(255, 255, 255, 0.82);
}

.mc-footer__link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  position: relative;
}

.mc-footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: rgba(252, 163, 20, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.mc-footer__link:hover::after {
  transform: scaleX(1);
}

/* Pagamentos */
.mc-footer__col--payments {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-footer__payment-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 14px;
  background: radial-gradient(circle at 10% 0%, #101010, #050505);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.mc-footer__payment-img {
  display: block;
  width: 100%;
  max-width: 260px; /* reduz o tamanho da imagem de pagamento */
  height: auto;
}

.mc-footer__help {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Bloco: Responsividade (breakpoints) */

@media (max-width: 767px) {
  .mc-prefooter__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .mc-prefooter__cta {
    align-self: stretch;
    justify-content: center;
  }

  .mc-footer {
    padding-top: 26px;
  }

  .mc-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mc-footer__col--brand {
    order: 3;
  }

  .mc-footer__col--contact {
    order: 1;
  }

  .mc-footer__col--payments {
    order: 2;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .mc-footer__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 24px;
  }

  .mc-footer__col--payments {
    grid-column: span 2;
    max-width: 360px;
  }
}
