/* ===============================
   Footer Compartilhado
   =============================== */
.rodape-principal {
  position: relative;
  background: linear-gradient(180deg, #4a423d 0%, #3b3430 100%);
  color: #f3eee7;
  padding: 0.6rem 0 calc(0.55rem + env(safe-area-inset-bottom, 12px));
  margin-top: auto;
  flex-shrink: 0;
  overflow: hidden;
}

.rodape-principal::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(194, 168, 120, 0.22),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(230, 199, 194, 0.2),
      transparent 50%
    );
  pointer-events: none;
}

.rodape-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rodape-topo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.rodape-bloco {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.rodape-nomes {
  font-family: "Great Vibes", cursive;
  font-size: 1.65rem;
  font-weight: 400;
  margin: 0;
  color: #f8f2ea;
}

.rodape-identidade {
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  text-align: center;
}

.rodape-mensagem {
  color: rgba(243, 238, 231, 0.8);
  font-size: 0.76rem;
  line-height: 1.35;
  max-width: 520px;
  margin: 0;
}

.nav-rodape {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.7rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.nav-rodape a {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  color: rgba(243, 238, 231, 0.86);
  text-decoration: none;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: center;
  line-height: 1.2;
}

.nav-rodape a:hover {
  color: #f1d7a7;
  transform: translateY(-1px);
}

.rodape-payments {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.rodape-payments-img {
  display: block;
  width: min(100%, 320px);
  height: auto;
  opacity: 0.96;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.14));
}

.credito-rodape {
  margin: 0;
}

.credito-rodape--destaque {
  text-align: center;
  color: rgba(243, 238, 231, 0.82);
  font-size: 0.92rem;
  line-height: 1.25;
}

.rodape-base {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  color: rgba(243, 238, 231, 0.7);
  font-size: 0.72rem;
  text-align: center;
}

.recaptcha-info {
  font-size: 0.7rem;
  color: rgba(243, 238, 231, 0.6);
}

.recaptcha-info a {
  color: rgba(243, 238, 231, 0.85);
  text-decoration: none;
}

.recaptcha-info a:visited {
  color: rgba(243, 238, 231, 0.85);
}

.recaptcha-info a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .rodape-principal {
    padding: 0.65rem 0 calc(0.6rem + env(safe-area-inset-bottom, 12px));
  }

  .rodape-container {
    gap: 0.4rem;
  }

  .rodape-nomes {
    font-size: 1.7rem;
  }

  .rodape-payments-img {
    width: min(100%, 280px);
  }

  .nav-rodape a {
    font-size: 0.84rem;
  }

  .rodape-base {
    font-size: 0.74rem;
    line-height: 1.25;
    flex-direction: column;
  }

  .recaptcha-info {
    font-size: 0.68rem;
    line-height: 1.15;
    opacity: 0.9;
  }

  .credito-rodape,
  .recaptcha-info {
    display: block;
  }
}
