/* ============================================================
   SEMENTES DO VALE — Sistema de Design
   Fundo branco, identidade orgânica, hierarquia clara
   ============================================================ */

@font-face {
  font-family: "LeOsler";
  src: url("assets/fonts/LeOsler-Rough.otf") format("opentype"),
       url("assets/fonts/LeOsler-Rough.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LeOslerLight";
  src: url("assets/fonts/LeOsler-Rough-Light.otf") format("opentype"),
       url("assets/fonts/LeOsler-Rough-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  /* PALETA — manual de marca */
  --green-900: #2C3A18;     /* verde mais escuro, textos sobre cor */
  --green-700: #3F4E1F;     /* verde institucional principal */
  --green-600: #4F6128;     /* verde médio */
  --green-50:  #EEF1E4;     /* verde clarinho de fundo */

  --terra-600: #C24B26;     /* terracota / laranja energia */
  --terra-500: #DC5A2D;     /* laranja mais vibrante */
  --terra-400: #E87648;     /* laranja claro */
  --terra-50:  #FBEAE0;     /* fundo terracota */

  --yellow-500: #F2C12E;    /* amarelo marca-texto */
  --yellow-300: #FADD7A;    /* amarelo claro */

  --purple-600: #6B3F8C;    /* roxo destaque */
  --purple-500: #7E4FA3;
  --purple-50:  #EFE6F6;

  --brown-800: #4A3220;     /* marrom escuro — textos longos */
  --brown-600: #7A4A2C;     /* marrom terra */
  --brown-400: #B5825C;

  --cream:     #FAF4E2;     /* creme — uso pontual em seções de impacto */
  --cream-2:   #F5EDD3;
  --paper:     #FFFFFF;     /* fundo principal — BRANCO */
  --paper-2:   #FBFAF6;     /* branco com leve calor */

  --ink:       #1F1A12;     /* preto quente */
  --ink-2:     #3A2F22;
  --muted:     #6B5E4D;
  --line:      #E8E2D1;

  /* Tipografia */
  --font-display: "LeOsler", "Frijole", "Bagel Fat One", "Caveat Brush", serif;
  --font-script:  "Amatic SC", "Caveat", cursive;
  --font-body:    "DM Sans", "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: 24px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ----------- Tipografia base ----------- */

.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.005em;
  color: var(--green-700);
  text-transform: uppercase;
}

h1, h2, h3, h4 { margin: 0; }

.eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--terra-600);
  text-transform: none;
  line-height: 1;
}

.eyebrow.green { color: var(--green-700); }
.eyebrow.cream { color: var(--cream); }

.h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 1.05;
  color: var(--green-700);
  text-transform: uppercase;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.08;
  color: var(--green-700);
  text-transform: uppercase;
}
.h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.15;
  color: var(--green-700);
  text-transform: uppercase;
}
.h-script {
  font-family: var(--font-script);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 700;
  line-height: 0.95;
  color: var(--terra-600);
}

.lead {
  font-size: clamp(17px, 1.25vw, 20px);
  color: var(--brown-800);
  line-height: 1.55;
  max-width: 60ch;
}

/* ----------- Marca-texto amarelo ----------- */
.mark {
  position: relative;
  display: inline-block;
  isolation: isolate;
  padding: 0 0.12em;
}
.mark::before {
  content: "";
  position: absolute;
  inset: 8% -4% -2% -4%;
  background: var(--yellow-500);
  z-index: -1;
  border-radius: 4px 8px 3px 10px / 6px 4px 8px 3px;
  transform: rotate(-1deg);
  /* leve borda irregular */
  clip-path: polygon(2% 12%, 99% 4%, 98% 92%, 100% 100%, 4% 96%, 1% 98%);
}
.mark.terra::before { background: var(--terra-500); }
.mark.purple::before { background: var(--purple-500); }

/* on dark backgrounds */
.on-dark .mark::before { background: var(--yellow-500); }

