/* Estilos das páginas de guia (mesmo layout da documentação) */
.doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.doc aside { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; padding-right: 6px; }
.doc aside h5 { font-family: 'Outfit'; margin-bottom: 10px; color: #fff; }
.doc aside a { display: block; padding: 7px 12px; border-radius: 9px; color: var(--mut); font-size: 0.9rem; border-left: 2px solid transparent; }
.doc aside a:hover { color: #fff; }
.doc aside a.on { color: #fff; background: rgba(124, 92, 255, 0.14); border-left-color: var(--p2); }
.doc article h1 { font-family: 'Outfit'; font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 8px 0 18px; }
.doc article h2 { font-family: 'Outfit'; font-size: 1.5rem; margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.doc article h3 { font-family: 'Outfit'; font-size: 1.15rem; margin: 24px 0 10px; color: #fff; }
.doc article p { color: #cfcce6; margin-bottom: 14px; }
.doc article li { color: #cfcce6; margin: 6px 0; }
.doc article a { color: #b9a6ff; text-decoration: underline; text-underline-offset: 3px; }
.doc article ul, .doc article ol { margin: 0 0 18px 22px; }
.doc article code { background: rgba(255, 255, 255, 0.08); padding: 2px 6px; border-radius: 6px; font-size: 0.92em; }
.doc article pre { position: relative; background: #0b0a14; border: 1px solid var(--line); border-radius: 14px; padding: 18px; overflow: auto; margin: 0 0 20px; }
.doc article pre code { background: none; padding: 0; font-size: 0.88rem; line-height: 1.6; }
.doc-copy { position: absolute; top: 8px; right: 8px; font: 600 11px 'Inter', sans-serif; color: #cfcce6; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; cursor: pointer; }
.doc-copy:hover { color: #fff; background: rgba(124, 92, 255, 0.35); }
.doc article blockquote { border-left: 3px solid var(--p2); background: rgba(124, 92, 255, 0.08); padding: 12px 18px; border-radius: 0 12px 12px 0; margin: 0 0 18px; color: #cfcce6; }
.doc-tbl { margin-bottom: 20px; min-width: 480px; }
.doc-tbl td { vertical-align: top; color: #cfcce6; }
.doc-end { text-align: center; color: var(--mut); margin-top: 30px; }
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; }
  .doc aside { position: static; max-height: none; }
  .doc aside nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .doc aside a { border: 1px solid var(--line); }
}
