.floating-popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.floating-popup-container h2 {
    margin-top: 0;
}

.floating-popup-container p {
    margin-bottom: 20px;
}

/* ===== Botão fechar (X) ===== */
.floating-popup-container .close-popup {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: bold;
    color: #013449;
}

.floating-popup-container .close-popup:hover {
    opacity: 0.8;
}

/* ===== Links do texto ===== */
.floating-popup-container a:not(.botao-sim):not(.botao-nao) {
    color: #013449;
    font-weight: 600;
}

/* ===== Botão NÃO tenho residência ===== */
.botao-sim {
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    background-color: #013449;
    border-radius: 20px;
    box-shadow: 10px 10px 10px 5px rgba(0, 0, 0, 0.23);
    padding: 20px;
    color: #ffffff;
    width: 48%;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

/* ===== Botão TENHO residência ===== */
.botao-nao {
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    background-color: #488958;
    border-radius: 20px;
    box-shadow: 10px 10px 10px 5px rgba(0, 0, 0, 0.23);
    padding: 20px;
    color: #ffffff;
    width: 45%;
    display: inline-block;
    text-align: center;
    text-decoration: none;
     margin-left: 15px;
}

.botao-sim:hover {
    background-color: #f2f2f2;   /* cinza quase branco */
    color: #013449;              /* mantém contraste */
    transition: all 0.3s ease;
}

.botao-nao:hover {
    background-color: #f2f2f2;   /* cinza quase branco */
    color: #488958;              /* mantém contraste */
    transition: all 0.3s ease;
}

/* ===== Mobile ===== */
@media screen and (max-width: 800px) {

    .floating-popup-container {
        width: 90%;
    }

    .botao-sim {
        display: block;
        width: 100%;
    }

    .botao-nao {
        display: block;
        width: 100%;
        margin-top: 20px;
        margin-left: 15px;
    }
}
