/* WGO AEO — Frontend CSS v2.2 */

/* ── Secao de Respostas Diretas ── */
.wgo-aeo-answers-section {
    margin: 28px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.wgo-aeo-answers-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wgo-aeo-answers-title::before {
    content: '🎯';
    font-size: 16px;
}

/* ── Cada bloco de resposta ── */
.wgo-aeo-answer {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #2563eb;
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    margin-bottom: 10px;
    transition: border-left-color .2s, box-shadow .2s;
}

.wgo-aeo-answer:hover {
    border-left-color: #1d4ed8;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .08);
}

/* ── Pergunta ── */
.wgo-aeo-q {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.wgo-aeo-q::before {
    content: 'P:';
    background: #2563eb;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Resposta ── */
.wgo-aeo-a {
    font-size: 13px;
    color: #475569;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.wgo-aeo-a::before {
    content: 'R:';
    background: #16a34a;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ── FAQ section (existente) ── */
.wgo-faq-section { margin: 32px 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.wgo-faq-title   { font-size: 20px; font-weight: 700; color: #0f172a; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid #e2e8f0; }
.wgo-faq-list    { display: flex; flex-direction: column; gap: 8px; }

.wgo-faq-item { border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; background: #fff; }
.wgo-faq-question {
    width: 100%; background: none; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 15px 16px; text-align: left; font-size: 15px; font-weight: 600;
    color: #1e293b; line-height: 1.4;
}
.wgo-faq-question:hover { background: #f8fafc; }
.wgo-faq-question[aria-expanded="true"] { background: #f0f9ff; color: #1d4ed8; }

.wgo-faq-icon {
    flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
    background: #e2e8f0; position: relative; transition: transform .2s, background .15s;
}
.wgo-faq-icon::before, .wgo-faq-icon::after {
    content: ''; position: absolute; background: #64748b; border-radius: 2px;
}
.wgo-faq-icon::before { width: 8px; height: 2px; top: 9px; left: 6px; }
.wgo-faq-icon::after  { width: 2px; height: 8px; top: 6px; left: 9px; }
.wgo-faq-question[aria-expanded="true"] .wgo-faq-icon { transform: rotate(45deg); background: #bfdbfe; }
.wgo-faq-question[aria-expanded="true"] .wgo-faq-icon::before,
.wgo-faq-question[aria-expanded="true"] .wgo-faq-icon::after { background: #1d4ed8; }

.wgo-faq-answer { display: none; padding: 0 16px 14px; font-size: 14px; color: #475569; line-height: 1.7; border-top: 1px solid #f1f5f9; }
.wgo-faq-answer.is-open { display: block; }
.wgo-faq-answer p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
    .wgo-faq-question { font-size: 14px; padding: 12px 14px; }
    .wgo-faq-answer   { padding: 0 14px 12px; font-size: 13px; }
    .wgo-aeo-answer   { padding: 10px 12px; }
    .wgo-aeo-q        { font-size: 13px; }
}
