/* =====================================================
   FOOTER.CSS - MIPRA
===================================================== */

/* ========================= */
/* FOOTER */
/* ========================= */

.footer {
  margin-top: 0;
}

/* ========================= */
/* BENEFÍCIOS */
/* ========================= */

.beneficios {
  background:
    linear-gradient(
      90deg,
      var(--verde-escuro),
      var(--verde)
    );

  color: #fff;

  padding: 18px;

  display: grid;
  grid-template-columns: repeat(5, 1fr);

  gap: 18px;
}

.beneficios div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.beneficios span {
  font-size: 26px;
  line-height: 1;
}

.beneficios strong,
.beneficios small {
  display: block;
}

.beneficios strong {
  font-size: 14px;
}

.beneficios small {
  opacity: .92;
  font-size: 12px;
}

/* ========================= */
/* FOOTER PRINCIPAL */
/* ========================= */

.footer-principal {
  background: #171717;

  color: #fff;

  padding: 36px 18px;

  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;

  gap: 30px;
}

.footer-principal > div {
  max-width: 260px;
}

.logo-footer {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  color: var(--verde);
}

.logo-footer span {
  color: var(--laranja);
}

.footer-principal p {
  margin: 6px 0;
}

.footer-principal small {
  color: #ddd;
  line-height: 1.5;
}

.footer-principal h4 {
  margin: 0 0 14px;
  font-size: 16px;
  color: #fff;
}

.footer-principal a {
  display: block;

  color: #ddd;

  margin: 8px 0;

  font-size: 14px;

  transition: .2s ease;
}

.footer-principal a:hover {
  color: #fff;
  transform: translateX(2px);
}

/* ========================= */
/* REDES */
/* ========================= */

.redes {
  display: flex;
  gap: 10px;

  margin-top: 16px;
}

.redes a {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--verde);

  color: #fff;

  margin: 0;

  font-size: 14px;

  transition: .2s ease;
}

.redes a:hover {
  background: var(--laranja);
  transform: translateY(-2px);
}

/* ========================= */
/* PAGAMENTOS */
/* ========================= */

.pagamentos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagamentos span {
  background: #fff;

  color: #111;

  font-weight: 900;

  padding: 6px 9px;

  border-radius: 6px;

  font-size: 12px;

  box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
}

/* ========================= */
/* COPYRIGHT */
/* ========================= */

.copy {
  background: #171717;

  color: #ccc;

  border-top: 1px solid #2a2a2a;

  text-align: center;

  font-size: 13px;

  padding: 14px;
}

/* ========================= */
/* BOTTOM NAV MOBILE */
/* ========================= */

.bottom-nav {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: #fff;
  border-top: 1px solid var(--borda);
  align-items: center;
  justify-content: space-around;
  z-index: 99999;
  box-shadow: 0 -5px 18px rgba(0, 0, 0, .08);
}


.bottom-nav a {
  color: #333;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  height: 100%;
}

.bottom-nav a:hover {
  color: var(--verde);
}


/* ========================= */
/* MENU FIXO MOBILE */
/* ========================= */

@media (max-width: 768px), (orientation: landscape) and (max-height: 520px) {

  body {
    padding-bottom: 74px;
  }

  .bottom-nav a {
    color: #333;

    font-size: 11px;

    font-weight: 700;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 3px;

    flex: 1;

    height: 100%;

    text-decoration: none;
  }

  .bottom-nav span {
    font-size: 18px;
    line-height: 1;
  }

}

/* ========================= */
/* AJUSTE CELULAR PEQUENO */
/* ========================= */

@media (max-width: 620px) {

  .beneficios {
    grid-template-columns: 1fr;
    padding: 16px 14px;
  }

  .footer-principal {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 14px 90px;
  }

  .footer-principal > div {
    max-width: 100%;
  }

  .logo-footer {
    font-size: 32px;
  }

  .copy {
    padding-bottom: 80px;
  }

}

.bottom-carrinho-link {
    position: relative;
}

.bottom-carrinho-link {
    position: relative;
}

.contador-carrinho-footer {
    position: absolute;

    top: 4px;
    left: 50%;

    transform: translateX(8px);

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    display: none;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: linear-gradient(135deg, #15803d, #f97316);
    color: #fff;

    font-size: 11px;
    font-weight: 900;

    box-shadow: 0 4px 10px rgba(0,0,0,.20);
}




