:root {
  --verde-escuro: #008B3F;
  --verde-vivo: #00A651;
  --verde-claro: #E2F1E8;
  --verde-fundo: #0E4D27;
  --verde-fundo-2: #0A3A1C;
  --verde-footer: #082817;
  --amarelo: #F4C61A;
  --amarelo-suave: #FCF1C4;
  --texto-principal: #0F1B2D;
  --texto-secundario: #3A4A5C;
  --texto-auxiliar: #6B7C8E;
  --linha: #E2E7EA;
  --linha-forte: #CCD3D8;
  --fundo: #FFFFFF;
  --fundo-alt: #F4F2EC;
  --fundo-noise: #EFEDE6;

  --font-ui: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-pill: 999px;
  --radius-card: 28px;
  --radius-img: 20px;

  --shadow-card: 0 24px 60px rgba(8, 30, 16, 0.18), 0 6px 18px rgba(8, 30, 16, 0.08);
  --shadow-soft: 0 2px 12px rgba(15, 27, 45, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--texto-principal);
  background: var(--fundo-alt);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(rgba(15, 27, 45, 0.025) 1px, transparent 1px);
  background-size: 4px 4px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

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

/* ============ Topbar ============ */
.topbar {
  background: transparent;
  border-bottom: 1px solid rgba(15, 27, 45, 0.08);
  font-size: 12.5px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
}
.topbar ul { display: flex; gap: 22px; }
.topbar a {
  color: var(--texto-secundario);
  transition: color 0.15s ease;
}
.topbar a:hover { color: var(--verde-escuro); }
.topbar-skip { font-size: 12px; }
.topbar-meta { font-weight: 500; }
.topbar-lang { color: var(--verde-escuro); font-weight: 700; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 242, 236, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(15, 27, 45, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 32px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 56px; width: auto; }

.site-nav { display: flex; gap: 36px; align-items: center; }
.site-nav a {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texto-principal);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--verde-escuro);
  transition: width 0.2s ease;
}
.site-nav a:hover { color: var(--verde-escuro); }
.site-nav a:hover::after { width: 100%; }

.hamburger {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--texto-principal);
  transition: all 0.2s ease;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-xl { padding: 18px 38px; font-size: 14px; }

.btn-outline-light {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-outline-light:hover {
  background: #FFFFFF;
  color: var(--verde-escuro);
}

.btn-outline-dark {
  background: transparent;
  color: var(--texto-principal);
  border-color: var(--texto-principal);
}
.btn-outline-dark:hover {
  background: var(--verde-escuro);
  color: #FFFFFF;
  border-color: var(--verde-escuro);
}

.btn-yellow {
  background: var(--amarelo);
  color: var(--texto-principal);
  border-color: var(--amarelo);
}
.btn-yellow:hover {
  background: #ECBA0F;
  border-color: #ECBA0F;
  transform: translateY(-1px);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8, 30, 16, 0.78) 0%, rgba(8, 30, 16, 0.45) 55%, rgba(8, 30, 16, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  padding-top: 110px;
  padding-bottom: 280px;
  max-width: 820px;
}
.hero-title {
  font-family: var(--font-ui);
  margin: 0 0 28px;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.hero-line-thin {
  display: block;
  font-weight: 300;
  font-size: clamp(48px, 6.5vw, 88px);
  color: rgba(255, 255, 255, 0.88);
}
.hero-line-bold {
  display: block;
  font-weight: 800;
  font-size: clamp(58px, 8.5vw, 124px);
  color: #FFFFFF;
  letter-spacing: -0.03em;
}
.hero-sub {
  max-width: 580px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 36px;
}

/* ============ Pillars band (over hero) ============ */
.pillars-band {
  position: relative;
  margin-top: -110px;
  z-index: 5;
  padding-bottom: 100px;
}
.pillars-card {
  background:
    linear-gradient(135deg, var(--verde-fundo) 0%, var(--verde-fundo-2) 100%);
  border-radius: var(--radius-card);
  padding: 48px 56px 52px;
  color: #FFFFFF;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.pillars-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 166, 81, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.pillars-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.pillars-eyebrow .line {
  flex: 0 0 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}
.pillars-eyebrow .text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226, 241, 232, 0.92);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}
.pillars-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar { text-align: center; padding: 0 12px; }
.pillar-value {
  display: block;
  font-weight: 800;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.pillar-label {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

/* ============ Sections ============ */
.section {
  padding: 100px 0;
  position: relative;
}
.section-light { background: var(--fundo-alt); }

.section-head {
  display: grid;
  grid-template-columns: 1.6fr auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head-text { max-width: 720px; }
.btn-head { align-self: end; }

.section-head-center {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}
.eyebrow-line .line {
  flex: 0 0 50px;
  height: 1px;
  background: var(--verde-escuro);
  opacity: 0.4;
}
.eyebrow-line .text {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde-escuro);
}

.display-title {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--texto-principal);
  text-transform: uppercase;
}
.display-title strong {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.display-title.light { color: #FFFFFF; }
.display-title.light .thin,
.display-title .thin { font-weight: 300; }
.display-title.light strong { color: #FFFFFF; }
.display-title .thin { display: block; }
.display-title strong { display: block; }

.title-bar {
  display: block;
  width: 72px;
  height: 3px;
  background: var(--verde-escuro);
  margin: 22px 0;
}
.title-bar.center { margin: 22px auto; }
.title-bar.light { background: var(--amarelo); }

.section-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto-secundario);
  max-width: 640px;
  margin: 0;
}
.section-lede.center { margin: 0 auto; max-width: 720px; }

/* ============ Culturas grid ============ */
.culturas-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cultura-card {
  position: relative;
  aspect-ratio: 0.82;
  border-radius: var(--radius-img);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cultura-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 27, 45, 0.18);
}
.cultura-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cultura-card:hover img { transform: scale(1.08); }
.cultura-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.7) 100%);
}
.cultura-name {
  position: absolute;
  left: 24px;
  bottom: 22px;
  right: 24px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: 0.04em;
}