/* ----------- Layout ----------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }

.section { padding: clamp(64px, 7vw, 110px) 0; }
.section--tight { padding: clamp(48px, 5vw, 80px) 0; }

.section--cream { background: var(--cream); }
.section--green {
  background: var(--green-700);
  color: var(--paper-2);
}
.section--green .h1,
.section--green .h2,
.section--green .h3 { color: var(--paper-2); }
.section--green .lead { color: rgba(255,255,255,0.84); }

.problem-section {
  overflow: hidden;
}

.problem-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("uploads/texture-problema.png") center/cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
}

.problem-section > * {
  position: relative;
  z-index: 1;
}

.section--terra {
  background: var(--terra-500);
  color: #fff;
}
.section--terra .h1,
.section--terra .h2,
.section--terra .h3 { color: #fff; }
.section--terra .lead { color: rgba(255,255,255,0.9); }

.support-section {
  overflow: hidden;
}

.support-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("uploads/texture-problema.png") center/cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
}

.support-section > * {
  position: relative;
  z-index: 1;
}

.support-page .support-section {
  padding-top: clamp(84px, 9vw, 132px);
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
}

.section--purple {
  background: var(--purple-600);
  color: #fff;
}
.section--purple .h1,
.section--purple .h2,
.section--purple .h3 { color: #fff; }
.section--purple .lead { color: rgba(255,255,255,0.9); }

.section--cream-soft {
  background: linear-gradient(180deg, #FFFDF6 0%, #FAF4E2 100%);
}

.page-hero {
  background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
  padding-top: clamp(48px, 6vw, 88px);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.page-hero__media {
  min-height: 520px;
  border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.28);
}

.page-crumbs {
  margin-bottom: 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brown-600);
}

.page-crumbs a:hover {
  color: var(--terra-500);
}

/* textura de papel sutil */
.tex-paper {
  background-image: url("assets/texture-paper.png");
  background-size: 600px;
  background-blend-mode: multiply;
  background-color: var(--cream);
}

/* ----------- Botões ----------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--terra-500);
  color: #fff;
  box-shadow: 0 4px 0 0 var(--terra-600);
}
.btn--primary:hover { background: var(--terra-600); box-shadow: 0 6px 0 0 var(--green-900); }

.btn--green {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 4px 0 0 var(--green-900);
}
.btn--green:hover { background: var(--green-600); }

.btn--yellow {
  background: var(--yellow-500);
  color: var(--green-900);
  box-shadow: 0 4px 0 0 #C4982C;
}

.btn--outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
}
.btn--outline:hover { background: var(--green-700); color: #fff; }

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover { background: #fff; color: var(--green-700); border-color: #fff; }

.btn--text {
  padding: 8px 0;
  background: transparent;
  color: var(--terra-600);
  font-weight: 700;
  border-radius: 0;
  border-bottom: 2px solid var(--terra-500);
}
.btn--text:hover { color: var(--green-700); border-color: var(--green-700); }

/* ----------- Cards ----------- */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px -20px rgba(63,78,31,0.25);
}
.card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: 6px; }
.card__media {
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
  position: relative;
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card__tag.terra { background: var(--terra-50); color: var(--terra-600); }
.card__tag.purple { background: var(--purple-50); color: var(--purple-600); }
.card__tag.yellow { background: #FBF1C9; color: #8A6914; }

/* foldered (with green band on top) */
.card--folder {
  border: none;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 18px 30px -28px rgba(0,0,0,0.15);
}
.card--folder::before {
  content: "";
  display: block;
  height: 8px;
  background: var(--green-700);
}
.card--folder.terra::before { background: var(--terra-500); }
.card--folder.purple::before { background: var(--purple-600); }
.card--folder.yellow::before { background: var(--yellow-500); }

/* ----------- Image placeholders / molduras ----------- */

.frame {
  position: relative;
  background: var(--cream-2);
  overflow: hidden;
  border-radius: 18px;
}
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Moldura orgânica: bordas irregulares via clip-path */
.frame--organic {
  --r1: 64% 36% 70% 30% / 40% 60% 40% 60%;
  border-radius: var(--r1);
}

.frame--torn {
  /* recorte com bordas rasgadas, simulando papel */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path fill='black' d='M3,5 C8,1 18,3 30,2 C45,1 60,4 75,1 C85,0 95,3 99,7 L99,93 C95,98 85,97 70,98 C55,99 40,96 25,99 C12,100 4,97 1,93 L2,8 Z'/></svg>") center/100% 100% no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path fill='black' d='M3,5 C8,1 18,3 30,2 C45,1 60,4 75,1 C85,0 95,3 99,7 L99,93 C95,98 85,97 70,98 C55,99 40,96 25,99 C12,100 4,97 1,93 L2,8 Z'/></svg>") center/100% 100% no-repeat;
}

.frame--tilt { transform: rotate(-1.5deg); }
.frame--tilt-r { transform: rotate(1.5deg); }

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, var(--cream) 0 12px, var(--cream-2) 12px 24px);
  color: var(--brown-600);
  font-family: var(--font-script);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  padding: 32px;
  min-height: 240px;
}
.placeholder svg { width: 36px; height: 36px; opacity: .5; margin-bottom: 8px; }

