/* ============================================================
   POP-UP DE AVISOS — exibido na abertura do site
   ============================================================ */
.popup-anuncio-overlay{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background: rgba(26,26,26,0.72);
  backdrop-filter: blur(3px);
  opacity:0;
  visibility:hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.popup-anuncio-overlay.aberto{
  opacity:1;
  visibility:visible;
}

.popup-anuncio-caixa{
  position:relative;
  width:100%;
  max-width:440px;
  max-height:88vh;
  overflow-y:auto;
  background: var(--marfim);
  border:1px solid rgba(212,175,55,0.4);
  box-shadow: var(--sombra-forte);
  transform: translateY(18px) scale(0.97);
  opacity:0;
  transition: transform 0.45s cubic-bezier(.22,.61,.36,1), opacity 0.4s ease;
}
.popup-anuncio-overlay.aberto .popup-anuncio-caixa{
  transform: translateY(0) scale(1);
  opacity:1;
}

.popup-anuncio-fechar{
  position:absolute;
  top:12px; right:12px;
  z-index:2;
  width:34px; height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(26,26,26,0.55);
  border:none;
  border-radius:50%;
  color:#fff;
  cursor:pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.popup-anuncio-fechar:hover{ background: var(--vermelho); transform: rotate(90deg); }
.popup-anuncio-fechar svg{ width:16px; height:16px; }

.popup-anuncio-imagem{
  width:100%;
  max-height:220px;
  overflow:hidden;
  background:#000;
}
.popup-anuncio-imagem img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.popup-anuncio-corpo{ padding:34px 32px 32px; text-align:center; }
.popup-anuncio-corpo h3{
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  color: var(--vermelho-escuro);
  margin-bottom:14px;
  line-height:1.3;
}
.popup-anuncio-corpo p{
  color:#4a4038;
  line-height:1.75;
  font-size:0.95rem;
}
.popup-anuncio-botoes{ margin-top:22px; }

@media (max-width:480px){
  .popup-anuncio-corpo{ padding:28px 22px 26px; }
}
