@charset "utf-8";

.container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cards-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* Botões de Abertura */
.cv-btn {
    color: #165ca1;
    border: none;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.cv-btn:hover {
    background-color: #F3F3F3;
}

/* Estrutura do Modal */
.modal {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.cargo {
    font-weight: bold;
    color: #165ca1;
    margin-top: -5px;
}

/* Botão Fechar */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close-btn:hover {
    color: #333;
}
#modalResumo {
    white-space: pre-line;
    word-wrap: break-word; /* Garante que palavras muito longas também quebrem */
    line-height: 1.5;      /* Melhora a leitura do texto formatado */
}
/* Animação */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
