:root {
  --verde: #186133;
  --verde-escuro: #0f3d20;
  --verde-claro: #1e7a3e;
  --verde-soft: rgba(24,97,51,0.08);
  --amarelo: #fcad0a;
  --amarelo-soft: rgba(252,173,10,0.12);
  --amarelo-dark: #d48f00;
  --bg: #ffffff;
  --bg-2: #f5f7f5;
  --bg-3: #eef1ee;
  --bg-dark-section: #186133;
  --bg-dark-alt: #0f3d20;
  --text-1: #111a13;
  --text-2: #3d5040;
  --text-3: #6b806e;
  --text-inv: #ffffff;
  --text-inv-muted: rgba(255,255,255,0.75);
  --border: #dde5de;
  --border-subtle: #eaf0ea;
  --card-bg: #ffffff;
  --card-shadow: 0 1px 4px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 8px 32px rgba(24,97,51,0.12), 0 2px 8px rgba(0,0,0,0.06);
  --header-bg-solid: rgba(255,255,255,0.97);
  --header-border: rgba(0,0,0,0.07);
  --logo-pos: none;
  --logo-neg: block;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}
[data-theme="dark"] {
  --bg: #0c120d;
  --bg-2: #111811;
  --bg-3: #172019;
  --bg-dark-section: #0a1a0c;
  --bg-dark-alt: #071209;
  --text-1: #ffffff;
  --text-2: #e8eee8;
  --text-3: #c4ccc5;
  --border: #1e2d1f;
  --border-subtle: #192319;
  --card-bg: #131f14;
  --card-shadow: 0 1px 4px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.2);
  --card-shadow-hover: 0 8px 32px rgba(24,97,51,0.25), 0 2px 8px rgba(0,0,0,0.3);
  --header-bg-solid: rgba(12,18,13,0.97);
  --header-border: rgba(255,255,255,0.06);
  --logo-pos: none;
  --logo-neg: block;
  --verde-soft: rgba(252,173,10,0.12);
}
[data-theme="dark"] em[style*="--verde"],
[data-theme="dark"] .section-title em { color: var(--amarelo) !important; }
[data-theme="dark"] .btn--outline { color: var(--amarelo); border-color: var(--amarelo); }
[data-theme="dark"] .btn--outline:hover { background: var(--amarelo); color: var(--bg-dark-alt); }

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:100px; font-size:16px; }
body { font-family:'Montserrat',sans-serif; background:var(--bg); color:var(--text-1); line-height:1.7; overflow-x:hidden; transition:background .45s ease,color .35s ease; -webkit-font-smoothing:antialiased; }
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
ul,ol { list-style:none; }

.container { width:100%; max-width:1240px; margin:0 auto; padding:0 28px; }

/* ── LABEL TAG ── */
.label-tag {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.73rem; font-weight:700; letter-spacing:.22em; text-transform:uppercase;
  color:var(--verde); margin-bottom:14px;
}
.label-tag::before { content:''; width:24px; height:2px; background:var(--amarelo); border-radius:2px; }

/* ── SECTION TITLE ── */
.section-title { font-size:clamp(1.7rem,3vw,2.4rem); font-weight:800; line-height:1.18; letter-spacing:-.02em; color:var(--text-1); margin-bottom:16px; }
.section-sub { font-size:.95rem; color:var(--text-3); max-width:560px; line-height:1.75; }

