/* Fundo escuro */
  .popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
  }

  /* Caixa do popup */
  .popup-content {
    position: relative;
    margin: 10% auto;
    width: 80%;
    max-width: 450px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
  }

  /* Imagem */
  .popup-content img {
    max-width: 100%;
    border-radius: 8px;
  }

  /* Botão fechar */
  .close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ff3b3b;
    /* vermelho chamativo */
    color: #fff;
    font-size: 22px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: 0.2s;
  }

  .close:hover {
    transform: scale(1.1);
    background: #ff0000;
  }
