:root {
  --teal-900: #005f68;
  --teal-700: #008895;
  --teal-300: #70dfd0;
  --mint: #d8fff5;
  --cream: #fff7ee;
  --paper: #ffffff;
  --gold: #d5a844;
  --terracotta: #e56f4f;
  --rose: #d95876;
  --plum: #68378a;
  --ink: #19343a;
  --muted: #667476;
  --accent-dark: #9b3f2f;
  --gold-dark: #8a6815;
  --hero-readable: #073f46;
  --line: rgba(11, 89, 97, 0.16);
  --shadow: 0 22px 70px rgba(20, 55, 60, 0.13);
  --radius: 8px;

  /* Font size variables */
  --fs-hero-title: clamp(2.5rem, 5.5vw, 5.2rem);
  --fs-hero-text: clamp(1.12rem, 2vw, 1.42rem);
  --fs-section-title: clamp(2rem, 4vw, 4.2rem);
  --fs-body-text: 1.08rem;
  --fs-nav-links: 0.88rem;
  --fs-indicator-val: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* Atualização institucional — agosto de 2026 */
.eyebrow { font-size: 15px; color: var(--terracotta); }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand span { max-width: 165px; line-height: 1.05; }
.hero-title-logo { width: min(450px, 38vw); max-height: 420px; object-fit: contain; object-position: left center; }
.hero.has-uploaded-bg { background-position: center !important; }
.global-statement { grid-template-columns: minmax(300px,.78fr) minmax(0,1.22fr); background: var(--paper); align-items: center; }
.global-statement-image { min-height: 600px; border-radius: 2px; }
.global-statement-copy { display: grid; gap: 16px; max-width: 850px; }
.global-statement-copy h2 { font-size: clamp(2.7rem,4.5vw,5.5rem); }
.global-statement-copy p { margin: 0; color: var(--muted); line-height: 1.75; }
.global-statement-copy strong { display: block; margin-top: 12px; padding: 24px; border-left: 4px solid var(--gold); background: var(--cream); color: var(--teal-900); font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.35rem,2vw,2rem); line-height: 1.25; }
#atuacao .area-number { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(40,84,71,.25); border-radius: 50%; color: var(--terracotta); font-size: 1.4rem; }
#atuacao .area-card { background: var(--paper); }
#atuacao .area-card:nth-child(even) { background: rgba(243,233,218,.58); }
.impact-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
.stories-section { background: var(--cream); }
.stories-placeholder { max-width: 760px; margin: 40px auto 0; padding: 52px; border: 1px dashed rgba(40,84,71,.3); text-align: center; color: var(--muted); }
.partnership-invite { background: var(--mint); }
.partnership-invite .section-heading p { max-width: 1050px; margin-inline: auto; }
.partnership-paths { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin: 38px auto; max-width: 1260px; }
.partnership-paths article { padding: 30px; background: var(--paper); border-top: 3px solid var(--gold); }
.partnership-paths h3 { color: var(--teal-900); font-size: 1.2rem; text-transform: uppercase; }
.donation-values { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.donation-values button { padding: 12px 18px; border: 1px solid rgba(40,84,71,.28); background: var(--paper); color: var(--teal-900); font-weight: 700; }
.transparency-page-hero, .event-hero { text-align: center; }
.transparency-page-hero h1, .transparency-page-hero p, .event-hero h1, .event-hero p { margin-inline: auto; }
.site-footer { background: #173d33; }

@media (max-width: 980px) {
  .global-statement { grid-template-columns: 1fr; }
  .global-statement-image { min-height: 360px; }
  .partnership-paths { grid-template-columns: repeat(2,1fr); }
  .impact-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .brand img { width: 52px; height: 52px; }
  .hero-title-logo { width: min(300px,78vw); }
  .partnership-paths, .impact-grid { grid-template-columns: 1fr; }
}

/* Direção institucional internacional */
:root {
  --ink-deep: #0d2f32;
  --sand: #f3eee6;
  --line-soft: rgba(13, 47, 50, 0.16);
}

html { scroll-behavior: smooth; scroll-padding-top: 104px; }

body {
  background: #fbfaf7;
  letter-spacing: -0.01em;
  padding-top: 88px;
}

.site-header {
  min-height: 88px;
  background: rgba(251, 250, 247, 0.94);
  border-bottom-color: var(--line-soft);
}

.brand span { font-size: 0.82rem; letter-spacing: 0.02em; text-transform: uppercase; }
.main-nav { gap: clamp(4px, 1vw, 15px); font-size: 12px; text-transform: uppercase; letter-spacing: .055em; }
.main-nav a { border-radius: 0; }
.nav-action { border-radius: 0; padding: 14px 19px !important; background: var(--ink-deep); }

.language-selector {
  position: relative;
  order: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding-left: 14px;
  border-left: 1px solid var(--line-soft);
  color: var(--ink-deep);
}
.language-trigger { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line-soft); border-radius: 50%; background: #fff; font-size: 1.45rem; cursor: pointer; }
.language-menu { position: absolute; z-index: 50; top: calc(100% + 12px); right: 0; width: 180px; padding: 8px; border: 1px solid var(--line-soft); background: #fff; box-shadow: 0 18px 45px rgba(8,42,45,.16); }
.language-menu[hidden] { display: none; }
.language-menu button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 12px; border: 0; background: transparent; color: var(--ink-deep); font: inherit; font-size: .82rem; text-align: left; cursor: pointer; }
.language-menu button:hover, .language-menu button:focus { background: var(--sand); }
.language-menu button span:first-child { font-size: 1.25rem; }
.language-flag { position: relative; display: inline-block; flex: 0 0 auto; width: 28px; height: 19px; overflow: hidden; border: 1px solid rgba(0,0,0,.12); border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.flag-br { background: #169b62; }
.flag-br::before { content: ""; position: absolute; width: 14px; height: 14px; left: 6px; top: 2px; background: #ffdf00; transform: rotate(45deg); }
.flag-br::after { content: ""; position: absolute; width: 8px; height: 8px; left: 9px; top: 5px; border-radius: 50%; background: #002776; }
.flag-us { background: repeating-linear-gradient(to bottom,#b22234 0 2px,#fff 2px 4px); }
.flag-us::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 10px; background: #3c3b6e; }
.flag-es { background: linear-gradient(to bottom,#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%); }
.flag-fr { background: linear-gradient(to right,#0055a4 0 33.33%,#fff 33.33% 66.66%,#ef4135 66.66%); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.hero {
  min-height: calc(92vh - 88px);
  padding-block: clamp(72px, 11vh, 140px);
  background-position: 63% center !important;
}
.hero-content { max-width: 1440px; }
.hero-title-group { max-width: 790px; }
.hero-title-row h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.8rem, 7.5vw, 8rem); letter-spacing: -.055em; line-height: .92; }
.hero-text { max-width: 620px; font-size: clamp(1rem, 1.4vw, 1.23rem); line-height: 1.65; }
.hero > .hero-content > .eyebrow { letter-spacing: .18em; }
.button { min-height: 52px; border-radius: 0; padding-inline: 24px; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; }
.hero .button.primary { background: #fff; color: var(--ink-deep); }
.hero .button.secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.7); }

.intro-line { padding: 26px clamp(20px, 5vw, 78px); background: var(--ink-deep); color: #fff; }
.intro-line p { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2vw, 2rem); }

.global-statement { display: grid; grid-template-columns: .55fr 1fr; gap: 20px 64px; padding: clamp(90px, 12vw, 170px) clamp(20px, 7vw, 108px); background: #fbfaf7; }
.global-statement-image { grid-row: 1 / span 2; align-self: stretch; min-height: 500px; overflow: hidden; }
.global-statement-image img { width: 100%; height: 100%; object-fit: cover; }
.global-statement h2 { max-width: 900px; margin: 0; color: var(--ink-deep); font-size: clamp(3rem, 6.2vw, 7rem); letter-spacing: -.055em; line-height: .94; }
.global-statement span { max-width: 690px; color: #536467; font-size: 1.1rem; line-height: 1.7; }

.section-grid, .section-block, .section-band { border-top: 1px solid var(--line-soft); }
.section-heading h2 { max-width: 960px; font-size: clamp(2.5rem, 4.7vw, 5.4rem); letter-spacing: -.045em; line-height: .98; }
.mission { background: var(--ink-deep); color: rgba(255,255,255,.75); }
.mission h3 { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3vw, 3.4rem); font-weight: 500; }
.mission article { border-top: 1px solid rgba(255,255,255,.28); padding-top: 22px; }

.projects { background: var(--sand); }
.projects .section-heading h2 { color: var(--ink-deep); text-shadow: none; }
.projects .section-heading .eyebrow { color: var(--terracotta); opacity: 1; text-shadow: none; }
.projects .section-heading { margin-inline: auto; text-align: center; }
.featured-projects, .project-directory { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.project-card { overflow: hidden; padding: 0; border: 1px solid var(--line-soft); border-radius: 0; background: #fff; box-shadow: none; }
.project-visual { position: relative; min-height: 310px; background: linear-gradient(145deg, var(--teal-900), var(--plum)); background-size: cover; background-position: center; }
.project-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,31,34,.82)); }
.project-visual span { position: absolute; z-index: 2; left: 24px; bottom: 22px; padding: 8px 11px; color: #fff !important; background: rgba(5,31,34,.78); font-size: .76rem; font-weight: 850; letter-spacing: .11em; line-height: 1.2; text-shadow: 0 1px 5px rgba(0,0,0,.5); text-transform: uppercase; }
.project-card-content { padding: 28px; }
.project-card-content h3 { display: block; min-height: 1.15em; color: var(--ink-deep) !important; opacity: 1 !important; }
.project-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 2.3vw, 2.7rem); font-weight: 500; }
.project-card p { color: #596a6c; line-height: 1.65; }
.project-card a { display: inline-flex; gap: 10px; margin-top: 15px; padding-bottom: 5px; border-bottom: 1px solid; color: var(--ink-deep); font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

.origin .portrait-wrap img { min-height: 620px; border-radius: 0; object-fit: cover; }
.international {
  background:
    radial-gradient(circle at 88% 18%, rgba(213,168,68,.18), transparent 26%),
    linear-gradient(125deg, #062f33 0%, #07545a 58%, #063b40 100%);
  border-top: 5px solid var(--gold);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.international > div { position: relative; z-index: 1; }
.international .eyebrow { color: #f1c96f !important; }
.international h2 { color: #fff; text-wrap: balance; }
.international p { color: rgba(255,255,255,.86); }
.international > div:last-child {
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(2,25,28,.24);
}
.international::after {
  border-color: rgba(241,201,111,.32);
  background:
    linear-gradient(90deg, transparent 48%, rgba(241,201,111,.22) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255,255,255,.12) 49% 51%, transparent 52%);
  opacity: .8;
}
.ods-card, .governance-item, .support-way, .card, .axis-card { border-radius: 0; box-shadow: none; }

.ods-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.ods-card { position: relative; display: flex; align-items: flex-end; min-height: 260px; padding: 24px; overflow: hidden; border: 0; background-size: cover; background-position: center; }
.ods-card span { position: relative; z-index: 1; color: #fff; font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.25rem,1.65vw,1.8rem); font-weight: 500; line-height: 1.08; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.ods-card strong { display: none; }
.site-footer { background: #082a2d; }

@media (max-width: 1100px) {
  .language-selector { margin-left: 0; order: initial; }
  .featured-projects, .project-directory { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ods-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .language-selector { margin-left: auto; padding-left: 0; border-left: 0; }
  .global-statement { grid-template-columns: 1fr; }
  .global-statement-image { grid-row: auto; min-height: 360px; }
  .featured-projects, .project-directory { grid-template-columns: 1fr; }
  .ods-grid { grid-template-columns: 1fr; }
  .hero-title-row h1 { font-size: clamp(3.15rem, 15vw, 5.5rem); }
  .project-visual { min-height: 260px; }
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: var(--fs-body-text);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 64px);
  background:
    linear-gradient(90deg, rgba(216, 255, 245, 0.96), rgba(255, 247, 238, 0.96) 46%, rgba(255, 231, 224, 0.96)),
    var(--cream);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(5, 31, 34, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  color: var(--teal-900);
  font-weight: 700;
}

.brand img {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(112, 223, 208, 0.65);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 95, 104, 0.16);
}

.brand span {
  max-width: 180px;
  font-size: 0.95rem;
  line-height: 1.15;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(10px, 1.7vw, 24px);
  color: var(--teal-900);
  font-size: var(--fs-nav-links);
  font-weight: 600;
}

.main-nav a {
  padding: 9px 11px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--teal-900);
  background: rgba(112, 223, 208, 0.25);
  box-shadow: 0 8px 18px rgba(0, 95, 104, 0.1);
  transform: translateY(-1px);
}

.nav-action {
  padding: 10px 16px !important;
  color: var(--paper);
  background: linear-gradient(135deg, var(--teal-900), var(--plum));
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 95, 104, 0.22);
}

.nav-action:hover,
.nav-action:focus {
  color: var(--paper) !important;
  background: linear-gradient(135deg, var(--teal-700), var(--plum)) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(216, 255, 245, 0.9));
  box-shadow: 0 8px 20px rgba(0, 95, 104, 0.12);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--teal-900);
}

.section-band,
.section-block,
.section-grid,
.support,
.admin-layout {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 78px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vh, 40px);
  min-height: calc(100vh - 78px);
  padding-top: clamp(24px, 4vh, 56px);
  padding-bottom: clamp(24px, 4vh, 56px);
  background:
    linear-gradient(105deg, rgba(216, 255, 245, 0.92), rgba(255, 247, 238, 0.96) 43%, rgba(229, 111, 79, 0.24)),
    radial-gradient(circle at 86% 12%, rgba(213, 168, 68, 0.34), transparent 30%),
    radial-gradient(circle at 12% 84%, rgba(112, 223, 208, 0.42), transparent 34%);
}

.hero-content {
  max-width: 1200px;
  width: 100%;
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: clamp(10px, 1.5vh, 20px);
}

.hero-title-group {
  flex: 0 1 auto;
}

.hero-title-row h1 {
  margin-bottom: 0;
  max-width: none;
  font-size: var(--fs-hero-title);
}

.hero-title-logo {
  flex: 0 0 auto;
  width: 450px;
  height: 450px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hero-title-logo[hidden] {
  display: none !important;
}

.hero.has-uploaded-bg h1,
.hero.has-uploaded-bg .hero-text {
  color: var(--paper);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.28);
}

.hero > .hero-content > .eyebrow {
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.48);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--teal-900);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: var(--fs-section-title);
}

h3 {
  color: var(--teal-900);
  font-size: 1.16rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 680px;
  color: #35585d;
  font-size: var(--fs-hero-text);
  margin-top: 12px;
  margin-bottom: 0;
}

.hero-lead,
.hero-complement {
  max-width: 860px;
  color: var(--hero-readable);
  font-weight: 800;
}

.hero-lead {
  margin: 18px 0 12px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(11, 89, 97, 0.1);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.hero-complement {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: #14373c;
  font-size: 1.02rem;
}

.hero-actions,
.social-links,
.section-actions,
.admin-actions,
.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions {
  margin-top: clamp(12px, 2vh, 24px);
  justify-content: flex-start;
}

.institutional-motto {
  display: grid;
  gap: 8px;
  max-width: 980px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(213, 168, 68, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(11, 89, 97, 0.12);
}

.institutional-motto strong {
  color: var(--teal-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.6vw, 2.2rem);
  font-weight: 500;
}

.institutional-motto span {
  color: var(--plum);
  font-weight: 800;
}

.centered-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(11, 89, 97, 0.18);
}

.button.primary {
  color: var(--paper);
  background: var(--teal-900);
}

.button.secondary {
  color: var(--teal-900);
  background: var(--paper);
  border-color: var(--line);
}

.impact-strip,
.hero-impact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  width: min(100%, 900px);
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(11, 89, 97, 0.11);
}

.impact-strip div,
.hero-impact div {
  min-height: 86px;
  padding: 18px 12px;
  text-align: center;
}

.impact-strip div + div,
.hero-impact div + div {
  border-left: 1px solid var(--line);
}

.impact-strip strong,
.impact-strip span,
.hero-impact strong,
.hero-impact span {
  display: block;
}

.impact-strip strong,
.hero-impact strong {
  color: var(--teal-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 500;
}

.hero-impact strong.impact-value {
  font-size: var(--fs-indicator-val);
  font-weight: 700;
  line-height: 1.1;
  color: var(--teal-900);
  margin-bottom: 2px;
}

.hero-impact strong.impact-title {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1px;
}

.impact-strip span,
.hero-impact span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-impact span.impact-text {
  font-size: 0.82rem;
}

.intro-line {
  padding: 28px clamp(20px, 5vw, 78px);
  color: var(--paper);
  background: linear-gradient(90deg, var(--teal-900), var(--teal-700), var(--plum));
  text-align: center;
}

.intro-line p {
  max-width: 1040px;
  margin: 0 auto 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
}

.intro-line span {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.section-grid > *,
.support > *,
.contact > *,
.transparency > *,
.book-callout > * {
  min-width: 0;
}

.section-heading {
  max-width: 1180px;
  min-width: 0;
}

.section-heading h2,
.page-hero h1 {
  text-wrap: balance;
}

.section-band > .section-heading h2,
.section-block > .section-heading h2 {
  max-width: 1180px;
  font-size: clamp(2.65rem, 4vw, 4.75rem);
  line-height: 1.02;
}

.page-hero h1 {
  max-width: 1120px;
  font-size: clamp(2.7rem, 5.3vw, 5.2rem);
  line-height: 1;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

#atuacao .section-heading.centered {
  max-width: 1180px;
}

#atuacao .section-heading h2 {
  max-width: 1180px;
  font-size: clamp(2.65rem, 4vw, 4.75rem);
  line-height: 1.02;
  text-wrap: balance;
}

#atuacao {
  background: linear-gradient(180deg, #fbfaf7 0%, #fbfaf7 46%, var(--sand) 46%, var(--sand) 100%);
}

.projects-within-areas {
  margin-top: clamp(64px, 8vw, 110px);
  padding-top: clamp(58px, 7vw, 92px);
  border-top: 1px solid var(--line-soft);
}

.projects-within-areas .section-heading {
  margin-bottom: clamp(34px, 5vw, 58px);
}

#atuacao .cards.areas {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

#atuacao .area-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 270px;
  padding: clamp(24px, 2.5vw, 38px);
  text-align: center;
  border: 0;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  background: rgba(255,255,255,.58);
  box-shadow: none;
}

#atuacao .area-card:nth-child(even) { background: rgba(247,242,233,.72); }
#atuacao .area-number { width: 100%; color: var(--terracotta); font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-align: center; }
#atuacao .area-card h3 { width: 100%; margin: 0; color: var(--teal-900); font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.45rem,1.8vw,2rem); font-weight: 500; line-height: 1.08; text-align: center; text-wrap: balance; }
#atuacao .area-card p { width: 100%; margin: 0; color: #526467; font-size: .94rem; line-height: 1.6; text-align: justify; text-wrap: pretty; }

@media (max-width: 1100px) { #atuacao .cards.areas { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { #atuacao .cards.areas { grid-template-columns: 1fr; } #atuacao .area-card { min-height: 220px; } }

@media (max-width: 760px) {
  .section-band > .section-heading h2,
  .section-block > .section-heading h2,
  #atuacao .section-heading h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .page-hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}

.about-copy {
  min-width: 0;
  color: #43575a;
  font-size: var(--fs-body-text);
}

.mission {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: #f2ebe4;
  color: var(--ink);
}

.mission article,
.card,
.project-list article,
.gallery-grid article,
.project-card,
.event-card,
.media-wall article,
.video-wall article,
.admin-form,
.admin-event-item,
.support-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 46px rgba(25, 68, 72, 0.08);
}

.page-hero {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 78px);
  background:
    linear-gradient(110deg, rgba(216, 255, 245, 0.94), rgba(255, 247, 238, 0.96) 52%, rgba(229, 111, 79, 0.18)),
    radial-gradient(circle at 88% 12%, rgba(213, 168, 68, 0.25), transparent 30%);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.page-hero p {
  max-width: 760px;
  color: #43575a;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

/* Centralização editorial das seções principais da página Parcerias */
.partnerships-page-hero {
  display: flex;
  min-height: 610px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.partnerships-page-hero h1,
.partnerships-page-hero p {
  margin-inline: auto;
}

.partnerships-page-hero h1 {
  width: min(100%, 1500px);
  max-width: 1500px;
  font-size: clamp(3.4rem, 5vw, 5.7rem);
}

.partnerships-page-hero > p:last-child {
  width: min(100%, 1500px);
  max-width: 1500px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .partnerships-page-hero {
    min-height: auto;
  }

  .partnerships-page-hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .partnerships-page-hero > p:last-child {
    white-space: normal;
  }
}

@media (min-width: 761px) and (max-width: 1250px) {
  .partnerships-page-hero > p:last-child {
    white-space: normal;
  }
}

.event-hero,
.admin-hero {
  background:
    linear-gradient(135deg, rgba(0, 95, 104, 0.98), rgba(104, 55, 138, 0.9), rgba(229, 111, 79, 0.64)),
    linear-gradient(90deg, rgba(139, 215, 205, 0.2), transparent);
}

.event-hero h1,
.event-hero p,
.event-hero .eyebrow,
.admin-hero h1,
.admin-hero p,
.admin-hero .eyebrow {
  color: var(--paper);
}

.mission article {
  padding: 28px;
  color: var(--ink);
}

.mission article h3 {
  color: var(--teal-900);
}

.mission article p {
  color: #43575a;
}

.mission span {
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

/* Missão, Visão e Valores em seção institucional escura */
.mission.section-band {
  padding-block: clamp(76px, 9vw, 126px);
  background:
    radial-gradient(circle at 85% 12%, rgba(112,223,208,.13), transparent 34%),
    linear-gradient(135deg, #082f34, #0b454b 58%, #073238);
}

.mission.section-band article {
  min-height: 330px;
  padding: clamp(30px,3.3vw,48px);
  border: 1px solid rgba(255,255,255,.16);
  border-top: 3px solid var(--gold);
  border-radius: 0;
  background: rgba(255,255,255,.96);
  box-shadow: 0 20px 46px rgba(0,0,0,.18);
}

.mission.section-band article h3 {
  color: var(--teal-900);
  text-align: center;
}
.mission.section-band article p {
  color: #43575a;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.card {
  min-height: 244px;
  padding: 24px;
}

.area-card-image,
.project-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  border-radius: var(--radius);
  object-fit: cover;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--teal-900);
  border: 1px solid rgba(181, 139, 79, 0.36);
  border-radius: 50%;
  background: rgba(139, 215, 205, 0.2);
  font-size: 0.74rem;
  font-weight: 900;
}

.projects {
  background: linear-gradient(135deg, rgba(0, 95, 104, 0.97), rgba(104, 55, 138, 0.9), rgba(217, 88, 118, 0.72));
}

.projects h2,
.projects h3,
.projects .eyebrow {
  color: var(--paper);
}

.projects .eyebrow {
  opacity: 0.82;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.project-list article {
  min-height: 210px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
}

.project-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  min-height: 290px;
  padding: 28px;
  overflow: hidden;
}

.project-card span,
.event-card span,
.admin-event-item span {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card a,
.media-wall a,
.admin-item-actions a,
.admin-item-actions button {
  color: var(--teal-900);
  font-weight: 900;
}

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

.event-card {
  overflow: hidden;
}

.event-card a {
  display: grid;
  height: 100%;
}

.event-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--mint);
}

.event-card div {
  padding: 22px;
}

.event-card small {
  color: var(--muted);
  font-weight: 700;
}

.impact-section {
  background: #eef8f5;
}

.impact-section .section-heading p {
  color: #43575a;
}

#impacto .section-heading {
  margin-inline: auto;
  text-align: center;
}

#impacto .section-heading p {
  margin-inline: auto;
}

#impacto .impact-grid {
  justify-content: center;
  grid-template-columns: repeat(3, minmax(240px, 420px));
}

#impacto .impact-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  text-align: center;
}

.projects-directory-section {
  padding-top: clamp(4.5rem, 7vw, 7rem);
}

.projects-axes-section {
  padding-top: clamp(2.75rem, 4vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 5vw, 5.5rem);
  background: #fffdf9;
}

.projects-axes-section .section-heading {
  margin-bottom: 1.5rem;
}

.projects-axes-section .compact-axis-title {
  max-width: none;
  font-size: clamp(2rem, 3vw, 3.25rem);
}

.impact-page .projects-directory-section,
.impact-page .projects-axes-section {
  text-align: center;
}

.impact-page .section-heading {
  margin-inline: auto;
}

.impact-page .project-directory {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1760px;
  margin-inline: auto;
}

.impact-page .project-card {
  flex: 1 1 calc((100% - 36px) / 3);
  max-width: calc((100% - 36px) / 3);
}

.impact-page .project-visual span {
  left: 50%;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

.impact-page .project-card-content {
  text-align: center;
}

.impact-page .project-card-content h3,
.impact-page .project-card-content p {
  margin-inline: auto;
}

.impact-page .project-card-content a {
  justify-content: center;
}

.impact-page .axis-list-compact {
  justify-content: center;
}

@media (max-width: 1100px) {
  .impact-page .project-card {
    flex-basis: calc((100% - 18px) / 2);
    max-width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 760px) {
  .impact-page .project-card {
    flex-basis: 100%;
    max-width: 100%;
  }

  .impact-page .project-visual span {
    max-width: calc(100% - 32px);
    white-space: normal;
  }
}

.impact-grid,
.axis-grid,
.ods-grid,
.governance-grid,
.support-ways {
  display: grid;
  gap: 14px;
}

.impact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.impact-placeholder,
.axis-card,
.ods-card,
.governance-item,
.support-way {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(25, 68, 72, 0.07);
}

.impact-placeholder {
  min-height: 150px;
  padding: 20px;
}

.impact-placeholder span,
.axis-card span,
.governance-item span {
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.impact-placeholder strong,
.governance-item strong {
  display: block;
  margin-top: 8px;
  color: var(--teal-900);
  font-size: 1.08rem;
  line-height: 1.25;
}

.impact-placeholder p,
.empty-axis {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.axis-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.axis-card {
  min-height: 238px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.95);
}

.axis-card h3 {
  color: var(--teal-900);
  margin-top: 8px;
}

.axis-card p {
  color: #43575a;
  font-size: 0.96rem;
}

.compact-axis-title { margin-bottom: 22px; font-size: clamp(2rem,3.2vw,3.6rem); }
.axis-list-compact { display: flex; flex-wrap: wrap; gap: 10px; }
.axis-list-compact span { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 16px; color: var(--teal-900); border: 1px solid rgba(0,95,104,.22); background: rgba(216,255,245,.28); font-size: .88rem; font-weight: 750; }

.international {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(213,168,68,.18), transparent 26%),
    linear-gradient(125deg, #062f33 0%, #07545a 58%, #063b40 100%);
}

.international::after {
  content: "";
  position: absolute;
  right: clamp(18px, 7vw, 120px);
  bottom: clamp(18px, 6vw, 96px);
  width: min(28vw, 320px);
  aspect-ratio: 1;
  border: 1px solid rgba(241,201,111,.32);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(241,201,111,.22) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255,255,255,.12) 49% 51%, transparent 52%);
  opacity: .8;
  pointer-events: none;
}

.ods-section {
  background: var(--paper);
}

.ods-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
}

.ods-card {
  min-height: 132px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 238, 0.94)),
    linear-gradient(135deg, rgba(0, 95, 104, 0.12), rgba(213, 168, 68, 0.16));
}

.ods-card strong {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 34px;
  margin-bottom: 14px;
  color: var(--paper);
  border-radius: 999px;
  background: var(--teal-900);
  font-size: 0.88rem;
}

.ods-card span {
  display: block;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
}

.origin {
  background: #fffdf9;
}

.book-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  color: var(--paper);
  background: linear-gradient(135deg, var(--teal-900), var(--plum));
}

.book-callout h2,
.book-callout .eyebrow {
  color: var(--paper);
}

.book-placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(213, 168, 68, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
  text-align: center;
}

.book-placeholder span {
  max-width: 180px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.book-placeholder img {
  width: 100%;
  height: 420px;
  max-height: 420px;
  border-radius: var(--radius);
  object-fit: contain;
}

.book-placeholder img:not([hidden]) + span {
  display: none;
}

.highlight-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.highlight-list strong {
  display: block;
  padding: 14px 16px;
  color: var(--teal-900);
  border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius);
  background: rgba(216, 255, 245, 0.5);
}

.presence {
  background: var(--paper);
}

.portrait-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portrait-wrap img {
  width: 100%;
  height: min(72vw, 680px);
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.gallery-grid article {
  min-height: 220px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.98)),
    linear-gradient(135deg, rgba(139, 215, 205, 0.45), rgba(183, 107, 121, 0.22));
}

.gallery-grid span {
  display: block;
  width: 100%;
  height: 82px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11, 89, 97, 0.9), rgba(139, 215, 205, 0.45)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.24) 0 8px, transparent 8px 16px);
}

