*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f1f5f9;
    color:#0f172a;
}

.topo{
    background:linear-gradient(135deg,#020617,#1e3a8a);
    color:white;
    padding:28px 20px;
    text-align:center;
}

.topo h1{
    font-size:2rem;
    margin-bottom:8px;
}

.topo p{
    color:#cbd5e1;
}

.layout{
    display:flex;
    min-height:calc(100vh - 120px);
}

.menu{
    width:280px;
    background:#0f172a;
    color:white;
    padding:24px 18px;
}

.menu h2{
    font-size:1.1rem;
    margin-bottom:18px;
    color:#93c5fd;
}

.menu a{
    display:block;
    color:#e2e8f0;
    text-decoration:none;
    padding:12px 14px;
    border-radius:8px;
    margin-bottom:8px;
    background:rgba(255,255,255,0.06);
}

.menu a:hover,
.menu a.ativo{
    background:#2563eb;
    color:white;
}

.conteudo{
    flex:1;
    padding:35px;
    max-width:1000px;
    margin:0 auto;
}

.card{
    background:white;
    padding:30px;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(15,23,42,0.10);
    margin-bottom:25px;
}

.card h2{
    color:#1e3a8a;
    margin-bottom:16px;
}

.card h3{
    color:#0f172a;
    margin-top:24px;
    margin-bottom:10px;
}

.card p{
    line-height:1.8;
    margin-bottom:14px;
}

ul{
    margin-left:22px;
    line-height:1.8;
}

pre{
    background:#020617;
    color:#e2e8f0;
    padding:18px;
    border-radius:12px;
    overflow-x:auto;
    margin:18px 0;
}

code{
    font-family:Consolas, monospace;
    font-size:0.95rem;
}

.destaque{
    background:#dbeafe;
    border-left:5px solid #2563eb;
    padding:16px;
    border-radius:8px;
    margin:18px 0;
}

.navegacao{
    display:flex;
    justify-content:space-between;
    gap:15px;
    margin-top:25px;
}

.botao{
    display:inline-block;
    text-decoration:none;
    background:#2563eb;
    color:white;
    padding:14px 22px;
    border-radius:10px;
    font-weight:bold;
}

.botao:hover{
    background:#1d4ed8;
}

@media(max-width:800px){
    .layout{
        flex-direction:column;
    }

    .menu{
        width:100%;
    }

    .conteudo{
        padding:22px;
    }

    .card{
        padding:22px;
    }
}

footer.boardinfo{
    border-top:1px solid var(--line);
    padding-top:1px;
    margin-top:1px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:5px;
    font-family:'JetBrains Mono', monospace;
    font-size:0.74rem;
    color:var(--muted);
    letter-spacing:0.05em;
    text-transform:uppercase;
}

.card-footer{
    background:white;
    padding:10px;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(15,23,42,0.10);
    margin-bottom:25px;
}
