/* VozZup - páginas legais (política de privacidade) no visual da landing v2 */
.nav .btn-ghost i { display: inline-flex; width: 16px; height: 16px; margin-left: -4px; }
.nav .btn-ghost svg { width: 16px; height: 16px; }

.legal-head { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.crumb { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-3); margin-bottom: 22px; }
.crumb a:hover { color: var(--text); }
.crumb i, .crumb svg { width: 14px; height: 14px; display: inline-flex; }
.legal-head .lede { margin-top: 20px; }
.updated { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2); }
.updated i, .updated svg { width: 15px; height: 15px; display: inline-flex; color: var(--brand-text); }

.legal-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 64px; padding-top: 56px; padding-bottom: clamp(88px, 10vw, 140px); }
.toc { position: sticky; top: 96px; align-self: start; }
.toc-h { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.toc ol { counter-reset: t; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 6px 12px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; color: var(--text-2); transition: color .2s var(--ease), border-color .2s var(--ease); }
.toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); padding-top: 2px; }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--brand-text); border-left-color: var(--brand); }
.toc a.on::before { color: var(--brand-text); }

.legal-doc { max-width: 760px; }
.legal-doc section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.legal-doc section:last-child { border-bottom: 0; margin-bottom: 0; }
.legal-doc h2.legal-sec { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 18px; text-wrap: balance; }
.legal-doc h2.legal-sec .n { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--brand-text); letter-spacing: 0; flex-shrink: 0; }
.legal-doc h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
.legal-doc p { color: var(--text-2); font-size: 16px; line-height: 1.7; margin-top: 14px; text-wrap: pretty; }
.legal-doc h2 + p { margin-top: 0; }
.legal-doc strong { color: var(--text); font-weight: 600; }
.legal-doc em { font-style: normal; font-family: var(--font-mono); font-size: .9em; color: var(--text); }
.legal-doc a { color: var(--brand-text); text-decoration: underline; text-decoration-color: rgba(67,224,163,.35); text-underline-offset: 3px; }
.legal-doc a:hover { text-decoration-color: currentColor; }
.legal-doc ul { display: grid; gap: 12px; margin-top: 16px; }
.legal-doc ul li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; color: var(--text-2); line-height: 1.65; }
.legal-doc ul li .t { width: 24px; height: 24px; margin-top: 2px; border-radius: 7px; display: grid; place-items: center; color: var(--brand-text); background: var(--brand-soft); }
.legal-doc ul li .t svg { width: 14px; height: 14px; }
.legal-doc ul li:not(:has(.t))::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--brand); margin: 10px 0 0 9px; }
.legal-doc .callout { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; margin-top: 20px; padding: 18px 20px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line-2); border-left: 3px solid var(--brand); }
.legal-doc .callout > i { color: var(--brand-text); padding-top: 3px; }
.legal-doc .callout svg { width: 20px; height: 20px; }
.legal-doc .callout p { margin: 0; }
.legal-doc .contact-card { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 16px 18px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line-2); text-decoration: none; color: var(--text); transition: border-color .3s var(--ease); max-width: 440px; }
.legal-doc a.contact-card:hover { border-color: var(--line-3); }
.legal-doc .contact-card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); flex-shrink: 0; }
.legal-doc .contact-card .ic svg { width: 19px; height: 19px; }
.legal-doc .contact-card .lbl { display: block; font-size: 12.5px; color: var(--text-3); }
.legal-doc .contact-card .val { display: block; font-weight: 600; font-size: 15.5px; }
.legal-doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; }
.legal-doc th, .legal-doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: top; }
.legal-doc th { color: var(--text); font-weight: 600; }

@media (max-width: 960px) {
  .legal-grid { grid-template-columns: 1fr; gap: 40px; }
  .toc { position: static; padding: 18px 20px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line-2); }
  .toc ol { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); border-left: 0; }
  .toc a { margin-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .nav .btn-ghost { display: none; }
}

/* página "Migrar do ZapVoice" */
.mig-head { border-bottom: 0; }
.mig-head .h1 { max-width: 18ch; font-size: clamp(2.4rem, 1.2rem + 4vw, 4.6rem); line-height: 1; }
.mig-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mig-body { padding-bottom: clamp(88px, 10vw, 140px); }
.mig-sec { padding: 56px 0; border-top: 1px solid var(--line); }
.mig-sec > h2 { margin-bottom: 28px; }
.mig-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.mig-items li { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line-2); }
.mig-items .tchip { width: 38px; height: 38px; border-radius: 10px; font-size: 18px; }
.mig-items b { display: block; font-weight: 600; }
.mig-items small { display: block; color: var(--text-3); font-size: 13px; }
.mig-steps-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.mig-steps li { grid-template-columns: 56px minmax(0, 1fr); }
.mig-steps p b { color: var(--text); font-weight: 600; }
.mig-video { position: sticky; top: 96px; }
.mig-sec .faq { max-width: 860px; }
.mig-final { padding: 72px 0 0; border-top: 1px solid var(--line); text-align: left; }
.mig-final .lede { margin-top: 16px; }
@media (max-width: 960px) {
  .mig-steps-grid { grid-template-columns: 1fr; }
  .mig-video { position: static; }
}

/* páginas de tutorial por assunto (scripts/gen-tutoriais.py) */
.tut-video { padding-top: 8px; border-top: 0; }
.tut-video .vid-facade, .tut-video .vid-frame { max-width: 960px; }
.tut-side { position: sticky; top: 96px; display: grid; gap: 20px; }
.tut-cta { padding: 22px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line-2); }
.tut-cta p:not(.toc-h) { color: var(--text-2); font-size: 15px; margin-bottom: 18px; }
.tut-extra .vid-now { font-size: 13.5px; }
.tut-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.tut-more a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line-2); font-weight: 600; transition: border-color .3s var(--ease); }
.tut-more a:hover { border-color: var(--line-3); }
.tut-more .tchip { width: 34px; height: 34px; border-radius: 9px; font-size: 16px; }
@media (max-width: 960px) { .tut-side { position: static; } }

/* novidades: lista e post por versão (scripts/gen-novidades.mjs) */
.nov-head .h1 { max-width: 22ch; font-size: clamp(2.1rem, 1.2rem + 3vw, 3.8rem); line-height: 1.04; }
.nov-list { display: grid; gap: 12px; max-width: 860px; }
.nov-item { display: grid; gap: 10px; padding: 22px 24px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line-2); transition: border-color .3s var(--ease); }
.nov-item:hover { border-color: var(--line-3); }
.nov-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-3); }
.nov-meta b { color: var(--brand-text); font-weight: 500; }
.nov-item h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.2; }
.nov-item p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.nov-destaque .bento { margin-top: 0; }
.nov-post code { font-family: var(--font-mono); font-size: .9em; color: var(--text); }
.nov-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.nov-nav a { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line-2); font-weight: 600; transition: border-color .3s var(--ease); }
.nov-nav a:hover { border-color: var(--line-3); }
.nov-nav small { font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--text-3); }
