/* --- ESTILO GERAL DE MÓDULOS --- */
.modulos {
    padding: 80px 0;
    color: white;
}

/* --- ESTILO DO HEADER --- */
.modulos-header {
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    max-width: 836px;
    margin: 0 auto 64px auto;
}

.modulos-hat {
    color: var(--Grey-50);
    font-size: 16px;
    font-weight: 100;
    letter-spacing: 1px;
    width: fit-content;

    border: 1px solid rgb(255, 255, 255, 0.3);
    padding: 8px 14px;
    border-radius: 64px;
}

.modulos-hat.mobile-only {
    display: none;
}

.modulos-title {
    color: var(--Grey-50);
    font-size: 56px;
    font-weight: 100px;
    text-align: center;
    line-height: 1.3;
    margin-top: 20px;
}

/* --- ESTILO GRID DOS MÓDULOS (CARDS) --- */
.modulos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
}

/* --- ESTILO DOS CARDS --- */
.modulo-card {
    grid-column: span 2;

    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;

    width: 360px;
    height: 400px;

    display: flex;
    flex-direction: column;
    gap: 32px;

    align-items: flex-start;
}

.modulo-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);

    transform: scale(1.05);
}

.card-large {
    width: 556px;
    height: 400px;

    grid-column: span 3;
}

.card-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin-bottom: 8px;

    border-radius: 50%;
    border: 1px solid rgb(255, 255, 255, 0.3);

    display: flex;
    justify-content: center;
    align-items: center;
}

.card-title {
    color: var(--Grey-50);
    font-size: 24px;
    font-weight: bold;
}

.card-description {
    color: var(--Grey-50);
    font-size: 16px;
    line-height: 1.6;
}