/* =====================================
SEÇÃO DE PERGUNTAS FREQUENTES
===================================== */

.faq-section {

    position: relative;

    padding: 120px 24px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(82, 82, 209, 0.08),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(39, 117, 255, 0.07),
            transparent 34%
        ),
        #f7f8fc;

    overflow: hidden;

}


/* =====================================
CONTAINER
===================================== */

.faq-container {

    width: 100%;

    max-width: 1180px;

    margin: 0 auto;

}


/* =====================================
CABEÇALHO
===================================== */

.faq-header {

    max-width: 760px;

    margin: 0 auto 56px;

    text-align: center;

}


.faq-tag {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    padding: 9px 16px;

    border: 1px solid rgba(82, 82, 209, 0.18);

    border-radius: 999px;

    background: rgba(82, 82, 209, 0.08);

    color: #5252d1;

    font-family: "Montserrat", sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

}


.faq-header h2 {

    margin: 0;

    color: #242445;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(34px, 4vw, 54px);

    font-weight: 700;

    line-height: 1.12;

    letter-spacing: -0.035em;

}


.faq-header h2 strong {

    color: #5252d1;

    font-weight: 800;

}

.faq-header h2 strong {

    color: #5252d1;

    font-weight: 800;

}

.faq-header-winfit{

    max-width: 760px;

    margin: 0 auto 56px;

    text-align: center;

}

.faq-tag-winfit {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    padding: 9px 16px;

    border: 1px solid rgba(82, 82, 209, 0.18);

    border-radius: 999px;

    background: rgba(82, 82, 209, 0.08);

    color: #5252d1;

    font-family: "Montserrat", sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

}

.faq-header-winfit h2 {

    margin: 0;

    color: #242445;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(34px, 4vw, 54px);

    font-weight: 700;

    line-height: 1.12;

    letter-spacing: -0.035em;

}

.faq-header-winfit h2 strong {

    color: #00a75e;

    font-weight: 800;

}

.faq-header-winfit p {

    max-width: 680px;

    margin: 22px auto 0;

    color: #66677b;

    font-family: "Poppins", sans-serif;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.8;

}


.faq-header p {

    max-width: 680px;

    margin: 22px auto 0;

    color: #66677b;

    font-family: "Poppins", sans-serif;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.8;

}


/* =====================================
ACORDEÃO
===================================== */

.faq-accordion {

    display: flex;

    flex-direction: column;

    max-width: 940px;

    margin: 0 auto;

    gap: 14px;

}


/* =====================================
ITEM
===================================== */

.faq-item {

    border: 1px solid rgba(50, 50, 97, 0.1);

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 10px 30px rgba(31, 35, 70, 0.045);

    overflow: hidden;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;

}


.faq-item:hover {

    border-color: rgba(82, 82, 209, 0.25);

    box-shadow:
        0 16px 42px rgba(31, 35, 70, 0.08);

    transform: translateY(-2px);

}


.faq-item[open] {

    border-color: rgba(82, 82, 209, 0.28);

    box-shadow:
        0 18px 46px rgba(31, 35, 70, 0.09);

}


/* =====================================
PERGUNTA
===================================== */

.faq-question {

    display: grid;

    grid-template-columns: 52px 1fr 44px;

    align-items: center;

    min-height: 88px;

    padding: 18px 24px;

    cursor: pointer;

    list-style: none;

    user-select: none;

}


.faq-question::-webkit-details-marker {

    display: none;

}


.faq-question-number {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    border-radius: 11px;

    background: rgba(82, 82, 209, 0.09);

    color: #5252d1;

    font-family: "Montserrat", sans-serif;

    font-size: 12px;

    font-weight: 800;

}


.faq-question-text {

    padding-right: 24px;

    color: #2c2c4e;

    font-family: "Montserrat", sans-serif;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.45;

}


.faq-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: #f2f3fa;

    color: #5252d1;

    font-size: 17px;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;

}


.faq-item[open] .faq-icon {

    background: #5252d1;

    color: #ffffff;

    transform: rotate(45deg);

}


/* =====================================
RESPOSTA
===================================== */

.faq-answer {

    margin: 0 24px 0 76px;

    padding: 0 58px 28px 0;

    border-top: 1px solid rgba(50, 50, 97, 0.08);

}


.faq-answer p {

    margin: 22px 0 0;

    color: #66677b;

    font-family: "Poppins", sans-serif;

    font-size: 15px;

    font-weight: 400;

    line-height: 1.85;

}