/* ============ Mapa ============ */
.section-mapa { background: var(--fundo-alt); padding: 110px 0; }
.mapa-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mapa-art {
  display: flex;
  justify-content: center;
}
.mapa-art img {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(8, 30, 16, 0.12));
}
.mapa-text { max-width: 540px; }
.mapa-text p { margin-bottom: 32px; }

/* ============ Green section ============ */
.section-green {
  background:
    linear-gradient(135deg, var(--verde-fundo) 0%, var(--verde-fundo-2) 100%);
  color: #FFFFFF;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.section-green::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(circle, rgba(0, 166, 81, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.green-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.green-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16.5px;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 580px;
}
.green-quote {
  position: relative;
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.94) !important;
  padding: 22px 0 22px 26px;
  border-left: 3px solid var(--amarelo);
  margin: 0 0 32px !important;
  max-width: 600px;
}
.green-quote strong {
  color: #FFFFFF;
  font-weight: 700;
}
.green-points {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.green-points li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}
.green-points li strong { color: #FFFFFF; font-weight: 700; }
.pt-num {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(244, 198, 26, 0.18);
  color: var(--amarelo);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}
.green-image { display: flex; justify-content: center; }
.shield {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 0.95;
  object-fit: cover;
  border-radius: 36% 36% 50% 50% / 30% 30% 60% 60%;
  border: 6px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* ============ Órgãos grid ============ */
.orgaos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.orgaos-grid li {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 30px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.orgaos-grid li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 27, 45, 0.1);
}
.orgaos-grid img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.2s ease;
}
.orgaos-grid li:hover img { filter: grayscale(0); }

/* ============ CTA final ============ */
.cta-final { padding: 90px 0; }
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  margin: 0;
  max-width: 540px;
}
.cta-action { text-align: right; }
.cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin: 18px 0 0;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--verde-footer);
  color: rgba(255, 255, 255, 0.78);
  padding: 70px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  padding-bottom: 50px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-mark {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.15s ease;
}
.social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--verde-vivo);
  margin: 0 0 18px;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: #FFFFFF; }
.footer-col .muted { color: rgba(255, 255, 255, 0.45); font-size: 13.5px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: #FFFFFF; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .culturas-cards { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .container { padding: 0 22px; }
  .topbar-skip { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--fundo-alt);
    flex-direction: column;
    padding: 18px 22px 26px;
    gap: 4px;
    border-top: 1px solid rgba(15, 27, 45, 0.08);
    box-shadow: 0 12px 24px rgba(15, 27, 45, 0.1);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 27, 45, 0.06);
  }
  .site-nav a::after { display: none; }
  .hamburger { display: flex; }

  .brand-logo { height: 44px; }
  .hero { min-height: 78vh; }
  .pillars-band { margin-top: -70px; padding-bottom: 60px; }
  .pillars-card { padding: 36px 28px; }
  .section, .section-mapa, .section-green, .cta-final { padding: 70px 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .btn-head { justify-self: start; }
  .mapa-inner, .green-inner, .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-action { text-align: left; }
  .culturas-cards { grid-template-columns: repeat(2, 1fr); }
  .orgaos-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 28px; }
  .orgaos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .hero-line-bold { font-size: 50px; }
  .hero-line-thin { font-size: 36px; }
}
