/* Widgets comuns (WhatsApp + cookies) para as páginas dos Observatórios, que têm CSS próprio */
:root{--amarelo:#FDB913;--cinza:#150d24;--cinza-dark:#0f0a1a;--branco:#FFFFFF;}
.wa-float,.cookie-banner{font-family:'Rubik',system-ui,sans-serif;box-sizing:border-box;}
.cookie-banner *{box-sizing:border-box;}
/* ── WHATSAPP FLUTUANTE ──────────────────────── */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  display: flex; align-items: center; gap: 10px; background: #25D366; color: var(--branco);
  border-radius: 100px; padding: 12px; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.3); }
.wa-float svg { width: 32px; height: 32px; flex-shrink: 0; }
.wa-float-label { font-size: 13px; font-weight: 700; padding-right: 8px; white-space: nowrap; }
body.has-cookie-banner .wa-float { bottom: 120px; }

/* ── COOKIES ─────────────────────────────────── */
.cookie-banner {
  position: fixed; left: 22px; right: 22px; bottom: 22px; z-index: 160; max-width: 980px; margin: 0 auto;
  background: var(--cinza-dark); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; padding: 20px 24px; display: flex; align-items: center; gap: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35); font-size: 13px; line-height: 1.6;
  opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s;
}
.cookie-banner.show { opacity: 1; transform: translateY(0); }
.cookie-banner strong { color: var(--branco); }
.cookie-banner a { color: var(--amarelo); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { font-family: 'Rubik', sans-serif; font-size: 12.5px; font-weight: 700; padding: 11px 20px; border-radius: 100px; cursor: pointer; border: none; white-space: nowrap; }
.cookie-btn-primary { background: var(--amarelo); color: var(--cinza); }
.cookie-btn-ghost { background: transparent; color: var(--branco); border: 1.5px solid rgba(255,255,255,0.3); }
.cookie-btn-ghost:hover { border-color: rgba(255,255,255,0.7); }


@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .cookie-btn { flex: 1; }
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float-label { display: none; }
}
