:root {
  --green: #0a7d46;
  --green-strong: #066238;
  --green-deep: #062e1d;
  --green-soft: #eaf4ee;
  --black: #0f1110;
  --ink: #1a221d;
  --muted: #58675f;
  --paper: #f5f7f5;
  --white: #ffffff;
  --line: #dfe7e2;
  --shadow: 0 18px 40px rgba(12, 28, 21, 0.08);
  --radius: 20px;
  --max: 1180px;
  --header-height: 76px;
  --transition: 0.22s ease;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Bahnschrift", "DIN Alternate", "DIN 1451 Std", "Arial Narrow", Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.65; }
body.dark-mode { --green: #1a9a5f; --green-strong: #22b56e; --green-deep: #0d2c22; --green-soft: #112a1f; --black: #111714; --ink: #edf4ef; --muted: #b7c4bd; --paper: #0f1512; --white: #111918; --line: #1e2c28; --shadow: 0 18px 40px rgba(0,0,0,0.25); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--black); padding: 10px 14px; z-index: 1100; }
.skip-link:focus { left: 16px; top: 16px; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body.dark-mode .site-header { background: rgba(16, 21, 18, 0.9); }
.header-inner { height: var(--header-height); display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: var(--shadow); flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; font-size: 0.7rem; }
.brand-text strong { font-size: 1.05rem; letter-spacing: 0.02em; }
.nav-layout { display: flex; align-items: center; width: 100%; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a, .dropbtn { padding: 10px 12px; border-radius: 10px; font-size: 0.88rem; font-weight: 700; color: var(--ink); transition: var(--transition); }
.nav a:hover, .nav a.active, .dropbtn:hover { background: var(--green-soft); color: var(--green-strong); }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; display: none; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown-menu.is-open { display: block; }
.dropdown-menu a { display: block; padding: 9px 10px; border-radius: 10px; }
.dropdown-menu a:hover { background: var(--green-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.icon-btn { width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; display: grid; place-items: center; color: var(--ink); transition: var(--transition); }
.icon-btn:hover { border-color: var(--green); color: var(--green-strong); }
.site-search { width: 220px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,0.5); }
.site-search:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(10,125,70,0.12); }
.status-bar { background: var(--green-deep); color: var(--white); }
.status-bar .container { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 0; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; }
.status-indicator { width: 10px; height: 10px; border-radius: 50%; background: #3ad48d; box-shadow: 0 0 0 6px rgba(58,212,141,0.14); }
.hero { position: relative; min-height: 670px; display: grid; align-items: center; background: linear-gradient(90deg, rgba(9,20,15,0.82), rgba(9,20,15,0.44)); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(4,13,9,0.7), rgba(4,13,9,0.6)), url("./bandeira-br.jpg"); background-size: cover; background-position: center; filter: saturate(0.9) contrast(1.08); opacity: 0.5; }
.hero-content { position: relative; z-index: 1; padding: 140px 0 90px; max-width: 780px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; border-radius: 999px; padding: 8px 14px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; font-weight: 800; color: #edf4ee; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 0.98; margin: 18px 0 18px; letter-spacing: -0.05em; color: var(--white); }
.hero p { max-width: 660px; font-size: clamp(1.1rem, 2vw, 1.5rem); color: rgba(255,255,255,0.9); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 12px; padding: 12px 18px; font-weight: 800; transition: var(--transition); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: #0d9c57; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-soft { background: var(--green-soft); color: var(--green-strong); }
.section { padding: 88px 0; }
.section.alt { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.kicker { display: inline-block; color: var(--green-strong); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; }
.section h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; margin: 10px 0 12px; letter-spacing: -0.04em; }
.lead { color: var(--muted); font-size: 1.06rem; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 8px; font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }
.card .icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-strong); font-weight: 900; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--white); border-radius: 18px; overflow: hidden; }
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat strong { display: block; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 4px; color: var(--green-strong); }
.stat span { color: var(--muted); }
.callout { background: linear-gradient(135deg, var(--green-deep), var(--black)); color: var(--white); border-radius: 20px; padding: 30px 28px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.callout p { margin: 0; color: rgba(255,255,255,0.8); }
.page-hero { padding: 86px 0 52px; background: var(--white); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 10px 0; font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1; letter-spacing: -0.05em; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); }
.breadcrumb a { color: var(--green-strong); font-weight: 700; }
.page-shell { padding: 52px 0 90px; }
.notice { border-left: 4px solid var(--green); background: var(--green-soft); border-radius: 0 14px 14px 0; padding: 18px 20px; margin-bottom: 24px; }
.notice p { margin: 0; color: var(--ink); }
.tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.tag { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--green-soft); color: var(--green-strong); font-size: 0.72rem; font-weight: 800; padding: 7px 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.timeline { position: relative; margin-top: 28px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding: 0 0 28px 40px; }
.timeline-item::before { content: ""; position: absolute; left: 6px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 4px solid var(--green-soft); }
.timeline-item strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.list { margin: 0; padding-left: 20px; }
.list li { margin: 9px 0; color: var(--muted); }
.category-title { display: flex; align-items: center; gap: 12px; margin: 30px 0 18px; }
.category-title .line { height: 1px; background: var(--line); flex: 1; }
.proposal-box { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 14px; box-shadow: var(--shadow); }
.proposal-box h3 { margin: 0 0 8px; }
.proposal-box ul { margin: 0; padding-left: 18px; color: var(--muted); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 650px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--green-soft); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-strong); }
.form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: block; font-weight: 700; font-size: 0.9rem; }
input, select, textarea { width: 100%; margin-top: 6px; padding: 12px 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(10,125,70,0.12); }
textarea { min-height: 130px; resize: vertical; }
.news-card, .event-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.news-card img { height: 210px; width: 100%; object-fit: cover; background: linear-gradient(135deg, var(--green-soft), #dfeee6); }
.news-card-body, .event-card-body { padding: 20px; }
.news-meta, .event-meta { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-strong); }
.news-card h3, .event-card h3 { margin: 8px 0 10px; font-size: 1.2rem; }
.news-card p, .event-card p { margin: 0; color: var(--muted); }
.event-badge { display: inline-block; background: var(--green-soft); color: var(--green-strong); border-radius: 999px; padding: 5px 9px; font-size: 0.72rem; font-weight: 800; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; margin-bottom: 12px; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; background: transparent; border: 0; padding: 16px 18px; text-align: left; font-weight: 800; color: var(--ink); }
.faq-answer { padding: 0 18px 18px; color: var(--muted); display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-question .plus { font-size: 1.6rem; line-height: 1; color: var(--green-strong); }
.map-illustration { background: linear-gradient(135deg, #edf5f1, #e6f2ea); border: 1px solid var(--line); border-radius: 20px; padding: 30px; min-height: 320px; position: relative; overflow: hidden; }
.map-shape { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 240px; height: 260px; background: linear-gradient(135deg, var(--green), #1d9a60); clip-path: polygon(17% 8%, 74% 12%, 92% 19%, 94% 55%, 82% 81%, 60% 95%, 38% 92%, 25% 77%, 12% 62%, 10% 29%); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.22); }
.map-badges { position: absolute; inset: 0; font-size: 0.75rem; font-weight: 800; color: var(--green-deep); }
.map-badges span { position: absolute; background: rgba(255,255,255,0.7); border-radius: 999px; padding: 7px 9px; }
.map-badges span:nth-child(1) { top: 20%; left: 16%; }
.map-badges span:nth-child(2) { top: 20%; right: 18%; }
.map-badges span:nth-child(3) { bottom: 18%; left: 24%; }
.map-badges span:nth-child(4) { bottom: 18%; right: 20%; }
.chart-placeholder { background: linear-gradient(180deg, rgba(10,125,70,0.08), rgba(10,125,70,0.02)); border: 1px solid var(--line); border-radius: 18px; padding: 20px; min-height: 220px; }
.chart-bars { display: flex; align-items: end; gap: 12px; height: 160px; }
.chart-bars span { flex: 1; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--green), var(--green-strong)); }
.muted { color: var(--muted); }
.footer { background: #0a120d; color: rgba(255,255,255,0.8); border-top: 1px solid rgba(255,255,255,0.08); padding: 46px 0 20px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; }
.footer h3, .footer h4 { color: var(--white); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--white); }
.footer-bottom { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--green); color: var(--white); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: var(--transition); }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(5,10,8,0.62); z-index: 1200; padding: 24px; }
.modal.is-open { display: flex; }
.modal-card { width: min(760px, 100%); background: var(--white); color: var(--ink); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.close-modal { border: 0; background: var(--green-soft); color: var(--green-strong); width: 40px; height: 40px; border-radius: 10px; font-size: 1.3rem; }
.hidden { display: none !important; }
@media (max-width: 980px) { .nav { display: none; } .nav.is-open { display: flex; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; flex-direction: column; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); } .dropdown-menu { position: static; display: none; box-shadow: none; border: 0; padding-left: 10px; } .dropdown:focus-within .dropdown-menu, .dropdown:hover .dropdown-menu { display: block; } .menu-toggle { display: inline-flex; margin-left: auto; } .site-search { display: none; } .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2, .stats, .form-grid, .footer-grid { grid-template-columns: 1fr; } .header-inner { gap: 10px; } .brand-text strong { font-size: 0.9rem; } .hero { min-height: 560px; } .hero-content { padding-top: 86px; } .callout { flex-direction: column; align-items: flex-start; } .nav-actions { margin-left: 0; } }
