/* Banner promocional global — blog / campanhas temporárias */
html:not(.cj-banner-ready) #cj-site-promo-banner {
  visibility: hidden;
}

html.cj-banner-ready #cj-site-promo-banner {
  visibility: visible;
}

html.cj-banner-removed #cj-site-promo-banner {
  display: none !important;
  visibility: hidden !important;
}

.cj-site-promo-banner {
  position: relative;
  z-index: 1000;
  overflow: hidden;
  padding: 13px 0;
  border-bottom: 1px solid rgba(96, 165, 250, 0.45);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2);
}

.cj-site-promo-banner--blue {
  background:
    radial-gradient(120% 200% at 0% 0%, rgba(96, 165, 250, 0.35) 0%, transparent 50%),
    radial-gradient(120% 200% at 100% 100%, rgba(59, 130, 246, 0.45) 0%, transparent 50%),
    linear-gradient(135deg, #0a1628 0%, #1e3a8a 45%, #2563eb 100%);
}

.cj-site-promo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cj-site-promo-banner-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none !important;
  color: #f1f5ff;
  flex-wrap: wrap;
}

.cj-site-promo-banner-main:hover {
  color: #fff;
}

.cj-banner-pulse {
  width: 9px;
  height: 9px;
  background: #64b5f6;
  border-radius: 50%;
  flex-shrink: 0;
  animation: cj-banner-pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(100, 181, 246, 0.7);
}

@keyframes cj-banner-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(100, 181, 246, 0.7); }
  50% { opacity: 0.85; box-shadow: 0 0 0 10px rgba(100, 181, 246, 0); }
}

.cj-banner-label {
  background: linear-gradient(135deg, #2196f3, #1565c0);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.cj-banner-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}

.cj-banner-mobile-line {
  display: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.cj-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #90caf9;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none !important;
  white-space: nowrap;
  border: 1px solid rgba(144, 202, 249, 0.45);
  border-radius: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.cj-banner-cta:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.cj-banner-cta-arrow {
  transition: transform 0.25s ease;
}

.cj-banner-cta:hover .cj-banner-cta-arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .cj-site-promo-banner { padding: 10px 0; }
  .cj-site-promo-banner-inner {
    flex-direction: column;
    gap: 8px;
  }
  .cj-banner-text { display: none; }
  .cj-banner-mobile-line { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .cj-banner-pulse { animation: none; }
}
