/* ===== POPUP CORVO ===== */

.corvo-popup{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: inherit;
}

.corvo-popup.active{
  display: flex;
}

.corvo-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
}

.corvo-box{
  position: relative;
  width: 90vw;
  max-width: 900px;
  aspect-ratio: 3 / 2; /* mesma proporção da imagem */
  padding: 0;
  background: url("../img/correio_.png") center center / contain no-repeat;
  background-color: #000;
  border: 1px solid rgba(201,162,63,.5);
  box-shadow: 0 0 40px rgba(201,162,63,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  animation: fadeCorvo .6s ease forwards;
}


.corvo-box::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.55);
}

.corvo-content{
  position: relative;
  z-index: 2;
  max-width: 70%;
  font-size: 18px;
  line-height: 1.6;
}

.corvo-close{
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--gold);
  cursor: pointer;
  z-index: 3;
}

.corvo-close:hover{
  color: #fff;
}

@keyframes fadeCorvo{
  from{
    opacity:0;
    transform: translateY(20px);
  }
  to{
    opacity:1;
    transform: translateY(0);
  }
}