.video-placeholder {
  position: relative;
  background: linear-gradient(135deg, #2c3a18 0%, #4f6128 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
}
.video-placeholder .play {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: var(--yellow-500);
  color: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.video-placeholder .play svg { width: 30px; height: 30px; }
.video-placeholder::after {
  content: "Vídeo institucional";
  position: absolute;
  bottom: 18px;
  left: 22px;
  font-size: 13px;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ----------- Grafismos / ornamentos ----------- */

.brush-divider {
  display: block;
  width: 100%;
  height: 28px;
  color: var(--terra-500);
}

.corner-orn {
  position: absolute;
  pointer-events: none;
  opacity: 0.9;
}

/* badge "Melhores ONGs" */
.ong-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 14px;
  background: #fff;
  border: 2px solid var(--green-700);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-700);
}
.ong-badge__seal {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--yellow-500);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 0.9;
  text-align: center;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-header__logo img { height: 44px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  transition: color .28s ease;
}
.nav a:hover { color: var(--terra-500); }
.nav a.active { color: var(--green-700); font-weight: 700; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 2px;
  height: 3px;
  background: var(--yellow-500);
  border-radius: 2px;
  transform: rotate(-0.5deg);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer;
}

/* ============================================================
   HERO — full-bleed photo
   ============================================================ */

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green-900);
  color: #fff;
  isolation: isolate;
  /* deixar espaço para o brush divider no fundo sem cortar o conteúdo */
  padding-bottom: clamp(80px, 8vw, 120px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 32%;
  display: block;
}
/* leve esmaecimento + degradê para garantir contraste do texto, sem matar a foto */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(20,28,8,0.62) 0%, rgba(20,28,8,0.32) 45%, rgba(20,28,8,0.10) 100%),
    linear-gradient(180deg, rgba(20,28,8,0.10) 0%, rgba(20,28,8,0.45) 100%);
}

/* brush stroke recortando a base — herda do site de referência */
.hero__brush-bottom {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  width: 100%;
  height: 80px;
  color: var(--paper);
  pointer-events: none;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: clamp(80px, 10vw, 140px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: 0.04em;
  color: var(--terra-500);
  line-height: 1;
  background: rgba(255,255,255,0.96);
  padding: 6px 16px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(194,75,38,0.16);
  box-shadow: 0 12px 24px -18px rgba(31,26,18,0.45);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.6vw, 104px);
  line-height: 1.02;
  color: #fff;
  text-transform: uppercase;
  margin: 28px 0 30px;
  max-width: 16ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}

.hero__sub {
  font-size: clamp(17px, 1.35vw, 21px);
  color: rgba(255,255,255,0.92);
  max-width: 56ch;
  margin-bottom: 36px;
  text-align: justify;
  text-shadow: 0 1px 12px rgba(0,0,0,0.3);
  font-weight: 400;
}

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* selo Melhores ONGs (logo oficial) */
.hero__sticker--img {
  position: absolute;
  top: clamp(110px, 13vw, 180px);
  right: clamp(20px, 4vw, 80px);
  z-index: 3;
  width: clamp(120px, 12vw, 168px);
  height: auto;
  transform: rotate(-6deg);
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.32));
}

/* faixa de badges abaixo do hero, sobre o branco */
.hero-badges {
  background: var(--paper);
  padding: 36px 0 0;
}
.hero-badges__inner {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-badge__num {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 48px);
  color: var(--green-700);
  line-height: 0.9;
}
.hero-badge__label {
  font-size: 13px;
  color: var(--brown-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  max-width: 18ch;
}

/* ============================================================
   FAIXA DE CONFIANÇA
   ============================================================ */

.trust {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  position: relative;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.trust__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid var(--green-700);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-700);
  flex-shrink: 0;
}
.trust__icon svg { width: 22px; height: 22px; }

/* ============================================================
   NÚMEROS DE IMPACTO
   ============================================================ */

.impact-numbers__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.stat {
  text-align: center;
  padding: 28px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  color: var(--green-700);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  padding-right: 0;
}
.stat__label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brown-600);
}
.stat__icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  color: var(--terra-500);
  opacity: 0.55;
}
.stat:nth-child(2) .stat__icon { color: var(--green-700); }
.stat:nth-child(3) .stat__icon { color: var(--yellow-500); opacity: .8; }
.stat:nth-child(4) .stat__icon { color: var(--purple-600); opacity: .6; }
.stat:nth-child(5) .stat__icon { color: var(--terra-500); }