.media-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-button {
  min-height: 44px;
  padding: 10px 18px;
  color: var(--teal-900);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tab-button.is-active {
  color: var(--paper);
  background: var(--teal-900);
}

.media-wall,
.video-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.media-wall article,
.video-wall article {
  overflow: hidden;
}

.media-wall img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-wall h3,
.media-wall a,
.video-wall h3 {
  margin: 16px 18px;
}

.video-wall iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-wall video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #101010;
}

.empty-state {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
}

.event-detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 7vw, 86px) clamp(20px, 5vw, 78px);
  background: var(--paper);
}

.event-detail-hero > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.event-meta span {
  padding: 10px 14px;
  color: var(--teal-900);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-weight: 900;
}

.event-copy {
  background: #eef8f5;
}

.video-section {
  background: #f6f0f3;
}

.transparency {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: linear-gradient(135deg, #e9fff9, #fff7ee);
}

.document-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.document-list li {
  padding: 15px 16px;
  color: var(--teal-900);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

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

.governance-item {
  min-height: 96px;
  padding: 18px;
}

.support {
  display: block;
  position: relative;
  margin-top: clamp(52px, 7vw, 92px);
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(135deg, rgba(213,168,68,.98), rgba(255,247,238,.94));
}

.support::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * clamp(52px, 7vw, 92px));
  height: clamp(52px, 7vw, 92px);
  background: #fbfaf7;
  border-bottom: 1px solid var(--line-soft);
}

