:root {
  --na-primary: #1f4d2b;
  --na-secondary: #4caf50;
  --na-earth: #8b5e34;
  --na-bg: #f5f1e8;
  --na-text: #263128;
  --na-white: #ffffff;
  --na-muted: #65706a;
  --na-border: rgba(31, 77, 43, .14);
  --na-shadow: 0 18px 45px rgba(20, 48, 28, .12);
  --na-radius: 18px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--na-text);
  background: #fff;
  line-height: 1.6;
}
a { color: var(--na-primary); text-decoration: none; }
a:hover { color: var(--na-earth); }
img { max-width: 100%; height: auto; }
.na-container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.screen-reader-text { position:absolute; left:-9999px; }

/* Cabeçalho independente */
.na-site-header { background: #fff; border-bottom: 1px solid var(--na-border); z-index: 50; }
.na-site-header.is-sticky { position: sticky; top: 0; }
.admin-bar .na-site-header.is-sticky { top: 32px; }
.na-topbar { background: var(--na-primary); color: #fff; font-size: 14px; }
.na-topbar a { color: #fff; opacity: .95; }
.na-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 7px 0; }
.na-topbar-right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.na-main-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 14px 0; }
.na-brand { display: flex; align-items: center; min-width: 170px; }
.na-logo-img, .custom-logo { max-height: 72px; width: auto; display: block; }
.na-site-name { font-size: 28px; line-height: 1; font-weight: 800; color: var(--na-primary); }
.na-nav-wrap { display: flex; align-items: center; gap: 18px; }
.na-primary-menu, .na-primary-menu ul { list-style: none; padding: 0; margin: 0; }
.na-primary-menu { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.na-primary-menu a { display: block; padding: 10px 12px; border-radius: 12px; color: var(--na-text); font-weight: 700; font-size: 15px; }
.na-primary-menu a:hover, .na-primary-menu .current-menu-item > a { background: var(--na-bg); color: var(--na-primary); }
.na-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 0; background: var(--na-secondary); color: #fff !important; font-weight: 800; box-shadow: 0 10px 22px rgba(76, 175, 80, .22); }
.na-btn:hover { background: var(--na-primary); color: #fff !important; }
.na-btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.8); box-shadow: none; }
.na-btn-outline:hover { background: #fff; color: var(--na-primary) !important; }
.na-header-widget { margin-left: 10px; }

/* Hero */
.na-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(31,77,43,.95), rgba(76,175,80,.55)), var(--na-primary); color: #fff; }
.na-hero.has-image { background-size: cover; background-position: center; }
.na-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 28%), linear-gradient(90deg, rgba(15,37,22,.84), rgba(15,37,22,.24)); }
.na-hero-inner { position: relative; z-index: 1; min-height: 500px; display: grid; align-items: center; padding: 86px 0; }
.na-hero-content { max-width: 760px; }
.na-eyebrow { display: inline-flex; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); font-weight: 700; margin-bottom: 18px; }
.na-hero h1 { font-size: clamp(42px, 7vw, 78px); line-height: .96; margin: 0 0 20px; letter-spacing: -.04em; }
.na-hero p { font-size: clamp(18px, 2vw, 24px); margin: 0 0 28px; color: rgba(255,255,255,.92); max-width: 680px; }
.na-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Seções */
.na-section { padding: 70px 0; }
.na-section.is-soft { background: var(--na-bg); }
.na-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.na-section-title { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; color: var(--na-primary); }
.na-section-subtitle { margin: 8px 0 0; color: var(--na-muted); max-width: 680px; }
.na-grid { display: grid; gap: 22px; }
.na-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.na-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.na-card { background: #fff; border: 1px solid var(--na-border); border-radius: var(--na-radius); box-shadow: var(--na-shadow); overflow: hidden; }
.na-card-body { padding: 22px; }
.na-card-kicker { display: inline-flex; font-size: 13px; font-weight: 800; color: var(--na-earth); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.na-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; color: var(--na-primary); }
.na-card p { margin: 0 0 18px; color: var(--na-muted); }
.na-card-link { font-weight: 800; color: var(--na-primary); }
.na-post-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--na-primary), var(--na-secondary)); display: block; overflow: hidden; }
.na-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.na-category-card { padding: 24px; transition: .2s ease; }
.na-category-card:hover { transform: translateY(-4px); }
.na-icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--na-bg); color: var(--na-primary); font-size: 26px; margin-bottom: 18px; }
.na-feature { background: linear-gradient(135deg, #fff, var(--na-bg)); border-radius: 26px; padding: 32px; border: 1px solid var(--na-border); box-shadow: var(--na-shadow); }
.na-feature h3 { margin-top: 0; color: var(--na-primary); font-size: 26px; }
.na-feature ul { margin: 0; padding-left: 18px; color: var(--na-muted); }
.na-cta { background: linear-gradient(135deg, var(--na-primary), #14301c); color: #fff; border-radius: 30px; padding: 42px; display: flex; justify-content: space-between; align-items: center; gap: 24px; box-shadow: var(--na-shadow); }
.na-cta h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; }
.na-cta p { margin: 0; color: rgba(255,255,255,.85); max-width: 680px; }

/* Conteúdo */
.na-content-wrap { padding: 58px 0; }
.na-page-title { color: var(--na-primary); font-size: clamp(34px, 5vw, 54px); line-height: 1.05; margin: 0 0 18px; }
.na-entry-content { font-size: 18px; }
.na-entry-content > *:first-child { margin-top: 0; }
.na-meta { color: var(--na-muted); font-size: 14px; margin-bottom: 14px; }
.na-pagination { margin: 34px 0; }
.na-pagination .page-numbers { display: inline-flex; padding: 8px 13px; border-radius: 10px; border: 1px solid var(--na-border); margin: 3px; }
.na-pagination .current { background: var(--na-primary); color: #fff; }
.na-search-form { display: flex; gap: 10px; max-width: 520px; }
.na-search-form input[type="search"] { flex: 1; padding: 12px 14px; border: 1px solid var(--na-border); border-radius: 14px; }
.na-search-form button { padding: 12px 18px; border-radius: 14px; border: 0; background: var(--na-primary); color: #fff; font-weight: 800; }

/* Rodapé independente */
.na-footer { background: #14301c; color: #fff; margin-top: 0; }
.na-footer-main { padding: 58px 0 34px; }
.na-footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 34px; }
.na-footer-logo { max-height: 88px; width: auto; background: #fff; border-radius: 14px; padding: 8px; margin-bottom: 14px; }
.na-footer p { color: rgba(255,255,255,.78); }
.na-footer-title { color: #fff; font-size: 20px; margin: 0 0 15px; padding-bottom: 10px; border-bottom: 2px solid var(--na-earth); }
.na-footer ul { list-style: none; margin: 0; padding: 0; }
.na-footer li { margin: 0 0 10px; }
.na-footer a { color: rgba(255,255,255,.86); }
.na-footer a:hover { color: #fff; text-decoration: underline; }
.na-footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 18px 0; }
.na-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.na-footer-bottom p { margin: 0; font-size: 14px; }
.na-social { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .na-main-header { align-items: flex-start; flex-direction: column; }
  .na-nav-wrap { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .na-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .na-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .na-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .admin-bar .na-site-header.is-sticky { top: 0; }
  .na-topbar-inner, .na-section-head, .na-cta { align-items: flex-start; flex-direction: column; }
  .na-primary-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 6px; }
  .na-primary-menu a { background: var(--na-bg); }
  .na-hero-inner { min-height: 420px; padding: 56px 0; }
  .na-grid-4, .na-grid-3, .na-footer-grid { grid-template-columns: 1fr; }
  .na-footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .na-search-form { flex-direction: column; }
}
