  :root{
    --bg: #0b0f14;
    --card: #0f1720;
    --muted: #9aa6b2;
    --text: #e6eef6;
    --accent: #e0b83a;
    --glass: rgba(255,255,255,0.03);
    --border: rgba(255,255,255,0.06);
    --table-header: rgba(224,184,58,0.15);
    --table-row-even: rgba(255,255,255,0.02);
    --table-row-hover: rgba(224,184,58,0.08);
  }
  *{box-sizing:border-box}
  body{
    margin:0; 
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    background: linear-gradient(180deg,var(--bg),#081018 140%); 
    color:var(--text); 
    -webkit-font-smoothing:antialiased;
    line-height:1.6; 
    padding: 70px 28px 28px 28px;
  }
  .container{max-width:1100px; margin:0 auto}
  header{margin-bottom:18px}
  h1{font-size:1.9rem; margin:0 0 6px; color:var(--accent)}
  h2{font-size:1.15rem; margin:18px 0 8px; color:var(--text)}
  h3{margin:12px 0 6px; color:var(--text)}
  p{margin:8px 0}
  .card{
    background:linear-gradient(180deg,var(--card),#0c1318); 
    border:1px solid var(--border); 
    padding:18px; 
    border-radius:10px; 
    margin-bottom:14px; 
    box-shadow:0 6px 18px rgba(2,6,12,0.6)
  }
  ul{margin:8px 0 12px 20px}
  li{margin:6px 0}
  .muted{color:var(--muted)}
  .note{
    background:var(--glass); 
    padding:10px 12px; 
    border-radius:8px; 
    border:1px solid rgba(255,255,255,0.03); 
    margin:10px 0
  }
  .small{font-size:0.95rem}
  
  /* TABELAS MELHORADAS */
  table{
    width:100%; 
    border-collapse:separate; 
    border-spacing:0;
    margin-top:12px;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(0,0,0,0.2);
  }
  th,td{
    padding:12px 14px; 
    text-align:left; 
    vertical-align:top;
    border-bottom:1px solid rgba(255,255,255,0.08);
  }
  th{
    background:var(--table-header);
    color:var(--accent); 
    font-weight:600;
    border-bottom:2px solid var(--accent);
    position: relative;
  }
  tbody tr:nth-child(even) {
    background:var(--table-row-even);
  }
  tbody tr:hover {
    background:var(--table-row-hover);
    transition: background 0.2s ease;
  }
  tbody tr:last-child td {
    border-bottom: none;
  }
  
  .grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:12px}
  .badge{
    display:inline-block; 
    padding:4px 8px; 
    border-radius:999px; 
    background:rgba(224,184,58,0.12); 
    color:var(--accent); 
    font-weight:600; 
    font-size:0.9rem
  }
  .divider{
    height:1px; 
    background:linear-gradient(90deg,transparent,var(--border),transparent); 
    margin:14px 0
  }
  footer{margin-top:18px; color:var(--muted); font-size:0.95rem}
  code{
    background:rgba(255,255,255,0.02); 
    padding:2px 6px; 
    border-radius:6px; 
    font-family:SFMono-Regular,Menlo,Monaco,monospace
  }
  
  /* CORREÇÃO: Aumentar o scroll-margin-top para compensar o menu */
  section[id] {
    scroll-margin-top: 80px;
  }

  /* Estilo para o menu fixo */
  .sticky-nav {
    background:#111;
    padding:12px 20px;
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:1000;
    border-bottom:1px solid #333;
    display: flex;
    justify-content: space-between;
  }
  .sticky-nav a {
    color:#fff;
    text-decoration:none;
    font-weight:600;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s;
  }
  .sticky-nav a:hover {
    background: rgba(255,255,255,0.1);
  }

  /* CORREÇÃO: Adicionar estilo para a classe emoji */
  .emoji {
    font-weight: 600;
  }
  
  .table-container {
    overflow-x: auto;
    margin: 12px 0;
  }
  
  .table-caption {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 8px;
    text-align: center;
    font-style: italic;
  }
      
    /* Código em linha */
    p code,
    li code,
    td code {
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        padding: .15em .45em;
        border-radius: 6px;
        font-family: Consolas, monospace;
    }
    
    /* Blocos de código */
    pre {
        background: #1b1f27;          /* um pouco mais claro que o fundo */
        color: #e6edf3;
        border: 1px solid #31363f;
        border-left: 4px solid #4f8cff; /* destaque discreto */
        border-radius: 8px;
        padding: 16px;
        overflow-x: auto;
        margin: 1.5rem 0;
        box-shadow: 0 2px 8px rgba(0,0,0,.25);
        position: relative;
    }
    
    pre code {
        font-family: Consolas, "Courier New", monospace;
        font-size: 0.92rem;
        line-height: 1.5;
    }