/* ============================================================
   2-col content section
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split--media-right > *:first-child { order: 1; }
.split--media-right > *:last-child  { order: 2; }

.about__title { margin-bottom: 20px; }
.about__title + .lead,
.about__title + .lead + .lead {
  text-align: justify;
}
.about__quote {
  margin-top: 28px;
  padding: 20px 24px;
  border-left: 4px solid var(--yellow-500);
  background: var(--cream);
  font-family: var(--font-script);
  font-size: 26px;
  font-weight: 700;
  color: var(--green-700);
  border-radius: 0 14px 14px 0;
}

.about__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.about__quote--compact {
  margin-top: 0;
  font-size: 26px;
}

.team-section + .team-section {
  margin-top: 42px;
}

.team-section__title {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.08;
  color: var(--green-700);
  text-transform: uppercase;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 24px;
  min-height: 300px;
  box-shadow: 0 18px 30px -28px rgba(0,0,0,0.16);
  text-align: center;
}

.team-card h4 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.06;
  color: var(--green-700);
  text-transform: uppercase;
}

.team-card p {
  margin: 0;
  color: var(--brown-800);
  font-size: 15px;
}

.team-card__photo {
  width: 168px;
  height: 168px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 auto 14px;
  box-shadow: 0 12px 24px -18px rgba(0,0,0,0.35);
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.governance-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 24px;
}

.governance-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--yellow-500);
}

.governance-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.governance-card li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.88);
  font-size: 15px;
}

.governance-card li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.transparency-intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: stretch;
}

.transparency-highlight {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 18px 30px -28px rgba(0,0,0,0.16);
}

.transparency-highlight__num {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.5vw, 70px);
  line-height: 1;
  color: var(--terra-500);
}

.transparency-highlight__text {
  margin-top: 10px;
  color: var(--brown-800);
  font-size: 16px;
  line-height: 1.55;
}

.transparency-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.transparency-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
}

.transparency-group h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.08;
  color: var(--green-700);
  text-transform: uppercase;
}

.transparency-list {
  display: grid;
  gap: 14px;
}

.transparency-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.transparency-item:hover {
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -28px rgba(0,0,0,0.16);
}

.transparency-accordion-list {
  display: grid;
  gap: 16px;
}

.transparency-accordion {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.transparency-accordion summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 22px 24px;
  cursor: pointer;
}

.transparency-accordion summary::-webkit-details-marker {
  display: none;
}

.transparency-accordion__title {
  display: block;
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.08;
  color: var(--green-700);
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: anywhere;
}

.transparency-accordion__arrow {
  color: var(--terra-500);
  transition: transform .2s ease;
}

.transparency-accordion[open] .transparency-accordion__arrow {
  transform: rotate(90deg);
}

.transparency-accordion__content {
  display: grid;
  gap: 10px;
  padding: 0 24px 24px 44px;
}

.transparency-document-list {
  display: grid;
  gap: 0;
}

.transparency-document-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(115, 98, 71, 0.18);
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.transparency-document-row:first-child {
  padding-top: 0;
}

.transparency-document-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.transparency-document-row:hover {
  color: var(--green-700);
}

.transparency-document-row__main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.transparency-document-row strong {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--green-700);
  text-transform: none;
  letter-spacing: 0;
  word-break: normal;
}

.transparency-document-row span {
  color: var(--brown-800);
  font-size: 14px;
}

.transparency-document-row__meta {
  font-size: 12px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brown-600) !important;
  white-space: nowrap;
  align-self: center;
}

@media (max-width: 720px) {
  .transparency-document-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .transparency-document-row__meta {
    white-space: normal;
    align-self: start;
  }
}

.transparency-single {
  display: flex;
  justify-content: flex-start;
}

.transparency-files {
  display: grid;
  gap: 14px;
}

.transparency-file-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.transparency-file-card strong {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.08;
  color: var(--green-700);
  text-transform: uppercase;
}

.transparency-file-card span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brown-600);
}

.transparency-document-card[aria-disabled="true"] {
  opacity: .6;
  pointer-events: none;
}

/* ============================================================
   CONTATO
   ============================================================ */

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.contact-hero__media {
  min-height: 480px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.contact-card:hover {
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -28px rgba(0,0,0,0.16);
}

.contact-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.05;
  color: var(--green-700);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-card__text {
  color: var(--brown-800);
  font-size: 15px;
  line-height: 1.55;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 30px -28px rgba(0,0,0,0.16);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brown-600);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf8;
  color: var(--brown-800);
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--terra-500);
  box-shadow: 0 0 0 4px rgba(233, 121, 61, 0.14);
}

.contact-form textarea {
  resize: vertical;
  min-height: 170px;
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-success {
  border: 1px solid rgba(82, 107, 53, 0.18);
  background: rgba(82, 107, 53, 0.08);
  color: var(--green-700);
  border-radius: 18px;
  padding: 18px 20px;
  font-weight: 700;
}

.contact-form-errors {
  font-size: 13px;
  color: #a64024;
}

.contact-poles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-pole-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 30px -28px rgba(0,0,0,0.16);
}

.contact-pole-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.05;
  color: var(--green-700);
  text-transform: uppercase;
}

.contact-pole-card p {
  margin: 0 0 10px;
  color: var(--brown-800);
  line-height: 1.6;
}

.contact-pole-card p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   O QUE FAZEMOS — Cards
   ============================================================ */

