/* Banner de Consentimento de Cookies */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border, #e8e8e8);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  padding: 1.25rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  max-width: 100%;
}

.cookie-consent-banner.show {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 280px;
}

.cookie-consent-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text, #1a1a1a);
}

.cookie-consent-text strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  color: var(--text, #1a1a1a);
}

.cookie-consent-text a {
  color: var(--primary, #D4AF37);
  text-decoration: underline;
  transition: color 0.2s;
}

.cookie-consent-text a:hover {
  color: var(--primary-700, #B8941F);
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie-accept,
.btn-cookie-reject {
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}

.btn-cookie-accept {
  background: var(--primary, #D4AF37);
  color: #ffffff;
}

.btn-cookie-accept:hover {
  background: var(--primary-700, #B8941F);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.btn-cookie-reject {
  background: transparent;
  color: var(--text, #1a1a1a);
  border: 1px solid var(--border, #e8e8e8);
}

.btn-cookie-reject:hover {
  background: var(--bg-muted, #f5f5f5);
  border-color: var(--text, #1a1a1a);
}

/* Responsivo */
@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 1rem;
  }
  
  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .cookie-consent-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .btn-cookie-accept,
  .btn-cookie-reject {
    width: 100%;
  }
}

/* Tema escuro (se aplicável) */
@media (prefers-color-scheme: dark) {
  .cookie-consent-banner {
    background: #1a1a1a;
    border-top-color: #2d2d2d;
  }
  
  .cookie-consent-text p,
  .cookie-consent-text strong {
    color: #e8e8e8;
  }
  
  .btn-cookie-reject {
    color: #e8e8e8;
    border-color: #2d2d2d;
  }
  
  .btn-cookie-reject:hover {
    background: #2d2d2d;
    border-color: #e8e8e8;
  }
}

