/* =============================================================================
   Site público (home e /planos) — reescrita da copy, 28/out/2026.

   Carregado SÓ pelas páginas públicas, depois do style.css. Nada aqui vale no
   dashboard (que não carrega este arquivo). Reaproveita os tokens do
   style.css (--primary, --bg-soft, --border, --radius, fontes); não cria
   paleta nem tipografia nova.
   ============================================================================= */

/* Hero: botões empilhados no celular */
.site-hero .cta-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.site-hero .fineprint { margin-top: 1rem; font-size: 0.9rem; color: var(--text-muted); }

/* Foco visível nos botões e links de ação */
.site-page .btn-primary:focus-visible,
.site-page .btn-secondary:focus-visible,
.site-page .faq-btn:focus-visible {
    outline: 3px solid var(--primary-soft);
    outline-offset: 3px;
}

/* Fundador */
.founder-note p { margin-top: 1rem; }
.founder-sign { margin-top: 1.25rem; font-style: italic; color: var(--text-muted); }

/* Listas de texto corrido */
.site-list { margin-top: 1.25rem; line-height: 1.7; padding-left: 1.25rem; }
.site-list li { margin-bottom: 0.35rem; }
.site-strong-close { margin-top: 1.25rem; font-weight: 600; }

/* Três pilares: 3 colunas no computador, 1 no celular */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.pillar {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.pillar h3 { margin-bottom: 0.75rem; }
.pillar p { font-size: 0.97rem; }
.pillar .pillar-close { margin-top: 1rem; font-weight: 600; color: var(--text); }

/* Como funciona: passos em coluna */
.how-steps { margin-top: 2rem; display: grid; gap: 1.5rem; }
.how-step h3 { margin-bottom: 0.4rem; }

/* Tabela de preços: no celular vira lista, sem rolagem lateral */
.price-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.price-table th, .price-table td {
    text-align: left;
    padding: 0.6rem 0.25rem;
    border-bottom: 1px solid var(--border);
}
.price-table td.price-value { text-align: right; font-weight: 600; white-space: nowrap; }
.price-table th:last-child { text-align: right; }
.price-examples { margin-top: 1rem; font-weight: 600; }
.price-included { margin-top: 1.5rem; }
.price-included h3 { margin-bottom: 0.5rem; }

/* Oferta final */
.offer-steps { margin-top: 1rem; padding-left: 1.25rem; line-height: 1.7; }
.offer-card {
    margin: 1.5rem auto 0;
    max-width: 620px;
    background: var(--bg);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: left;
}
.offer-card h3 { margin-bottom: 0.5rem; }

/* FAQ: acordeão com botão (aria-expanded/aria-controls) */
.faq { margin-top: 2rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item h3 { margin: 0; font-size: inherit; }
.faq-btn {
    width: 100%;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.15rem 0;
    background: none; border: 0;
    font: inherit; font-weight: 500; font-size: 1.05rem;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}
.faq-btn::after { content: "+"; font-size: 1.4rem; color: var(--text-muted); transition: transform 0.2s; flex-shrink: 0; }
.faq-btn[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-panel { padding: 0 0 1.15rem; color: var(--text-muted); }
.faq-panel p + p { margin-top: 0.5rem; }
.faq-panel .faq-extra { font-size: 0.9rem; }

@media (max-width: 760px) {
    .site-hero .cta-row { flex-direction: column; align-items: stretch; }
    .site-hero .cta-row .btn-lg { width: 100%; justify-content: center; white-space: normal; }
    .pillars { grid-template-columns: 1fr; }
    .price-table thead { display: none; }
    .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
    .price-table tr { border-bottom: 1px solid var(--border); padding: 0.5rem 0; }
    .price-table td { border: 0; padding: 0.15rem 0; }
    .price-table td.price-value { text-align: left; }
    .site-page .btn-lg { white-space: normal; }
    /* Cabeçalho em 375px: logo, "Entrar" e "Agendar demo" cabem sem cortar. */
    .site-page .site-header .brand-icon { height: 34px !important; }
    .site-page .site-header .brand-text { font-size: 0.95rem; }
    .site-page .nav-cta { gap: 0.25rem; }
    .site-page .nav-cta .btn-ghost { padding: 0.5rem 0.6rem; }
    .site-page .nav-cta .btn-primary { padding: 0.5rem 0.85rem; font-size: 0.85rem; }
}

/* Rodapé das páginas públicas: títulos são H2 (sem pular nível depois do
   conteúdo), com a mesma aparência do antigo H4. */
.site-footer .footer-h {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--text);
}
