@charset "UTF-8";

.alumni-section {
    padding: 25px 20px;
    background: linear-gradient(180deg, #ffffff, #f2f4f8);
}

.alumni-header {
    text-align: center;
    margin-bottom: 50px;
}

.alumni-header h2 {
    font-size: 2.2rem;
    color: #0a2a66;
    margin-bottom: 10px;
}

.alumni-header p {
    color: #555;
    font-size: 1.05rem;
}

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.alumni-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    overflow: hidden;
    cursor: pointer;
    transition: transform .35s ease, box-shadow .35s ease;
}

.alumni-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.12);
}

.alumni-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center 20%;
}

.alumni-info {
    padding: 25px;
}

.alumni-info h3 {
    font-size: 1.2rem;
    color: #0a2a66;
    margin-bottom: 10px;
}

.alumni-info p {
    color: #555;
    font-size: .95rem;
    line-height: 1.5;
}

.alumni-more {
    display: inline-block;
    margin-top: 15px;
    color: #1a73e8;
    font-weight: 500;
}

/* BOTÃO VER TODOS */
.alumni-footer {
    text-align: center;
    margin-top: 50px;
}

.alumni-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    background: #0a2a66;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: background-color .3s ease, transform .3s ease;
}

.alumni-button:hover {
    background: #123a8c;
    transform: translateY(-3px);
}

/* MODAL */
.alumni-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.alumni-modal.active {
    display: flex;
}

.alumni-modal-content {
    background: #fff;
    max-width: 600px;
    width: 90%;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    animation: fadeUp .4s ease;
}

.alumni-modal-content h3 {
    color: #0a2a66;
    margin-bottom: 20px;
}

.alumni-modal-content p {
    color: #444;
    line-height: 1.7;
}

.alumni-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
