/* Banner de consentimento do GA4 (site publico). Estilos externos para
   manter a CSP estrita (style-src 'self', sem style inline). */
.consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  max-width: 460px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  background: var(--ivory-50, #faf7f1);
  color: var(--ink, #2e2418);
  border: 1px solid var(--border, #dfd3c0);
  border-left: 3px solid var(--gold-400, #bda178);
  border-radius: var(--radius-sm, 4px);
  box-shadow: 0 8px 30px rgba(20, 40, 60, .18);
  font-family: var(--font-body, system-ui, -apple-system, "Segoe UI", Arial, sans-serif);
  font-size: 14px;
  line-height: 1.5;
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0; }
.consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  cursor: pointer;
  border: 1px solid var(--navy-900, #14283c);
  background: transparent;
  color: var(--navy-900, #14283c);
  padding: 10px 20px;
  border-radius: 3px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: background .12s ease, color .12s ease;
}
.consent-btn:hover { background: var(--ivory-100, #f3ede2); }
.consent-btn--primary { background: var(--navy-900, #14283c); color: var(--ivory-50, #faf7f1); }
.consent-btn--primary:hover { background: var(--navy-800, #1d3a55); color: var(--ivory-50, #faf7f1); }
.consent-btn:focus-visible { outline: 3px solid var(--gold-400, #bda178); outline-offset: 2px; }
@media (min-width: 1024px) {
  .consent-banner { left: auto; }
}
@media (max-width: 1023px) {
  .consent-banner { bottom: 76px; left: 12px; right: 12px; max-width: none; }
}