.do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.do-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.do-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -28px rgba(0,0,0,0.2);
}
.do-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.do-card__icon svg { width: 28px; height: 28px; }
.do-card.terra .do-card__icon { background: var(--terra-50); color: var(--terra-600); }
.do-card.purple .do-card__icon { background: var(--purple-50); color: var(--purple-600); }
.do-card.yellow .do-card__icon { background: #FBF1C9; color: #8A6914; }
.do-card.green-d .do-card__icon { background: var(--green-700); color: var(--yellow-500); }
.do-card.brown .do-card__icon { background: #F2E3D2; color: var(--brown-800); }

.do-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  color: var(--green-700);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.do-card p { color: var(--brown-800); font-size: 15px; }

/* ============================================================
   PROJECTS GRID
   ============================================================ */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.project:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -25px rgba(63,78,31,0.3);
}
.project__media {
  aspect-ratio: 4/3;
  background: var(--cream-2);
  position: relative;
  overflow: hidden;
}
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__tag-row {
  position: absolute;
  top: 14px; left: 14px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.project__tag {
  background: rgba(255,255,255,0.96);
  color: var(--green-700);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.project__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project__title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.08;
  color: var(--green-700);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.project__title-link {
  color: inherit;
  text-decoration: none;
}
.project__title-link:hover {
  text-decoration: underline;
}
.project__desc {
  color: var(--brown-800);
  font-size: 15px;
  flex: 1;
  margin-bottom: 18px;
}
.project__cta { margin-top: auto; }

/* ============================================================
   E-DUCAR DESTAQUE
   ============================================================ */

.educar {
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.educar__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.educar__numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.educar__num {
  padding: 18px 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.educar__num strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--terra-600);
  line-height: 1.06;
}
.educar__num span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--brown-600);
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.educar__media-stack {
  position: relative;
  aspect-ratio: 4/5;
}
.educar__media-stack .frame--a {
  position: absolute;
  inset: 0 30% 25% 0;
  z-index: 2;
  box-shadow: 0 24px 50px -28px rgba(0,0,0,0.3);
}
.educar__media-stack .frame--b {
  position: absolute;
  inset: 32% 0 0 30%;
  z-index: 1;
  box-shadow: 0 24px 50px -28px rgba(0,0,0,0.3);
}
.educar__quote {
  position: absolute;
  bottom: -10px;
  left: -20px;
  background: var(--yellow-500);
  padding: 16px 20px;
  border-radius: 14px;
  max-width: 240px;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.05;
  color: var(--green-900);
  z-index: 5;
  transform: rotate(-3deg);
  box-shadow: 0 18px 34px -16px rgba(0,0,0,0.3);
}
.educar__quote small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 8px;
  opacity: 0.7;
}

/* ============================================================
   ONDE ATUAMOS — Mapa
   ============================================================ */

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-top: 18px;
}
.cities li {
  list-style: none;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
}
.cities li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--terra-500);
  flex-shrink: 0;
}
.cities li.hub::before { background: var(--green-700); width: 11px; height: 11px; }

.map-poles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.map-poles .frame {
  aspect-ratio: 4/3;
  border-radius: 14px;
}

/* ============================================================
   HISTÓRIAS DE IMPACTO (depoimentos)
   ============================================================ */

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.story {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.story__media {
  aspect-ratio: 5/4;
  background: var(--cream-2);
  position: relative;
  overflow: hidden;
}
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__body { padding: 26px 26px 28px; }
.story__quote {
  font-family: var(--font-script);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--green-700);
  margin-bottom: 16px;
  position: relative;
  padding-left: 36px;
}
.story__quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -10px;
  font-family: Georgia, serif;
  font-size: 60px;
  line-height: 1;
  color: var(--terra-500);
}
.story__author {
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.story__author strong { color: var(--green-700); font-weight: 700; display: block; font-size: 15px; }
.story__author small { color: var(--brown-600); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ============================================================
   COMO APOIAR
   ============================================================ */

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.support {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 18px;
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  transition: background .2s;
  color: #fff;
}
.support:hover { background: rgba(255,255,255,0.16); }
.support__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--yellow-500);
  color: var(--green-900);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.support__icon svg { width: 24px; height: 24px; }
.support h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #fff;
}
.support p { color: rgba(255,255,255,0.85); font-size: 14px; flex: 1; margin-bottom: 18px; }
.support__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 2px solid var(--yellow-500);
  align-self: flex-start;
  color: var(--yellow-500);
}

