/* --- Import Fonts (Já estão no global, mas garante localmente) --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* --- VARIÁVEIS --- */
#mapea-faq {
    --f-merlot: #4F0713;
    --f-rosa: #E499B6;
    --f-gold: #FDC762;
    --f-rubi: #AD0919;
    --f-bg: #E499B6;
    --f-white: #ffffff;
}

/* --- ESTRUTURA PRINCIPAL --- */
#mapea-faq {
    width: 100%;
    padding: 80px 20px;
    background-color: var(--f-bg);
    background-image: linear-gradient(180deg, #e08ba9 0%, #E499B6 100%);
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box; /* Garante que padding não estoure a tela */
}

/* CORREÇÃO DO "ESTICADO" */
#mapea-faq .faq-container {
    width: 100%;
    max-width: 800px !important; /* Força a largura de 800px */
    margin: 0 auto;              /* Centraliza na tela */
    display: block;
    padding: 0;
}

/* --- CABEÇALHO --- */
.faq-header { text-align: center; margin-bottom: 40px; }

.tag-pill-white {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--f-merlot);
    font-size: 12px; font-weight: 800; letter-spacing: 2px;
    padding: 8px 20px; border-radius: 50px; margin-bottom: 15px;
}

.faq-header h2 {
    font-size: 2.5rem; color: var(--f-merlot); font-weight: 800; margin-bottom: 10px; line-height: 1.2;
}

.highlight-white {
    color: var(--f-white); position: relative; z-index: 1;
}
.highlight-white::after {
    content: ''; position: absolute; bottom: 3px; left: 0; width: 100%; height: 10px;
    background: var(--f-gold); opacity: 0.5; z-index: -1; transform: rotate(-2deg);
}

.faq-header p {
    color: var(--f-merlot); font-size: 1rem; opacity: 0.9; max-width: 600px; margin: 0 auto;
}

/* --- LISTA (ACCORDION) --- */
.faq-list {
    display: flex; flex-direction: column; gap: 15px;
}

.faq-item {
    background: var(--f-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(79, 7, 19, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Estilo quando aberto */
.faq-item[open] {
    box-shadow: 0 10px 30px rgba(79, 7, 19, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

/* PERGUNTA (Clicável) */
summary {
    list-style: none;
    padding: 20px 25px;
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer;
    background: var(--f-white);
    position: relative;
    z-index: 2;
}
summary::-webkit-details-marker { display: none; }

.question {
    font-weight: 700; color: var(--f-merlot); font-size: 1.05rem;
    transition: color 0.3s;
    text-align: left;
}
 
.faq-item[open] .question { color: var(--f-rubi); }

/* ÍCONE */
.icon-box {
    width: 28px; height: 28px;
    background: #fff5f8;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--f-merlot);
    transition: transform 0.3s, background-color 0.3s;
    flex-shrink: 0; margin-left: 15px;
    font-size: 12px;
}

.faq-item[open] .icon-box {
    transform: rotate(180deg);
    background: var(--f-merlot); color: white;
}

/* RESPOSTA */
.answer {
    padding: 0 25px 25px 25px;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    background: var(--f-white);
    border-top: 1px solid #f9f9f9;
    text-align: left;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    #mapea-faq { padding: 50px 20px; }
    .faq-header h2 { font-size: 2rem; }
    summary { padding: 18px 20px; }
    .answer { padding: 0 20px 20px 20px; }
    .question { font-size: 0.95rem; }
}