.faq-answer-link {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 20px;

    color: #5252d1;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.25s ease,
        gap 0.25s ease;

}


.faq-answer-link:hover {

    gap: 13px;

    color: #3737a8;

}


/* =====================================
CHAMADA INFERIOR
===================================== */

.faq-bottom {

    display: grid;

    grid-template-columns: 64px 1fr auto;

    align-items: center;

    max-width: 940px;

    margin: 42px auto 0;

    padding: 28px 30px;

    border: 1px solid rgba(82, 82, 209, 0.14);

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(82, 82, 209, 0.08),
            rgba(82, 82, 209, 0.025)
        ),
        #ffffff;

}


.faq-bottom-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 50px;

    height: 50px;

    border-radius: 15px;

    background: #5252d1;

    color: #ffffff;

    font-size: 22px;

    box-shadow:
        0 10px 22px rgba(82, 82, 209, 0.22);

}


.faq-bottom-content {

    padding: 0 22px;

}


.faq-bottom-content span {

    display: block;

    margin-bottom: 5px;

    color: #29294c;

    font-family: "Montserrat", sans-serif;

    font-size: 17px;

    font-weight: 800;

}


.faq-bottom-content p {

    margin: 0;

    color: #6d6e80;

    font-family: "Poppins", sans-serif;

    font-size: 14px;

    line-height: 1.6;

}


.faq-bottom-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 50px;

    padding: 14px 22px;

    border-radius: 10px;

    background: #5252d1;

    color: #ffffff;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    box-shadow:
        0 10px 24px rgba(82, 82, 209, 0.22);

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;

}


.faq-bottom-button:hover {

    background: #4343bb;

    color: #ffffff;

    box-shadow:
        0 14px 30px rgba(82, 82, 209, 0.3);

    transform: translateY(-2px);

}


/* =====================================
ACESSIBILIDADE
===================================== */

.faq-question:focus-visible {

    outline: 3px solid rgba(82, 82, 209, 0.35);

    outline-offset: -3px;

}


.faq-answer-link:focus-visible,
.faq-bottom-button:focus-visible {

    outline: 3px solid rgba(82, 82, 209, 0.3);

    outline-offset: 4px;

}


/* =====================================
RESPONSIVIDADE
===================================== */

@media (max-width: 768px) {

    .faq-section {

        padding: 80px 18px;

    }


    .faq-header {

        margin-bottom: 38px;

    }


    .faq-header h2 {

        font-size: 34px;

    }


    .faq-header p {

        font-size: 15px;

    }


    .faq-question {

        grid-template-columns: 42px 1fr 36px;

        min-height: 78px;

        padding: 16px;

    }


    .faq-question-number {

        width: 34px;

        height: 34px;

    }


    .faq-question-text {

        padding-right: 12px;

        font-size: 15px;

    }


    .faq-icon {

        width: 34px;

        height: 34px;

        font-size: 15px;

    }


    .faq-answer {

        margin: 0 16px 0 58px;

        padding: 0 14px 22px 0;

    }


    .faq-answer p {

        margin-top: 18px;

        font-size: 14px;

    }


    .faq-bottom {

        grid-template-columns: 54px 1fr;

        padding: 22px;

    }


    .faq-bottom-content {

        padding: 0 0 0 14px;

    }


    .faq-bottom-button {

        grid-column: 1 / -1;

        width: 100%;

        margin-top: 20px;

    }

}


@media (max-width: 480px) {

    .faq-section {

        padding: 68px 14px;

    }


    .faq-header h2 {

        font-size: 29px;

    }


    .faq-question {

        grid-template-columns: 1fr 34px;

    }


    .faq-question-number {

        display: none;

    }


    .faq-question-text {

        padding-right: 10px;

    }


    .faq-answer {

        margin: 0 16px;

        padding-right: 0;

    }


    .faq-bottom {

        grid-template-columns: 1fr;

        text-align: center;

    }


    .faq-bottom-icon {

        margin: 0 auto 16px;

    }


    .faq-bottom-content {

        padding: 0;

    }

}


/* =====================================
REDUÇÃO DE MOVIMENTO
===================================== */

@media (prefers-reduced-motion: reduce) {

    .faq-item,
    .faq-icon,
    .faq-answer-link,
    .faq-bottom-button {

        transition: none;

    }

}