/* Páginas públicas: contato, FAQ, termos, privacidade, LGPD */

.pub-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 1.25rem 1.25rem 3.5rem;
    color: #0f172a;
}

.pub-page--wide {
    max-width: 1040px;
}

.pub-page--public {
    padding-top: calc(var(--header-height, 70px) + 1.5rem);
}

.pub-hero {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.pub-hero h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.pub-hero p {
    margin: 0;
    max-width: 40rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #64748b;
}

.pub-meta {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.pub-legal h2 {
    margin: 2rem 0 0.65rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.pub-legal h3 {
    margin: 1.35rem 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 650;
}

.pub-legal p,
.pub-legal li {
    color: #334155;
    line-height: 1.7;
    font-size: 0.98rem;
}

.pub-legal p { margin: 0 0 0.85rem; }

.pub-legal ul {
    margin: 0 0 1rem 1.15rem;
    padding: 0;
}

.pub-legal li { margin-bottom: 0.4rem; }

.pub-legal a {
    color: #2f9e3f;
    font-weight: 600;
}

.pub-contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.pub-contact-form,
.lp-contact-form {
    position: relative;
}

@media (min-width: 860px) {
    .pub-contact-layout {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: start;
    }
}

.pub-contact-aside {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.35rem 1.4rem;
}

.pub-contact-aside h2 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.pub-contact-aside p {
    margin: 0 0 1rem;
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

.pub-contact-aside a {
    color: #2f9e3f;
    font-weight: 600;
}

.pub-contact-aside ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pub-contact-aside li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    color: #334155;
    font-size: 0.95rem;
}

.pub-contact-aside li i {
    color: #47c154;
    margin-top: 0.2rem;
}

.site-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

@media (min-width: 640px) {
    .site-contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.site-contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.site-contact-field--full { grid-column: 1 / -1; }

.site-contact-field em {
    font-style: normal;
    font-weight: 500;
    color: #94a3b8;
}

.site-contact-field input,
.site-contact-field select,
.site-contact-field textarea {
    font: inherit;
    font-weight: 500;
    color: #0f172a;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    background: #fff;
}

.site-contact-field input:focus,
.site-contact-field select:focus,
.site-contact-field textarea:focus {
    outline: none;
    border-color: #47c154;
    box-shadow: 0 0 0 3px rgba(71, 193, 84, 0.18);
}

.site-contact-field textarea { resize: vertical; min-height: 140px; }

.site-contact-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-contact-hint {
    margin: 0.9rem 0 1rem;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}

.site-contact-hint a { color: #2f9e3f; }

.site-contact-status {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
}

.site-contact-status.is-ok {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.site-contact-status.is-err {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.pub-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 12px;
    padding: 0.8rem 1.25rem;
    background: linear-gradient(135deg, #47c154, #2f9e3f);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.pub-btn:disabled { opacity: 0.65; cursor: wait; }

.pub-faq-list {
    display: grid;
    gap: 0.7rem;
}

.pub-faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}

.pub-faq-q {
    width: 100%;
    padding: 1.05rem 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-weight: 650;
    font-size: 1.02rem;
    background: none;
    border: 0;
    text-align: left;
    color: #0f172a;
}

.pub-faq-q i {
    color: #47c154;
    transition: transform .25s ease;
}

.pub-faq-item.is-open .pub-faq-q i { transform: rotate(180deg); }

.pub-faq-a {
    display: none;
    padding: 0 1.2rem 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.pub-faq-item.is-open .pub-faq-a { display: block; }

.pub-legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.pub-legal-nav a {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 650;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    color: #475569;
    background: #fff;
}

.pub-legal-nav a.is-active {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}