/* ============================================================
   TRANSPARÊNCIA
   ============================================================ */

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.doc {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  gap: 12px;
  transition: border-color .2s, transform .2s;
  position: relative;
}
.doc:hover { border-color: var(--green-700); transform: translateY(-2px); }
.doc__icon {
  width: 44px; height: 44px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.doc__title {
  font-weight: 700;
  font-size: 16px;
  color: var(--green-700);
  line-height: 1.25;
}
.doc__meta { font-size: 12px; color: var(--brown-600); text-transform: uppercase; letter-spacing: 0.05em; }
.doc__cta {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--terra-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   PARCEIROS
   ============================================================ */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.partner {
  aspect-ratio: 5/2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-600);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color .2s;
  text-align: center;
  padding: 14px;
}
.partner:hover { border-color: var(--green-700); }
.partner img {
  max-width: 100%;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ============================================================
   NOTÍCIAS
   ============================================================ */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.news__media { aspect-ratio: 16/9; overflow: hidden; background: var(--cream-2); }
.news__media img { width: 100%; height: 100%; object-fit: cover; }
.news__media:hover img { transform: scale(1.03); }
.news__media img { transition: transform .35s ease; }
.news__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--brown-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.news__meta .cat {
  background: var(--terra-50);
  color: var(--terra-600);
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 700;
}
.news__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.18;
  color: var(--green-700);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.news__title-link {
  color: inherit;
  text-decoration: none;
}
.news__title-link:hover {
  text-decoration: underline;
}
.news__excerpt { color: var(--brown-800); font-size: 14px; flex: 1; margin-bottom: 14px; }

.news-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 42px;
  align-items: center;
}

.news-page-hero__media {
  position: relative;
  min-height: 440px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 30px 60px -34px rgba(31, 26, 18, 0.35);
}

.news-page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.news-page-hero__badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 220px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(44, 58, 24, 0.92);
  color: #fff;
  box-shadow: 0 20px 32px -24px rgba(0, 0, 0, 0.5);
}

.news-page-hero__badge strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--yellow-500);
}

.news-page-hero__badge span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,0.84);
}

.news-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.news-highlight {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
}

.news-highlight__label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-600);
}

.news-highlight__value {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--green-700);
  text-transform: uppercase;
}

.news-highlight p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--brown-800);
}

.news-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 28px 54px -40px rgba(31, 26, 18, 0.35);
}

.news-feature__media {
  min-height: 100%;
  background: var(--cream-2);
}

.news-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.news-feature__body {
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(242,193,46,0.18), transparent 34%),
    linear-gradient(180deg, #fff 0%, var(--paper-2) 100%);
}

.news-feature__body .news__meta {
  margin-bottom: 14px;
}

.news-feature__body .news__title {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 16px;
}

.news-feature__body .lead {
  max-width: none;
  margin-bottom: 24px;
}

.news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.news-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.news-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 10px 14px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-700);
}

.news-stack {
  display: grid;
  gap: 28px;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: 28px;
  align-items: start;
}

.news-story {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.news-story__media {
  overflow: hidden;
  border-radius: 20px;
  min-height: 240px;
  background: var(--cream-2);
}

.news-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-story__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-story__body .news__title {
  font-size: clamp(24px, 2.2vw, 34px);
}

.news-story__body p {
  color: var(--brown-800);
  margin-bottom: 14px;
}

.news-story__body p:last-of-type {
  margin-bottom: 0;
}

.news-story--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
}

.news-story--reverse .news-story__media {
  order: 2;
}

.news-story--reverse .news-story__body {
  order: 1;
}

.news-sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}

.news-sidebar-card h3 {
  margin-bottom: 16px;
}

.news-sidebar-list {
  display: grid;
  gap: 14px;
}

.news-sidebar-item {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.news-sidebar-item:first-child {
  padding-top: 0;
  border-top: none;
}

.news-sidebar-item strong {
  color: var(--green-700);
  font-size: 15px;
}

.news-sidebar-item span {
  font-size: 13px;
  color: var(--brown-600);
}

.news-sidebar-link {
  text-decoration: none;
  color: inherit;
}

.news-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--brown-600);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.impact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: 0 20px 40px -34px rgba(31, 26, 18, 0.22);
}

.impact-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  color: var(--green-700);
  text-transform: uppercase;
}

.impact-card span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brown-700);
}

.post-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 34px;
  align-items: center;
}

.post-hero__media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  background: var(--cream-2);
  box-shadow: 0 28px 54px -40px rgba(31, 26, 18, 0.35);
}

.post-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .7fr);
  gap: 28px;
  align-items: start;
}

.post-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  color: var(--brown-800);
}

.post-content p + p {
  margin-top: 16px;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 22px;
  align-items: start;
}

.project-detail__media {
  overflow: hidden;
  border-radius: 26px;
  background: var(--cream-2);
  box-shadow: 0 28px 54px -40px rgba(31, 26, 18, 0.35);
  position: sticky;
  top: 120px;
}

.project-detail__media img {
  width: 100%;
  display: block;
  min-height: 320px;
  object-fit: cover;
}

.educar-hero {
  background:
    radial-gradient(circle at top right, rgba(235, 94, 44, 0.18), transparent 32%),
    radial-gradient(circle at bottom left, rgba(67, 89, 42, 0.14), transparent 28%),
    var(--paper-2);
  padding-bottom: 42px;
}

.educar-hero__grid,
.educar-identity,
.educar-proof,
.educar-closing__panel {
  display: grid;
  gap: 28px;
}

.educar-hero__grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
  align-items: start;
}

.educar-hero__title {
  max-width: 12ch;
}

.educar-hero__lead {
  margin-top: 20px;
  max-width: 58ch;
}

