﻿/* Modal base */
.lp-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

    .lp-modal.is-open {
        display: block;
    }

.lp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* Dialog grande */
.lp-modal__dialog {
    position: relative;
    background: #fff;
    width: min(920px, calc(100% - 32px));
    margin: 5vh auto;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    max-height: 90vh; /* garante área visível */
}

/* título */
.lp-modal__title {
    padding: 20px 24px 8px 24px;
    font-size: 22px;
    margin: 0;
    color: #0D468D;
}

.lp-modal_subtitle {
    padding: 20px 24px 8px 24px;
    font-size: 15px;
    margin: 0;
    color: #292623;
    text-align: center;
    font-weight: 400;
}

/* botão fechar */
.lp-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 6px 10px;
    color: #333;
}

/* conteúdo rolável */
.lp-modal__content {
    padding: 0 24px 18px 24px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.5;
    color: #292623;
}

/* área inferior */
.lp-modal__actions {
    padding: 12px 24px 20px 24px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.lp-modal-scroll-lock {
    overflow: hidden;
}

/* Texto de rodapé do termo */
.lp-modal__footer-text {
    margin-top: 20px;
}
