/* =========================================================
   POP-UP - AVISO IMPORTANTE
   ========================================================= */


/* =========================================================
   FUNDO DO MODAL
   ========================================================= */

.popup-aviso {
    padding-right: 0 !important;
}


.popup-aviso .modal-dialog {

    width: auto;

    max-width: 720px;

    margin: 1.5rem auto;

}


/* =========================================================
   CONTEÚDO
   ========================================================= */

.popup-aviso .modal-content {

    position: relative;

    overflow: hidden;

    border: 0;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 20px 60px
        rgba(90, 59, 72, .25);

}


/* =========================================================
   BOTÃO FECHAR
   ========================================================= */

.popup-fechar {

    position: absolute;

    top: 14px;

    right: 14px;

    z-index: 20;

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .92);

    color: #5a3b48;

    font-size: .85rem;

    box-shadow:
        0 3px 10px
        rgba(90, 59, 72, .15);

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease;
}


.popup-fechar:hover {

    background: #ffffff;

    transform: scale(1.08);

}


.popup-fechar:focus {

    outline: none;

    box-shadow:
        0 0 0 3px
        rgba(212, 154, 173, .35);

}


/* =========================================================
   IMAGEM
   ========================================================= */

.popup-imagem {

    width: 100%;

    max-height: 360px;

    overflow: hidden;

    background: #fdf3f6;

}


.popup-imagem img {

    display: block;

    width: 100%;

    height: auto;

    max-height: 360px;

    object-fit: cover;

}


/* =========================================================
   CONTEÚDO
   ========================================================= */

.popup-conteudo {

    padding: 30px 35px 32px;

}


/* =========================================================
   KICKER
   ========================================================= */

.popup-kicker {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 10px;

    padding: 6px 13px;

    border-radius: 20px;

    background: #f3d7e1;

    color: #765263;

    font-size: .72rem;

    font-weight: 700;

    letter-spacing: .07em;

    text-transform: uppercase;

}


.popup-kicker i {

    color: #b76d85;

    font-size: .8rem;

}


/* =========================================================
   TÍTULO
   ========================================================= */

.popup-titulo {

    margin: 0 0 16px;

    color: #5a3b48;

    font-size: clamp(
        1.35rem,
        3vw,
        1.8rem
    );

    font-weight: 700;

    line-height: 1.3;

}


/* =========================================================
   DESCRIÇÃO
   ========================================================= */

.popup-descricao {

    color: #765263;

    font-size: .96rem;

    line-height: 1.75;

}


/*
|--------------------------------------------------------------------------
| HTML INSERIDO NO CAMPO DESCRIÇÃO
|--------------------------------------------------------------------------
*/

.popup-descricao p {

    margin: 0 0 1rem;

}


.popup-descricao p:last-child {

    margin-bottom: 0;

}


.popup-descricao h3 {

    margin-top: 1.5rem;

    margin-bottom: .7rem;

    color: #5a3b48;

    font-size: 1.15rem;

}


.popup-descricao strong {

    color: #5a3b48;

}


.popup-descricao a {

    color: #b76d85;

    font-weight: 600;

}


.popup-descricao a:hover {

    color: #8e5268;

}


/* =========================================================
   AÇÕES
   ========================================================= */

.popup-acoes {

    display: flex;

    justify-content: flex-end;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #f0dce3;

}


/* =========================================================
   BOTÃO ENTENDI
   ========================================================= */

.popup-botao {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-width: 120px;

    padding: 11px 20px;

    border: 0;

    border-radius: 9px;

    background: #d49aad;

    color: #ffffff;

    font-size: .9rem;

    font-weight: 700;

    cursor: pointer;

    transition:

        background .2s ease,

        transform .2s ease;
}


.popup-botao:hover {

    background: #b76d85;

    color: #ffffff;

    transform: translateY(-1px);

}


.popup-botao:focus {

    outline: none;

    box-shadow:

        0 0 0 3px
        rgba(212, 154, 173, .35);

}


/* =========================================================
   BACKDROP
   ========================================================= */

.popup-aviso + .modal-backdrop,
.modal-backdrop.show {

    background-color: #3b2830;

}


.modal-backdrop.show {

    opacity: .65;

}


/* =========================================================
   ANIMAÇÃO
   ========================================================= */

.popup-aviso .modal-dialog {

    transform:
        translateY(20px)
        scale(.97);

    transition:
        transform .25s ease;
}


.popup-aviso.show .modal-dialog {

    transform:
        translateY(0)
        scale(1);

}


/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 767.98px) {

    .popup-aviso .modal-dialog {

        max-width: calc(100% - 24px);

        margin: 12px auto;

    }


    .popup-aviso .modal-content {

        border-radius: 16px;

    }


    .popup-imagem {

        max-height: 280px;

    }


    .popup-imagem img {

        max-height: 280px;

    }


    .popup-conteudo {

        padding: 25px 22px 24px;

    }


    .popup-acoes {

        justify-content: stretch;

    }


    .popup-botao {

        width: 100%;

    }

}


@media (max-width: 480px) {

    .popup-fechar {

        top: 10px;

        right: 10px;

        width: 34px;

        height: 34px;

    }


    .popup-imagem {

        max-height: 230px;

    }


    .popup-imagem img {

        max-height: 230px;

    }


    .popup-conteudo {

        padding: 22px 18px;

    }


    .popup-titulo {

        font-size: 1.3rem;

    }


    .popup-descricao {

        font-size: .9rem;

    }

}