.fq-section {
    padding: 56px 0 64px;
    background: #fff;
    font-family: 'Raleway', 'Rawline', Arial, sans-serif;
}

.fq-section * {
    box-sizing: border-box;
}

.fq-section a {
    text-decoration: none;
}

.fq-shell {
    width: 100%;
    max-width: 1428px;
    margin: 0 auto;
    padding: 0 24px;
}

/* cabecalho */
.fq-head {
    display: flex;
    align-items: flex-end;
    gap: 22px;
    margin-bottom: 46px;
}

.fq-title {
    flex: 0 0 auto;
    margin: 0;
    font-size: clamp(1.9rem, 2.9vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: #2c4073;
    white-space: nowrap;
}

.fq-tabs {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

    .fq-tabs::-webkit-scrollbar {
        display: none;
    }

    .fq-tabs li {
        flex: 0 0 auto;
        margin: 0;
    }

.fq-tab {
    display: inline-block;
    padding: 7px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    color: #2c4073;
    background: #e0e6f4;
    border-radius: 999px;
    transition: background 160ms ease;
}

    .fq-tab:hover {
        background: #d0d9ee;
    }

.fq-mais {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 44px;
    padding: 0 26px;
    font-size: clamp(0.95rem, 1.2vw, 1.2rem);
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    color: #2c4073;
    border: 1.5px solid #2c4073;
    border-radius: 999px;
    transition: background 160ms ease, color 160ms ease;
}

    .fq-mais:hover {
        color: #fff;
        background: #2c4073;
    }

/* cards */
.fq-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 42px 46px;
}

.fq-card {
    position: relative;
    display: block;
    min-height: 137px;
    padding: 30px 56px 22px 29px;
    color: inherit;
    background: #f8f8f8;
    border-radius: 16px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

    .fq-card:hover {
        background: #f1f3fa;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(44, 64, 115, 0.1);
    }

.fq-cat {
    margin: 0 0 2px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
    color: #2a2a2a;
}

.fq-pergunta {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.2;
    color: #858585;
}

.fq-seta {
    position: absolute;
    right: 22px;
    bottom: 18px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #7a7a7a;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 200ms ease, stroke 200ms ease;
}

.fq-card:hover .fq-seta {
    stroke: #2c4073;
    transform: translateX(3px);
}

/* notebook */
@media (max-width: 1199px) {
    .fq-grid {
        gap: 28px;
    }

    .fq-head {
        margin-bottom: 36px;
    }

    .fq-card {
        padding: 26px 50px 22px 24px;
    }
}

/* tablet: 2 colunas; abas em linha propria */
@media (max-width: 991px) {
    .fq-section {
        padding: 40px 0 48px;
    }

    .fq-head {
        flex-wrap: wrap;
        align-items: center;
        gap: 16px;
        margin-bottom: 26px;
    }

    .fq-title {
        order: 1;
        flex: 1 1 auto;
    }

    .fq-mais {
        order: 2;
        min-width: 130px;
        height: 40px;
    }

    .fq-tabs {
        order: 3;
        flex: 0 0 100%;
        gap: 10px;
    }

    .fq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .fq-card {
        min-height: 124px;
    }
}

/* celular: 1 coluna */
@media (max-width: 599px) {
    .fq-section {
        padding: 32px 0 40px;
    }

    .fq-shell {
        padding: 0 16px;
    }

    .fq-title {
        font-size: 1.7rem;
    }

    .fq-mais {
        min-width: 0;
        height: 36px;
        padding: 0 18px;
        font-size: 0.9rem;
    }

    .fq-tab {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    .fq-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .fq-card {
        min-height: 0;
        padding: 20px 52px 20px 20px;
    }

    .fq-cat {
        font-size: 1.08rem;
    }

    .fq-pergunta {
        font-size: 1rem;
    }

    .fq-seta {
        right: 18px;
        bottom: 16px;
    }
}
