/* Aviso de cookies (03/10): um cartão discreto no canto; no celular, embaixo, por cima do botão fixo. */
.aviso-cookies { position: fixed; z-index: 40; left: 24px; bottom: 24px; width: min(420px, calc(100vw - 32px)); box-sizing: border-box; background: #ffffff; color: #14213D; border: 1px solid #E2E7F0; border-radius: 18px; padding: 18px 20px; box-shadow: 0 24px 60px -24px rgba(20, 33, 61, 0.45); font: 500 14.5px/1.5 Manrope, system-ui, sans-serif; animation: aviso-cookies-entra 500ms cubic-bezier(.16, 1, .3, 1) 600ms both; }
.aviso-cookies[hidden] { display: none; }
.aviso-cookies p { margin: 0 0 14px; color: #3A4A6B; }
.aviso-cookies b { display: block; color: #14213D; font-size: 16px; font-weight: 800; margin-bottom: 2px; }
.aviso-cookies a { color: #047857; font-weight: 700; }
.aviso-cookies-botoes { display: flex; gap: 10px; }
.aviso-cookies-botoes button { flex: 1; height: 44px; border-radius: 12px; font: 800 15px Manrope, system-ui, sans-serif; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.aviso-cookies-sim { background: #059669; color: #ffffff; border: 0; }
.aviso-cookies-sim:hover { background: #047857; transform: translateY(-1px); }
.aviso-cookies-nao { background: #ffffff; color: #14213D; border: 2px solid #D5DCEA; }
.aviso-cookies-nao:hover { border-color: #14213D; }
.aviso-cookies-botoes button:active { transform: scale(0.98); }
.aviso-cookies-botoes button:focus-visible, .aviso-cookies a:focus-visible { outline: 3px solid #6EE7B7; outline-offset: 2px; }
@keyframes aviso-cookies-entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* Enquanto o aviso está aberto no celular, o botão fixo de teste dá a vez para ele */
@media (max-width: 860px) {
  .aviso-cookies { left: 16px; right: 16px; bottom: 16px; width: auto; }
  body.com-aviso-cookies .c-barra-celular { display: none !important; }
}
/* O link "Cookies" do rodapé tem cara de link */
button[data-cookies] { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .aviso-cookies { animation: none; } .aviso-cookies-botoes button { transition: none; } }