.educar-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.educar-pill,
.educar-identity__tag,
.educar-note__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.educar-pill {
  background: rgba(255,255,255,0.75);
  color: var(--green-700);
  border: 1px solid rgba(67, 89, 42, 0.18);
  padding: 10px 16px;
  font-size: 12px;
}

.educar-hero__aside {
  position: relative;
}

.educar-hero-media,
.educar-gallery-card__stack {
  display: grid;
  gap: 14px;
}

.educar-hero-media {
  margin-bottom: 18px;
}

.educar-hero-media__main,
.educar-hero-media__thumb,
.educar-gallery-card__media,
.educar-gallery-card__stack > div {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 2px dashed rgba(67, 89, 42, 0.22);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.82), rgba(246, 226, 180, 0.88));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
}

.educar-hero-media__main img,
.educar-hero-media__thumb img,
.educar-gallery-card__media img,
.educar-gallery-card__stack img {
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  margin: -18px;
  object-fit: cover;
  display: block;
}

.educar-hero-media__main {
  min-height: 260px;
}

.educar-hero-media__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.educar-hero-media__thumb {
  min-height: 146px;
}

.educar-hero-media__thumb--video::before,
.educar-gallery-card__media--video::before {
  content: "▶";
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(67, 89, 42, 0.9);
  color: var(--paper-2);
  display: grid;
  place-items: center;
  font-size: 16px;
}

.educar-hero-media__main span,
.educar-hero-media__thumb span,
.educar-gallery-card__media span,
.educar-gallery-card__stack span {
  color: var(--green-700);
  font-weight: 700;
  max-width: 22ch;
}

.educar-media-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(67, 89, 42, 0.84);
  color: var(--paper-2) !important;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.educar-note {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(160deg, var(--green-700), #516b34);
  color: #fff;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,0.42);
}

.educar-note::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -54px;
  bottom: -62px;
  background: rgba(255, 204, 66, 0.16);
  border-radius: 40% 60% 59% 41% / 44% 43% 57% 56%;
}

.educar-note__eyebrow {
  background: rgba(255,255,255,0.14);
  color: var(--yellow-500);
  padding: 8px 12px;
  font-size: 11px;
  margin-bottom: 14px;
}

.educar-note h2,
.educar-note p {
  position: relative;
  z-index: 1;
}

.educar-note h2 {
  color: var(--paper-2);
  margin-bottom: 14px;
}

.educar-note p {
  color: rgba(255,255,255,0.88);
}

.educar-note p + p {
  margin-top: 12px;
}

.educar-identity {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.educar-gallery-intro {
  margin-bottom: 34px;
}

.educar-gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1fr;
  gap: 22px;
}

.educar-gallery-card,
.educar-identity__card,
.educar-proof__card {
  border-radius: 30px;
  padding: 30px;
  border: 1px solid rgba(67, 89, 42, 0.12);
  box-shadow: 0 24px 40px -34px rgba(67, 89, 42, 0.32);
}

.educar-gallery-card {
  background: #fffaf0;
}

.educar-identity__card {
  background: #fffaf0;
}

.educar-identity__card--green {
  background: linear-gradient(180deg, rgba(67, 89, 42, 0.08), rgba(67, 89, 42, 0.16));
}

.educar-identity__tag {
  background: var(--yellow-500);
  color: var(--green-900);
  padding: 8px 14px;
  font-size: 11px;
  margin-bottom: 18px;
}

.educar-identity__card h3,
.educar-gallery-card h3,
.educar-proof__card h3,
.educar-flow__item h3 {
  margin-bottom: 14px;
}

.educar-gallery-card__media {
  min-height: 280px;
  margin-top: 20px;
}

.educar-gallery-card__stack {
  margin-top: 20px;
}

.educar-gallery-card__stack > div {
  min-height: 132px;
}

.educar-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.educar-flow__item {
  padding: 28px;
  border-radius: 28px;
  background: rgba(252, 244, 213, 0.12);
  border: 1px solid rgba(255,255,255,0.12);
}

.educar-flow__item strong {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--yellow-500);
  color: var(--green-900);
  font-size: 24px;
}

.educar-flow__item p {
  color: rgba(255,255,255,0.84);
}

.educar-impact-grid .impact-card {
  background: #fffdf6;
}

.educar-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.educar-proof__card {
  background: var(--paper-2);
}

.educar-media-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
}

.educar-media-card {
  background: #fffaf0;
  border: 1px solid rgba(67, 89, 42, 0.12);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 24px 40px -34px rgba(67, 89, 42, 0.32);
}

.educar-media-card--featured {
  background: linear-gradient(180deg, rgba(235, 94, 44, 0.08), rgba(255, 204, 66, 0.12));
}

.educar-media-card h3 {
  margin-bottom: 14px;
}

