/* Ajustes do tema WordPress: substitui estilos que estavam inline no site original. */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal; }
.skip-link:focus { clip: auto; clip-path: none; width: auto; height: auto; margin: 0; padding: 12px 18px; left: 12px; top: 12px; z-index: 100000; background: #fff; color: #051026; border-radius: 8px; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.footer-socials { display: flex; gap: 12px; margin-top: 14px; }
.footer-social-link { color: var(--text-muted); font-size: 20px; transition: color .2s; }
.footer-social-link:hover { color: var(--brand-on-dark); }
.footer-ico { color: var(--brand-cyan); }
.footer-nav li i { margin-right: 4px; }
.footer-nav li.is-cta a, .footer-nav .footer-cta a { color: var(--brand-on-dark); font-weight: 700; }
.footer-nav li.is-cta a { font-weight: 600; }
.mobile-sticky-btn i { font-size: 18px; }
.mobile-drawer-bottom .btn-main { width: 100%; }

/* Mensagem de retorno dos formulários (leads.js) */
.lead-status { margin-top: 14px; font-size: 14px; line-height: 1.5; text-align: center; border-radius: 10px; }
.lead-status:empty { display: none; }
.lead-status.is-sending { color: var(--text-muted); }
.lead-status.is-ok { color: #34d399; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.35); padding: 12px 16px; }
.lead-status.is-error { color: #fca5a5; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.35); padding: 12px 16px; }

/* Rodapé: links legais */
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: var(--text-muted); font-size: 13px; }
.footer-legal a:hover { color: var(--brand-on-dark); }

/* Páginas legais e simples */
.page-legal { background: var(--ink-dark); }
.legal-hero { padding: clamp(120px, 14vw, 170px) 0 clamp(30px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.legal-hero .container, .legal-body .container { max-width: 860px; }
.legal-hero h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; color: #fff; line-height: 1.15; margin: 14px 0 10px; }
.legal-updated { color: var(--text-muted); font-size: 14px; margin: 0; }
.legal-body { padding: clamp(36px, 6vw, 70px) 0 clamp(70px, 9vw, 120px); }
.legal-content { color: var(--text); font-size: 16px; line-height: 1.75; }
.legal-content h2 { color: #fff; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; margin: 38px 0 12px; }
.legal-content p, .legal-content li { color: var(--text); }
.legal-content ul, .legal-content ol { padding-left: 22px; margin: 0 0 16px; }
.legal-content a { color: var(--brand-on-dark); text-decoration: underline; }

/* Página 404 */
.page-404 { background: var(--ink-dark); }
.section-404 { min-height: 70vh; display: flex; align-items: center; text-align: center; padding: clamp(120px, 14vw, 170px) 0 80px; }
.section-404 .container { max-width: 680px; }
.section-404 h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; color: #fff; margin: 16px 0 12px; line-height: 1.1; }
.section-404 p { color: var(--text-muted); font-size: 17px; line-height: 1.6; margin: 0 0 26px; }
.section-404-search { max-width: 520px; margin: 0 auto 26px; }
.section-404-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Lenis (scroll suave por JS) x scroll-behavior: smooth do CSS.
   Com os dois ligados, cada quadro do Lenis dispara uma animação de scroll nativa que reinicia a seguinte:
   a página demora segundos para começar a rolar. Com o Lenis ativo, o CSS precisa ficar em "auto". */
html.lenis, html.lenis.lenis-smooth, html.lenis body { scroll-behavior: auto !important; }

/* Marketing BPO: sem linhas de divisa entre as seções. */
body.page-bpo main section,
body.page-bpo section[class*="section-"] { border-top: 0 !important; border-bottom: 0 !important; }
