/* ---------------------------------------------------------------------- */
/*	Grid de módulos
/* ---------------------------------------------------------------------- */
.modules-grid {
    margin: 70px 0 30px 0;
    width: 100%;
    animation: fadeInUp 0.6s ease;
    text-align: center !important;
}

.module-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 50px;
    padding: 2rem;
    width: 25%;
    background-color: var(--whiteColor);
    border: 1px solid var(--grayColor);
    border-radius: var(--borderRadius);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--boxShadow);
    cursor: pointer;
    text-align: center;
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem var(--boxShadow);
    border-color: var(--graphiteColor);
}

.module-card:active {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.module-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    color: var(--graphiteColor);
}

.module-card p {
    font-size: 0.875rem;
    color: var(--graphiteColor);
    margin: 0;
    line-height: 1.4;
}

/* Icon wrapper */
.icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primaryColor);
    border-radius: 50%;
    transition: var(--transition);
}

.module-card:hover .icon-wrapper {
    transform: scale(1.1);
    background: var(--primaryColor);
}

.icon-wrapper i {
    font-size: 2rem;
    color: white;
}

.modules-grid form {
    margin-bottom: 100px;
    padding: 20px;
    color: var(--graphiteColor);
    background: var(--secondaryColor);
    border-radius: var(--borderRadius);
    box-shadow: var(--boxShadow);
}

.modules-grid form h1 {
    margin: 20px 0 50px 0 !important;
    font-size: 25px;
}

.modules-grid form h1 span {
    display: block;
    font-size: 15px;
    color: var(--redColor);
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
