/* =================================== */
/* ==   ESTILOS PÁGINA DE DÚVIDAS   == */
/* =================================== */

.faq-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h1 {
    font-size: 2.8em;
    color: #fff;
    margin-bottom: 10px;
}

.faq-header p {
    font-size: 1.1em;
    color: #ccc;
    margin-bottom: 30px;
}

/* Estilo da Barra de Busca */
.search-form {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #2a2a2a;
    color: #e0e0e0;
    font-size: 1em;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: #FFC107;
}

.search-form button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    border: none;
    background: none;
    color: #ccc;
    font-size: 1.2em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-form button:hover {
    color: #FFC107;
}

/* Estilo da Lista de Perguntas (Accordion) */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.faq-item[open] {
    background-color: #2a2a2a;
}

.faq-question {
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* Remove a seta padrão */
}

/* Seta personalizada */
.faq-question::after {
    content: '+';
    font-size: 1.8em;
    color: #FFC107;
    transition: transform 0.3s ease;
}

.faq-item[open] > .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: #ccc;
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
}
.faq-answer a {
    color: #FFC107;
    text-decoration: none;
    font-weight: bold;
}
.faq-answer a:hover {
    text-decoration: underline;
}

.faq-answer ul {
    padding-left: 20px;
    margin-top: 10px;
}
.faq-answer ul li {
    margin-bottom: 5px;
}

/* =================================== */
/* ==  INÍCIO DA RESPONSIVIDADE     == */
/* =================================== */

/* Telas de Tablet */
@media (max-width: 767px) {
    .faq-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}