*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body{
  background:#f3f3f3;
  min-height:100vh;
}

/* FUNDO ESCURO */
.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.75);

  display:flex;
  align-items:center;
  justify-content:center;

  padding:20px;
}

/* POPUP */
.popup{
  width:100%;
  max-width:420px;

  background:#fff;

  border-radius:20px;

  padding:35px 30px;

  text-align:center;

  position:relative;

  box-shadow:0 10px 35px rgba(0,0,0,0.25);

  animation:popup 0.3s ease;
}

/* ANIMAÇÃO */
@keyframes popup{
  from{
    transform:scale(0.8);
    opacity:0;
  }

  to{
    transform:scale(1);
    opacity:1;
  }
}

/* TÍTULO */
.popup h2{
  font-size:32px;
  color:#111;
  margin-bottom:15px;
}

/* TEXTO */
.popup p{
  font-size:17px;
  color:#555;

  line-height:1.6;

  margin-bottom:30px;
}

/* ÁREA DOS BOTÕES */
.buttons{
  display:flex;
  gap:15px;

  justify-content:center;

  flex-wrap:wrap;
}

/* BOTÕES */
.btn{
  text-decoration:none;

  padding:14px 28px;

  border-radius:12px;

  font-size:16px;
  font-weight:bold;

  min-width:160px;

  transition:0.25s;

  display:flex;
  align-items:center;
  justify-content:center;
}

/* BOTÃO VERDE */
.btn-primary{
  background:#00b140;
  color:#fff;
}

.btn-primary:hover{
  background:#009236;
  transform:translateY(-2px);
}

/* BOTÃO CINZA */
.btn-secondary{
  background:#ececec;
  color:#333;
}

.btn-secondary:hover{
  background:#dcdcdc;
  transform:translateY(-2px);
}

/* FECHAR */
.close{
  position:absolute;

  top:15px;
  right:18px;

  font-size:28px;

  color:#888;

  text-decoration:none;
}

/* ========================= */
/* RESPONSIVIDADE CELULAR */
/* ========================= */

@media(max-width:600px){

  .popup{
    padding:30px 22px;
    border-radius:16px;
  }

  .popup h2{
    font-size:26px;
  }

  .popup p{
    font-size:15px;
  }

  .buttons{
    flex-direction:column;
  }

  .btn{
    width:100%;
    min-width:100%;
  }

}