/* Oculta o scroll do body quando o modal estiver visível */
body.modal-open {
    overflow: hidden;
}

/* Modal cobrindo a tela inteira */
.modal {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #0073a9;
    z-index: 9999;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Caixa do modal */
.modal-dialog {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Conteúdo centralizado e ocupando a tela toda */
#modal-content-custom {
    border: none;
    width: 100%;
    height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Corpo do modal com centralização do texto e cards */
.modal-body {
    background-color: #0073a9;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    overflow-y: auto;
}

.modal-body h2 {
    color: #fff;
}

/* Evita que o backdrop do Bootstrap atrapalhe */
.modal-backdrop {
    display: none !important;
}

.painel-cards {
    display: flex;
    gap: 1rem;
}

#capa {
    background-color: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    height: 100vh;
}

#capa h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
}

#capa h1 span {
    color: var(--color-accent);
}

#capa h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 2rem;
}

.cards {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem !important;
}

.options {
    background-color: #fff;
    padding: 1rem !important;
    border-radius: 16px;
    height: auto;
    max-width: 340px;
    text-align: left;
    box-shadow: 0 4px 12px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    line-height: 1.6;
}

.options:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px var(--card-hover-shadow);
}

.options a {
    color: #0073a9;
    text-decoration: none;
    font-weight: 600;
}

.options a:hover {
    text-decoration: underline;
}

.options strong {
    font-weight: bold;
}