/* LGPD Banner Melhorado */
.lgpd-fixed {
  max-width: 380px;
  width: calc(100% - 2rem);
  background: var(--color-white);
  position: fixed;
  left: 1rem;  /* Alterado para direita para melhor padrão UX */
  bottom: 1rem;
  z-index: 9999999999;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(18, 115, 69, 0.1);
  font-family: var(--font-primary);
  display: none;
  transition: all 0.3s ease-in-out;
  transform: translateY(0);
  opacity: 1;
}

.lgpd-fixed__bg {
  padding: 1.25rem;
  border-radius: 12px;
}

.lgpd-fixed__content {
  font-size: 0.95rem;
  color: var(--text-color);
  font-weight: 400;
  line-height: 1.5;
}

.lgpd-fixed__content p {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.lgpd-fixed .btn-lgpd {
  padding: 0.6rem 1.5rem;
  text-transform: uppercase;
  background: var(--brand-primary);
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(18, 115, 69, 0.2);
  transition: all 0.3s ease;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lgpd-fixed .btn-lgpd:hover {
  background: var(--brand-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 115, 69, 0.3);
}

.lgpd-fixed .btn-lgpd:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.lgpd-fixed__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.lgpd-fixed-block {
  display: block;
  animation: fadeInUp 0.5s ease forwards;
}

.lgpd-fixed-hidden {
  animation: fadeOutDown 0.5s ease forwards;
}

.lgpd-fixed__content p a {
  color: var(--brand-accent);
  text-decoration: underline;
  transition: all 0.3s ease;
  font-weight: 500;
  margin-left: 0.25rem;
}

.lgpd-fixed__content p a:hover {
  color: var(--brand-primary);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
    display: none;
  }
}

@media (max-width: 640px) {
  .lgpd-fixed {
    right: 0.5rem;
    left: 0.5rem;
    width: calc(100% - 1rem);
    max-width: none;
    bottom: 0.5rem;
  }
  
  .lgpd-fixed__bg {
    padding: 1rem;
  }
  
  .lgpd-fixed__content {
    font-size: 0.85rem;
  }
  
  .lgpd-fixed .btn-lgpd {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
}