/* ============================================================
   Instituto Planeta Plantar — style.css
   Design baseado no layout aprovado (novo_layout_03)
   ============================================================ */

:root {
  --green-950: #12301c;
  --green-900: #17381f;
  --green-800: #1e4a2a;
  --green-700: #24663c;
  --green-600: #2e7d46;
  --green-500: #3f9358;
  --green-150: #d8e5c9;
  --green-100: #e9efdf;
  --green-50:  #f1f4e9;
  --cream:     #f7f6f0;
  --white:     #ffffff;
  --ink:       #1e4a2a;
  --text:      #55625a;
  --text-soft: #7a877e;
  --line:      #e3e6da;
  --radius:    18px;
  --radius-lg: 26px;
  --shadow:    0 10px 30px rgba(23, 56, 31, .08);
  --shadow-sm: 0 4px 14px rgba(23, 56, 31, .07);
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
iframe, video, embed, object { max-width: 100%; }

a { color: var(--green-700); text-decoration: none; transition: color .25s; }
a:hover { color: var(--green-600); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
  font-weight: 600;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

section { position: relative; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 500;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: var(--green-800);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--green-700); color: #fff; transform: translateY(-2px); }

.btn-outline {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--green-800);
}
.btn-outline:hover { background: var(--green-100); color: var(--green-800); transform: translateY(-2px); }

.btn-soft {
  background: var(--green-100);
  color: var(--green-800);
  border-color: var(--green-150);
}
.btn-soft:hover { background: var(--green-150); color: var(--green-900); transform: translateY(-2px); }

.btn-light {
  background: #fff;
  color: var(--green-800);
}
.btn-light:hover { background: var(--green-100); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .92rem;
  color: var(--green-800);
}
.link-arrow .circ {
  width: 26px; height: 26px;
  border: 1.5px solid var(--green-800);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.link-arrow .circ svg { width: 12px; height: 12px; }
.link-arrow:hover .circ { background: var(--green-800); color: #fff; transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(23, 56, 31, .09); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .7rem 0;
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 62px; width: auto; }

.main-nav > ul {
  display: flex;
  list-style: none;
  gap: .4rem;
}
.main-nav a {
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 500;
  color: #33453a;
  padding: .55rem .95rem;
  border-radius: 999px;
  transition: all .25s;
}
.main-nav a:hover { color: var(--green-800); background: var(--green-50); }
.main-nav a.active { color: var(--green-800); background: var(--green-100); }

.header-cta { display: flex; align-items: center; gap: .8rem; }

/* Dropdowns do menu */
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: inline-flex; align-items: center; gap: .3rem; }
.main-nav .caret { width: 13px; height: 13px; flex: none; transition: transform .25s; }
.has-sub:hover > a .caret,
.has-sub:focus-within > a .caret { transform: rotate(180deg); }
.sub-menu {
  display: block;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(23, 56, 31, .16);
  padding: .55rem;
  min-width: 218px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 60;
}
.sub-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0; right: 0;
  height: 12px;
}
.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.sub-menu a {
  display: block;
  padding: .5rem .85rem;
  border-radius: 9px;
  font-size: .87rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--green-800);
  margin: 5px 0;
  border-radius: 2px;
  transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: linear-gradient(105deg, #f3f4ea 0%, #eef1e4 45%, #e4ebd8 100%);
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 42%;
  background: url('../assets/img/hero-arvore-wide.jpg') center 30% / cover no-repeat;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #eef1e4 0%, rgba(238, 241, 228, .35) 30%, rgba(238, 241, 228, 0) 60%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 7.5rem;
  max-width: 560px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 1.2rem;
}
.hero p.lead {
  font-size: 1.08rem;
  max-width: 420px;
  margin-bottom: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: .9rem; }

.hero-leaf {
  position: absolute;
  left: -40px;
  bottom: 60px;
  width: 190px;
  opacity: .35;
  transform: rotate(-15deg);
  pointer-events: none;
  filter: saturate(.7);
}

