/* ============================
   ESTILO GERAL DA PÁGINA
============================ */

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #ceaefd);
    margin: 0;
    padding: 0;
    color: #1d1d1d;
}

h2,
.titulo {
    margin-top: 30px;
    margin-bottom: 15px;
}

.subtitulo {
    margin-bottom: 20px;
}

input[type="text"],
.caixa-pergunta {
    margin-top: 15px;
    margin-bottom: 20px;
}

button,
.btn {
    margin-top: 15px;
    margin-bottom: 20px;
}


.main-header {
    width: 100%;
    background-color: #3D2364;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo {
    height: 100px;
    object-fit: contain;
    user-select: none;
}

/* ======== Área da busca ======== */
#search-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 15px;
    color: rgb(20, 20, 20);
}

#search-input {
    width: 100%;
    max-width: 320px;
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid rgb(61, 35, 100);
    border-radius: 10px;
    background: #f8f9fc;
    outline: none;
    transition: 0.3s ease;
}

#search-input:focus {
    border-color: rgb(20, 20, 20);
    box-shadow: 0 0 6px rgb(20, 20, 20);
    background: #ffffff;
}

#search-input::placeholder {
    color: rgb(72, 98, 149);
    opacity: 0.8;
}

/* Container principal */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

section[aria-labelledby="search-title"] form button {
    background-color: #3D2364;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

section[aria-labelledby="search-title"] form button:hover {
    background-color: rgba(110, 68, 158, 0.8);
}

section[aria-labelledby="search-title"] form button:active {
    background-color: rgba(110, 68, 158, 0.8);
}


/* Títulos principais */
h1 {
    text-align: center;
    font-size: 2rem;
    margin: 20px 0 5px;
    color: #141414;
}

h2 {
    text-align: center;
    font-size: 1.3rem;
    margin: 5px 0 20px;
    color: #141414;
}

.categoria-nav h1 {
    margin: 10px 0;
    font-size: 1.2rem;
}

.top-section {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.categoria-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}


.cat-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #3D2364;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: 0.3s ease;
    font-weight: 500;
}

.cat-btn:hover {
    background: rgba(110, 68, 158, 0.8);
    transform: translateY(-2px);
}


/* ============================
   TÍTULOS DE SEÇÃO
============================ */
h3 {
    color: rgb(61, 35, 100);
    margin-top: 35px;
    margin-bottom: 10px;
}

/* ============================
   FAQ - LISTA DE PERGUNTAS
============================ */
.faq-section ul {
    list-style: none;
    padding: 0;
}

.faq-section li {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 8px 12px;
    max-width: 90%;
    margin-inline: auto;
    overflow: hidden;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
    padding: 10px 20px;
}

.faq-section li:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 14px rgba(61, 35, 100, 0.2);
}

.faq-section button {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    background: none;
    color: rgb(61, 35, 100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-section button i {
    font-size: 18px;
    color: rgb(61, 35, 100);
    transition: 0.3s ease;
}

.faq-section li.open button i {
    transform: rotate(180deg);
}

.faq-section p {
    margin: 0;
    padding: 0 20px 15px;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity .3s ease, max-height .4s ease;
}

.faq-section li.open p {
    display: block;
    opacity: 1;
    max-height: 500px;
}

/* =============================
   SEÇÃO DE CONTATOS
============================== */

.contatos-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contato-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 20px;
    margin-bottom: 60px;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contato-card img {
    width: 45px;
}

.contato-card h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.contato-card p {
    text-align: center;
    font-size: 0.9rem;
    margin: 10px 0;
    flex-grow: 1;
    margin-bottom: 30px;
}

.contato-card a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: auto;
}

.contatos-section p {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 30px;
}

.contatos-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.contato-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    width: 260px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-height: 250px;
}



/* Botão padrão (Acessar - Instagram) */
.contato-btn {
    display: inline-block;
    padding: 10px 22px;
    background-color: #3D2364;
    /* Roxo padrão do seu site */
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: 0.3s ease;
    text-align: center;
    margin-top: 10px;
}

/* Hover do botão padrão */
.contato-btn:hover {
    background-color: #5a34a6;
    /* Roxo mais claro */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

/* Botão WhatsApp */
.contato-btn.whatsapp {
    background-color: #0db260;
}

/* Hover do WhatsApp */
.contato-btn.whatsapp:hover {
    background-color: #14d978;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

/* ============================
   RODAPÉ
============================ */
.footer {
    text-align: center;
    color: rgb(72, 98, 149);
    margin: 40px 0;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVIDADE 
============================================ */
@media (max-width: 900px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .buttons-group {
        gap: 12px;
    }
}

@media (max-width: 700px) {
    .buttons-group {
        flex-direction: column;
    }

    .buttons-group .btn,
    button {
        width: 100%;
    }

    input[type="text"] {
        font-size: 1rem;
        padding: 12px;
    }
}

@media (max-width: 600px) {

    h1 {
        font-size: 1.7rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    p {
        font-size: 1rem;
    }

    .container {
        padding: 10px;
    }
}

@media (max-width: 480px) {

    input,
    button {
        font-size: 0.95rem;
        padding: 10px;
    }

    section {
        margin-bottom: 25px;
    }
}