/* ─── Avisos flutuantes (assets/js/avisos.js) ──────────────────────────────────── */
.av-veu { position: fixed; inset: 0; z-index: 9998; background: rgba(247,245,240,.35);
          backdrop-filter: blur(3px) saturate(.9); -webkit-backdrop-filter: blur(3px) saturate(.9);
          opacity: 0; transition: opacity .28s ease; }
.av-veu.av-on { opacity: 1; }
.av { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; text-align: left;
      background: linear-gradient(180deg, #FFFFFF 0%, #FBFAF7 100%); border: 1px solid rgba(184,155,94,.35);
      border-radius: 16px; box-shadow: 0 24px 60px rgba(20,41,74,.18), 0 2px 6px rgba(20,41,74,.06);
      font-family: 'Inter', system-ui, sans-serif; cursor: pointer; position: relative; opacity: 0;
      transition: transform .38s cubic-bezier(.2,.9,.25,1), opacity .28s ease; }
.av::before { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; border-radius: 2px;
              background: linear-gradient(90deg, transparent, #B89B5E, transparent); }
/* Central (importante): no meio da tela, sobre o véu */
.av-central { position: fixed; left: 50%; top: 50%; z-index: 9999; width: max-content; min-width: 280px;
              max-width: min(460px, calc(100vw - 32px)); padding: 16px 28px 15px 16px;
              transform: translate(-50%,-46%) scale(.96); }
.av-central.av-on  { transform: translate(-50%,-50%) scale(1); opacity: 1; }
.av-central.av-out { transform: translate(-50%,-54%) scale(.98); opacity: 0; }
/* Mini (rápido): pilha no topo, sem véu */
.av-pilha { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 9997;
            display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.av-mini { pointer-events: auto; width: max-content; max-width: min(420px, calc(100vw - 32px)); padding: 9px 20px 9px 10px;
           column-gap: 12px; border-radius: 14px; box-shadow: 0 12px 30px rgba(20,41,74,.14), 0 1px 4px rgba(20,41,74,.06);
           transform: translateY(-10px) scale(.97); }
.av-mini.av-on  { transform: translateY(0) scale(1); opacity: 1; }
.av-mini.av-out { transform: translateY(-8px) scale(.98); opacity: 0; }
.av-mini::before { left: 18px; right: 18px; }
/* Ícone: azul-marinho (bordô no erro, dourado no aviso), traço desenhado e onda dourada */
.av-ic { position: relative; grid-row: span 2; width: 44px; height: 44px; border-radius: 999px; background: #14294A;
         display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(184,155,94,.55); }
.av-mini .av-ic { width: 30px; height: 30px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(184,155,94,.5); }
.av-ic svg { width: 21px; height: 21px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.av-mini .av-ic svg { width: 15px; height: 15px; stroke-width: 2.6; }
.av-ic .av-tr { stroke-dasharray: 40; stroke-dashoffset: 40; animation: avTraco .55s .18s ease forwards; }
@keyframes avTraco { to { stroke-dashoffset: 0; } }
.av-ic::after { content: ''; position: absolute; inset: -4px; border-radius: 999px; border: 1px solid rgba(184,155,94,.6);
                animation: avAnel 1.6s ease-out .2s 1 both; }
@keyframes avAnel { from { transform: scale(1); opacity: .9; } to { transform: scale(1.55); opacity: 0; } }
.av-erro  .av-ic { background: #5E2A2A; }
.av-aviso .av-ic { background: #B89B5E; }
.av-txt { min-width: 0; }
.av-tit { max-width: 360px; overflow-wrap: anywhere; font-size: 14.5px; font-weight: 600; color: #14294A; letter-spacing: -.01em; line-height: 1.35; }
.av-mini .av-tit { font-size: 13px; }
.av-msg { max-width: 360px; overflow-wrap: anywhere; font-size: 12.5px; color: #6B6B6B; margin-top: 2px; line-height: 1.4; }
.av-mini .av-msg { font-size: 12px; }
/* Bolinhas em movimento (param com o mouse em cima = pausado) */
.av-dots { display: flex; gap: 6px; margin-top: 9px; }
.av-mini .av-dots { gap: 5px; margin-top: 6px; }
.av-dots i { width: 5px; height: 5px; border-radius: 999px; background: #B89B5E; opacity: .35; animation: avDot 1.2s ease-in-out infinite; }
.av-mini .av-dots i { width: 4px; height: 4px; }
.av-dots i:nth-child(2) { animation-delay: .15s; background: #1E3A63; }
.av-dots i:nth-child(3) { animation-delay: .3s; }
.av-pausa .av-dots i { animation-play-state: paused; }
@keyframes avDot { 0%,100% { transform: translateY(0); opacity: .3; } 40% { transform: translateY(-3px); opacity: 1; } }
