/* ==========================================================================
   Aviso de cookies — componente compartilhado entre todas as páginas
   Estilo neutro (preto/azul da Idea Criativo), independente da paleta de
   cada página (site principal, vitrines de exemplo, política de privacidade).
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  max-width: 640px;
  margin: 0 auto;
  background: #08090b;
  color: #f4f2ec;
  border-radius: 12px;
  padding: 1.15rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  box-shadow: 0 20px 45px -18px rgba(0, 0, 0, 0.55);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.32s ease, transform 0.32s ease;
  pointer-events: none;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner__text {
  flex: 1 1 260px;
  margin: 0;
}
.cookie-banner__text a {
  color: #93a8dc;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cookie-banner__btn {
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.cookie-banner__btn--primary {
  background: #5672b6;
  color: #fff;
}
.cookie-banner__btn--primary:hover {
  opacity: 0.88;
}
.cookie-banner__btn--ghost {
  background: transparent;
  color: #f4f2ec;
  border-color: rgba(244, 242, 236, 0.35);
}
.cookie-banner__btn--ghost:hover {
  border-color: rgba(244, 242, 236, 0.65);
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1.1rem;
  }
  .cookie-banner__text {
    flex-basis: auto;
  }
  .cookie-banner__actions {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition: none;
  }
}