.support-panel {
  padding: clamp(28px, 4vw, 48px);
}

.support-panel.accent {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(213, 168, 68, 0.98), rgba(255, 247, 238, 0.94)),
    var(--gold);
  border-color: rgba(181, 139, 79, 0.38);
}

.support > .support-panel.accent {
  width: 100%;
  padding: clamp(44px,6vw,78px);
}

.support-contact-button {
  margin-top: 22px;
  color: #fff;
  background: var(--ink-deep);
  border-color: var(--ink-deep);
}

.support-panel.accent h2,
.support-panel.accent .eyebrow {
  color: var(--ink);
}

.echo-title {
  position: relative;
}

.echo-title::after {
  content: none;
}

.support-ways {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.support-way {
  padding: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.support-way h3 {
  margin-bottom: 8px;
}

.support-way p {
  margin-bottom: 0;
}

.cta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cta-list a {
  padding: 10px 12px;
  color: var(--teal-900);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  background: #f6f0f3;
}

.social-links a {
  padding: 10px 14px;
  color: var(--teal-900);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
}

.partnerships-contact {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.partnerships-contact-heading {
  max-width: 920px;
  text-align: center;
}

.partnerships-contact-heading h2 {
  text-wrap: balance;
}

.partnerships-contact-heading > p:not(.eyebrow) {
  max-width: 780px;
  margin-inline: auto;
}

.partnerships-contact-links {
  justify-content: center;
}

.partnerships-contact .contact-form {
  width: min(100%, 920px);
}

label {
  display: grid;
  gap: 7px;
  color: var(--teal-900);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf9;
  font: inherit;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: start;
}

.admin-shell {
  padding: clamp(42px, 6vw, 78px) clamp(20px, 5vw, 78px);
}

.admin-tabs {
  justify-content: flex-start;
  margin-bottom: 22px;
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

.wide-form {
  max-width: 1120px;
}

.compact-admin {
  padding: 0;
}

.admin-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.institute-data-form { max-width: 1180px; }
.admin-fieldset { display: grid; gap: 16px; margin: 0; padding: clamp(20px,3vw,30px); border: 1px solid var(--line); background: #fbfdfc; }
.admin-fieldset legend { padding: 0 10px; color: var(--teal-900); font-family: Georgia,"Times New Roman",serif; font-size: 1.45rem; font-weight: 700; }
.admin-fieldset select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.security-note { padding: 15px 17px; border-left: 4px solid var(--gold); background: #fff8e6; color: #4e4940; line-height: 1.55; }
.switch-label { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; }
.switch-label input { width: 20px; height: 20px; }
.qr-preview img { width: min(260px,100%); aspect-ratio: 1; object-fit: contain; background: #fff; }
.donation-options { display: grid; gap: 16px; margin-top: 28px; }
.donation-option { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; padding: 24px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); }
.donation-option h3 { color: inherit; margin: 5px 0 10px; }
.donation-option p { margin: 0; overflow-wrap: anywhere; }
.donation-option img { width: 170px; aspect-ratio: 1; object-fit: contain; padding: 8px; background: #fff; }
.donation-kicker { color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.copy-pix { margin-top: 16px; padding: 10px 14px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; font-weight: 800; }
.payment-links { display: flex; flex-wrap: wrap; gap: 10px; }
.partners-carousel-section { background: #fff; }
.partners-carousel-heading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; margin-bottom: 38px; text-align: center; }
.partners-carousel-heading h2 { max-width: none; font-size: clamp(2.7rem,3.7vw,4.5rem); white-space: nowrap; }
.partners-carousel-heading h2, .partners-carousel-heading .eyebrow { margin-inline: auto; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { width: 52px; height: 52px; border: 1px solid var(--line); background: #fff; color: var(--teal-900); font-size: 1.35rem; cursor: pointer; }
.partners-carousel { display: grid; width: max-content; max-width: 100%; margin-inline: auto; grid-auto-flow: column; grid-auto-columns: clamp(210px,18vw,280px); justify-content: start; gap: 16px; overflow-x: auto; padding: 0 2px 14px; scroll-padding-inline: 2px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.partner-slide { display: grid; grid-template-rows: 160px auto; gap: 14px; align-items: center; min-height: 220px; padding: 24px; border: 1px solid var(--line-soft); background: #fbfaf7; color: var(--ink-deep); text-align: center; scroll-snap-align: start; }
.partner-slide img { width: 100%; height: 150px; object-fit: contain; }
.partner-slide span { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-partner-item { display: grid; grid-template-columns: 82px 1fr; gap: 14px; align-items: center; margin-bottom: 12px; padding: 14px; border: 1px solid var(--line); background: #fff; }
.admin-partner-item img { width: 82px; height: 70px; object-fit: contain; }
.admin-partner-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.admin-partner-actions button { padding: 7px 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.documents-section { background: #fbfaf7; }
.document-library { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 34px; }
.document-card { display: flex; flex-direction: column; min-height: 235px; padding: 26px; border-top: 3px solid var(--gold); background: #fff; box-shadow: 0 14px 38px rgba(25,68,72,.07); }
.document-card > span { color: var(--terracotta); font-size: .73rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.document-card h3 { margin: 15px 0 8px; font-size: 1.55rem; }
.document-card p { color: var(--muted); }
.document-card a { margin-top: auto; color: var(--teal-900); font-weight: 800; }
.empty-documents { margin-top: 30px; padding: 28px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }

.transparency-page-hero {
  display: flex;
  min-height: 610px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.transparency-page-hero h1 {
  width: min(100%, 1450px);
  max-width: 1450px;
  margin-inline: auto;
  font-size: clamp(3.3rem, 5vw, 5.6rem);
}

.transparency-page-hero p {
  width: min(100%, 980px);
  max-width: 980px;
  margin-inline: auto;
}

.transparency-documents {
  text-align: center;
}

.transparency-documents .section-heading {
  margin-inline: auto;
}

.transparency-documents .section-heading > p:last-child {
  max-width: 820px;
  margin-inline: auto;
}

.transparency-documents .document-library {
  max-width: 1400px;
  margin-inline: auto;
}

.transparency-documents .document-card {
  align-items: center;
  text-align: center;
}

.transparency-documents .document-card a {
  align-self: center;
}

@media (max-width: 760px) {
  .transparency-page-hero {
    min-height: auto;
  }

  .transparency-page-hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}
.document-file-preview { padding: 12px 14px; border: 1px dashed var(--line); color: var(--muted); }
.admin-indicator-item { display: grid; grid-template-columns: minmax(90px,.35fr) 1fr; gap: 18px; align-items: center; margin-bottom: 12px; padding: 20px; border: 1px solid var(--line); background: #fff; }
.admin-indicator-item > strong { color: var(--teal-900); font-family: Georgia,"Times New Roman",serif; font-size: 2.35rem; line-height: 1; }
.admin-indicator-item h3 { margin: 0 0 5px; font-size: 1.15rem; }
.admin-indicator-item p { margin: 0; color: var(--muted); }
.users-admin-layout { grid-template-columns: minmax(340px,.95fr) minmax(360px,1.05fr); }
.permission-fieldset { padding: 20px; }
.permission-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 14px; }
.permission-grid label { display: flex; flex-direction: row; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--line-soft); background: #fff; font-size: .9rem; }
.permission-grid input { width: 18px; height: 18px; flex: 0 0 auto; }
.admin-user-item { display: grid; gap: 11px; margin-bottom: 12px; padding: 20px; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 28px rgba(25,68,72,.05); }
.admin-user-heading { display: flex; justify-content: space-between; align-items: start; gap: 14px; }
.admin-user-heading h3 { margin: 0 0 4px; color: var(--teal-900); }
.admin-user-heading p, .user-permissions-summary { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.role-badge { padding: 7px 10px; border-radius: 999px; font-size: .72rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.role-admin { color: #fff; background: var(--teal-900); }
.role-manager { color: var(--teal-900); background: var(--mint); }
.role-seller { color: #51360a; background: #f5d98e; }
.primary-admin-note { margin: 0; color: var(--gold-dark); font-size: .82rem; font-weight: 800; }
.danger-action { color: var(--terracotta) !important; }
.impact-placeholder > strong { display: block; color: var(--teal-900); font-family: Georgia,"Times New Roman",serif; font-size: clamp(2.4rem,4vw,4.5rem); line-height: 1; }
.impact-placeholder h3 { margin: 16px 0 8px; color: var(--ink-deep); font-size: 1.18rem; }
@media (max-width:1000px) { .document-library { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .document-library { grid-template-columns: 1fr; } }
@media (max-width:900px) { .users-admin-layout { grid-template-columns: 1fr; } }
@media (max-width:600px) { .permission-grid { grid-template-columns: 1fr; } .admin-user-heading { flex-direction: column; } }
@media (max-width:760px) { .donation-option { grid-template-columns: 1fr; } .donation-option img { width: 145px; } }
@media (max-width:760px) { .partners-carousel-heading { align-items: center; } .partners-carousel-heading h2 { white-space: normal; } .partners-carousel { width: 100%; grid-auto-columns: min(74vw,260px); justify-content: start; } }
@media (max-width:900px) { #impacto .impact-grid { grid-template-columns: 1fr; } }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.three-cols {
  grid-template-columns: repeat(3, 1fr);
}

.admin-list {
  min-width: 0;
}

.admin-event-item {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  padding: 14px;
  margin-bottom: 14px;
}

.admin-event-item img {
  width: 116px;
  height: 116px;
  border-radius: var(--radius);
  object-fit: cover;
}

.admin-item-letter {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  color: var(--paper);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal-900), var(--terracotta));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
}

.admin-event-item h3 {
  margin-bottom: 6px;
}

.admin-event-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-item-actions {
  margin-top: 12px;
}

.admin-item-actions button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.upload-preview,
.media-manager {
  display: grid;
  gap: 12px;
}

.upload-preview img,
.upload-preview video {
  width: min(100%, 420px);
  max-height: 260px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--mint);
}

.upload-preview button,
.media-admin-item button {
  justify-self: start;
  padding: 8px 12px;
  color: var(--teal-900);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

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

.media-admin-item {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.media-admin-item img,
.media-admin-item video {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--mint);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-900);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
  padding: 42px 20px;
  color: var(--paper);
  background: var(--teal-900);
  text-align: left;
}

.site-footer img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer small {
  grid-column: 1 / -1;
  max-width: 980px;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 10px;
    font-size: 0.84rem;
  }

  .cards,
  .gallery-grid,
  .project-directory,
  .events-grid,
  .media-wall,
  .video-wall,
  .impact-grid,
  .axis-grid,
  .ods-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 860px) {
  html { scroll-padding-top: 86px; }
  body { padding-top: 70px; }

  .site-header {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 10px;
  }

  .nav-action {
    margin-top: 8px;
    text-align: center;
  }

  .hero,
  .section-grid,
  .mission,
  .transparency,
  .support,
  .contact,
  .event-detail-hero,
  .admin-layout,
  .three-cols,
  .book-callout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .portrait-wrap img {
    height: 520px;
  }
}

@media (max-width: 620px) {
  :root {
    --fs-hero-title: calc(var(--fs-hero-title) * 0.55);
    --fs-hero-text: calc(var(--fs-hero-text) * 0.85);
    --fs-section-title: calc(var(--fs-section-title) * 0.7);
    --fs-indicator-val: calc(var(--fs-indicator-val) * 0.75);
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    max-width: 150px;
    font-size: 0.84rem;
  }

  .hero-actions,
  .social-links {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-title-logo {
    width: min(100%, 300px);
    height: auto;
  }

  .button,
  .social-links a {
    width: 100%;
  }

  .impact-strip,
  .hero-impact,
  .cards,
  .project-list,
  .gallery-grid,
  .document-list,
  .project-directory,
  .events-grid,
  .media-wall,
  .video-wall,
  .form-row,
  .impact-grid,
  .axis-grid,
  .ods-grid,
  .governance-grid,
  .support-ways,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .media-manager {
    grid-template-columns: 1fr;
  }

  .impact-strip div + div,
  .hero-impact div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .card,
  .gallery-grid article,
  .project-list article,
  .project-card,
  .admin-event-item {
    min-height: auto;
  }

  .admin-event-item {
    grid-template-columns: 1fr;
  }

  .admin-event-item img,
  .admin-item-letter {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .portrait-wrap img {
    height: 420px;
  }

  .international::after {
    display: none;
  }
}

/* Admin Dashboard Color and Font Grids */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
  padding: 10px 0;
}

.color-field div {
  display: flex;
  gap: 10px;
}

.color-field input[type="color"] {
  flex: 0 0 60px;
  height: 50px;
  padding: 4px;
  border-radius: var(--radius);
  cursor: pointer;
}

.color-field input[type="text"] {
  flex: 1;
}

.font-field input[type="text"] {
  width: 100%;
}

/* Font Slider Controls */
.font-slider-container {
  display: grid;
  gap: 8px;
  background: var(--paper);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.font-label {
  color: var(--teal-900);
  font-weight: 800;
  font-size: 0.9rem;
}

.font-control-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.font-step-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--teal-900);
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 150ms, transform 100ms;
}

.font-step-btn:hover {
  background: var(--teal-300);
  color: var(--teal-900);
}

.font-step-btn:active {
  transform: scale(0.92);
}

.font-control-row input[type="range"] {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.font-control-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-900);
  box-shadow: 0 2px 6px rgba(0, 95, 104, 0.3);
  transition: background 150ms, transform 150ms;
}

.font-control-row input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--teal-700);
  transform: scale(1.15);
}

.font-value-display {
  flex: 0 0 54px;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--teal-900);
}

/* Auth / Login Dashboard Styles */
.auth-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 180px);
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 42px rgba(11, 89, 97, 0.08);
  overflow: hidden;
  padding: 32px;
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--line);
  margin-bottom: 28px;
}

.auth-tab-btn {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 180ms ease;
}

.auth-tab-btn.is-active {
  color: var(--teal-900);
  border-bottom-color: var(--teal-900);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 18px;
}

.auth-form.is-active {
  display: flex;
}

.auth-form h2 {
  font-size: 1.6rem;
  color: var(--teal-900);
  margin-bottom: 4px;
}

.auth-form p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.wide-btn {
  width: 100%;
  padding: 14px;
  font-weight: 800;
  margin-top: 8px;
}

.individual-text-style { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; width: 100%; margin-top: 10px; padding: 10px 12px; border: 1px solid rgba(0,95,104,.15); border-radius: 10px; background: #f4fbf9; }
.individual-text-style label { display: inline-flex !important; flex-direction: row !important; align-items: center; width: auto !important; gap: 9px; margin: 0; color: #31585c; font-size: .78rem; font-weight: 700; }
.individual-text-style input[type="color"] { width: 42px; height: 34px; padding: 3px; border-radius: 7px; cursor: pointer; }
.individual-text-style input[type="number"] { width: 72px; min-height: 34px; padding: 5px 8px; text-align: center; }
.individual-text-style .px-unit { margin-left: -5px; color: var(--muted); font-weight: 700; }
.wide-form > label, .form-row > label { align-self: start; }
.wide-form .form-row { align-items: start; }
.home-photo-editor { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 28px; }
.home-photo-item { padding: 18px; border: 1px solid var(--line); background: var(--paper); }
.home-photo-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--sand); }
.home-photo-item h3 { margin: 16px 0; }
.home-photo-item .button { width: 100%; margin-top: 8px; cursor: pointer; }
.project-detail-hero { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 72vh; background: var(--ink-deep); color: #fff; }
.project-detail-hero > img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.project-detail-hero > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px,7vw,100px); }
.project-detail-hero h1 { color: #fff; font-size: clamp(3rem,6vw,6.8rem); letter-spacing: -.05em; }
.project-detail-hero p { color: rgba(255,255,255,.82); font-size: 1.12rem; line-height: 1.7; }
.project-full-copy { align-items: start; }
.project-full-copy > div:last-child { color: #43575a; font-size: 1.08rem; line-height: 1.8; }
.project-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 30px; }
.project-gallery figure { margin: 0; overflow: hidden; background: var(--sand); }
.project-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .25s ease; }
.project-gallery img:hover { transform: scale(1.025); }
@media (max-width:760px) { .individual-text-style,.home-photo-editor { grid-template-columns: 1fr; } }
@media (max-width:760px) { .project-detail-hero,.project-gallery { grid-template-columns: 1fr; } .project-detail-hero > img { min-height: 380px; } }

/* Cards fotográficos da Agenda 2030 */
.ods-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.ods-card { position: relative; display: flex; align-items: flex-end; min-height: 260px; padding: 24px; overflow: hidden; border: 0; border-radius: 0; background-size: cover !important; background-position: center !important; box-shadow: none; }
.ods-card strong { display: none !important; }
.ods-card span { position: relative; z-index: 1; display: block; color: #fff; font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.25rem,1.65vw,1.8rem); font-weight: 500; line-height: 1.08; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
@media (max-width:1120px) { .ods-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .ods-grid { grid-template-columns: 1fr; } .ods-card { min-height: 240px; } }

/* Agenda 2030 em faixa editorial: mantém todos os objetivos sem poluir a página */
.ods-section { overflow: hidden; }
.ods-section .section-heading { margin-bottom: clamp(30px,4vw,52px); }
.ods-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 22vw, 340px);
  grid-template-columns: none;
  gap: 18px;
  overflow-x: auto;
  padding: 0 0 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,95,104,.38) transparent;
}
.ods-grid::-webkit-scrollbar { height: 6px; }
.ods-grid::-webkit-scrollbar-thumb { background: rgba(0,95,104,.38); }
.ods-card {
  min-height: 300px;
  scroll-snap-align: start;
}
.ods-card span {
  max-width: 92%;
  font-size: clamp(1.25rem,1.55vw,1.65rem);
  line-height: 1.08;
}
@media (max-width:760px) {
  .ods-grid { grid-auto-columns: min(82vw,310px); grid-template-columns: none; }
  .ods-card { min-height: 270px; }
}

/* Override final da atualização institucional */
:root {
  --teal-900:#285447; --teal-700:#3d6b5d; --teal-300:#a9c5b3; --mint:#dce8df;
  --cream:#f3e9da; --paper:#fcfaf6; --gold:#b99a5a; --terracotta:#c8755b;
  --ink:#243b34; --muted:#63716b; --accent-dark:#9d503d; --gold-dark:#826a36;
}
.eyebrow { font-size:15px !important; color:var(--terracotta); }
.brand img { width:64px; height:64px; object-fit:contain; }
.hero-title-logo { width:min(450px,38vw); max-height:420px; object-fit:contain; object-position:left center; }
.language-inline { display:flex; gap:3px; }
.language-inline button { min-width:32px; padding:7px 5px; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--teal-900); font-size:11px; font-weight:800; cursor:pointer; }
.language-inline button:hover,.language-inline button:focus { border-bottom-color:var(--terracotta); }
.document-cover { display:grid; place-items:center; width:100%; min-height:110px; margin-bottom:20px; background:var(--cream); color:var(--terracotta); font-family:Georgia,"Times New Roman",serif; font-size:2rem; }
.project-gallery iframe,.project-gallery video { width:100%; min-height:320px; border:0; background:#111; }
.hero.has-uploaded-bg { background-position:center !important; }
.global-statement { grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr); align-items:center; background:var(--paper); }
.global-statement-image { min-height:600px; }
.global-statement-copy { display:grid; gap:16px; max-width:850px; }
.global-statement-copy h2 { font-size:clamp(2.7rem,4.5vw,5.5rem); }
.global-statement-copy p { margin:0; color:var(--muted); line-height:1.75; }
.global-statement-copy strong { display:block; margin-top:12px; padding:24px; border-left:4px solid var(--gold); background:var(--cream); color:var(--teal-900); font-family:Georgia,"Times New Roman",serif; font-size:clamp(1.35rem,2vw,2rem); line-height:1.25; }
#atuacao .area-number { display:grid; place-items:center; width:52px; height:52px; border:1px solid rgba(40,84,71,.25); border-radius:50%; color:var(--terracotta); font-size:1.4rem; }
#impacto .impact-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
.stories-section { background:var(--cream); }
.stories-placeholder { max-width:760px; margin:40px auto 0; padding:52px; border:1px dashed rgba(40,84,71,.3); text-align:center; color:var(--muted); }
.partnership-invite { background:var(--mint); }
.partnership-invite .section-heading p { max-width:1050px; margin-inline:auto; }
.partnership-paths { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin:38px auto; max-width:1260px; }
.partnership-paths article { padding:30px; background:var(--paper); border-top:3px solid var(--gold); }
.partnership-paths h3 { color:var(--teal-900); font-size:1.2rem; text-transform:uppercase; }
.donation-values { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0; }
.donation-values button { padding:12px 18px; border:1px solid rgba(40,84,71,.28); background:var(--paper); color:var(--teal-900); font-weight:700; }
.transparency-page-hero,.event-hero { text-align:center; }
.transparency-page-hero h1,.transparency-page-hero p,.event-hero h1,.event-hero p { margin-inline:auto; }
.site-footer { background:#173d33; }
@media (max-width:980px){.global-statement{grid-template-columns:1fr}.global-statement-image{min-height:360px}.partnership-paths{grid-template-columns:repeat(2,1fr)}#impacto .impact-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.brand img{width:52px;height:52px}.hero-title-logo{width:min(300px,78vw)}.partnership-paths,#impacto .impact-grid{grid-template-columns:1fr}}

/* Mantém a direção editorial acima das regras legadas do tema */
body { background: #fbfaf7; letter-spacing: -0.01em; }
.site-header { min-height: 88px; background: rgba(251,250,247,.94); border-bottom-color: var(--line-soft); }
.brand span { font-size: .82rem; letter-spacing: .02em; text-transform: uppercase; }
.main-nav { gap: clamp(4px,1vw,15px); font-size: 12px; text-transform: uppercase; letter-spacing: .055em; }
.nav-action { border-radius: 0; padding: 14px 19px !important; background: var(--ink-deep); }
.hero { min-height: calc(92vh - 88px); padding-block: clamp(72px,11vh,140px); background-position: 63% center !important; }
.hero-content { max-width: 1440px; }
.hero-title-group { max-width: 790px; }
.hero-title-row h1 { font-size: clamp(3.8rem,7.5vw,8rem); letter-spacing: -.055em; line-height: .92; }
.hero-text { max-width: 620px; font-size: clamp(1rem,1.4vw,1.23rem); line-height: 1.65; }
.button { border-radius: 0; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; }
.hero .button.primary { background: #fff; color: var(--ink-deep); }
.hero .button.secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.7); }
.intro-line { background: var(--ink-deep); color: #fff; }
.projects { background: var(--sand); }
.featured-projects, .project-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.project-card { overflow: hidden; padding: 0; border: 1px solid var(--line-soft); border-radius: 0; background: #fff; box-shadow: none; }
.project-card-content { padding: 28px; }
.project-card-content h3 { font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.7rem,2.3vw,2.7rem); font-weight: 500; }
.project-card-content a { display: inline-flex; gap: 10px; margin-top: 15px; padding-bottom: 5px; border-bottom: 1px solid; font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
@media (max-width:1100px) { .featured-projects,.project-directory { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .featured-projects,.project-directory { grid-template-columns: 1fr; } .hero-title-row h1 { font-size: clamp(3.15rem,15vw,5.5rem); } }

.hero.has-uploaded-bg { background-position:center !important; }
.eyebrow { font-size:15px !important; }
.brand img { width:64px; height:64px; object-fit:contain; }
.hero-title-logo { width:min(450px,38vw); max-height:420px; object-fit:contain; object-position:left center; }
