/* Documentos jurídicos da Central (/legal/...). Cópia fiel do estilo de
   a política de privacidade do site da base (cabeçalho verde, faixa clara,
   Poppins, pílulas para trocar de documento). Arquivo só destas páginas. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { background: #fff; margin: 0; color: #101b34; font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
[hidden] { display: none !important; }

.doc-wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; top: auto; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #101b34; padding: 10px 16px; border-radius: 4px; z-index: 1000; }

/* Cabeçalho da marca (verde + logo branco) */
.doc-header { background: var(--green-700); position: sticky; top: 0; z-index: 100; }
.doc-header .bar { max-width: 820px; margin: 0 auto; padding: 0 24px; height: 74px; display: flex; align-items: center; justify-content: space-between; }
.doc-header .logo img { height: 26px; width: auto; display: block; filter: brightness(0) invert(1); }
.doc-header .back { color: #fff; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.doc-header .back:hover { opacity: .75; }
.doc-header .back svg { width: 13px; height: 13px; }

/* Pílulas de documento (mesmo "switch" do site) */
.switch { position: sticky; top: 74px; z-index: 90; background: #fff; border-bottom: 1px solid #e2e6e2; }
.switch .switch-wrap { max-width: 820px; margin: 0 auto; padding: 12px 24px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.switch a { font-size: 13px; font-weight: 500; letter-spacing: .04em; color: #5b5f66; text-decoration: none; padding: 9px 18px; border: 1px solid #e2e6e2; border-radius: 999px; transition: .15s; white-space: nowrap; }
.switch a:hover { border-color: var(--green-700); color: var(--green-700); }
.switch a.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.switch .cadeado { font-size: 11px; opacity: .7; }
/* Documento sem acesso: pílula apagada, sem link e sem hover (QA V.200 item 7). */
.switch .is-travado { font-size: 13px; font-weight: 500; letter-spacing: .04em; color: #a3a8a5; background: #f4f5f4; padding: 9px 18px; border: 1px dashed #d5dad6; border-radius: 999px; white-space: nowrap; cursor: not-allowed; user-select: none; }
.switch .is-travado.is-active { color: #7d837f; border-style: solid; }

/* Faixa de título */
.doc-hero { background: #e8f2ea; padding: 60px 0 52px; }
.doc-hero .eyebrow { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--green-700); font-weight: 500; margin: 0 0 18px; }
.doc-hero h1 { font-weight: 300; font-size: 44px; line-height: 1.12; letter-spacing: .005em; margin: 0 0 18px; color: #101b34; text-wrap: balance; }
.doc-hero .updated { font-size: 14px; line-height: 1.7; color: #5b5f66; margin: 0; }

/* Corpo */
.doc { padding: 52px 0 8px; color: #101b34; font-weight: 300; }
.doc p, .doc li { font-size: 17px; line-height: 1.78; font-weight: 300; }
.doc .lead { font-size: 19px; line-height: 1.75; margin: 0 0 38px; }
.doc p { margin: 0 0 18px; }
.doc strong { font-weight: 500; }

.doc .toc { border: 1px solid #e2e6e2; border-radius: 6px; padding: 24px 26px; margin: 0 0 50px; background: #fbfcfb; }
.doc .toc h2 { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--green-700); font-weight: 600; margin: 0 0 14px; }
.doc .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 36px; }
.doc .toc li { margin: 0 0 8px; font-size: 15px; line-height: 1.5; list-style: decimal; break-inside: avoid; }
.doc .toc a { color: #101b34; text-decoration: none; }
.doc .toc a:hover { color: var(--green-700); text-decoration: underline; }

.doc section.block { margin: 0 0 44px; scroll-margin-top: 150px; }
.doc h2.section-title { font-weight: 300; font-size: 27px; line-height: 1.25; color: var(--green-700); margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid #e2e6e2; letter-spacing: .01em; }
.doc h3 { font-weight: 500; font-size: 18px; color: #101b34; margin: 32px 0 10px; letter-spacing: .005em; }
.doc h4 { font-weight: 600; font-size: 16px; color: #101b34; margin: 24px 0 6px; }

.doc ul, .doc ol.list { margin: 0 0 18px; padding-left: 22px; }
.doc ul li { list-style: disc; }
.doc ol.list li { list-style: decimal; }
.doc li { margin: 0 0 10px; }
.doc a { color: var(--green-700); }

.doc .table-wrap { overflow-x: auto; margin: 0 0 22px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { border: 1px solid #e2e6e2; padding: 10px 14px; text-align: left; vertical-align: top; line-height: 1.6; font-weight: 300; }
.doc thead th { background: var(--green-700); color: #fff; font-weight: 500; letter-spacing: .02em; }
.doc tbody th { background: #fbfcfb; font-weight: 500; }

.doc .callout { background: #e8f2ea; border-radius: 6px; padding: 24px 26px; margin: 8px 0 36px; }
.doc .callout p:last-child { margin: 0; }
.doc .callout--alerta { background: #fdf3e2; }

/* Rodapé */
.doc-footer { border-top: 1px solid #e2e6e2; padding: 28px 0 40px; margin-top: 40px; color: #5b5f66; font-size: 13px; }
.doc-footer p { margin: 0 0 6px; }
.doc-footer a { color: var(--green-700); text-decoration: none; }
.doc-footer a:hover { text-decoration: underline; }
.doc-footer .links span { margin: 0 6px; color: #c3c8c4; }

@media (max-width: 640px) {
  .doc-hero h1 { font-size: 32px; }
  .doc .toc ol { columns: 1; }
  .doc-header .back span { display: none; }
  .switch { position: static; }
  .switch .switch-wrap { padding: 10px 24px; }
  .switch a { padding: 8px 14px; font-size: 12.5px; }
  .doc table { font-size: 13.5px; }
  .doc th, .doc td { padding: 8px 10px; }
}

@media print {
  .doc-header, .switch, .skip { display: none; }
  .doc-hero { padding: 20px 0; }
}