.educar-media-card__placeholder {
  margin-top: 20px;
  min-height: 110px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  border-radius: 24px;
  border: 2px dashed rgba(67, 89, 42, 0.24);
  background: rgba(255,255,255,0.6);
  color: var(--green-700);
  font-weight: 700;
}

.educar-media-card__placeholder--wide {
  min-height: 160px;
}

.educar-closing {
  background: linear-gradient(180deg, #f6e2b4, #fcf4d5);
}

.educar-closing__panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(67, 89, 42, 0.1);
}

.educar-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */

.newsletter {
  background: var(--green-700);
  color: #fff;
  border-radius: 28px;
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("uploads/texture-problema.png") center/cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.newsletter h2 { color: #fff; margin-bottom: 10px; }
.newsletter p { color: rgba(255,255,255,0.85); }

.news-form {
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 8px;
  flex-wrap: nowrap;
  align-items: center;
}
.news-form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  padding: 12px 16px;
  font: inherit;
  color: var(--ink);
  font-size: 15px;
}
.news-form button {
  border: none;
  background: var(--terra-500);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.news-form button:hover { background: var(--terra-600); }
.news-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.news-form-fields input {
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.news-form-fields input::placeholder { color: rgba(73, 54, 35, 0.55); }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 32px;
  font-size: 14px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer__logo img { height: 56px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.site-footer h4 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--yellow-500);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:not(.btn):not(.site-socials a):hover { color: var(--yellow-500); }
.site-socials { display: flex; gap: 10px; margin-top: 16px; }
.site-socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.site-socials a:hover { background: var(--yellow-500); color: var(--green-900); }
.site-footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-numbers__grid { grid-template-columns: repeat(3, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .docs-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .nav.nav--open {
    position: absolute;
    top: calc(100% + 1px);
    left: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px 18px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 24px 44px -30px rgba(31, 26, 18, 0.35);
  }
  .nav.nav--open a {
    width: 100%;
    padding: 12px 0;
  }

  .split,
  .map-grid,
  .educar__grid,
  .educar-hero__grid,
  .educar-identity,
  .educar-gallery-grid,
  .educar-flow,
  .educar-proof,
  .educar-media-grid,
  .educar-closing__panel,
  .newsletter,
  .news-page-hero,
  .news-feature,
  .news-story,
  .news-story--reverse,
  .post-hero,
  .post-layout,
  .project-detail { grid-template-columns: 1fr; gap: 40px; }
  .page-hero__grid,
  .contact-grid,
  .contact-poles-grid,
  .news-layout { grid-template-columns: 1fr; }
  .newsletter { padding: 40px 28px; }
  .news-feature__body { padding: 30px 26px; }
  .news-story,
  .news-story--reverse { padding: 20px; }
  .news-story--reverse .news-story__media,
  .news-story--reverse .news-story__body { order: initial; }
  .project-detail__media { position: static; }
  .news-highlights { grid-template-columns: 1fr; }

  .hero { min-height: 600px; padding-bottom: 70px; }
  .hero__title { max-width: 18ch; }
  .hero__sticker--img { top: 100px; width: 110px; }
  .educar-hero__title { max-width: none; }
  .educar-links { width: 100%; }
  .educar-hero-media__row { grid-template-columns: 1fr; }

  .trust__grid { grid-template-columns: 1fr 1fr; }
  .do-grid,
  .projects-grid,
  .news-grid,
  .stories-grid,
  .support-grid { grid-template-columns: 1fr 1fr; }
  .support-page .support-section {
    min-height: auto;
    align-items: stretch;
  }
  .docs-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }

  .hero__sticker { width: 100px; height: 100px; right: 12px; font-size: 11px; }
  .hero__sticker strong { font-size: 18px; }
}

@media (max-width: 540px) {
  .impact-grid { grid-template-columns: 1fr; }
  .impact-numbers__grid { grid-template-columns: 1fr 1fr; }
  .do-grid,
  .projects-grid,
  .news-grid,
  .stories-grid,
  .support-grid,
  .docs-grid,
  .partners-grid { grid-template-columns: 1fr; }
  .support-page .support-section {
    padding-top: 72px;
  }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .cities { grid-template-columns: 1fr; }
  .educar__numbers { grid-template-columns: 1fr 1fr; }
  .news-form-fields { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 22px; }
  .contact-card__title { font-size: 20px; }
  .news-page-hero__media { min-height: 320px; }
  .news-page-hero__badge { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .news-feature__media img { min-height: 280px; }
  .news-actions { align-items: stretch; }

  .educar-note,
  .educar-gallery-card,
  .educar-identity__card,
  .educar-proof__card,
  .educar-media-card,
  .educar-flow__item,
  .educar-closing__panel {
    padding: 22px;
    border-radius: 24px;
  }

  .educar-pill-row {
    gap: 8px;
  }

  .educar-gallery-card__media {
    min-height: 220px;
  }
}