/* Stats bar sobreposto ao hero */
.stats-wrap {
  position: relative;
  z-index: 5;
  margin-top: -3.4rem;
  margin-bottom: 3rem;
}
.stats-bar {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.5rem 1rem;
}
.stat {
  display: flex;
  align-items: center;
  gap: .9rem;
  justify-content: center;
  padding: .4rem 1rem;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-icon {
  width: 52px; height: 52px;
  flex: none;
  border: 1.5px solid var(--green-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
}
.stat-icon svg { width: 24px; height: 24px; }
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.stat small { font-size: .82rem; color: var(--text-soft); line-height: 1.35; display: block; }

/* ---------- Section headings ---------- */
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: .6rem;
}
.section-head .kicker svg { width: 15px; height: 15px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  display: inline-block;
  position: relative;
  padding-bottom: .55rem;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: var(--green-600);
}
.section-head p.sub { margin-top: .8rem; color: var(--text-soft); font-size: .95rem; }

.section-head.left { text-align: left; }
.section-head.left h2::after { left: 0; transform: none; }

/* ---------- Impacto (4 pilares) ---------- */
.impact { padding: 4.5rem 0 4rem; }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.impact-item {
  text-align: center;
  padding: .5rem 1.6rem;
  border-right: 1px solid var(--line);
}
.impact-item:last-child { border-right: none; }
.impact-icon {
  width: 74px; height: 74px;
  margin: 0 auto 1.1rem;
  border: 1.5px solid var(--green-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  transition: all .3s;
}
.impact-icon svg { width: 32px; height: 32px; }
.impact-item:hover .impact-icon {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
  transform: translateY(-4px);
}
.impact-item h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.impact-item p { font-size: .88rem; }

/* ---------- Cards duplos (Viveiro / Participe) ---------- */
.feature-cards { padding: 1rem 0 4rem; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card .fc-body {
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .9rem;
  align-items: flex-start;
}
.feature-card .fc-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.feature-card .fc-kicker svg { width: 16px; height: 16px; }
.feature-card h3 { font-size: 1.35rem; }
.feature-card p { font-size: .92rem; }
.feature-card .fc-img { position: relative; min-height: 240px; }
.feature-card .fc-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature-card.sage { background: var(--green-100); }
.feature-card.sage .fc-kicker { color: var(--green-700); }

/* ---------- Blog ---------- */
.blog-section { padding: 3rem 0 4.5rem; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr .85fr;
  gap: 1.5rem;
  align-items: stretch;
}
.post-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { position: relative; aspect-ratio: 16/9.5; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-date {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--green-800);
  color: #fff;
  font-family: var(--font-head);
  text-align: center;
  border-radius: 10px;
  padding: .35rem .6rem;
  line-height: 1.15;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.post-date b { display: block; font-size: 1.05rem; }
.post-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.post-body h3 { font-size: 1.02rem; line-height: 1.45; flex: 1; }
.post-body .link-arrow { font-size: .85rem; }

.blog-promo {
  background: var(--green-100);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}
.blog-promo h3 { font-size: 1.15rem; position: relative; z-index: 2; }
.blog-promo .deco {
  position: absolute;
  right: -30px;
  bottom: -20px;
  width: 150px;
  opacity: .4;
  transform: rotate(20deg);
  pointer-events: none;
}
.blog-promo .btn { position: relative; z-index: 2; align-self: flex-start; }

/* ---------- CTA band (verde escuro) ---------- */
.cta-band {
  background:
    linear-gradient(rgba(18, 48, 28, .88), rgba(18, 48, 28, .92)),
    url('../assets/img/folhas-banner.jpg') center / cover no-repeat;
  color: #dfe8d9;
  padding: 3.2rem 0;
}
.cta-band-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  align-items: center;
}
.cta-intro { padding-right: 2rem; }
.cta-intro h2 { color: #fff; font-size: 1.55rem; margin-bottom: .5rem; }
.cta-intro p { font-size: .92rem; opacity: .85; }
.cta-col {
  text-align: center;
  padding: .8rem 1.4rem;
  border-left: 1px solid rgba(255, 255, 255, .16);
}
.cta-col a { color: inherit; display: block; }
.cta-col a:hover .cta-ic { background: rgba(255, 255, 255, .16); transform: translateY(-4px); }
.cta-ic {
  width: 56px; height: 56px;
  margin: 0 auto .8rem;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all .3s;
}
.cta-ic svg { width: 24px; height: 24px; }
.cta-col h3 { color: #fff; font-size: 1rem; margin-bottom: .35rem; }
.cta-col p { font-size: .82rem; opacity: .8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-50); padding-top: 3.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.25fr 1.25fr;
  gap: 2.5rem;
  padding-bottom: 2.8rem;
}
.footer-brand img { height: 84px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; max-width: 240px; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.footer-social a:hover { background: var(--green-600); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }

.footer-col h4 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .55rem; font-size: .9rem; }
.footer-col a { color: var(--text); }
.footer-col a:hover { color: var(--green-700); }
.footer-col .contact-line {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.footer-col .contact-line svg { width: 16px; height: 16px; flex: none; color: var(--green-600); }

.footer-bottom {
  background: var(--green-900);
  color: #cfdcc9;
  text-align: center;
  font-size: .82rem;
  padding: 1rem 0;
}
.footer-bottom a {
  color: #e9f2e2;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a:hover { color: #fff; }

/* Artigo do blog */
.article-wrap { max-width: 780px; margin: 0 auto; }
.article-back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
}
.article-back svg { width: 15px; height: 15px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  font-size: .85rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.tag-chip {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: 999px;
  padding: .2rem .8rem;
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 600;
}
.article-title { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; }
.article-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: #3c4f43;
  margin-bottom: 1.4rem;
}
.article-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 1.8rem 0;
}
.article-cover figcaption {
  font-size: .8rem;
  color: var(--text-soft);
  padding: .7rem 1rem;
  background: #fff;
}
.article-body p { margin-bottom: 1.1rem; }
.article-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
  font-size: .85rem;
  color: var(--text-soft);
  border-top: 1px solid var(--line);
  margin-top: 2.2rem;
  padding-top: 1.2rem;
}
.article-stats svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: .3rem; color: var(--green-600); }

/* ---------- Page hero (páginas internas) ---------- */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 48, 28, .25) 0%, rgba(18, 48, 28, .78) 100%);
}
.page-hero .container { position: relative; z-index: 2; padding: 3.5rem 0 2.6rem; }
.page-hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #cfe3c3;
  margin-bottom: .5rem;
}
.page-hero .kicker svg { width: 15px; height: 15px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 700; }
.page-hero p { max-width: 560px; margin-top: .6rem; opacity: .92; }

