/* ===================== FAQ Modal ===================== */

.faq-modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    overflow: hidden;
}

.faq-modal-header {
    padding: 28px 28px 16px 28px;
    position: relative;
    border-bottom: none;
}

.faq-btn-fechar {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.faq-btn-fechar:hover {
    color: #555;
}

.faq-titulo {
    margin: 0 0 4px 0;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.faq-subtitulo {
    margin: 0;
    font-size: 14px;
    color: #00a65a;
    font-weight: 600;
}

.faq-modal-body {
    padding: 8px 28px 20px 28px;
}

.faq-filtros-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.faq-search-wrapper {
    position: relative;
    flex: 1;
}

.faq-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #00a65a;
    font-size: 14px;
}

.faq-search-input {
    width: 100%;
    padding: 8px 12px 8px 34px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.faq-search-input:focus {
    border-color: #00a65a;
}

.faq-select-categoria {
    flex: 0 0 200px;
    padding: 8px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    background-color: #fff;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300a65a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.faq-select-categoria:focus {
    border-color: #00a65a;
}

.faq-sem-resultados {
    text-align: center;
    color: #888;
    padding: 20px 0;
    font-size: 14px;
}

.faq-categoria {
    font-size: 15px;
    font-weight: 700;
    color: #00a65a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 18px 4px 8px 4px;
    margin-bottom: 4px;
}

.faq-categoria:first-child {
    padding-top: 4px;
}

.faq-item {
    border: 1.5px solid #ececec;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}

.faq-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    user-select: none;
}

.faq-item-header:hover {
    background-color: #f9f9f9;
}

.faq-item-pergunta {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    flex: 1;
    padding-right: 12px;
}

.faq-seta {
    color: #00a65a;
    font-size: 14px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-seta-aberta {
    transform: rotate(180deg);
}

.faq-item-body {
    border-top: 1.5px solid #ececec;
    padding: 14px 18px;
}

.faq-item-resposta {
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.faq-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px 24px 28px;
    border-top: 1.5px solid #f0f0f0;
}

.faq-footer-texto {
    margin: 0;
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}

.faq-downloads {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.faq-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1.5px solid #00a65a;
    border-radius: 6px;
    color: #00a65a;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    background-color: #fff;
    transition: background-color 0.2s, color 0.2s;
}

.faq-btn-download:hover {
    background-color: #00a65a;
    color: #fff;
    text-decoration: none;
}

.faq-btn-download .fa {
    font-size: 13px;
}

