

:root {
  --lima: #B7FF00; --lima-escuro: #4F6E00; --grafite: #0B0C0E;
  --fundo: #FFFFFF; --tinta: #16181B; --tinta-2: #4A4F57; --tinta-3: #6B717A;
  --borda: #E4E6E9; --suave: #F5F6F7;
}
@media (prefers-color-scheme: dark) {
  :root { --fundo: #0F1113; --tinta: #F1F2F0; --tinta-2: #C3C7CC; --tinta-3: #9097A0;
          --borda: #262A2F; --suave: #171A1D; --lima-escuro: var(--lima); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fundo); color: var(--tinta);
  font: 16px/1.65 "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; }

.doc-topo { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(16px, calc((100vw - 760px) / 2)); background: var(--grafite); }
.doc-marca { color: #F4F5F3; text-decoration: none; font-size: 22px; font-weight: 800; }
.doc-topo nav { display: flex; gap: 18px; font-size: 14px; }
.doc-topo nav a { color: rgba(244, 245, 243, .7); text-decoration: none; }
.doc-topo nav a:hover, .doc-topo nav a[aria-current="page"] { color: var(--lima); }

.marca-texto { white-space: nowrap; letter-spacing: -.02em; }
.marca-texto em { font-style: normal; color: var(--lima); }
.marca-texto em:first-child { position: relative; margin-right: .17em; }
.marca-texto em:first-child::after { content: ""; position: absolute; right: -.165em; bottom: .47em;
  width: .17em; height: .17em; border-radius: 50%; background: currentColor; }

.doc { max-width: 760px; margin: 0 auto; padding: 40px 16px 56px; }
.doc-olho { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--tinta-3); }
.doc h1 { margin: 6px 0 12px; font-size: clamp(30px, 6vw, 40px); line-height: 1.15; letter-spacing: -.02em; }
.doc-lead { margin: 0 0 28px; font-size: 18px; color: var(--tinta-2); }
.doc h2 { margin: 44px 0 10px; font-size: 21px; line-height: 1.3; letter-spacing: -.01em; scroll-margin-top: 16px; }
.doc p, .doc li { color: var(--tinta-2); }
.doc b { color: var(--tinta); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--tinta); text-decoration: underline; text-decoration-color: var(--lima-escuro);
  text-decoration-thickness: 2px; text-underline-offset: 3px; }
.doc a:hover { background: var(--lima); color: var(--grafite); }

.doc-indice { padding: 18px 22px; border: 1px solid var(--borda); border-radius: 12px; background: var(--suave); }
.doc-indice ol { margin: 0; padding-left: 20px; columns: 2 260px; column-gap: 28px; }
.doc-indice li { margin: 3px 0; break-inside: avoid; }
.doc-indice a { text-decoration: none; }
.doc-indice a:hover { text-decoration: underline; background: none; color: var(--tinta); }

.doc-tabela { overflow-x: auto; margin: 14px 0; border: 1px solid var(--borda); border-radius: 12px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.doc th, .doc td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--borda); }
.doc th { background: var(--suave); color: var(--tinta); font-weight: 700; white-space: nowrap; }
.doc td { color: var(--tinta-2); min-width: 150px; }
.doc tr:last-child td { border-bottom: 0; }

.doc-anexo { margin-top: 56px; padding-top: 8px; border-top: 3px solid var(--lima); }
.doc-clausulas li { margin: 10px 0; }

.doc-pe { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  max-width: 760px; margin: 0 auto; padding: 20px 16px 36px; border-top: 1px solid var(--borda);
  font-size: 13px; color: var(--tinta-3); }
.doc-pe a { color: inherit; }

@media print {
  .doc-topo nav, .doc-indice { display: none; }
  .doc-topo { background: none; padding: 0 0 12px; }
  .doc-marca { color: #000; }
  body { font-size: 12pt; }
}


.doc-topo { position: sticky; top: 0; z-index: 10; }
.doc-topo nav { overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.doc-topo nav::-webkit-scrollbar { display: none; }
.doc h2 { scroll-margin-top: 72px; }
@media (max-width: 560px) {
  .doc-topo { gap: 12px; }
  .doc-topo nav { gap: 14px; font-size: 13px; }
}


.sg-selos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 24px; }
.sg-selo { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
  background: var(--suave); border: 1px solid var(--borda); color: var(--tinta); text-decoration: none; }
.doc a.sg-selo { text-decoration: none; }
.doc a.sg-selo:hover { background: var(--suave); color: var(--tinta); border-color: var(--lima-escuro); }
.sg-selo-n { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lima); color: var(--grafite); font-weight: 800; font-size: 15px; }
.sg-selo b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.sg-selo small { display: block; font-size: 12.5px; color: var(--tinta-3); line-height: 1.35; }
.sg-contato { font-size: 13px; color: var(--tinta-3); }

.sg-selo:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 420px) { .sg-selos { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .nav-longo { display: none; } }
