/* ============================================
   LGPD Banner — ConneCT
============================================ */

.lgpd-fixed {
  width: 360px;
  background: #ffffff;
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 9999;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(4, 41, 64, 0.18), 0 2px 8px rgba(15, 92, 140, 0.10);
  display: none;
  overflow: hidden;
  border: 1px solid rgba(15, 92, 140, 0.12);
  animation: lgpd-slide-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes lgpd-slide-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Faixa superior decorativa */
.lgpd-fixed::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #042940 0%, #0F5C8C 50%, #54ACBF 100%);
}

.lgpd-fixed__bg {
  padding: 0;
}

.lgpd-fixed__content {
  padding: 20px 22px 18px;
  font-family: "Poppins", sans-serif;
}

/* Ícone + título */
.lgpd-fixed__content::before {
  content: '🔒 Privacidade & Cookies';
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0F5C8C;
  margin-bottom: 10px;
}

.lgpd-fixed__content p {
  color: #2d3748;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 16px;
  font-weight: 400;
}

.lgpd-fixed__content p a {
  color: #0F5C8C;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.lgpd-fixed__content p a:hover {
  color: #54ACBF;
}

/* Botão aceitar */
.lgpd-fixed .btn-lgpd {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: linear-gradient(135deg, #042940 0%, #0F5C8C 100%);
  color: #ffffff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: 0;
}

.lgpd-fixed .btn-lgpd:hover {
  background: linear-gradient(135deg, #0F5C8C 0%, #54ACBF 100%);
  box-shadow: 0 4px 14px rgba(15, 92, 140, 0.35);
  transform: translateY(-1px);
}

/* Utilitários de visibilidade (mantidos para o JS existente) */
.lgpd-fixed-block {
  display: block;
}

.lgpd-fixed-hidden {
  display: none !important;
}

/* Responsivo */
@media (max-width: 480px) {
  .lgpd-fixed {
    width: calc(100vw - 24px);
    left: 12px;
    bottom: 12px;
    border-radius: 12px;
  }

  .lgpd-fixed__content p {
    font-size: 0.82rem;
  }

  .lgpd-fixed .btn-lgpd {
    font-size: 0.78rem;
    padding: 9px 14px;
  }
}