/* ── BUTTONS ── */
.btn { display:inline-flex; align-items:center; gap:8px; font-family:inherit; font-size:.8rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:12px 22px; border-radius:var(--radius); transition:all var(--transition); cursor:pointer; white-space:nowrap; }
.btn--solid { background:var(--verde); color:#fff; border:2px solid var(--verde); }
.btn--solid:hover { background:var(--verde-claro); border-color:var(--verde-claro); transform:translateY(-1px); }
.btn--outline { background:transparent; color:var(--verde); border:2px solid var(--verde); }
.btn--outline:hover { background:var(--verde); color:#fff; }
.btn svg { width:14px; height:14px; flex-shrink:0; }

/* ── HEADER ── */
.header { position:fixed; top:0; left:0; right:0; z-index:1000; background:var(--header-bg-solid); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border-bottom:1px solid var(--header-border); box-shadow:0 2px 16px rgba(0,0,0,.05); transition:box-shadow .3s ease; }
.header__top { border-bottom:1px solid var(--border-subtle); }
.header__top-inner { display:flex; align-items:center; justify-content:space-between; height:52px; padding:0; }
.header__logo img { height:44px; width:auto; display:none; }
.header__logo .logo-neg { display:none; }
.header__logo .logo-pos { display:block; }
[data-theme="dark"] .header__logo .logo-neg { display:block; }
[data-theme="dark"] .header__logo .logo-pos { display:none; }
.header__top-right { display:flex; align-items:center; gap:6px; }
.header__top-pill { font-size:.75rem; font-weight:600; letter-spacing:.04em; padding:6px 14px; border-radius:20px; white-space:nowrap; transition:all .3s ease; }
.header__top-pill--outline { color:var(--verde); border:1.5px solid var(--verde); }
.header__top-pill--outline:hover { background:var(--verde); color:#fff; }
.header__top-pill--solid { background:var(--amarelo); color:var(--verde-escuro); border:1.5px solid var(--amarelo); font-weight:700; }
.header__top-pill--solid:hover { background:#f0a200; transform:translateY(-1px); }
.header__social { display:flex; align-items:center; gap:4px; margin:0 8px; }
.header__social a { width:30px; height:30px; display:flex; align-items:center; justify-content:center; border-radius:6px; color:var(--text-3); transition:all .3s ease; }
.header__social a:hover { color:var(--verde); background:var(--verde-soft); }
.header__social svg { width:15px; height:15px; }
.theme-toggle { width:32px; height:32px; border-radius:8px; border:1.5px solid var(--border); color:var(--text-2); display:flex; align-items:center; justify-content:center; transition:all .3s ease; }
.theme-toggle:hover { border-color:var(--verde); color:var(--verde); }
.theme-toggle svg { width:15px; height:15px; }
.icon-sun { display:block; }
.icon-moon { display:none; }
[data-theme="dark"] .icon-sun { display:none; }
[data-theme="dark"] .icon-moon { display:block; }
.header__bottom { padding:7px 0 0; border-bottom:1px solid var(--border-subtle); }
.header__bottom-inner { display:flex; align-items:center; height:46px; }
.header__nav { display:flex; align-items:center; gap:2px; }
.header__nav > a, .nav-dropdown__trigger { font-size:.78rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--text-2); padding:6px 12px; border-radius:6px; transition:all .3s ease; display:flex; align-items:center; gap:4px; }
.header__nav > a:hover, .nav-dropdown__trigger:hover { color:var(--verde); background:var(--verde-soft); }
.header__nav > a.is-current { color:var(--verde); }
.header__nav > a:first-child { padding-left:0; }
.nav-dropdown { position:relative; }
.nav-dropdown__trigger svg { width:12px; height:12px; transition:transform .3s ease; flex-shrink:0; }
.nav-dropdown:hover .nav-dropdown__trigger svg { transform:rotate(180deg); }
.nav-dropdown__menu { position:absolute; top:calc(100% + 10px); left:50%; transform:translateX(-50%) translateY(-6px); min-width:220px; background:var(--card-bg); border:1px solid var(--border); border-radius:var(--radius-lg); padding:8px; box-shadow:var(--card-shadow-hover); opacity:0; visibility:hidden; transition:all .25s ease; pointer-events:none; z-index:100; }
.nav-dropdown__menu::before { content:''; position:absolute; top:-10px; left:-16px; right:-16px; height:12px; }
.nav-dropdown:hover .nav-dropdown__menu { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); pointer-events:all; }
.nav-dropdown__menu a { display:block; padding:8px 12px; font-size:.8rem; font-weight:600; border-radius:6px; color:var(--text-2); transition:all .2s ease; }
.nav-dropdown__menu a:hover { background:var(--verde-soft); color:var(--verde); }
.nav-dropdown__menu a.is-current { color:var(--verde); font-weight:700; }
.header__hamburger { display:none; width:36px; height:36px; align-items:center; justify-content:center; border-radius:8px; border:1.5px solid var(--border); color:var(--text-2); }
.header__mobile-nav { display:none; position:fixed; top:0; left:0; right:0; bottom:0; background:var(--bg); z-index:999; padding:80px 28px 40px; flex-direction:column; gap:4px; overflow-y:auto; }
.header__mobile-nav.is-open { display:flex; }
.header__mobile-nav a { font-size:1.1rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:14px 0; border-bottom:1px solid var(--border-subtle); color:var(--text-1); }
.header__mobile-nav a:hover { color:var(--verde); }
.mobile-nav-close { position:absolute; top:16px; right:20px; width:36px; height:36px; display:flex; align-items:center; justify-content:center; border-radius:8px; border:1.5px solid var(--border); color:var(--text-2); }

/* ── HERO DA PÁGINA ── */
.page-hero {
  padding: 140px 0 72px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-subtle);
}
.page-hero__inner { display:flex; align-items:flex-end; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.page-hero__breadcrumb { display:flex; align-items:center; gap:6px; font-size:.75rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--text-3); margin-bottom:16px; }
.page-hero__breadcrumb a { color:var(--verde); }
.page-hero__breadcrumb svg { width:12px; height:12px; opacity:.5; }
.page-hero h1 { font-size:clamp(2rem,4vw,3rem); font-weight:900; letter-spacing:-.03em; color:var(--text-1); line-height:1.1; margin-bottom:12px; }
.page-hero h1 span { color:var(--verde); }
.page-hero p { font-size:1rem; color:var(--text-3); max-width:520px; line-height:1.7; }

/* ── FILTROS ── */
.blog-filters { padding:32px 0; background:var(--bg); border-bottom:1px solid var(--border-subtle); position:sticky; top:95px; z-index:10; }
.blog-filters__inner { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.filter-btn { font-size:.73rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:7px 16px; border-radius:20px; border:1.5px solid var(--border); color:var(--text-3); background:transparent; cursor:pointer; transition:all .25s ease; }
.filter-btn:hover { border-color:var(--verde); color:var(--verde); }
.filter-btn.is-active { background:var(--verde); border-color:var(--verde); color:#fff; }

/* ── GRID DE POSTS ── */
.blog-section { padding:72px 0 96px; }
.blog-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}

/* Card featured ocupa 2 colunas */
.blog-card { background:var(--card-bg); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--card-shadow); transition:all var(--transition); display:flex; flex-direction:column; }
.blog-card:hover { box-shadow:var(--card-shadow-hover); transform:translateY(-4px); }
.blog-card--featured { grid-column:1 / span 2; flex-direction:row; }
.blog-card__thumb { overflow:hidden; flex-shrink:0; }
.blog-card__thumb img { width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.blog-card:hover .blog-card__thumb img { transform:scale(1.05); }
.blog-card--featured .blog-card__thumb { width:55%; height:auto; min-height:320px; }
.blog-card:not(.blog-card--featured) .blog-card__thumb { height:210px; }
.blog-card__body { padding:28px; display:flex; flex-direction:column; flex:1; }
.blog-card__tag { display:inline-block; font-size:.68rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; padding:4px 10px; border-radius:4px; margin-bottom:14px; }
.blog-card__tag--amber { background:var(--amarelo-soft); color:var(--amarelo-dark); }
.blog-card__tag--green { background:var(--verde-soft); color:var(--verde); }
.blog-card__tag--blue { background:rgba(59,130,246,.1); color:#2563eb; }
[data-theme="dark"] .blog-card__tag--blue { color:#93c5fd; }
.blog-card__title { font-size:1rem; font-weight:800; line-height:1.3; color:var(--text-1); margin-bottom:10px; }
.blog-card--featured .blog-card__title { font-size:1.35rem; }
.blog-card__excerpt { font-size:.86rem; color:var(--text-3); line-height:1.7; margin-bottom:auto; padding-bottom:20px; }
.blog-card__meta { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:18px; border-top:1px solid var(--border-subtle); margin-top:auto; }
.blog-card__date { display:flex; align-items:center; gap:6px; font-size:.75rem; color:var(--text-3); }
.blog-card__date svg { width:13px; height:13px; }
.blog-card__link { display:flex; align-items:center; gap:5px; font-size:.75rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--verde); transition:gap .25s ease; }
.blog-card__link svg { width:13px; height:13px; transition:transform .3s ease; }
.blog-card:hover .blog-card__link svg { transform:translateX(4px); }

/* ── PAGINAÇÃO ── */
/*.pagination { display:flex; align-items:center; justify-content:center; gap:8px; padding-top:56px; }
.pagination__btn { width:38px; height:38px; display:flex; align-items:center; justify-content:center; border-radius:8px; border:1.5px solid var(--border); font-size:.82rem; font-weight:700; color:var(--text-3); transition:all .25s ease; }
.pagination__btn:hover, .pagination__btn.is-active { background:var(--verde); border-color:var(--verde); color:#fff; }
.pagination__dots { color:var(--text-3); font-size:.82rem; padding:0 4px; }*/

.pagination { display:flex; align-items:center; justify-content:center; gap:8px; padding-top:56px; }
.page-link { min-width:38px; height:38px; padding: 1rem; display:flex; align-items:center; justify-content:center; border-radius:8px; border:1.5px solid var(--border); font-size:.82rem; font-weight:700; color:var(--text-3); transition:all .25s ease; }
.page-item:hover .page-link, .page-item.active .page-link { background:var(--verde); border-color:var(--verde); color:#fff; }
.pagination__dots { color:var(--text-3); font-size:.82rem; padding:0 4px; }

.visually-hidden:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  margin: -1px;
}

/* ── NEWSLETTER ── */
.newsletter-band {
  background:var(--verde-escuro);
  padding:64px 0;
}
.newsletter-band__inner { display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.newsletter-band__text h2 { font-size:1.5rem; font-weight:800; color:#fff; margin-bottom:8px; }
.newsletter-band__text p { font-size:.9rem; color:rgba(255,255,255,.65); }
.newsletter-band__form { display:flex; gap:10px; flex-wrap:wrap; }
.newsletter-band__input { flex:1; min-width:240px; padding:12px 18px; border-radius:var(--radius); border:1.5px solid rgba(255,255,255,.15); background:rgba(255,255,255,.08); color:#fff; font-family:inherit; font-size:.88rem; outline:none; transition:border-color .25s ease; }
.newsletter-band__input::placeholder { color:rgba(255,255,255,.4); }
.newsletter-band__input:focus { border-color:var(--amarelo); }
.newsletter-band__submit { padding:12px 24px; background:var(--amarelo); color:var(--verde-escuro); font-family:inherit; font-size:.8rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; border-radius:var(--radius); cursor:pointer; transition:all .25s ease; white-space:nowrap; }
.newsletter-band__submit:hover { background:#f0a200; transform:translateY(-1px); }

/* ── FOOTER ── */
.footer { background:var(--verde-escuro); padding:72px 0 0; color:rgba(255,255,255,.7); }
.footer__top { display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:48px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer__logo { margin-bottom:20px; }
.footer__logo img { height:52px; width:auto; }
.footer__tagline { font-size:.86rem; line-height:1.75; margin-bottom:24px; max-width:280px; color:rgba(255,255,255,.55); }
.footer__social { display:flex; gap:8px; }
.footer__social a { width:34px; height:34px; display:flex; align-items:center; justify-content:center; border-radius:8px; border:1px solid rgba(255,255,255,.12); color:rgba(255,255,255,.6); transition:all .3s ease; }
.footer__social a:hover { background:var(--amarelo); border-color:var(--amarelo); color:var(--verde-escuro); }
.footer__social svg { width:15px; height:15px; }
.footer__col-title { font-size:.73rem; font-weight:700; text-transform:uppercase; letter-spacing:.15em; color:rgba(255,255,255,.35); margin-bottom:18px; }
.footer__links { display:flex; flex-direction:column; gap:10px; }
.footer__links a { font-size:.85rem; color:rgba(255,255,255,.6); transition:all .3s ease; display:flex; align-items:center; gap:6px; }
.footer__links a::before { content:'—'; font-size:.65rem; color:var(--amarelo); opacity:.7; }
.footer__links a:hover { color:#fff; transform:translateX(4px); }
.footer__bottom { display:flex; justify-content:space-between; align-items:center; padding:24px 0; font-size:.78rem; color:rgba(255,255,255,.3); flex-wrap:wrap; gap:12px; }
.footer__bottom-links { display:flex; gap:20px; }
.footer__bottom-links a { color:rgba(255,255,255,.4); transition:color .25s ease; }
.footer__bottom-links a:hover { color:rgba(255,255,255,.75); }

/* ── RESPONSIVO ── */
@media (max-width:1024px) {
  .blog-grid { grid-template-columns:1fr 1fr; }
  .blog-card--featured { grid-column:1/-1; flex-direction:column; }
  .blog-card--featured .blog-card__thumb { width:100%; height:280px; }
  .header__nav { display:none; }
  .header__hamburger { display:flex; }
  .header__top-pill { display:none; }
  .header__social { display:none; }
  .footer__top { grid-template-columns:1fr 1fr; }
}
@media (max-width:640px) {
  .blog-grid { grid-template-columns:1fr; }
  .blog-card--featured { grid-column:auto; }
  .page-hero { padding:120px 0 48px; }
  .blog-filters { top:78px; }
  .footer__top { grid-template-columns:1fr; gap:32px; }
  .newsletter-band__inner { flex-direction:column; }
  .footer__bottom { flex-direction:column; align-items:flex-start; gap:12px; }
}
