/* =============================================
   FAQ Original (Home e Assinatura)
   ============================================= */

.faq-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
}

.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    cursor: pointer;
    min-height: 68px;
    box-sizing: border-box;
}

.faq-question {
    font-family: 'Recline', sans-serif !important;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: #B58455;
    margin: 0;
    padding-right: 20px;
}

.faq-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon img {
    width: 36px;
    height: 36px;
    filter: brightness(0) saturate(100%) invert(56%) sepia(30%) saturate(574%) hue-rotate(350deg) brightness(92%) contrast(87%);
}

.faq-icon .icon-minus {
    display: none;
}

.faq-item.active .faq-icon .icon-plus {
    display: none;
}

.faq-item.active .faq-icon .icon-minus {
    display: block;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #B58455;
    margin: 0;
    text-align: left;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

@media (max-width: 1024px) {
    .faq-question {
        font-size: 20px;
        line-height: 28px;
    }

    .faq-header {
        padding: 12px 20px;
    }

    .faq-answer-inner {
        padding: 0 20px 20px 20px;
    }
}

@media (max-width: 767px) {
    .faq-question {
        font-size: 18px;
        line-height: 26px;
    }

    .faq-header {
        padding: 12px 16px;
        min-height: 60px;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
    }

    .faq-icon img {
        width: 28px;
        height: 28px;
    }

    .faq-answer-inner {
        padding: 0 16px 16px 16px;
    }

    .faq-answer p {
        font-size: 14px;
        line-height: 22px;
    }
}

@media (max-width: 479px) {
    .faq-question {
        font-size: 16px;
        line-height: 24px;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
    }

    .faq-icon img {
        width: 24px;
        height: 24px;
    }

    .faq-container {
        gap: 12px;
    }
}

/* =============================================
   FAQ Page (Novo layout com duas colunas)
   ============================================= */

.faq-page-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.faq-page-group {
    width: 100%;
}

.faq-page-columns {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
}

/* Coluna do título */
.faq-page-title-column {
    flex: 0 0 300px;
    width: 300px;
}

.faq-page-title {
    color: #B58455;
    font-family: 'Recline', sans-serif !important;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px;
    margin: 0;
}

/* Coluna do FAQ */
.faq-page-faq-column {
    flex: 1;
    min-width: 0;
}

.faq-page-items-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Items do FAQ Page - fundo transparente */
.faq-page-item {
    background: transparent;
    overflow: hidden;
    border-bottom: 1px solid rgba(181, 132, 85, 0.2);
}

.faq-page-item:last-child {
    border-bottom: none;
}

.faq-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    cursor: pointer;
    min-height: 68px;
    box-sizing: border-box;
}

.faq-page-question {
    font-family: 'Recline', sans-serif !important;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: #B58455;
    margin: 0;
    padding-right: 20px;
}

.faq-page-item .faq-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-page-item .faq-icon img {
    width: 36px;
    height: 36px;
    filter: brightness(0) saturate(100%) invert(56%) sepia(30%) saturate(574%) hue-rotate(350deg) brightness(92%) contrast(87%);
}

.faq-page-item .faq-icon .icon-minus {
    display: none;
}

.faq-page-item.active .faq-icon .icon-plus {
    display: none;
}

.faq-page-item.active .faq-icon .icon-minus {
    display: block;
}

.faq-page-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-page-answer-inner {
    padding: 0 0 24px 0;
}

.faq-page-answer p {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #B58455;
    margin: 0;
    text-align: left;
}

.faq-page-item.active .faq-page-answer {
    max-height: 500px;
}

/* Responsivo para FAQ Page */
@media (max-width: 1024px) {
    .faq-page-title {
        font-size: 30px;
        line-height: 38px;
    }

    .faq-page-title-column {
        flex: 0 0 250px;
        width: 250px;
    }

    .faq-page-question {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (max-width: 767px) {
    /* Mobile: layout empilhado */
    .faq-page-columns {
        flex-direction: column;
        gap: 40px;
    }

    .faq-page-title-column {
        flex: 0 0 auto;
        width: 100%;
    }

    .faq-page-title {
        font-size: 28px;
        line-height: 36px;
    }

    .faq-page-question {
        font-size: 18px;
        line-height: 26px;
    }

    .faq-page-header {
        padding: 12px 0;
        min-height: 60px;
    }

    .faq-page-item .faq-icon {
        width: 28px;
        height: 28px;
    }

    .faq-page-item .faq-icon img {
        width: 28px;
        height: 28px;
    }

    .faq-page-answer-inner {
        padding: 0 0 16px 0;
    }

    .faq-page-answer p {
        font-size: 14px;
        line-height: 22px;
    }
}

@media (max-width: 479px) {
    .faq-page-title {
        font-size: 24px;
        line-height: 32px;
    }

    .faq-page-question {
        font-size: 16px;
        line-height: 24px;
    }

    .faq-page-item .faq-icon {
        width: 24px;
        height: 24px;
    }

    .faq-page-item .faq-icon img {
        width: 24px;
        height: 24px;
    }

    .faq-page-items-container {
        gap: 12px;
    }
}

/* =============================================
   FAQ Page - Campo de Busca
   ============================================= */

.faq-page-search-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

.faq-page-search-box {
    width: 80%;
    height: 56px;
    background: #FFFFFF;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    box-sizing: border-box;
    position: relative;
}

.faq-page-search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent;
    color: #B58455;
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    padding: 0;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.faq-page-search-input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.faq-page-search-input::placeholder {
    color: #B58455;
    opacity: 1;
}

.faq-page-search-input::-webkit-input-placeholder {
    color: #B58455;
}

.faq-page-search-input::-moz-placeholder {
    color: #B58455;
    opacity: 1;
}

.faq-page-search-input:-ms-input-placeholder {
    color: #B58455;
}

.faq-page-search-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 16px;
}

.faq-page-search-icon svg {
    width: 24px;
    height: 24px;
}

/* Container de conteudo */
.faq-page-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* Resultados de busca */
.faq-page-search-results {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.faq-page-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #B58455;
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.faq-page-no-results strong {
    font-weight: 600;
}

/* Highlight de busca */
.faq-page-item mark {
    background-color: rgba(181, 132, 85, 0.2);
    color: #B58455;
    padding: 0 2px;
    border-radius: 2px;
}

/* Responsivo para campo de busca */
@media (max-width: 767px) {
    .faq-page-search-wrapper {
        margin-bottom: 56px;
    }

    .faq-page-content {
        gap: 56px;
    }

    .faq-page-search-results {
        gap: 56px;
    }

    .faq-page-no-results {
        font-size: 16px;
        line-height: 24px;
        padding: 30px 16px;
    }
}

@media (max-width: 479px) {
    .faq-page-search-input {
        font-size: 14px;
    }

    .faq-page-search-box {
        padding: 0 16px;
    }
}

/* =============================================
   FAQ Page - Estilos de chevron e mobile
   ============================================= */

/* Chevron icon para todos os faq-page */
.faq-page-wrapper .faq-icon {
    width: 32px;
    height: 32px;
}

.faq-page-wrapper .faq-icon svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.faq-page-wrapper .faq-page-item.active .faq-icon svg {
    transform: rotate(180deg);
}

@media (max-width: 767px) {
    .faq-page-wrapper .faq-page-question {
        color: #B58455;
        font-family: 'Recline', sans-serif !important;
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px;
    }

    .faq-page-wrapper .faq-page-answer p {
        color: #B58455;
        font-family: 'Montserrat Alternates', sans-serif;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 16px;
    }
}
