/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: none; /* Escondido por padrão */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 60px 40px;
    border: 1px solid rgba(157, 80, 187, 0.3);
    animation: modalSlide 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlide {
    from { transform: scale(0.8) translateY(50px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s, color 0.3s;
}

.close-modal:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-footer {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

.modal-footer p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-style: italic;
}

/* Re-aproveitando os cartões dentro do modal */
.section-title {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #fff 0%, #9d50bb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.step-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(157, 80, 187, 0.3);
}

.step-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 900;
    opacity: 0.1;
    color: var(--accent);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: rgba(157, 80, 187, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Footer Original */
.glass-footer {
    padding: 40px 5%;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.85rem;
}
