/* Aviso de cookies (partials/cookie-consent). Independente do Bootstrap: usado no portal e no portfólio. */
.cookie-consent {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 1080;
  max-width: 640px;
  margin-inline: auto;
  padding: 18px 20px;
  border-radius: 12px;
  background: #14151f;
  color: #f1f1f5;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  font: 400 .9rem/1.5 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent h2 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; color: #fff; }
.cookie-consent p { margin: 0 0 12px; }
.cookie-consent a { color: #ff8fae; text-decoration: underline; }
.cookie-consent-options { display: grid; gap: 6px; margin: 0 0 12px; padding: 0; border: 0; }
.cookie-consent-options[hidden] { display: none; }
.cookie-consent-options label { display: block; cursor: pointer; }
.cookie-consent-options input { margin-right: 6px; accent-color: #f0396a; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-btn {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.cookie-btn[hidden] { display: none; }
.cookie-btn-primary { border-color: #f0396a; background: #f0396a; }
.cookie-btn:hover { filter: brightness(1.12); }
.cookie-btn:focus-visible, .cookie-consent a:focus-visible, .cookie-consent input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cookie-preferences-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.cookie-consent .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
@media (max-width: 575.98px) {
  .cookie-consent { inset: auto 8px 8px 8px; padding: 14px 16px; }
  .cookie-btn { flex: 1 1 auto; }
}
