/* Página de gestão — cards clicáveis + modal de mini currículo */

/* ---------- Card clicável (só quem tem currículo preenchido) ---------- */
.person-card__trigger {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-align: center;
    cursor: pointer;
    border-radius: inherit;
}

.person-card__hint {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    margin-top: .75rem;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--text-muted);
    opacity: .55;
    transition: opacity .2s ease, color .2s ease;
}
.person-card__trigger:hover .person-card__hint,
.person-card__trigger:focus-visible .person-card__hint {
    opacity: 1;
    color: var(--navy-900);
}

/* ---------- Modal de mini currículo ---------- */
.modal-curriculo {
    width: min(34rem, calc(100vw - 2.5rem));
    max-height: calc(100vh - 3rem);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--text-body);
    box-shadow: var(--shadow-lift);
    overflow-y: auto;
}
.modal-curriculo::backdrop {
    background: rgba(10, 43, 90, .55);
}

.modal-curriculo__inner {
    padding: 2.5rem 2.25rem 2.25rem;
}

.modal-curriculo__nome {
    color: var(--navy-900);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    padding-right: 2.5rem; /* não encostar no botão X */
}

.modal-curriculo__texto p { margin-bottom: 1rem; }
.modal-curriculo__texto p:last-child { margin-bottom: 0; }

.modal-curriculo__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--navy-100);
    color: var(--navy-900);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.modal-curriculo__close:hover {
    background: var(--amber-500);
    color: var(--navy-950);
}

/* Entrada sutil (só para quem aceita animação) */
@media (prefers-reduced-motion: no-preference) {
    .modal-curriculo[open] {
        animation: modal-curriculo-in .25s ease;
    }
    .modal-curriculo[open]::backdrop {
        animation: modal-curriculo-backdrop-in .25s ease;
    }
}
@keyframes modal-curriculo-in {
    from { opacity: 0; transform: translateY(.625rem) scale(.98); }
    to { opacity: 1; transform: none; }
}
@keyframes modal-curriculo-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
