:root {
    --azul: #163456;
    --laranja: #f47212;
    --fundo: #f4f6fa;
    --cartao: #ffffff;
    --texto: #1e293b;
    --suave: #64748b;
    --borda: #e2e8f0;
}

@media (prefers-color-scheme: dark) {
    :root {
        --fundo: #0f172a;
        --cartao: #1e293b;
        --texto: #e2e8f0;
        --suave: #94a3b8;
        --borda: #334155;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--fundo);
    color: var(--texto);
    font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
    line-height: 1.7;
}

a { color: var(--azul); }
@media (prefers-color-scheme: dark) { a { color: #7fa3c8; } }

.topo {
    background: var(--azul);
    color: #fff;
}

.topo-conteudo {
    max-width: 960px;
    margin: 0 auto;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
}

.topo a { color: #fff; text-decoration: none; }
.topo .marca { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; }
.topo .marca img { height: 34px; width: auto; padding: 3px; border-radius: 8px; background: #fff; }
.topo .marca span span { color: var(--laranja); }

.topo nav { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .95rem; }
.topo nav a:hover { text-decoration: underline; }

main {
    max-width: 760px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

article {
    background: var(--cartao);
    border: 1px solid var(--borda);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
}

h1 { margin: 0 0 .5rem; font-size: 1.8rem; line-height: 1.25; color: var(--azul); }
@media (prefers-color-scheme: dark) { h1 { color: #fff; } }
h2 { margin: 2rem 0 .5rem; font-size: 1.3rem; }
h3 { margin: 1.25rem 0 .25rem; font-size: 1.05rem; }
p { margin: .75rem 0; }
.resumo { color: var(--suave); font-size: 1.05rem; }

ul, ol { padding-left: 1.4rem; }
li { margin: .35rem 0; }

.destaque {
    margin: 1.25rem 0;
    padding: .9rem 1rem;
    border-left: 4px solid var(--laranja);
    background: var(--fundo);
    border-radius: 0 8px 8px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: .95rem;
}
th, td { padding: .6rem; border-bottom: 1px solid var(--borda); text-align: left; vertical-align: top; }
th { color: var(--suave); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }

.cartoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.cartoes a {
    display: block;
    padding: 1rem;
    border: 1px solid var(--borda);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
}
.cartoes a:hover { border-color: var(--laranja); }
.cartoes strong { display: block; color: var(--azul); margin-bottom: .25rem; }
@media (prefers-color-scheme: dark) { .cartoes strong { color: #fff; } }
.cartoes span { color: var(--suave); font-size: .92rem; }

.chamada {
    display: inline-block;
    margin-top: 1rem;
    padding: .7rem 1.2rem;
    border-radius: 8px;
    background: var(--azul);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

footer {
    max-width: 760px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
    color: var(--suave);
    font-size: .88rem;
}
footer nav { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