/* ---------- Conteúdo interno ---------- */
.section { padding: 4.5rem 0; }
.section.tight { padding: 3rem 0; }
.section.sage { background: var(--green-100); }
.section.white { background: #fff; }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3.5rem;
  align-items: center;
}
.split.reverse { grid-template-columns: .95fr 1.05fr; }
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 1.1rem; }
.split-body p { margin-bottom: 1rem; }
.split-body p:last-of-type { margin-bottom: 1.4rem; }

blockquote {
  border-left: 3px solid var(--green-600);
  background: var(--green-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.6rem;
  font-style: italic;
  color: #46564c;
  margin: 1.5rem 0;
}
blockquote cite {
  display: block;
  margin-top: .8rem;
  font-style: normal;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-800);
}

.prose h2 { font-size: 1.6rem; margin: 2.2rem 0 1rem; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .8rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem 1.2rem; }
.prose li { margin-bottom: .5rem; }

/* Cards de projetos */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.info-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card .ic-img { aspect-ratio: 16/9.5; overflow: hidden; position: relative; }
.info-card .ic-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.info-card:hover .ic-img img { transform: scale(1.05); }
.info-card .ic-badge {
  position: absolute;
  bottom: -22px;
  left: 1.4rem;
  width: 46px; height: 46px;
  background: var(--green-800);
  color: #fff;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.info-card .ic-badge svg { width: 21px; height: 21px; }
.info-card .ic-body { padding: 2rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.info-card h3 { font-size: 1.08rem; }
.info-card p { font-size: .9rem; flex: 1; }

/* Timeline (história) */
.timeline { position: relative; margin: 2rem 0; padding-left: 1.8rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--green-150);
}
.timeline-item { position: relative; padding-bottom: 1.8rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.8rem;
  top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green-600);
  border: 3px solid var(--green-100);
}
.timeline-item h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.timeline-item p { font-size: .93rem; }

/* Tabela de espécies */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
table.species {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  min-width: 480px;
}
table.species th {
  background: var(--green-800);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 500;
  text-align: left;
  padding: .85rem 1.2rem;
  font-size: .88rem;
}
table.species td { padding: .8rem 1.2rem; border-bottom: 1px solid var(--line); }
table.species tr:last-child td { border-bottom: none; }
table.species tr:nth-child(even) td { background: var(--green-50); }

/* Sementes decorativas */
.seed-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.2rem;
  padding: 1.5rem 0;
}
.seed-strip img {
  height: 46px;
  width: auto;
  opacity: .85;
  transition: transform .3s;
}
.seed-strip img:hover { transform: rotate(-8deg) scale(1.15); }

/* Formulário de contato */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: start;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.4rem;
}
.contact-card h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.contact-card > p { font-size: .93rem; margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .75rem .95rem;
  transition: border-color .25s, box-shadow .25s;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(46, 125, 70, .12);
}
.form-feedback { font-size: .88rem; margin-top: .8rem; color: var(--green-700); display: none; }
.form-feedback.erro { color: #b3261e; }

/* Honeypot anti-spam: fora da tela para humanos, visível para robôs */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 1.3rem; }
.contact-info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-list .ci-ic {
  width: 46px; height: 46px;
  flex: none;
  border: 1.5px solid var(--green-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
}
.contact-info-list .ci-ic svg { width: 20px; height: 20px; }
.contact-info-list b {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: .15rem;
}
.contact-info-list span { font-size: .9rem; }

/* Destaque numérico (sobre) */
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.mini-stat {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  padding: 1.4rem 1rem;
}
.mini-stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-800);
}
.mini-stat small { font-size: .82rem; color: var(--text-soft); }

