body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #1e1e1e;
    color: #ccc;
}

header {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px;
    background: #252526;
}

header button {
    background: #25D366;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

header button:hover {
    background: #128C7E;
}

.container {
    display: flex;
    min-height: 100vh;
}

.menu-lateral {
    width: 220px;
    background: #2d2d30;
    padding: 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.menu-lateral h3 {
    color: #25D366;
    margin-top: 0;
}

.menu-lateral a {
    display: block;
    color: #ccc;
    text-decoration: none;
    padding: 8px 0;
    margin: 5px 0;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.menu-lateral a:hover,
.menu-lateral a.ativo {
    color: #25D366;
    border-left: 3px solid #25D366;
}

.conteudo {
    flex: 1;
    padding: 20px;
}

h1,
h2 {
    color: #25D366;
}

.exemplo {
    background: #252526;
    border-left: 4px solid #25D366;
    padding: 15px;
    margin: 20px 0;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

code {
    display: block;
    background: #1e1e1e;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    color: #d4d4d4;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    line-height: 1.5;
    border: 1px solid #333;
}

/* Cores estilo VSCode */
code .keyword {
    color: #569CD6;
}

code .string {
    color: #CE9178;
}

code .number {
    color: #B5CEA8;
}

code .comment {
    color: #6A9955;
}

code .function {
    color: #DCDCAA;
}

.btn-copiar {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #25D366;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
}

.btn-copiar:hover {
    background: #128C7E;
}

.secao {
    display: none;
}

.secao.ativo {
    display: block;
}