:root { --green: #3f8f3a; --green-dark: #2b6427; --cream: #fbf7ec; --card: #fff; --line: #e6dfcc; --text: #2a2a24; --muted: #6b6a5e; --stripe: #f6f1e2; }
@media (prefers-color-scheme: dark) {
  :root { --green: #3f8f3a; --green-dark: #9fd58f; --cream: #1c1f1a; --card: #262a23; --line: #3a3f35; --text: #ecebe3; --muted: #a9a89b; --stripe: #2b3027; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--cream); }
header { background: #3f8f3a; color: #fff; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
header a { color: #fff; text-decoration: none; }
.marca { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.marca img { border-radius: 9px; }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
nav a { opacity: .9; padding: 2px 0; border-bottom: 2px solid transparent; }
nav a[aria-current] { opacity: 1; border-bottom-color: #fff; }
main { max-width: 960px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { color: var(--green-dark); line-height: 1.25; }
h2 { color: var(--green-dark); margin-top: 36px; font-size: 21px; }
a { color: var(--green-dark); }
.lead { font-size: 18px; }
.muted { color: var(--muted); font-size: 14px; }
.button { display: inline-block; background: var(--green); color: #fff; padding: 12px 22px; border-radius: 10px; text-decoration: none; font-weight: 700; margin: 4px 4px 4px 0; }
.button.secundario { background: transparent; color: var(--green-dark); box-shadow: inset 0 0 0 2px var(--green); }
.icon { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; } }
figure { margin: 16px 0; }
figure img { width: 100%; height: auto; border-radius: 14px; display: block; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
main > figure { max-width: 300px; }
@media (min-width: 721px) { main > figure { float: right; margin: 4px 0 16px 24px; } }
.tabela, .galeria, .cards { clear: both; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.galeria { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--text); }
.card strong { display: block; color: var(--green-dark); font-size: 17px; }
.card span { font-size: 15px; color: var(--muted); }
.card:hover { border-color: var(--green); }
.tabela { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--stripe); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.colunas { columns: 2 280px; }
.dicas li { margin-bottom: 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; }
article + article { border-top: 1px solid var(--line); }
code { background: var(--stripe); padding: 1px 5px; border-radius: 4px; }
footer { text-align: center; padding: 24px 16px 32px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
footer a { margin: 0 8px; }
footer .button { margin: 0; }