/* Mapa das árvores */
#treeMap {
  height: 440px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  z-index: 1;
}
.tree-marker {
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(18, 48, 28, .4));
}
.leaflet-popup-content-wrapper {
  border-radius: 12px;
  font-family: var(--font-body);
  color: var(--ink);
}
.leaflet-popup-content b { font-family: var(--font-head); color: var(--green-800); }

/* Card de doação (Doar agora) */
.donate-card {
  background: var(--green-900);
  color: #dfe8d9;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.2rem 2rem;
}
.donate-card h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: .3rem;
}
.donate-card .donate-sub { font-size: .92rem; opacity: .85; margin-bottom: 1.5rem; }
.donate-pix {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.4rem;
}
.donate-pix small {
  display: block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a9c99b;
  margin-bottom: .35rem;
}
.donate-pix .pix-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
}
.donate-pix .pix-key {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
}
.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: .4rem .9rem;
  cursor: pointer;
  transition: background .25s;
}
.btn-copy:hover { background: rgba(255, 255, 255, .26); }
.btn-copy svg { width: 14px; height: 14px; }
.donate-list { list-style: none; margin-bottom: 1.3rem; }
.donate-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .92rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.donate-list li:last-child { border-bottom: none; }
.donate-list b { color: #fff; font-weight: 600; }
.donate-note { font-size: .84rem; opacity: .85; }
.donate-note a { color: #cfe3c3; text-decoration: underline; }

/* Decoração de folhas */
.leaf-deco {
  position: absolute;
  pointer-events: none;
  opacity: .18;
  z-index: 1;
}
.leaf-deco.right { right: -30px; }
.leaf-deco.left { left: -30px; }

/* Animações de entrada (só ocultam conteúdo quando o JS está ativo) */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
html.js .reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .impact-grid { grid-template-columns: 1fr 1fr; row-gap: 2.2rem; }
  .impact-item:nth-child(2) { border-right: none; }
  .stats-bar { grid-template-columns: 1fr 1fr; row-gap: 1.4rem; }
  .stat:nth-child(2) { border-right: none; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-promo { grid-column: 1 / -1; }
  .cta-band-grid { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .cta-intro { grid-column: 1 / -1; text-align: center; padding-right: 0; }
  .cta-col:first-of-type { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    box-shadow: 0 18px 30px rgba(23, 56, 31, .12);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .main-nav.open { max-height: 78vh; overflow-y: auto; }
  .main-nav > ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 4%;
  }
  .main-nav a { display: block; padding: .8rem .6rem; border-radius: 10px; }
  .main-nav > ul > li > a { display: flex; justify-content: space-between; }
  .main-nav .caret { display: none; }
  .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: var(--green-50);
    min-width: 0;
    margin: 0 0 .5rem;
    padding: .3rem .4rem .3rem 1rem;
    border-radius: 10px;
  }
  .sub-menu a { white-space: normal; }
  .header-cta .btn { padding: .65rem 1.15rem; font-size: .85rem; }

  .hero-photo { inset: auto 0 0 0; height: 46%; opacity: .9; }
  .hero-photo::before { background: linear-gradient(180deg, #eef1e4 0%, rgba(238,241,228,.15) 45%); }
  .hero-inner { max-width: 100%; padding: 3.5rem 0 52vw; }
  .hero-leaf { display: none; }

  .split, .split.reverse, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .brand img { height: 50px; }
  .header-cta .btn { padding: .55rem .9rem; font-size: .8rem; }
  .header-cta .btn svg { width: 14px; height: 14px; }
  .section { padding: 3.2rem 0; }
  .section.tight { padding: 2.4rem 0; }
  .contact-card, .donate-card { padding: 1.7rem 1.25rem; }
  #treeMap { height: 340px; }
  .stats-wrap { margin-top: -2.6rem; }
  .stat b { font-size: 1.2rem; }
  .cta-intro h2 { font-size: 1.35rem; }
  .donate-pix .pix-key { font-size: 1rem; word-break: break-all; }
  .btn-copy { padding: .6rem 1.1rem; font-size: .82rem; }
  .feature-card .fc-body { padding: 1.7rem 1.3rem; }
  .split-img img { width: 100%; }
}

@media (max-width: 620px) {
  .impact-grid { grid-template-columns: 1fr; }
  .impact-item { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 2rem; }
  .impact-item:last-child { border-bottom: none; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-right: none; justify-content: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-band-grid { grid-template-columns: 1fr; }
  .cta-col { border-left: none; border-top: 1px solid rgba(255,255,255,.16); padding-top: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cards-3 { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card .fc-img { min-height: 200px; order: -1; }
  .mini-stats { grid-template-columns: 1fr; }
}
