/* =========================================================
   Páginas institucionais — Sobre nós, Termos de Uso e
   Política de Privacidade. Usam os tokens, fontes, botões e o
   rodapé de styles.css; aqui fica só o layout de documento.
   ========================================================= */
.page { background: #fff; }

/* Cabeçalho das páginas internas */
.phdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 rgba(10,10,10,.07); }
.phdr__in { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.phdr__nav { display: flex; align-items: center; gap: 30px; font: 500 14px/1 var(--f-b); color: var(--mut); }
.phdr__nav a { position: relative; padding: 10px 0; transition: color .25s; }
.phdr__nav a:hover, .phdr__nav a[aria-current="page"] { color: var(--ink); }
.phdr__nav a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--y); }
.phdr__back { display: none; align-items: center; gap: 8px; min-height: 44px; font: 500 14px/1 var(--f-b); color: var(--ink); }
.phdr__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Abertura do documento */
.doc__hero { padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid #ECEBE5;
  background: radial-gradient(60% 120% at 88% 0%, rgba(255,186,0,.13), transparent 62%), #F7F6F2; }
.doc__hero .label { margin-bottom: 22px; }
.doc__title { max-width: 17ch; font: 600 clamp(2.5rem, 5.2vw, 4.4rem)/1.02 var(--f-d); letter-spacing: -.045em; color: var(--ink); text-wrap: balance; }
.doc__lead { margin-top: 22px; max-width: 60ch; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; color: #474747; }
.doc__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: 14px; color: #5f5f5f; }
.doc__meta span { display: inline-flex; align-items: center; gap: 8px; }
.doc__meta span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--y); }
.doc__review { display: flex; gap: 12px; max-width: 72ch; margin-top: 28px; padding: 14px 16px; border-radius: 12px; background: #FFF3CF; box-shadow: inset 0 0 0 1px rgba(224,168,0,.5); font-size: 14.5px; line-height: 1.55; color: #4f3a00; }
.doc__review b { color: #2e2200; }
.doc__review svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: #8A6400; stroke-width: 2; stroke-linecap: round; }

/* Corpo: índice fixo à esquerda, texto à direita */
.doc__body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8.4fr); gap: clamp(32px, 5vw, 88px); align-items: start; padding-top: clamp(44px, 5vw, 76px); padding-bottom: clamp(80px, 9vw, 132px); }
.doc__toc { position: sticky; top: calc(var(--hdr) + 28px); }
.doc__toc summary { list-style: none; margin-bottom: 14px; font: 500 12px/1 var(--f-b); letter-spacing: .12em; text-transform: uppercase; color: #5f5f5f; }
.doc__toc summary::-webkit-details-marker { display: none; }
.doc__toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid #E6E5DF; }
.doc__toc a { display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: #555; transition: color .2s, border-color .2s; }
.doc__toc a:hover, .doc__toc a.is-on { color: var(--ink); border-left-color: var(--y); }

.doc__text { max-width: 72ch; font-size: 17px; line-height: 1.75; color: #2a2a2a; }
.doc__text > section + section { margin-top: 56px; }
.doc__text h2 { scroll-margin-top: calc(var(--hdr) + 24px); margin-bottom: 14px; font: 600 clamp(1.45rem, 2vw, 1.8rem)/1.22 var(--f-d); letter-spacing: -.025em; color: var(--ink); }
.doc__text h2::before { content: ''; display: block; width: 26px; height: 3px; margin-bottom: 18px; border-radius: 3px; background: var(--y); }
.doc__text h3 { margin: 28px 0 8px; font: 600 18.5px/1.3 var(--f-d); letter-spacing: -.015em; color: var(--ink); }
.doc__text p + p, .doc__text p + ul, .doc__text ul + p, .doc__text p + .doc__card, .doc__text .doc__card + p { margin-top: 14px; }
.doc__text ul { list-style: none; margin: 0; padding: 0; }
.doc__text li { position: relative; margin-top: 9px; padding-left: 22px; }
.doc__text li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--y); }
.doc__text strong { font-weight: 600; color: var(--ink); }
.doc__text a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.doc__text a:hover { text-decoration-color: var(--ink); }
.doc .pend { margin: 0 1px; padding: 1px 7px; border-color: #D9A300; background: #FFF3CF; color: #5a4100; font-size: .88em; }

/* Cartão de dados da empresa */
.doc__card { margin: 0; padding: 6px 22px; border-radius: 16px; background: #F7F6F2; box-shadow: inset 0 0 0 1px #ECEBE5; }
.doc__card div { display: grid; grid-template-columns: minmax(0, 15ch) minmax(0, 1fr); gap: 16px; padding: 13px 0; border-top: 1px solid #E8E7E1; font-size: 15.5px; line-height: 1.55; }
.doc__card div:first-child { border-top: 0; }
.doc__card dt { color: #5f5f5f; }
.doc__card dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Chamada final (Sobre nós) */
.doc__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 64px; padding: 28px; border-radius: 20px; background: var(--ink); color: #fff; }
.doc__cta p { font: 600 clamp(1.25rem, 2vw, 1.6rem)/1.25 var(--f-d); letter-spacing: -.02em; max-width: 24ch; }
.doc__cta small { display: block; margin-top: 8px; font: 500 13px/1.4 var(--f-b); letter-spacing: 0; color: #a8a8a8; }

@media (max-width: 860px) {
  .phdr__nav { display: none; }
  .phdr__back { display: inline-flex; }
  .phdr .btn { display: none; }
  .doc__body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doc__toc { position: static; border-radius: 14px; box-shadow: inset 0 0 0 1px #E6E5DF; padding: 0 16px; }
  .doc__toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin: 0; cursor: pointer; }
  .doc__toc summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid #5f5f5f; border-bottom: 2px solid #5f5f5f; transform: translateY(-2px) rotate(45deg); transition: transform .3s; }
  .doc__toc[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .doc__toc ol { margin-bottom: 14px; }
  .doc__text { font-size: 16.5px; line-height: 1.7; }
  .doc__text > section + section { margin-top: 44px; }
  .doc__card { padding: 4px 16px; }
  .doc__card div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .doc__cta { padding: 24px 20px; }
  .doc__cta .btn { width: 100%; }
}
@media (min-width: 861px) { .doc__toc summary { pointer-events: none; } }
