: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;
  --hero-title-accent: #c8755b;
  --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-section-eyebrow: 15px;
  --fs-body-text: 1.08rem;
  --fs-nav-links: 0.88rem;
  --fs-indicator-val: clamp(1.8rem, 3.5vw, 2.6rem);
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", Arial, sans-serif;
}

/* Convite de parcerias editorial */
.partnership-invite {
  position: relative;
  overflow: clip;
  margin: 0;
  padding: clamp(64px, 7vw, 104px) clamp(20px, 4vw, 64px);
  background:
    linear-gradient(180deg, rgba(245, 249, 241, .72), rgba(238, 246, 236, .92)),
    url("assets/partners-network-bg.png") center / cover no-repeat;
  border: 0;
  text-align: center;
}
.partnership-invite::before {
  content: none;
  display: none;
}
.partnership-invite .section-heading {
  max-width: 1120px;
  margin: 0 auto clamp(30px, 4vw, 52px);
}
.partnership-invite .eyebrow {
  margin: 0 0 10px;
  color: var(--terracotta);
  font-size: clamp(.9rem, 1.2vw, 1.15rem);
  letter-spacing: .36em;
  text-align: center;
}
.partnership-invite .section-heading h2 {
  max-width: 1060px;
  margin: 0 auto;
  color: var(--teal-900);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6.2vw, 6.6rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: 0;
}
.partnership-invite .section-heading h2::after {
  content: none;
  display: none;
}
.partnership-invite .section-heading > p:not(.eyebrow) {
  max-width: 980px;
  margin: 22px auto 0;
  color: #273b40;
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  line-height: 1.55;
}
.partnership-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  width: min(1250px, 100%);
  margin: 0 auto;
}
.partnership-paths > *,
.partnership-path-card {
  width: auto;
  flex: none;
}
.partnership-path-card {
  position: relative;
  min-height: clamp(268px, 25vw, 340px);
  padding: clamp(28px, 3vw, 38px) 24px 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  background: rgba(255, 253, 248, .86);
  box-shadow: 0 18px 38px rgba(31, 64, 54, .14);
  text-align: center;
}
.partnership-path-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.44), rgba(255,255,255,0));
  pointer-events: none;
}
.partnership-path-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 96px;
  margin: 0 auto 18px;
}
.partnership-path-icon::before {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  border: 2px solid rgba(200,117,91,.58);
  border-bottom-color: transparent;
  border-radius: 50%;
}
.partnership-path-icon .managed-icon,
.partnership-path-icon .managed-icon-symbol,
.partnership-path-managed-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: var(--managed-icon-size, 82px);
  height: var(--managed-icon-size, 82px);
  max-width: 82px;
  max-height: 82px;
  object-fit: contain;
  color: var(--teal-900);
  font-size: var(--managed-icon-size, 82px);
}
.partnership-path-card h3 {
  position: relative;
  margin: 0;
  color: var(--teal-900);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.7vw, 1.85rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.partnership-path-divider,
.support-way-divider {
  position: relative;
  display: block;
  width: 64px;
  height: 13px;
  margin: 15px auto 18px;
}
.partnership-path-divider::before,
.support-way-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 1px;
  background: rgba(200,117,91,.75);
}
.partnership-path-divider::after,
.support-way-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  transform: translateX(-50%);
}
.partnership-path-text {
  position: relative;
  max-width: 210px;
  margin: 0 auto;
  color: #263940;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.4;
}
.partnership-path-text p {
  margin: 0;
}
.partnership-path-branch,
.support-way-branch {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: min(180px, 70%);
  height: 28px;
  opacity: .55;
  transform: translateX(-50%);
  background:
    linear-gradient(8deg, transparent 0 50%, rgba(151, 170, 143, .75) 51% 54%, transparent 55%),
    radial-gradient(ellipse at 18% 54%, rgba(151,170,143,.55) 0 9px, transparent 10px),
    radial-gradient(ellipse at 34% 42%, rgba(151,170,143,.55) 0 8px, transparent 9px),
    radial-gradient(ellipse at 52% 35%, rgba(151,170,143,.55) 0 8px, transparent 9px),
    radial-gradient(ellipse at 70% 30%, rgba(151,170,143,.55) 0 8px, transparent 9px);
}
.partnership-invite .centered-actions {
  margin-top: clamp(24px, 3vw, 34px);
}
.partnership-invite-cta {
  min-width: min(520px, 92vw);
  justify-content: center;
  padding: 18px 46px;
  border: 1px solid rgba(196, 143, 65, .95);
  border-radius: 12px;
  background: linear-gradient(135deg, #005d4d, #003f36);
  box-shadow: 0 12px 22px rgba(0, 63, 54, .18);
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.partnership-invite-cta::after {
  content: "→";
  margin-left: 34px;
  font-family: Arial, sans-serif;
  font-weight: 400;
}

/* Ajustes finais solicitados no navegador */
.partnership-invite-cta {
  min-width: 0 !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px 24px !important;
  border-radius: 0 !important;
  background: #C8755B !important;
  border-color: #C8755B !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: .8rem !important;
  font-weight: 800 !important;
  letter-spacing: .07em !important;
}
.partnership-invite-cta::after {
  margin-left: 8px !important;
}
#contato .contact-highlight,
#contato .contact-form .button {
  background: #C8755B !important;
  border-color: #C8755B !important;
  color: #fff !important;
}
#contato .contact-highlight:hover,
#contato .contact-highlight:focus-visible,
#contato .contact-form .button:hover,
#contato .contact-form .button:focus-visible {
  background: #b7654d !important;
  border-color: #b7654d !important;
  color: #fff !important;
}
.site-footer > div > p {
  color: #D9A08D !important;
}
#atuacao .section-heading .eyebrow,
#impacto .section-heading .eyebrow,
#projetos .section-heading .eyebrow {
  color: #C8755B !important;
}
#agenda-2030 {
  border-bottom: 1px solid rgba(200, 117, 91, .32) !important;
  box-shadow: inset 0 -10px 0 rgba(200, 117, 91, .04);
}

@media (max-width: 980px) {
  .partnership-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 680px;
  }
  .partnership-invite .section-heading h2 {
    font-size: clamp(2.6rem, 8vw, 4.6rem);
  }
}

@media (max-width: 620px) {
  .partnership-invite {
    padding-block: 52px;
  }
  .partnership-invite::before,
  .partnership-invite .section-heading h2::after {
    width: min(340px, 78vw);
  }
  .partnership-paths {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
  .partnership-path-card {
    min-height: 250px;
  }
}

/* Notícias: título do destaque sobre imagem */
.news-feature-main .news-feature-overlay h2 {
  color: #fff !important;
}

/* Parcerias: remove ornamentos retangulares */
.partnership-invite::before,
.partnership-invite .section-heading h2::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  background: none !important;
}

/* Parcerias: remove ornamentos retangulares */
.partnership-invite::before,
.partnership-invite .section-heading h2::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  background: none !important;
}

/* Contato: botões em terracota */
#contato .contact-highlight,
#contato .contact-form .button {
  background: #C8755B;
  border-color: #C8755B;
  color: #fff;
}
#contato .contact-highlight:hover,
#contato .contact-form .button:hover {
  background: #b7654d;
  border-color: #b7654d;
}

/* Parcerias: ornamento superior em imagem */
.partnership-invite::before {
  width: min(720px, 72vw);
  height: clamp(48px, 7vw, 76px);
  margin: 0 auto 8px;
  background: url("assets/faixa-amai-vos-ornamento.png") center / contain no-repeat;
  opacity: .95;
}
.partnership-invite .section-heading h2::after {
  content: none;
}

/* Administrador IA V2 */
.ai-v2-shell {
  display: grid;
  grid-template-columns: minmax(230px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.ai-conversations-card,
.ai-chat-card {
  min-width: 0;
}

.ai-conversations-card > .button {
  width: 100%;
  margin-bottom: 14px;
}

#ai-v2-session-list {
  display: grid;
  gap: 8px;
  max-height: 620px;
  overflow: auto;
}

.ai-session-item {
  width: 100%;
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--rose);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.ai-session-item:hover,
.ai-session-item.is-active {
  border-color: var(--teal-700);
  background: var(--mint);
}

.ai-session-item span,
.ai-session-item small {
  font-size: 12px;
  color: var(--muted);
}

.ai-session-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-chat-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.ai-mode-control {
  display: inline-flex;
  border: 1px solid var(--rose);
  background: var(--paper);
  padding: 3px;
  flex: 0 0 auto;
}

.ai-mode-control button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--teal-900);
  font-weight: 700;
  cursor: pointer;
}

.ai-mode-control button.is-active {
  background: var(--teal-900);
  color: #fff;
}

.ai-chat-messages {
  display: grid;
  gap: 12px;
  max-height: 520px;
  min-height: 260px;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--rose);
  background: var(--paper);
}

.ai-chat-message {
  max-width: 86%;
  padding: 12px 14px;
  border: 1px solid var(--rose);
  background: #fff;
}

.ai-chat-message.is-user {
  justify-self: end;
  background: var(--mint);
}

.ai-chat-message.is-system {
  max-width: 100%;
  border-color: var(--terracotta);
}

.ai-chat-message > span,
.ai-chat-message > small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.ai-runtime-diagnostics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.ai-runtime-diagnostics > div {
  padding: 9px 10px;
  border: 1px solid var(--rose);
  background: var(--paper);
}

.ai-runtime-diagnostics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.ai-runtime-diagnostics dd {
  margin: 3px 0 0;
  color: var(--teal-900);
  font-weight: 800;
}

#ai-settings-toggle {
  margin-top: 12px;
}

.ai-settings-panel {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--rose);
  background: var(--paper);
}

.ai-settings-panel[hidden] {
  display: none;
}

.ai-settings-panel h3 {
  margin: 0;
  color: var(--teal-900);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.ai-settings-form,
.ai-key-settings,
.ai-key-settings form {
  display: grid;
  gap: 14px;
}

.ai-key-settings {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rose);
}

.ai-key-settings p {
  margin: 4px 0 0;
  color: var(--muted);
}

.ai-action-queue {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.ai-action-card {
  padding: 14px;
  border: 1px solid var(--gold);
  background: #fffaf2;
}

.ai-action-card.risk-3 {
  border-color: var(--terracotta);
}

.ai-action-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.ai-action-heading span {
  color: var(--muted);
  font-size: 12px;
}

.ai-composer textarea {
  width: 100%;
}

.ai-legacy-card {
  margin-bottom: 24px;
}

.ai-legacy-card > summary {
  cursor: pointer;
  color: var(--teal-900);
  font-weight: 800;
}

.ai-v2-shell.is-unavailable .ai-composer,
.ai-v2-shell.is-unavailable .ai-mode-control {
  opacity: 0.55;
}

@media (max-width: 900px) {
  .ai-v2-shell {
    grid-template-columns: 1fr;
  }

  .ai-chat-heading {
    display: grid;
  }

  .ai-mode-control {
    width: 100%;
  }

  .ai-mode-control button {
    flex: 1;
  }

  .ai-chat-message {
    max-width: 96%;
  }

  .ai-runtime-diagnostics {
    grid-template-columns: 1fr;
  }
}

body, button, input, select, textarea { font-family: var(--font-body); }
h1, h2, h3, .hero-title, .project-card h3, .mission h3, .global-statement h2 { font-family: var(--font-heading); }

[data-home-section][hidden] {
  display: none !important;
}

.home-section-button-row {
  display: flex;
  justify-content: center;
  margin: clamp(24px, 3vw, 42px) auto 0;
  padding-inline: var(--section-pad);
  position: relative;
  z-index: 2;
}

.home-section-button-row .button {
  width: fit-content;
}

/* Atualização institucional — agosto de 2026 */
.eyebrow { font-size: var(--fs-section-eyebrow); 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); }
.area-card-text,
.project-card-text {
  color: inherit;
  line-height: inherit;
}
.area-card-text p,
.project-card-text p {
  margin: 0;
}
.area-card-text p + p,
.project-card-text p + p {
  margin-top: .7em;
}
.impact-grid { grid-template-columns: repeat(4,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); }
.testimonials-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; max-width:1450px; margin:42px auto 0; }
.testimonial-card { display:flex; flex-direction:column; min-height:330px; padding:34px; background:var(--paper); border:1px solid rgba(40,84,71,.16); box-shadow:0 18px 45px rgba(40,84,71,.08); }
.testimonial-card:has(.testimonial-video) { padding:0; overflow:hidden; }
.testimonial-video { display:block; width:100%; aspect-ratio:16/9; background:#102d27; overflow:hidden; }
.testimonial-video iframe,.testimonial-video video { display:block; width:100%; height:100%; border:0; object-fit:cover; }
.youtube-video-thumbnail { position:relative; width:100%; aspect-ratio:16/9; overflow:hidden; background:#102d27; }
.youtube-video-thumbnail img { display:block; width:100%; height:100%; object-fit:cover; }
.youtube-video-thumbnail span { position:absolute; inset:50% auto auto 50%; display:grid; place-items:center; width:54px; height:38px; border-radius:12px; transform:translate(-50%,-50%); color:#fff; background:#c8755b; font-size:1.2rem; }
.testimonial-card:has(.testimonial-video) blockquote { margin:28px 30px 22px; }
.testimonial-card:has(.testimonial-video) footer { margin:0 30px 30px; }
.testimonial-quote { color:var(--gold); font-family:Georgia,"Times New Roman",serif; font-size:4.5rem; line-height:.7; }
.testimonial-card blockquote { flex:1; margin:26px 0 30px; color:var(--ink); font-family:Georgia,"Times New Roman",serif; font-size:1.35rem; line-height:1.55; }
.testimonial-card footer { display:grid; gap:4px; padding-top:20px; border-top:1px solid rgba(40,84,71,.14); }
.testimonial-card footer strong { color:var(--teal-900); font-size:1rem; }
.testimonial-card footer span { color:var(--muted); }
.testimonial-card footer small { margin-top:8px; color:var(--terracotta); font-size:.7rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
@media(max-width:980px){.testimonials-grid{grid-template-columns:1fr}.testimonial-card{min-height:0}}
.testimonial-video-preview video { width:100%; max-height:360px; background:#102d27; object-fit:contain; }
.admin-testimonial-video { width:150px; aspect-ratio:16/9; background:#102d27; object-fit:cover; }
@media(max-width:700px){.admin-testimonial-video{width:100%}}
.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: none !important; }
.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; }

.podcast-hero { text-align: center; }
.podcast-hero h1, .podcast-hero p { margin-inline: auto; }
.podcast-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1500px; margin: 0 auto 42px; }
.podcast-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(23,61,51,.08); }
.podcast-card a { display: block; height: 100%; color: inherit; text-decoration: none; }
.podcast-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--teal-900); }
.podcast-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.podcast-card:hover .podcast-thumb img { transform: scale(1.035); }
.podcast-thumb span { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--terracotta); font-size: 1.25rem; }
.podcast-card > a > div:last-child { padding: 22px; }
.podcast-card time { color: var(--terracotta); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.podcast-card h2 { margin: 10px 0 18px; font-size: 1.45rem; line-height: 1.2; }
.podcast-card p { margin: 0; color: var(--teal-900); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
@media (max-width: 980px) { .podcast-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .podcast-grid { grid-template-columns: 1fr; } }

@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: calc(var(--site-header-height, 88px) + 16px); }

body {
  background: #fbfaf7;
  letter-spacing: -0.01em;
  padding-top: var(--site-header-height, 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:flex; align-items:center; gap:7px; min-width:78px; height:42px; padding:0 10px; border:1px solid var(--line-soft); border-radius:22px; background:#fff; color:var(--teal-900); font:inherit; font-size:.78rem; font-weight:900; letter-spacing:.08em; cursor:pointer; }
.language-code { line-height:1; }
.language-flag { position:relative; display:inline-block; flex:0 0 auto; width:24px; height:16px; overflow:hidden; border:1px solid rgba(8,42,45,.14); border-radius:2px; box-shadow:0 1px 2px rgba(8,42,45,.12); }
.language-current-flag { display:inline-flex; align-items:center; justify-content:center; min-width:24px; min-height:18px; }
.language-flag-image { display:block; width:var(--language-icon-size,24px); height:calc(var(--language-icon-size,24px) * .667); object-fit:cover; border:1px solid rgba(8,42,45,.14); border-radius:2px; box-shadow:0 1px 2px rgba(8,42,45,.12); }
.language-custom-symbol { display:inline-grid; place-items:center; min-width:var(--language-icon-size,24px); min-height:18px; font-size:var(--language-icon-size,1.1rem); line-height:1; }
.language-flag.flag-br { background:#159447; }
.language-flag.flag-br::before { content:""; position:absolute; left:5px; top:3px; width:12px; height:9px; background:#ffdf35; transform:rotate(45deg); }
.language-flag.flag-br::after { content:""; position:absolute; left:9px; top:5px; width:7px; height:7px; border-radius:50%; background:#2855a5; }
.language-flag.flag-us { background:repeating-linear-gradient(to bottom,#b22234 0 1.25px,#fff 1.25px 2.5px); }
.language-flag.flag-us::before { content:""; position:absolute; inset:0 auto auto 0; width:10px; height:8px; background:#3c3b6e; }
.language-flag.flag-es { background:linear-gradient(to bottom,#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%); }
.language-flag.flag-fr { background:linear-gradient(to right,#0055a4 0 33.33%,#fff 33.33% 66.66%,#ef4135 66.66%); }
.language-flag.flag-de { background:linear-gradient(to bottom,#000 0 33.33%,#dd0000 33.33% 66.66%,#ffce00 66.66%); }
.language-trigger b { font-size:.75rem; transition:transform .2s ease; }
.language-selector:is(:hover,:focus-within,.is-open) .language-trigger b { transform:rotate(180deg); }
.language-menu { display:none; position:absolute; z-index:50; top:calc(100% + 8px); right:0; width:190px; padding:8px; border:1px solid var(--line-soft); border-radius:8px; background:#fff; box-shadow:0 18px 45px rgba(8,42,45,.16); }
.language-selector:is(:hover,:focus-within,.is-open) .language-menu { display:block; }
.language-menu a { display:grid; grid-template-columns:24px 30px 1fr; align-items:center; gap:10px; width:100%; padding:11px 12px; border:0; border-radius:5px; background:transparent; color:var(--ink-deep); font:inherit; font-size:.82rem; text-align:left; text-decoration:none; cursor:pointer; }
.language-menu a:hover, .language-menu a:focus { background: var(--sand); }
.language-menu a strong { min-width:28px; color:var(--terracotta); font-size:.72rem; letter-spacing:.08em; }
.language-status { margin:4px 6px 8px; color:var(--teal-900); font-size:.75rem; font-weight:800; line-height:1.35; }
.language-status.is-error { color:var(--terracotta); }
html.is-translating body { cursor:progress; }
.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); }
.love-divider {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(108px, 8.2vw, 150px);
  margin: 0;
  padding: clamp(14px, 1.7vw, 20px) clamp(20px, 5vw, 78px);
  overflow: hidden;
  border: 0;
  background: var(--terracotta);
  color: #fff6e8;
}
.love-divider__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(4px, .55vw, 8px);
  width: min(680px, 70vw);
  text-align: center;
}
.love-divider__text {
  margin: 0;
  color: inherit;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, 2.35rem);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
}
.love-divider__ornament {
  display: block;
  width: min(100%, clamp(240px, 30vw, 500px));
  height: auto;
  object-fit: contain;
}
.love-divider__leaf {
  position: absolute;
  z-index: 1;
  width: clamp(150px, 16vw, 300px);
  max-width: none;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.love-divider__leaf--left {
  left: clamp(-48px, -2vw, -20px);
  bottom: clamp(-22px, -1.1vw, -10px);
}
.love-divider__leaf--right {
  right: clamp(-50px, -2.2vw, -22px);
  bottom: clamp(-24px, -1.2vw, -10px);
}
.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; }
.origin-quote { max-width:680px; margin:24px 0 0; padding:18px 0 0 22px; border-left:2px solid var(--gold); color:var(--muted); font-family:var(--font-serif); font-size:clamp(1.05rem,1.4vw,1.28rem); font-style:italic; line-height:1.55; }
.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: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  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;
}

.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item.has-submenu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 9px 11px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.nav-parent::after {
  content: "⌄";
  margin-left: 6px;
  font-size: .82em;
  line-height: 1;
}
.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 20;
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(252,250,246,.98);
  box-shadow: 0 16px 34px rgba(5,31,34,.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity 160ms ease 220ms,
    transform 160ms ease 220ms,
    visibility 0s linear 380ms;
}
.nav-submenu a {
  display: flex;
  width: 100%;
  padding: 11px 12px;
  border-radius: 0;
  white-space: nowrap;
}
.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.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: var(--fs-section-eyebrow);
  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);
}

.button.small-button {
  min-height: 42px;
  padding: 10px 16px;
  font-size: .72rem;
  letter-spacing: .06em;
}

.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;
  max-width: 980px;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.015em;
}

.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);
}

.about-copy strong {
  color: inherit;
  font-weight: 800;
}

.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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 78px);
  text-align: center;
  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 {
  width: min(100%, 1500px);
  max-width: 1500px;
  margin-inline: auto;
  font-size: clamp(2.7rem, 4.8vw, 5.2rem);
  line-height: 1.02;
  text-wrap: balance;
}

.page-hero p {
  max-width: 760px;
  margin-inline: auto;
  color: #43575a;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.history-page-hero h1 {
  width: min(100%, 1560px);
  max-width: 1560px;
  font-size: clamp(3rem, 4.35vw, 5rem);
}

@media (max-width: 620px) {
  .page-hero h1,
  .history-page-hero h1 {
    font-size: clamp(1.8rem, 8.2vw, 2.6rem);
    line-height: 1.08;
  }
}

/* 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;
}

.news-editorial-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 8vw, 120px) clamp(20px, 5vw, 78px) clamp(34px, 4vw, 56px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .96), transparent 42%),
    linear-gradient(180deg, #fffaf2 0%, #fcf5ea 100%);
}

.news-editorial-hero .eyebrow {
  color: var(--accent-dark);
  letter-spacing: .14em;
}

.news-editorial-hero h1 {
  width: min(100%, 920px);
  margin: 8px auto 18px;
  color: var(--teal-900);
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 5vw, 5rem);
  font-weight: 500;
  line-height: .98;
  text-wrap: balance;
}

.news-editorial-hero > p:last-child {
  width: min(100%, 620px);
  margin: 18px auto 0;
  color: #43575a;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.62;
}

.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--terracotta);
}

.section-ornament span {
  width: clamp(42px, 8vw, 110px);
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
  opacity: .55;
}

.section-ornament span:last-child {
  background: linear-gradient(90deg, currentColor, transparent);
}

.section-ornament b {
  font-size: 1.12rem;
  line-height: 1;
}

.section-ornament.light {
  color: rgba(255, 255, 255, .84);
}

.news-botanical,
.news-final-leaves {
  position: absolute;
  pointer-events: none;
  opacity: .28;
}

.news-botanical::before,
.news-botanical::after,
.news-final-leaves::before,
.news-final-leaves::after {
  content: "";
  position: absolute;
  display: block;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 60% 0 60% 0;
  transform: rotate(-28deg);
}

.news-botanical {
  width: 190px;
  height: 190px;
  color: #b8c4ad;
}

.news-botanical-left {
  top: 38px;
  left: -48px;
}

.news-botanical-right {
  top: 44px;
  right: -52px;
  transform: scaleX(-1);
}

.news-botanical::before {
  width: 78px;
  height: 130px;
  left: 54px;
  top: 12px;
}

.news-botanical::after {
  width: 58px;
  height: 102px;
  left: 102px;
  top: 78px;
}

.news-page-section,
.news-latest-section {
  padding: clamp(18px, 3vw, 38px) clamp(20px, 5vw, 78px);
  background: #fcf5ea;
}

.news-category-filter {
  display: flex;
  justify-content: center;
  width: min(100%, 1120px);
  margin: 0 auto clamp(18px, 2.5vw, 30px);
}

.news-category-filter[hidden] {
  display: none;
}

.news-category-dropdown {
  position: relative;
  z-index: 6;
  width: min(100%, 420px);
}

.news-category-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 58px 14px 28px;
  border: 1px solid rgba(40, 84, 71, .18);
  border-radius: 999px;
  color: #fff;
  background: var(--teal-900);
  box-shadow: 0 18px 42px rgba(36, 59, 52, .16);
  font: 900 .84rem/1.1 var(--font-body);
  letter-spacing: .07em;
  text-align: center;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.news-category-dropdown summary::-webkit-details-marker {
  display: none;
}

.news-category-dropdown summary::after {
  content: "⌄";
  position: absolute;
  right: 26px;
  top: 50%;
  font-size: 1rem;
  transform: translateY(-58%);
  transition: transform .2s ease;
}

.news-category-dropdown[open] summary::after {
  transform: translateY(-48%) rotate(180deg);
}

.news-category-dropdown summary:hover,
.news-category-dropdown summary:focus-visible {
  background: #1f4b40;
  box-shadow: 0 22px 48px rgba(36, 59, 52, .2);
  outline: none;
}

.news-category-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  display: grid;
  gap: 6px;
  width: min(100vw - 48px, 390px);
  max-height: min(58vh, 430px);
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(40, 84, 71, .16);
  border-radius: 28px;
  background: rgba(255, 253, 248, .98);
  box-shadow: 0 24px 60px rgba(36, 59, 52, .18);
  transform: translateX(-50%);
}

.news-category-menu button {
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  color: var(--teal-900);
  background: transparent;
  font: 900 .78rem/1.15 var(--font-body);
  letter-spacing: .055em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.news-category-menu button:hover,
.news-category-menu button:focus-visible,
.news-category-menu button.is-active {
  color: #fff;
  background: var(--teal-900);
  outline: none;
}

.news-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .95fr);
  gap: 18px;
  width: min(100%, 1320px);
  margin-inline: auto;
}

.news-feature-main,
.news-feature-side,
.news-card {
  border: 1px solid rgba(40, 84, 71, .16);
  background: rgba(255, 253, 248, .9);
  box-shadow: 0 18px 48px rgba(36, 59, 52, .08);
}

.news-feature-main {
  min-height: clamp(420px, 42vw, 560px);
  overflow: hidden;
}

.news-feature-main a {
  position: relative;
  display: block;
  height: 100%;
  color: inherit;
}

.news-feature-main img,
.news-feature-side-item img,
.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,255,255,.86), transparent 26%),
    linear-gradient(145deg, #dce8df, #fcfaf6);
  transition: transform .35s ease;
}

.news-feature-main:hover img,
.news-feature-side-item:hover img,
.news-card:hover img {
  transform: scale(1.035);
}

.news-feature-main > a > img {
  position: absolute;
  inset: 0;
}

.news-feature-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(24px, 3vw, 36px);
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(15, 36, 32, .88) 32%, rgba(15, 36, 32, .96));
}

.news-category {
  display: inline-flex;
  align-items: center;
  color: var(--accent-dark);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-feature-overlay .news-category {
  padding: 7px 10px;
  color: #fff;
  background: var(--terracotta);
}

.news-feature-overlay h2,
.news-feature-side-item h3,
.news-card h3,
.news-final-cta h2 {
  font-family: var(--font-heading);
  font-weight: 500;
}

.news-feature-overlay h2 {
  max-width: 760px;
  margin: 12px 0 12px;
  font-size: clamp(2rem, 3.35vw, 3.35rem);
  line-height: 1.03;
}

.news-feature-overlay p {
  max-width: 640px;
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.55;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.news-meta i {
  width: 1px;
  height: 18px;
  background: currentColor;
  opacity: .48;
}

.news-feature-side {
  display: grid;
  gap: 0;
  padding: 18px;
}

.news-feature-side-item + .news-feature-side-item {
  border-top: 1px solid rgba(40, 84, 71, .14);
}

.news-feature-side-item a {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 160px;
  padding: 16px 0;
  color: inherit;
}

.news-feature-side-item:first-child a {
  padding-top: 0;
}

.news-feature-side-item:last-child a {
  padding-bottom: 0;
}

.news-feature-side-item img {
  aspect-ratio: 4 / 3;
}

.news-feature-side-item h3 {
  margin: 8px 0 18px;
  color: var(--teal-900);
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.08;
}

.news-latest-section {
  padding-top: clamp(42px, 6vw, 78px);
  padding-bottom: clamp(56px, 7vw, 92px);
}

.news-latest-heading {
  width: min(100%, 1320px);
  margin-bottom: clamp(28px, 4vw, 44px);
  margin-inline: auto;
  text-align: center;
}

.news-latest-heading h2 {
  margin-top: 10px;
  margin-inline: auto;
  color: var(--teal-900);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(100%, 1320px);
  margin-inline: auto;
}

.news-card {
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 117, 91, .46);
  box-shadow: 0 24px 52px rgba(36, 59, 52, .12);
}

.news-card a {
  display: grid;
  height: 100%;
  color: inherit;
}

.news-card-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.news-card-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
}

.news-card h3 {
  margin: 0;
  color: var(--teal-900);
  font-size: clamp(1.34rem, 1.9vw, 1.75rem);
  line-height: 1.12;
}

.news-card p {
  margin: 0;
  color: #43575a;
  line-height: 1.55;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: var(--teal-900);
}

.news-card-footer strong {
  color: var(--accent-dark);
  font-size: .86rem;
  white-space: nowrap;
}

.news-card-footer b {
  display: inline-block;
  transition: transform .18s ease;
}

.news-card:hover .news-card-footer b {
  transform: translateX(4px);
}

.news-more-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(26px, 4vw, 44px);
}

.news-load-more[hidden] {
  display: none;
}

.news-final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  overflow: hidden;
  padding: clamp(56px, 7vw, 86px) clamp(20px, 8vw, 140px);
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 0, rgba(255,255,255,.13), transparent 28%),
    linear-gradient(135deg, #bd6244, #c8755b 54%, #a5513d);
}

.news-final-cta .eyebrow {
  color: rgba(255, 255, 255, .86);
}

.news-final-cta h2 {
  max-width: 620px;
  margin: 12px 0;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.08;
}

.news-final-cta p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  line-height: 1.62;
}

.news-final-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.button.ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .66);
  background: transparent;
}

.news-final-actions .button.secondary {
  color: var(--teal-900);
}

.news-final-leaves {
  width: 260px;
  height: 190px;
  color: rgba(255, 255, 255, .56);
}

.news-final-leaves-left {
  left: -46px;
  bottom: 16px;
}

.news-final-leaves-right {
  right: -28px;
  top: 24px;
  transform: scaleX(-1);
}

.news-final-leaves::before {
  width: 92px;
  height: 140px;
  left: 62px;
  top: 16px;
}

.news-final-leaves::after {
  width: 72px;
  height: 116px;
  left: 132px;
  top: 58px;
}

@media (max-width: 1080px) {
  .news-feature-layout {
    grid-template-columns: 1fr;
  }

  .news-feature-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .news-feature-side-item {
    border: 1px solid rgba(40, 84, 71, .16);
    background: rgba(255, 253, 248, .9);
  }

  .news-feature-side-item + .news-feature-side-item {
    border-top: 1px solid rgba(40, 84, 71, .16);
  }

  .news-feature-side-item a {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0;
  }

  .news-feature-side-item img {
    aspect-ratio: 16 / 10;
  }

  .news-feature-side-item div {
    padding: 18px;
  }

  .news-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .news-editorial-hero {
    padding-top: 58px;
  }

  .news-botanical {
    opacity: .16;
  }

  .news-feature-main {
    min-height: 520px;
  }

  .news-feature-side,
  .news-card-grid,
  .news-final-cta {
    grid-template-columns: 1fr;
  }

  .news-feature-overlay {
    padding: 22px;
  }

  .news-feature-overlay h2 {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }

  .news-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-final-cta {
    text-align: center;
  }

  .news-final-cta h2,
  .news-final-cta p:not(.eyebrow) {
    margin-inline: auto;
  }
}

.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;
}

.axis-project-summary {
  margin: 0 0 12px;
  color: #43575a;
  font-size: 0.96rem;
  line-height: 1.65;
}
.axis-project-summary:last-child {
  margin-bottom: 0;
}
.axis-project-summary strong {
  color: var(--ink);
}
.projects-axes-section .axis-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
  max-width: 1320px;
  margin: 30px auto 0;
}

.projects-axes-section .axis-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
  height: 100%;
  padding: clamp(22px, 2.6vw, 32px);
  text-align: center;
}

.axis-card .axis-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid rgba(0, 95, 104, .18);
  background: rgba(216, 255, 245, .28);
  color: var(--teal-900);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.projects-axes-section .axis-card h3 {
  max-width: 26ch;
  margin: 12px auto 0;
  font-size: clamp(1.12rem, 1.35vw, 1.45rem);
  line-height: 1.2;
}

.projects-axes-section .axis-project-summary {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-top: 2px;
  color: #40565a;
  font-size: .94rem;
  line-height: 1.55;
  text-align: center;
}

.projects-axes-section .axis-project-summary + .axis-project-summary {
  padding-top: 14px;
  border-top: 1px solid rgba(0, 95, 104, .12);
}

.projects-axes-section .axis-project-summary strong {
  display: block;
  color: var(--teal-900);
  font-size: .92rem;
  line-height: 1.25;
}

.projects-axes-section .axis-project-summary span {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #40565a;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.projects-axes-section .empty-axis {
  max-width: 26ch;
  margin: 0 auto;
  font-size: .92rem;
  line-height: 1.5;
}
.project-detail-summary p {
  margin: 0;
}
.project-detail-summary p + p {
  margin-top: .7em;
}

.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);
}

.history-book-text {
  color: var(--paper);
  line-height: 1.8;
}

.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(3, minmax(0, 1fr));
  margin-top: 24px;
}

.support-way {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
  min-width: 0;
  overflow: hidden;
}

/* Keep admin-uploaded support illustrations inside their cards. */
.support-way > img,
.support-way picture,
.support-way picture img,
.support-way .support-way-image,
.support-way .managed-icon {
  display: block;
  width: 100%;
  max-width: none;
  height: clamp(180px, 18vw, 260px);
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.support-way .managed-icon {
  --managed-icon-size: auto !important;
}

.support-way h3 {
  margin-bottom: 8px;
}

.support-way p {
  margin-bottom: 0;
}

.support-way-copy { padding: 20px; }

@media (max-width: 980px) {
  .support-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .support-way > img,
  .support-way picture,
  .support-way picture img,
  .support-way .support-way-image,
  .support-way .managed-icon {
    max-width: 260px;
    height: clamp(140px, 52vw, 200px);
  }
  .support-ways { grid-template-columns: 1fr; }
}

.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(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  background: #f6f0f3;
}

.contact > div {
  width: min(100%, 1600px);
  margin-inline: auto;
  text-align: center;
}

.contact > .contact-form {
  width: min(100%, 920px);
  margin-inline: auto;
}

.contact .social-links {
  justify-content: center;
}

.contact-question-line {
  margin: 0 auto;
  white-space: nowrap;
}

.contact-highlight {
  width: fit-content;
  margin: 14px auto 0;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--teal-900);
  color: #fff;
  font-weight: 850;
  letter-spacing: .02em;
}

@media (max-width: 1200px) {
  .contact-question-line { white-space: normal; }
}

.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;
  position: static;
  z-index: 900;
  padding: 12px;
  background: rgba(251, 250, 247, 0.97);
  border: 1px solid var(--line-soft);
  box-shadow: 0 12px 28px rgba(5, 31, 34, 0.09);
  backdrop-filter: blur(14px);
}

.admin-tabs-toggle {
  display: none;
}

.admin-tabs-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.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-form [hidden],
.admin-panel [hidden],
.admin-fieldset[hidden] {
  display: none !important;
}
.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; }
.ai-admin-layout { align-items: start; }
.ai-history-card { align-self: stretch; }
.ai-history-item { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line-soft); background: #fff; }
.ai-history-item + .ai-history-item { margin-top: 12px; }
.ai-history-item span { color: var(--terracotta); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ai-history-item h3 { margin: 0; color: var(--teal-900); font-size: 1rem; line-height: 1.35; }
.ai-history-item p { margin: 0; color: var(--ink); line-height: 1.55; }
.ai-history-reply { padding: 14px 16px; border: 1px solid rgba(61,107,93,.2); background: #f7fbf8; color: var(--ink); line-height: 1.6; white-space: normal; }
.ai-change-list { display: grid; gap: 10px; }
.ai-change-item { display: grid; gap: 7px; padding: 12px; border: 1px solid rgba(185,154,90,.3); background: #fffaf1; }
.ai-change-item strong { color: var(--teal-900); }
.ai-change-item small { color: var(--muted); overflow-wrap: anywhere; }
.ai-change-item del,
.ai-change-item ins { display: block; padding: 8px 10px; overflow-wrap: anywhere; text-decoration: none; line-height: 1.45; }
.ai-change-item del { background: #fff; color: #7a5b55; }
.ai-change-item ins { background: #eef8f1; color: var(--teal-900); }
.ai-decision-actions { margin-top: 4px; }
.ai-history-item ul { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.5; }
.ai-tools-grid label { min-height: 54px; }
.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; }
.donate-page-hero { position:relative; display:flex; flex-direction:row; align-items:center; justify-content:flex-start; min-height:clamp(600px,50vw,780px); padding:clamp(72px,7vw,124px) clamp(34px,6.2vw,128px); overflow:hidden; isolation:isolate; text-align:left; background:url("assets/doe-banner-fundo.jpg") 70% center/cover no-repeat; }
.donate-page-hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(255,248,238,.96) 0%,rgba(255,248,238,.88) 33%,rgba(255,248,238,.42) 52%,rgba(255,248,238,0) 70%); }
.donate-hero-copy { width:min(660px,43vw); margin-left:clamp(10px,2.5vw,46px); color:var(--ink-deep); }
.donate-hero-copy h1 { width:auto; max-width:650px; margin:0 0 30px; color:#285944; font-size:clamp(4.2rem,5.1vw,6.8rem); line-height:1.02; letter-spacing:0; text-align:left; }
.donate-hero-copy h1 span { display:block; margin-top:.1em; color:#c8755b; }
.donate-hero-subtitle { max-width:610px; margin:0; color:#31463e; font-size:clamp(1.05rem,1.28vw,1.32rem); line-height:1.75; }
.donate-hero-button { display:inline-flex; align-items:center; gap:22px; margin-top:34px; border-radius:999px; background:#285944; color:#fff; }
.donate-hero-button:hover { background:#c8755b; color:#fff; }
.donate-hero-note { position:absolute; right:clamp(58px,7vw,150px); top:27%; margin:0; color:#285944; font-family:"Segoe Print","Bradley Hand",cursive; font-size:clamp(1.15rem,1.7vw,1.7rem); line-height:1.75; text-align:center; transform:rotate(-3deg); }
.donate-page-content { padding:clamp(44px,6vw,88px); background:linear-gradient(135deg,#dbb04d,#f6e4ba); }
.donate-page-content .support-panel { max-width:1500px; margin-inline:auto; }
@media (max-width:900px) { .donate-hero-copy { width:min(620px,58vw); } }
@media (max-width:720px) { .donate-page-hero { min-height:720px; align-items:flex-end; padding:50px 24px; background-position:67% center; } .donate-page-hero::before { background:linear-gradient(0deg,rgba(255,248,238,.98) 0%,rgba(255,248,238,.9) 48%,rgba(255,248,238,.08) 82%); } .donate-hero-copy { width:100%; margin-left:0; } .donate-hero-copy h1 { margin-bottom:20px; font-size:clamp(2.8rem,14vw,4.4rem); } .donate-hero-subtitle { font-size:1rem; line-height:1.6; } .donate-hero-note { display:none; } }
.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; }
.payment-link-groups { display: grid; gap: 16px; }
.payment-link-group { padding: 20px; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.1); }
.payment-link-group h3 { margin: 0 0 14px; color: inherit; font-size: 1.15rem; }
.payment-link-group[hidden] { display: none; }
.partners-carousel-section {
  --partners-wave-height: clamp(112px, 9.5vw, 152px);
  --partners-wave-overlap: calc(var(--partners-wave-height) * .26);
  position: relative;
  isolation: isolate;
  z-index: 2;
  min-height: clamp(660px, 72vw, 870px);
  margin-top: -38px;
  padding: clamp(92px, 8vw, 122px) clamp(1.25rem, 4vw, 4rem) clamp(96px, 10vw, 145px);
  overflow: visible;
  border-top: 0;
  background-color: transparent;
  background-image: none;
}
.partners-carousel-section::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(var(--partners-wave-overlap) * -1);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fffaf5;
  background-image: url("assets/partners-network-bg.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 150' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M0,34 C96,72 192,96 318,74 C450,50 500,6 642,38 C760,65 782,128 920,112 C1042,97 1084,31 1212,37 C1308,42 1365,91 1440,56 L1440,150 L0,150 Z'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 150' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M0,34 C96,72 192,96 318,74 C450,50 500,6 642,38 C760,65 782,128 920,112 C1042,97 1084,31 1212,37 C1308,42 1365,91 1440,56 L1440,150 L0,150 Z'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
  -webkit-mask-size: 100% var(--partners-wave-height), 100% calc(100% - var(--partners-wave-height) + 1px);
  mask-size: 100% var(--partners-wave-height), 100% calc(100% - var(--partners-wave-height) + 1px);
  -webkit-mask-position: top center, center calc(var(--partners-wave-height) - 1px);
  mask-position: top center, center calc(var(--partners-wave-height) - 1px);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.partners-carousel-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: calc(var(--partners-wave-overlap) * -1);
  left: 0;
  right: 0;
  height: calc(var(--partners-wave-height) + var(--partners-wave-overlap));
  background: #FBF1E5;
}
.partners-carousel-section > *:not(.partners-wave-top) {
  position: relative;
  z-index: 2;
}
.partners-wave-top {
  position: absolute;
  z-index: 1;
  top: 1px;
  left: 0;
  width: 100%;
  height: var(--partners-wave-height);
  transform: translateY(-26%);
  color: #fffaf5;
  pointer-events: none;
  line-height: 0;
}
.partners-wave-top path {
  fill: currentColor;
}
.partners-carousel-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 28px);
  width: min(1040px, 100%);
  margin: 0 auto clamp(28px, 3.6vw, 48px);
  text-align: center;
}
.partners-carousel-heading .eyebrow {
  margin: 0;
  color: var(--terracotta);
  font-size: clamp(.78rem, .95vw, .92rem);
  letter-spacing: .16em;
}
.partners-heading-ornament {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 9px 0 14px;
  color: var(--terracotta);
}
.partners-heading-ornament i {
  width: 42px;
  height: 1px;
  background: rgba(202, 112, 77, .45);
}
.partners-heading-ornament b {
  font-size: 1rem;
  line-height: 1;
}
.partners-carousel-heading h2 {
  max-width: none;
  margin: 0 auto;
  color: var(--teal-900);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 5.45rem);
  font-weight: 500;
  line-height: .98;
  white-space: nowrap;
}
.partners-carousel-heading h2 .title-dot {
  color: var(--terracotta);
}
.partners-carousel-text {
  max-width: 760px;
  margin: clamp(16px, 1.7vw, 22px) auto 0;
  color: #505d5c;
  font-size: clamp(1rem, 1.2vw, 1.22rem);
  line-height: 1.75;
}
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.carousel-controls button {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(66, 74, 63, .22);
  border-radius: 999px;
  background: rgba(255, 250, 245, .55);
  color: var(--teal-900);
  font-size: 1.42rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(32, 86, 65, .38);
  background: rgba(255, 255, 255, .9);
  outline: none;
}
.partners-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(210px, 18vw, 255px);
  justify-content: start;
  gap: clamp(18px, 2vw, 30px);
  width: min(1110px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  padding: 4px 2px 20px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.partners-carousel::-webkit-scrollbar {
  display: none;
}
.partner-slide {
  display: grid;
  grid-template-rows: auto auto;
  gap: 18px;
  align-items: center;
  min-height: 255px;
  padding: 28px 26px 26px;
  border: 1px solid rgba(91, 83, 70, .18);
  border-radius: 13px;
  background: rgba(255, 255, 255, .48);
  color: var(--ink-deep);
  text-align: center;
  text-decoration: none;
  scroll-snap-align: start;
  box-shadow: 0 10px 30px rgba(33, 51, 43, .04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.partner-slide:hover,
.partner-slide:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(202, 112, 77, .36);
  box-shadow: 0 16px 38px rgba(33, 51, 43, .08);
  outline: none;
}
.partner-slide > img,
.partner-main-link > img {
  width: 100%;
  height: 134px;
  object-fit: contain;
}
.partner-main-link {
  display: grid;
  grid-template-rows: 145px auto;
  gap: 18px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.partner-slide-no-logo,
.partner-logo-placeholder {
  align-content: center;
}
.partner-logo-placeholder {
  display: grid;
  width: 100%;
  height: 134px;
  place-items: center;
  color: rgba(202, 112, 77, .5);
  font-size: 2.4rem;
}
.partner-slide > span,
.partner-main-link > span {
  display: grid;
  justify-items: center;
  gap: 16px;
  color: var(--teal-900);
  font-size: .83rem;
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
}
.partner-slide > span::after,
.partner-main-link > span::after {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--terracotta);
}
.partner-social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  margin-top: -4px;
}
.partner-social-links a {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(40, 84, 71, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .42);
  color: rgba(40, 84, 71, .78);
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.partner-social-links a:hover,
.partner-social-links a:focus-visible {
  border-color: rgba(200, 117, 91, .38);
  background: rgba(255, 255, 255, .82);
  color: var(--teal-900);
  transform: translateY(-1px);
  outline: none;
}
.partner-social-links .managed-icon {
  width: var(--managed-icon-size,18px);
  height: var(--managed-icon-size,18px);
}
.partner-social-links .managed-icon-symbol {
  display: inline-grid;
  width: auto;
  height: auto;
  color: inherit;
  font-size: var(--managed-icon-size,18px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}
.partner-social-links .managed-icon-symbol::after {
  content: none;
}
.partners-bottom-ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: clamp(32px, 4vw, 54px);
}
.partners-bottom-ornament span {
  color: #9aa786;
  font-size: 1.15rem;
}
.partners-bottom-ornament span:last-child {
  transform: scaleX(-1);
}
.partners-bottom-ornament b {
  color: var(--terracotta);
  font-size: 1.7rem;
}
.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; }
.admin-partner-actions button:disabled, .media-admin-actions button:disabled { opacity:.38; cursor:not-allowed; }
.action-global-admin-list { display:grid; gap:14px; }
.action-global-admin-item { display:grid; grid-template-columns:140px minmax(0,1fr); gap:18px; align-items:start; padding:14px; border:1px solid var(--line); background:#fff; }
.action-global-admin-preview { display:grid; place-items:center; min-height:112px; border:1px dashed var(--line); background:var(--paper); color:var(--muted); font-size:.82rem; font-weight:800; text-transform:uppercase; }
.action-global-admin-preview img { width:100%; height:112px; object-fit:cover; }
.action-global-admin-fields { display:grid; gap:12px; }
.action-global-language-images { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 12px; }
.action-global-language-images label { min-width:0; }
.admin-event-item.is-disabled { opacity: .68; border-style: dashed; }
.admin-protected-note { display:inline-flex; align-items:center; padding:7px 10px; color:var(--muted); font-size:.78rem; font-weight:700; }
.admin-position-badge { display:block; width:max-content; margin-bottom:5px; padding:3px 8px; border-radius:999px; background:var(--mint); color:var(--teal-900); font-size:.68rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.home-order-admin { margin-bottom: 28px; }
.home-section-order-list { display: grid; gap: 10px; }
.home-section-order-item { display: grid; grid-template-columns: 110px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); background: #fff; }
.home-section-order-item.is-hidden-section { background: #f5f1ea; opacity: .82; }
.home-section-order-item .admin-position-badge { margin: 0; }
.home-section-order-item small { display: block; margin-top: 4px; color: var(--muted); font-size: .86rem; }
.home-section-order-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.home-section-order-actions button { min-width: 42px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--teal-900); font-size: .86rem; font-weight: 800; cursor: pointer; }
.home-section-order-actions button:disabled { cursor: not-allowed; opacity: .35; }
.favicon-upload-preview img { width: 96px; height: 96px; object-fit: contain; padding: 8px; background: #fff; }
@media (max-width: 700px) { .action-global-admin-item { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .home-section-order-item { grid-template-columns: 1fr; } .home-section-order-item .admin-position-badge { grid-column: 1 / -1; } .home-section-order-actions { justify-content: flex-start; } }
.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; }
.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.document-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 0;
  padding: 10px 16px;
  border: 1px solid var(--teal-900);
  background: var(--teal-900);
  color: #fff;
  font-size: .86rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
}
.document-actions a:first-child {
  background: transparent;
  color: var(--teal-900);
}
.document-actions a:hover,
.document-actions a:focus-visible {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: #fff;
}
.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:980px) {
  .partners-carousel-section {
    min-height: auto;
    margin-top: -34px;
    padding-top: clamp(86px, 11vw, 112px);
    background-position: center bottom;
  }

  .partners-carousel-heading h2 {
    max-width: 760px;
    white-space: normal;
  }

  .partners-carousel {
    grid-auto-columns: min(42vw, 255px);
    width: min(560px, 100%);
  }
}

@media (max-width:760px) {
  .love-divider {
    min-height: 112px;
    padding-inline: 16px;
  }

  .love-divider__content {
    width: min(92vw, 520px);
    gap: 4px;
  }

  .love-divider__text {
    font-size: clamp(1.05rem, 5vw, 1.65rem);
    letter-spacing: .055em;
    white-space: normal;
  }

  .love-divider__ornament {
    width: min(72vw, 340px);
  }

  .love-divider__leaf {
    width: 150px;
    opacity: .68;
  }

  .love-divider__leaf--left {
    left: -58px;
    bottom: -20px;
  }

  .love-divider__leaf--right {
    right: -62px;
    bottom: -22px;
  }

  .partners-carousel-section {
    --partners-wave-height: 104px;
    margin-top: -28px;
    padding: 82px clamp(1rem, 5vw, 1.5rem) 92px;
    background-size: cover;
    background-position: center bottom;
  }

  .partners-carousel-heading {
    gap: 18px;
    margin-bottom: 28px;
  }

  .partners-carousel-heading h2 {
    font-size: clamp(2.5rem, 12vw, 3.75rem);
  }

  .partners-carousel-text {
    font-size: .98rem;
    line-height: 1.65;
  }

  .carousel-controls button {
    width: 50px;
    height: 50px;
  }

  .partners-carousel {
    width: 100%;
    grid-auto-columns: min(78vw, 270px);
    justify-content: start;
  }

  .partner-slide {
    min-height: 238px;
    padding: 24px 22px;
  }
}
@media (max-width:900px) { #impacto .impact-grid { grid-template-columns: 1fr; } }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.category-field {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.event-category-tools,
.event-category-create-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.event-category-create {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(252, 250, 246, .72);
}

.event-category-create[hidden] {
  display: none;
}

.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-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.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);
}
.media-admin-actions { display:flex; flex-wrap:wrap; gap:7px; }

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);
}
.site-footer-copyright { padding-top:18px; border-top:1px solid rgba(255,255,255,.18); text-align:center; max-width:none !important; }

.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: calc(var(--site-header-height, 70px) + 12px); }
  body { padding-top: var(--site-header-height, 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-item {
    display: grid;
    width: 100%;
  }

  .nav-submenu {
    position: static;
    display: grid;
    gap: 0;
    min-width: 0;
    padding: 0 0 0 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .nav-submenu a {
    padding: 9px 10px;
    color: var(--muted);
    white-space: normal;
  }

  .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);
}

.font-family-editor { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:8px 0 26px; padding:22px; border:1px solid var(--line); border-radius:var(--radius); background:rgba(243,233,218,.42); }
.font-family-editor label { display:grid; gap:8px; color:var(--teal-900); font-weight:800; }
.font-family-editor select,.font-family-editor input[type="text"],.font-family-editor input[type="file"] { width:100%; }
.font-upload-summary { align-self:center; color:var(--muted); font-weight:700; }
.font-family-editor .button { justify-self:start; }
@media (max-width:720px) { .font-family-editor { grid-template-columns:1fr; } }

/* Tipografia escolhida no painel — mantida ao final para prevalecer sobre estilos de seção. */
html body, html body button, html body input, html body select, html body textarea { font-family:var(--font-body); }
html body h1, html body h2, html body h3, html body .hero-title, html body .project-card h3, html body .mission h3, html body .global-statement h2 { font-family:var(--font-heading); }

/* 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;
}

.auth-link-button {
  align-self: center;
  border: 0;
  background: transparent;
  color: var(--teal-900);
  font: inherit;
  font-size: .92rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.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; }
.site-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 20px;
  padding: 8px;
  border: 1px solid rgba(0, 95, 104, .13);
  background: #f6fbfa;
}
.site-section-tab {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(0, 95, 104, .18);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  cursor: pointer;
}
.site-section-tab.is-active {
  border-color: var(--emerald);
  background: var(--emerald);
  color: #fff;
}
.site-section-panels {
  display: block;
}
.site-section-panel {
  display: none;
  gap: 16px;
}
.site-section-panel.is-active {
  display: grid;
}
.site-field-translations { width:100%; margin-top:10px; border:1px solid rgba(0,95,104,.16); border-radius:10px; background:#fbfdfc; }
.site-field-translations summary { padding:11px 13px; color:var(--teal-900); font-size:.82rem; font-weight:800; cursor:pointer; }
.site-field-translation-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:0 13px 13px; }
.site-field-translation-grid label { display:flex !important; width:100% !important; gap:6px; margin:0; }
.site-field-translation-grid textarea { min-height:78px; background:#fff; }
@media (max-width:760px) { .site-field-translation-grid { grid-template-columns:1fr; } }
.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-external-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.project-external-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; color: #fff; font-family: var(--font-body); font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-external-links a:hover,.project-external-links a:focus { background: #fff; color: var(--teal-900); border-color: #fff; }
.project-full-copy { align-items: start; }
.project-full-copy > div:last-child { color: #43575a; font-size: 1.08rem; line-height: 1.8; }
.project-full-copy b,.project-full-copy strong { color: var(--teal-900); font-weight: 800; }
.project-full-copy i,.project-full-copy em { font-style: italic; }
.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; } }

/* Center dynamic card collections, including incomplete final rows. */
.cards.areas,
.impact-grid,
.partnership-paths,
.featured-projects,
.project-directory,
.testimonials-grid,
.podcast-grid,
.events-grid,
.document-library,
.support-ways,
.project-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.cards.areas > *,
.impact-grid > *,
.partnership-paths > * {
  flex: 0 1 calc(25% - 18px);
  width: calc(25% - 18px);
}

.featured-projects > *,
.project-directory > *,
.testimonials-grid > *,
.podcast-grid > *,
.events-grid > *,
.document-library > *,
.project-gallery > * {
  flex: 0 1 calc(33.333% - 18px);
  width: calc(33.333% - 18px);
}

.support-ways > * {
  flex: 0 1 calc(50% - 14px);
  width: calc(50% - 14px);
}

@media (max-width: 980px) {
  .cards.areas > *,
  .impact-grid > *,
  .partnership-paths > *,
  .featured-projects > *,
  .project-directory > *,
  .testimonials-grid > *,
  .podcast-grid > *,
  .events-grid > *,
  .document-library > *,
  .project-gallery > * {
    flex-basis: calc(50% - 18px);
    width: calc(50% - 18px);
  }
}

@media (max-width: 620px) {
  .cards.areas > *,
  .impact-grid > *,
  .partnership-paths > *,
  .featured-projects > *,
  .project-directory > *,
  .testimonials-grid > *,
  .podcast-grid > *,
  .events-grid > *,
  .document-library > *,
  .support-ways > *,
  .project-gallery > * {
    flex-basis: 100%;
    width: 100%;
    max-width: 520px;
  }
}

/* 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; }
}

/* Ícones gerenciáveis pelo painel. */
.managed-icon { display:block; width:var(--managed-icon-size,100%); height:var(--managed-icon-size,100%); object-fit:contain; }
.managed-icon-symbol { display:inline-grid; place-items:center; line-height:1; font-size:var(--managed-icon-size,inherit); }
.area-number { overflow:hidden; flex:0 0 auto; }
.area-number .managed-icon { width:var(--managed-icon-size,100%); height:var(--managed-icon-size,100%); max-width:none; max-height:none; object-fit:cover; border-radius:50%; }
.area-number .managed-icon-symbol { font-size:var(--managed-icon-size,2rem); }
.document-cover .managed-icon { width:min(var(--managed-icon-size,82px),70%); height:var(--managed-icon-size,82px); }
.testimonial-quote .managed-icon { width:var(--managed-icon-size,42px); height:var(--managed-icon-size,42px); }
.project-card-content a b .managed-icon,.document-card a b .managed-icon { width:var(--managed-icon-size,16px); height:var(--managed-icon-size,16px); }
.podcast-thumb > span .managed-icon { width:var(--managed-icon-size,34px); height:var(--managed-icon-size,34px); }
.admin-icons-list { display:grid; gap:10px; }
.admin-icon-item { display:grid; grid-template-columns:58px 1fr; gap:14px; align-items:center; width:100%; padding:12px; border:1px solid var(--line); background:#fff; color:var(--teal-900); text-align:left; cursor:pointer; }
.admin-icon-item:hover,.admin-icon-item:focus { border-color:var(--gold); background:var(--cream); }
.admin-icon-item > span { display:grid; place-items:center; width:52px; height:52px; border-radius:50%; background:var(--mint); overflow:hidden; }
.admin-icon-preview { width:34px; height:34px; object-fit:contain; }
.admin-icon-symbol { font-size:1.55rem; line-height:1; }
.admin-icon-item > span:nth-child(2) { display:grid; gap:4px; width:auto; height:auto; border-radius:0; background:transparent; overflow:visible; }
.admin-icon-item small { color:var(--muted); font-size:.78rem; font-weight:700; }
.icon-size-field { display:flex; align-items:center; gap:8px; margin-top:8px; }
.icon-size-field input { width:min(150px,100%); }
.icon-upload-preview img { max-width:120px; max-height:120px; object-fit:contain; }

/* 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:var(--fs-section-eyebrow) !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; }

/* Prioridade final do refinamento visual do banner. */
.hero.has-uploaded-bg {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23173d33' stop-opacity='1'/%3E%3Cstop offset='.48' stop-color='%23173d33' stop-opacity='.98'/%3E%3Cstop offset='.76' stop-color='%23173d33' stop-opacity='.78'/%3E%3Cstop offset='1' stop-color='%23173d33' stop-opacity='.32'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='%23b99a5a' d='M0 0H527C542 178 508 333 528 500C545 674 511 838 529 1000H0Z'/%3E%3Cpath fill='url(%23g)' d='M0 0H519C533 180 500 334 520 500C537 672 503 837 521 1000H0Z'/%3E%3C/svg%3E"),var(--hero-background-image) !important;
  background-position:center,center !important;
  background-repeat:no-repeat !important;
  background-size:100% 100%,cover !important;
}
.hero > .hero-content > .eyebrow { color:#d5b36b !important; text-shadow:0 2px 12px rgba(0,0,0,.28); }
.hero .button.primary { color:#fff; background:#c8755b; border-color:#c8755b; border-radius:999px; }
.hero .button.primary:hover,.hero .button.primary:focus { color:#173d33; background:#fff; border-color:#fff; }
.hero .button.secondary { color:#fff; background:transparent; border-color:rgba(255,255,255,.72); border-radius:999px; }
.hero .button.secondary:hover,.hero .button.secondary:focus { color:#173d33; background:#fff; border-color:#fff; }
@media (max-width:760px){.hero.has-uploaded-bg{background-image:linear-gradient(180deg,rgba(23,61,51,.99) 0%,rgba(23,61,51,.92) 58%,rgba(23,61,51,.5) 100%),var(--hero-background-image) !important;background-position:center,62% center !important;background-size:100% 100%,cover !important;}}

/* Refinamento final do banner solicitado pela cliente. */
.hero.has-uploaded-bg {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23173d33' stop-opacity='1'/%3E%3Cstop offset='.48' stop-color='%23173d33' stop-opacity='.98'/%3E%3Cstop offset='.76' stop-color='%23173d33' stop-opacity='.78'/%3E%3Cstop offset='1' stop-color='%23173d33' stop-opacity='.32'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='%23b99a5a' d='M0 0H527C542 178 508 333 528 500C545 674 511 838 529 1000H0Z'/%3E%3Cpath fill='url(%23g)' d='M0 0H519C533 180 500 334 520 500C537 672 503 837 521 1000H0Z'/%3E%3C/svg%3E"),
    var(--hero-background-image) !important;
  background-position: center, center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100%, cover !important;
}

@media (max-width:760px) {
  .hero.has-uploaded-bg {
    background-image:
      linear-gradient(180deg, rgba(23,61,51,.99) 0%, rgba(23,61,51,.94) 54%, rgba(23,61,51,.36) 83%, rgba(23,61,51,0) 100%),
      var(--hero-background-image) !important;
  }
}

.hero > .hero-content > .eyebrow {
  color: #d5b36b !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.28);
}

.hero .button.primary {
  color: #fff;
  background: #c8755b;
  border-color: #c8755b;
  border-radius: 999px;
}

.hero .button.primary:hover,
.hero .button.primary:focus {
  color: #173d33;
  background: #fff;
  border-color: #fff;
}

.hero .button.secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,.72);
  border-radius: 999px;
}

.hero .button.secondary:hover,
.hero .button.secondary:focus {
  color: #173d33;
  background: #fff;
  border-color: #fff;
}

@media (max-width:760px) {
  .hero.has-uploaded-bg {
    background-image:
      linear-gradient(180deg, rgba(23,61,51,.99) 0%, rgba(23,61,51,.92) 58%, rgba(23,61,51,.5) 100%),
      var(--hero-background-image) !important;
    background-position: center, 62% center !important;
    background-size: 100% 100%, cover !important;
  }
}

/* Curva ampla: o dourado existe somente no filete; o verde desaparece diretamente sobre a foto. */
.hero.has-uploaded-bg {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='verde2' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23173d33' stop-opacity='1'/%3E%3Cstop offset='.5' stop-color='%23173d33' stop-opacity='1'/%3E%3Cstop offset='.72' stop-color='%23173d33' stop-opacity='.84'/%3E%3Cstop offset='.88' stop-color='%23173d33' stop-opacity='.35'/%3E%3Cstop offset='1' stop-color='%23173d33' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23verde2)' d='M0 0H640C704 175 520 302 575 480C642 650 514 817 640 1000H0Z'/%3E%3Cpath fill='%23c8a65d' fill-opacity='.68' d='M640 0C704 175 520 302 575 480C642 650 514 817 640 1000L649 1000C523 817 651 650 584 480C529 302 713 175 649 0Z'/%3E%3C/svg%3E"),
    var(--hero-background-image) !important;
  background-position: center, center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100%, cover !important;
}

/* Banner principal com divisão orgânica verde, filete dourado e fotografia. */
.hero.has-uploaded-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #173d33;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cpath fill='%23b99a5a' d='M0 0H661C720 150 586 321 650 500C716 684 590 839 662 1000H0Z'/%3E%3Cpath fill='%23173d33' d='M0 0H646C701 151 570 323 634 500C699 681 574 837 647 1000H0Z'/%3E%3C/svg%3E"),
    var(--hero-background-image) !important;
  background-position: center, center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100%, cover !important;
}

.hero.has-uploaded-bg .hero-content {
  position: relative;
  z-index: 1;
}

.hero-title-accent {
  color: var(--hero-title-accent);
  text-shadow: none;
}

.hero .button.primary,
.hero .button.secondary {
  color: #fff;
  background: #c8755b;
  border-color: #c8755b;
  border-radius: 999px;
}

.hero .button.primary:hover,
.hero .button.primary:focus,
.hero .button.secondary:hover,
.hero .button.secondary:focus {
  color: #fff;
  background: #ad5f49;
  border-color: #ad5f49;
}

@media (max-width: 760px) {
  .hero.has-uploaded-bg {
    background-image:
      linear-gradient(180deg, rgba(23,61,51,.98) 0%, rgba(23,61,51,.94) 62%, rgba(23,61,51,.5) 100%),
      var(--hero-background-image) !important;
    background-position: center, 62% center !important;
    background-size: 100% 100%, cover !important;
  }
}
.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(4,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:none !important; }

.translation-editor { display:grid; gap:18px; margin-top:8px; }
.translation-card { display:grid; grid-template-columns:minmax(250px,.8fr) minmax(0,2fr); gap:20px; padding:20px; border:1px solid var(--line-soft); border-radius:12px; background:var(--paper); }
.translation-source { align-self:start; position:sticky; top:150px; }
.translation-source span { display:block; color:var(--terracotta); font-size:.76rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.translation-source strong { display:block; margin:6px 0; color:var(--teal-900); }
.translation-source p { margin:8px 0 0; white-space:pre-wrap; color:var(--ink); line-height:1.55; }
.translation-languages { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.translation-languages label { margin:0; }
.translation-languages textarea { min-height:105px; }
@media (max-width:900px) { .translation-card { grid-template-columns:1fr; } .translation-source { position:static; } .translation-languages { grid-template-columns:1fr; } }
.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:var(--fs-section-eyebrow) !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; }

/* Regras finais do banner — devem permanecer no fim da folha. */
.hero.has-uploaded-bg{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23173d33' stop-opacity='1'/%3E%3Cstop offset='.48' stop-color='%23173d33' stop-opacity='.98'/%3E%3Cstop offset='.76' stop-color='%23173d33' stop-opacity='.78'/%3E%3Cstop offset='1' stop-color='%23173d33' stop-opacity='.32'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='%23b99a5a' d='M0 0H527C542 178 508 333 528 500C545 674 511 838 529 1000H0Z'/%3E%3Cpath fill='url(%23g)' d='M0 0H519C533 180 500 334 520 500C537 672 503 837 521 1000H0Z'/%3E%3C/svg%3E"),var(--hero-background-image)!important;background-position:center,center!important;background-repeat:no-repeat!important;background-size:100% 100%,cover!important}
.hero>.hero-content>.eyebrow{color:#d5b36b!important;text-shadow:0 2px 12px rgba(0,0,0,.28)}
.hero .button.primary{color:#fff;background:#c8755b;border-color:#c8755b;border-radius:999px}
.hero .button.primary:hover,.hero .button.primary:focus{color:#173d33;background:#fff;border-color:#fff}
.hero .button.secondary{color:#fff;background:transparent;border-color:rgba(255,255,255,.72);border-radius:999px}
.hero .button.secondary:hover,.hero .button.secondary:focus{color:#173d33;background:#fff;border-color:#fff}
@media(max-width:760px){.hero.has-uploaded-bg{background-image:linear-gradient(180deg,rgba(23,61,51,.99) 0%,rgba(23,61,51,.92) 58%,rgba(23,61,51,.5) 100%),var(--hero-background-image)!important;background-position:center,62% center!important;background-size:100% 100%,cover!important}}

/* Curva final baseada no banner de referência: verde em transparência gradual e filete dourado delicado. */
.hero.has-uploaded-bg {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='verde' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23173d33' stop-opacity='1'/%3E%3Cstop offset='.48' stop-color='%23173d33' stop-opacity='1'/%3E%3Cstop offset='.72' stop-color='%23173d33' stop-opacity='.9'/%3E%3Cstop offset='.9' stop-color='%23173d33' stop-opacity='.48'/%3E%3Cstop offset='1' stop-color='%23173d33' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='%23c8a65d' fill-opacity='.72' d='M0 0H590C623 146 555 282 570 421C588 579 547 713 574 842C585 895 590 946 590 1000H0Z'/%3E%3Cpath fill='url(%23verde)' d='M0 0H580C613 146 545 282 560 421C578 579 537 713 564 842C575 895 580 946 580 1000H0Z'/%3E%3C/svg%3E"),
    var(--hero-background-image) !important;
  background-position: center, center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100%, cover !important;
}

@media (max-width:760px) {
  .hero.has-uploaded-bg {
    background-image:
      linear-gradient(180deg, rgba(23,61,51,.99) 0%, rgba(23,61,51,.94) 55%, rgba(23,61,51,.38) 82%, rgba(23,61,51,.08) 100%),
      var(--hero-background-image) !important;
  }
}

/* Regra definitiva: curva mais ampla, verde até transparente e dourado somente no filete. */
.hero.has-uploaded-bg {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='verdeFinal' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='640' y2='0'%3E%3Cstop offset='0' stop-color='%23173d33' stop-opacity='1'/%3E%3Cstop offset='.5' stop-color='%23173d33' stop-opacity='1'/%3E%3Cstop offset='.72' stop-color='%23173d33' stop-opacity='.84'/%3E%3Cstop offset='.88' stop-color='%23173d33' stop-opacity='.35'/%3E%3Cstop offset='1' stop-color='%23173d33' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23verdeFinal)' d='M0 0H580C644 175 460 302 515 480C582 650 454 817 580 1000H0Z'/%3E%3Cpath fill='%23c8a65d' fill-opacity='.68' d='M580 0C644 175 460 302 515 480C582 650 454 817 580 1000L589 1000C463 817 591 650 524 480C469 302 653 175 589 0Z'/%3E%3C/svg%3E"),
    var(--hero-background-image) !important;
  background-position: center, center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100%, cover !important;
}
@media (max-width:760px) {
  .hero.has-uploaded-bg {
    background-image: linear-gradient(180deg,rgba(23,61,51,.99) 0%,rgba(23,61,51,.94) 54%,rgba(23,61,51,.36) 83%,rgba(23,61,51,0) 100%),var(--hero-background-image) !important;
  }
}

/* Aplicação final das famílias configuradas no painel. */
html body, html body button, html body input, html body select, html body textarea { font-family:var(--font-body); }
html body h1, html body h2, html body h3, html body .hero-title, html body .project-card h3, html body .project-card-content h3, html body .mission h3, html body .global-statement h2, html body .ods-card span { font-family:var(--font-heading); }

/* Gerenciador de páginas e páginas personalizadas */
.pages-admin-layout { align-items:start; }
.page-blocks-manager { display:grid; gap:16px; margin:16px 0; }
.page-block-editor { overflow:hidden; border:1px solid var(--line); background:#fff; }
.rich-editor-header { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; padding:10px 10px 0; background:#f5f2ec; border-bottom:1px solid var(--line-soft); }
.rich-editor-header strong { padding:0 4px 9px; color:var(--teal-900); font-size:.95rem; }
.rich-editor-tabs { display:flex; align-items:flex-end; gap:4px; }
.rich-editor-tabs button { min-width:62px; padding:8px 12px; border:1px solid var(--line-soft); border-bottom:0; background:#ebe4d9; color:var(--teal-900); cursor:pointer; font-weight:800; }
.rich-editor-tabs button.is-active { background:#fff; transform:translateY(1px); }
.page-block-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:7px; padding:8px 10px; border-bottom:1px solid var(--line-soft); background:#fff; }
.page-block-toolbar strong { margin-right:auto; color:var(--teal-900); }
.page-block-toolbar label { display:flex; flex-direction:row; align-items:center; gap:7px; margin:0; }
.page-block-toolbar select { min-width:150px; padding:7px; border:1px solid var(--line-soft); background:#fff; }
.page-block-toolbar input[type="color"] { width:38px; height:34px; padding:3px; border:1px solid var(--line-soft); background:#fff; }
.page-block-toolbar button { min-height:34px; padding:7px 10px; border:1px solid var(--line-soft); background:#f8f8f8; color:var(--teal-900); cursor:pointer; font-weight:700; }
.page-block-toolbar button:hover,.rich-editor-tabs button:hover { background:var(--cream); }
.admin-rich-field,.page-block-editor { font-weight:400; }
.rich-text-editor { min-height:240px; padding:20px; color:var(--ink); font-family:var(--font-body); font-size:1rem; font-weight:400; line-height:1.75; outline:none; background:#fff; user-select:text; -webkit-user-select:text; cursor:text; }
.rich-text-editor strong,.rich-text-editor b { font-weight:800; }
.rich-text-editor em,.rich-text-editor i { font-style:italic; }
.rich-text-editor u { text-decoration:underline; }
.rich-text-editor:focus { box-shadow:inset 0 0 0 2px rgba(40,84,71,.22); }
.rich-editor-footer { display:flex; justify-content:flex-start; padding:7px 10px; border-top:1px solid var(--line-soft); background:#f8f8f8; color:var(--muted); font-size:.82rem; }
.admin-rich-field { overflow:hidden; border:1px solid var(--line); background:#fff; }
.admin-rich-field textarea,.rich-html-source { display:none; width:100%; min-height:240px; margin:0; padding:20px; border:0; border-radius:0; background:#fff; color:var(--ink); font-family:"Courier New",monospace; font-size:.95rem; font-weight:400; line-height:1.65; resize:vertical; user-select:text; -webkit-user-select:text; cursor:text; }
.admin-rich-field[data-rich-mode="html"] textarea[data-rich-text],.page-block-editor[data-rich-mode="html"] .rich-html-source { display:block; }
.admin-rich-field[data-rich-mode="html"] .rich-text-editor,.page-block-editor[data-rich-mode="html"] .rich-text-editor { display:none; }
.admin-rich-field .page-block-toolbar { border-bottom-color:var(--line-soft); }
.admin-rich-field .rich-text-editor { min-height:180px; background:#fff; }
.page-block-editor[data-block-type="code"] textarea { min-height:190px; margin:0; border:0; border-radius:0; background:#122e2a; color:#f8f3e9; font-family:"Courier New",monospace; }
.custom-page-hero { display:grid; place-items:center; min-height:clamp(380px,55vh,650px); padding:clamp(70px,10vw,140px) clamp(22px,7vw,110px); text-align:center; background:linear-gradient(135deg,var(--mint),var(--cream)); }
.custom-page-hero.has-image { color:#fff; background-image:linear-gradient(180deg,rgba(23,61,51,.45),rgba(23,61,51,.82)),var(--custom-page-banner); background-size:cover; background-position:center; }
.custom-page-hero>div { width:min(1100px,100%); }
.custom-page-hero h1 { max-width:1050px; margin:12px auto; font-size:clamp(3rem,6vw,6.4rem); line-height:.98; }
.custom-page-hero p:not(.eyebrow) { max-width:900px; margin:24px auto 0; font-size:clamp(1rem,1.5vw,1.25rem); line-height:1.65; }
.custom-page-content { display:grid; gap:28px; max-width:1200px; margin-inline:auto; }
.custom-text-block { font-size:clamp(1rem,1.35vw,1.18rem); line-height:1.8; text-align:justify; }
.custom-text-block h2,.custom-text-block h3,.custom-text-block h4 { text-align:center; }
.custom-code-block { overflow:auto; padding:24px; border-left:4px solid var(--terracotta); background:#122e2a; color:#f8f3e9; font-size:.92rem; line-height:1.65; white-space:pre-wrap; }
.event-card-summary,.event-detail-summary,.event-rich-copy,.support-way-text { color:inherit; }
.event-card-summary p,.event-detail-summary p,.event-rich-copy p,.support-way-text p { margin:0 0 .85em; }
.event-card-summary p:last-child,.event-detail-summary p:last-child,.event-rich-copy p:last-child,.support-way-text p:last-child { margin-bottom:0; }
.event-rich-copy .custom-code-block,.support-way-copy .custom-code-block { margin-top:18px; }
.custom-photo-gallery,.custom-video-gallery { display:flex; flex-wrap:wrap; justify-content:center; gap:18px; margin-top:34px; }
.custom-photo-gallery img { flex:0 1 calc(33.333% - 18px); width:calc(33.333% - 18px); max-width:460px; aspect-ratio:4/3; object-fit:cover; }
.custom-video-gallery iframe,.custom-video-gallery video { flex:0 1 calc(50% - 18px); width:calc(50% - 18px); max-width:680px; aspect-ratio:16/9; border:0; }
@media(max-width:760px){.page-block-toolbar{align-items:stretch}.page-block-toolbar label{width:100%}.custom-photo-gallery img,.custom-video-gallery iframe,.custom-video-gallery video{flex-basis:100%;width:100%}.custom-text-block{text-align:left}}


/* Final dynamic-card alignment: keeps every row centered after admin changes. */
.cards.areas,.impact-grid,.partnership-paths,.featured-projects,.project-directory,.testimonials-grid,.podcast-grid,.events-grid,.document-library,.support-ways,.project-gallery {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
}
.cards.areas>*,.impact-grid>*,.partnership-paths>* { flex:0 1 calc(25% - 18px); width:calc(25% - 18px); }
.featured-projects>*,.project-directory>*,.testimonials-grid>*,.podcast-grid>*,.events-grid>*,.document-library>*,.project-gallery>* { flex:0 1 calc(33.333% - 18px); width:calc(33.333% - 18px); }
.support-ways>* { flex:0 1 calc(33.333% - 19px); width:calc(33.333% - 19px); }
@media (max-width:1100px) and (min-width:701px) { .support-ways>* { flex-basis:calc(50% - 14px); width:calc(50% - 14px); } }
@media(max-width:980px){
  .cards.areas>*,.impact-grid>*,.partnership-paths>*,.featured-projects>*,.project-directory>*,.testimonials-grid>*,.podcast-grid>*,.events-grid>*,.document-library>*,.project-gallery>* { flex-basis:calc(50% - 18px); width:calc(50% - 18px); }
}
@media(max-width:620px){
  .cards.areas>*,.impact-grid>*,.partnership-paths>*,.featured-projects>*,.project-directory>*,.testimonials-grid>*,.podcast-grid>*,.events-grid>*,.document-library>*,.support-ways>*,.project-gallery>* { flex-basis:100%; width:100%; max-width:520px; }
}

/* Formas de apoio: todos os cards em uma única linha nas telas grandes. */
@media (min-width:1101px) {
  .support-ways { flex-wrap:nowrap; }
  .support-ways>* { flex:1 1 0; width:0; min-width:0; }
  .support-way .support-way-image { height:clamp(150px,13vw,220px); }
}

/* Nossa atuação: ícones circulares maiores e composição editorial equilibrada. */
#atuacao .area-number {
  width:88px;
  height:88px;
  margin-inline:auto;
  border-color:rgba(200,166,93,.55);
  background:#fffaf2;
}
#atuacao .area-card {
  min-height:338px;
  padding:34px 36px;
  gap:18px;
}
#atuacao .area-card p { line-height:1.7; }

/* Impacto: título em dois blocos estáveis e indicadores sempre centralizados. */
#impacto .impact-title {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.22em;
  max-width:1280px;
  margin-inline:auto;
  text-align:center;
}
#impacto .impact-title > span { display:block; }
@media (min-width:1024px) {
  #impacto.section-band { padding-block:clamp(3.5rem,5vw,5rem); }
  #impacto .section-heading { max-width:min(100%,1500px); margin-bottom:clamp(1.4rem,2vw,2.2rem); }
  #impacto .impact-title { max-width:none; width:100%; font-size:clamp(3rem,3.8vw,4.3rem); }
  #impacto .impact-title > span:first-child { white-space:nowrap; }
  #impacto .impact-placeholder { min-height:0; padding-block:clamp(1rem,1.6vw,1.5rem); }
}
#impacto .impact-grid {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  gap:clamp(14px,2vw,24px);
  width:100%;
}
#impacto .impact-grid > * {
  flex:1 1 180px;
  width:auto;
  min-width:170px;
  max-width:260px;
}

/* Contato: layout inspirado no modelo enviado, com textos editáveis pelo painel. */
#contato.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(360px, .9fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
  overflow: hidden;
  padding: clamp(1.4rem, 2.4vw, 2.4rem) clamp(1rem, 5vw, 6rem) 0;
  background:
    radial-gradient(circle at 100% 52%, rgba(216, 92, 67, .92) 0 12%, transparent 12.4%),
    radial-gradient(circle at 100% 95%, rgba(222, 232, 223, .92) 0 14%, transparent 14.4%),
    linear-gradient(135deg, #16483a 0%, #245b49 48%, #113d32 100%);
}
#contato .contact-story {
  position: relative;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(1.35rem, 2.2vw, 2.35rem) clamp(1.4rem, 4vw, 4rem) 72px;
  color: #fff;
  text-align: left;
}
#contato .contact-story::before {
  content: "";
  position: absolute;
  inset: 0 -8% 0 -10%;
  background:
    linear-gradient(90deg, rgba(8, 45, 36, .97) 0%, rgba(13, 61, 49, .92) 42%, rgba(13, 61, 49, .62) 72%, rgba(13, 61, 49, .3) 100%),
    linear-gradient(0deg, rgba(7, 39, 32, .54), rgba(7, 39, 32, .2)),
    url("assets/banner-principal-atualizado.png") center center / cover no-repeat;
  pointer-events: none;
}
#contato .contact-story::after {
  content: none;
}
#contato .contact-script {
  position: relative;
  z-index: 1;
  margin: 0 0 .1em;
  color: #ea8066;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(2rem, 3.1vw, 3.45rem);
  line-height: 1;
}
#contato .contact-story h2 {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.85rem, 4.6vw, 5.25rem);
  line-height: .82;
  white-space: pre-line;
  text-shadow: 0 18px 45px rgba(0, 0, 0, .24);
}
#contato .contact-flower {
  position: relative;
  z-index: 1;
  display: block;
  width: 180px;
  margin: 10px 0 11px 46px;
  color: #ea8066;
  text-align: center;
}
#contato .contact-flower::before,
#contato .contact-flower::after,
#contato .contact-form-heading span::before,
#contato .contact-form-heading span::after {
  content: "";
  display: inline-block;
  width: 58px;
  height: 1px;
  margin: 0 14px 5px 0;
  background: currentColor;
  vertical-align: middle;
}
#contato .contact-flower::after,
#contato .contact-form-heading span::after {
  margin: 0 0 5px 14px;
}
#contato .contact-question-line {
  position: relative;
  z-index: 1;
  max-width: 470px;
  margin: 0 0 13px;
  color: rgba(255, 255, 255, .95);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.45;
  white-space: normal;
}
#contato .contact-highlight {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 13px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e36e51, #d64f3f);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 18px 38px rgba(84, 25, 20, .22);
}
#contato .contact-highlight::before {
  content: "☏";
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  font-size: 1rem;
}
#contato .contact-social-strip {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 11px clamp(1.1rem, 2.6vw, 2rem) 10px;
  background: rgba(250, 247, 239, .94);
  backdrop-filter: blur(6px);
}
#contato .contact-social-strip a {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 0 18px;
  color: var(--teal-900);
  text-decoration: none;
}
#contato .contact-social-strip a + a {
  border-left: 1px solid rgba(200, 117, 91, .35);
}
#contato .contact-social-icon {
  grid-row: span 2;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: var(--teal-900);
  color: #fff;
}
#contato .contact-social-strip a:nth-child(2) .contact-social-icon {
  background: var(--terracotta);
}
#contato .contact-social-strip strong,
#contato .contact-social-strip small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#contato .contact-social-strip small {
  color: #52645f;
  font-size: .76rem;
}
#contato > .contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  width: min(100%, 720px);
  margin: 0 auto clamp(1rem, 2vw, 2rem);
  padding: clamp(1.15rem, 2vw, 2.15rem);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 7%, rgba(226, 113, 90, .22) 0 2px, transparent 3px),
    radial-gradient(circle at 94% 91%, rgba(226, 113, 90, .22) 0 3px, transparent 4px),
    rgba(255, 252, 246, .96);
  box-shadow: 0 26px 70px rgba(26, 53, 45, .24);
}
#contato .contact-form-heading {
  margin-bottom: 8px;
  text-align: center;
}
#contato .contact-form-heading h3 {
  margin: 0;
  color: var(--teal-900);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2vw, 2.1rem);
}
#contato .contact-form-heading span {
  display: block;
  margin: 6px 0 7px;
  color: var(--terracotta);
}
#contato .contact-form-heading p {
  margin: 0;
  color: #404947;
  font-size: 1rem;
}
#contato .contact-form label {
  color: var(--teal-900);
  font-weight: 850;
  margin-bottom: 0;
}
#contato .contact-form input,
#contato .contact-form select,
#contato .contact-form textarea {
  min-height: 42px;
  border-color: rgba(123, 104, 86, .28);
  border-radius: 9px;
  background: rgba(255, 255, 255, .72);
  font-size: .96rem;
}
#contato .contact-form textarea {
  min-height: 78px;
}
#contato .contact-form .button {
  justify-self: center;
  min-width: min(100%, 390px);
  justify-content: center;
  gap: 22px;
  min-height: 48px;
  padding-block: 12px;
  border-radius: 9px;
  background: linear-gradient(135deg, #df654b, #d94c3d);
  box-shadow: 0 16px 34px rgba(138, 52, 42, .2);
}
#contato .contact-note {
  margin: 2px 0 0;
  color: #84908c;
  text-align: center;
}
#contato .contact-note::before {
  content: "♥";
  margin-right: 8px;
  color: var(--terracotta);
}
@media (max-width: 980px) {
  #contato.contact {
    grid-template-columns: 1fr;
    padding-inline: clamp(1rem, 5vw, 2rem);
  }
  #contato .contact-story {
    min-height: 500px;
    padding-inline: 0;
  }
  #contato .contact-social-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  #contato .contact-social-strip a {
    padding: 0;
  }
  #contato .contact-social-strip a + a {
    border-left: 0;
  }
}

/* Contato: composição editorial com formulário funcional. */
#contato.contact {
  display: grid;
  grid-template-columns: minmax(390px, .92fr) minmax(500px, 1.08fr);
  align-items: stretch;
  gap: clamp(24px, 3.2vw, 54px);
  min-height: 0;
  padding: clamp(2rem, 3vw, 3.2rem) clamp(1rem, 4vw, 4.5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 0 0, rgba(185, 154, 90, .15), transparent 25%),
    linear-gradient(112deg, #fff9f1 0%, #fcf2e7 44%, #f5eadc 100%);
}

#contato .contact-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 610px);
  margin-inline: auto;
}

#contato .contact-brand-lockup {
  width: fit-content;
  max-width: min(250px, 56%);
  margin: 0 auto clamp(.45rem, .9vw, .75rem);
}

#contato .contact-brand-lockup img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 86px;
  height: auto;
}

#contato .contact-story {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: visible;
  color: var(--teal-900);
  text-align: center;
}

#contato .contact-story::before,
#contato .contact-story::after {
  content: none;
}

#contato .contact-story h2 {
  max-width: 620px;
  margin-inline: auto;
  color: var(--teal-900);
  font-size: clamp(2.75rem, 3.6vw, 4.35rem);
  line-height: .86;
  letter-spacing: 0;
  text-shadow: none;
}

#contato .contact-story h2 span {
  white-space: pre-line;
}

#contato .contact-story h2 span:first-child {
  display: inline;
}

#contato .contact-story h2::first-letter {
  color: var(--teal-900);
}

#contato .contact-flower {
  width: min(100%, 340px);
  margin: clamp(.4rem, .75vw, .6rem) auto;
  color: var(--terracotta);
  font-size: 1.05rem;
  line-height: 1.25;
  text-align: center;
}

#contato .contact-flower::before,
#contato .contact-flower::after {
  width: clamp(78px, 11vw, 138px);
  background: currentColor;
}

#contato .contact-question-line {
  max-width: 520px;
  margin: 0 auto clamp(.55rem, 1vw, .8rem);
  color: #41544d;
  font-size: clamp(.96rem, 1.08vw, 1.05rem);
  line-height: 1.38;
}

#contato .contact-highlight {
  width: min(100%, 520px);
  min-height: 50px;
  justify-content: flex-start;
  gap: 15px;
  margin: 0 auto clamp(.65rem, 1vw, .9rem);
  padding: 12px 26px 12px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #154738, #245b49);
  box-shadow: 0 16px 34px rgba(20, 71, 56, .24);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

#contato .contact-highlight:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0f3b30, #285f4e);
  box-shadow: 0 18px 38px rgba(20, 71, 56, .3);
}

#contato .contact-highlight::before {
  content: none;
}

#contato .contact-highlight > span {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(200, 117, 91, .5);
  border-radius: 999px;
  background: #fff8ef;
  color: var(--terracotta);
}

#contato .contact-highlight strong {
  min-width: 0;
  color: #fff;
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
}

#contato .contact-social-strip {
  position: static;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 clamp(.5rem, .9vw, .7rem);
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

#contato .contact-social-strip a {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid rgba(200, 117, 91, .33);
  border-radius: 10px;
  background: rgba(255, 252, 246, .78);
  color: var(--teal-900);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

#contato .contact-social-strip a:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 117, 91, .62);
  background: #fffaf3;
}

#contato .contact-social-strip a + a {
  border-left: 1px solid rgba(200, 117, 91, .33);
}

#contato .contact-social-icon {
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(200, 117, 91, .35);
  background: rgba(255, 248, 239, .98);
  color: var(--terracotta);
  font-size: 1.08rem;
}

#contato .contact-social-strip a:nth-child(2) .contact-social-icon {
  background: rgba(255, 248, 239, .98);
  color: var(--terracotta);
}

#contato .contact-social-strip strong {
  font-size: .95rem;
}

#contato .contact-social-strip small {
  font-size: .72rem;
}

#contato > .contact-form {
  display: none;
}

#contato .contact-panel .contact-form {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#contato .contact-form-heading {
  display: none;
}

#contato .contact-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#contato .contact-form label {
  display: grid;
  gap: 0;
  color: var(--teal-900);
}

#contato .contact-form label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#contato .contact-form input,
#contato .contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding-block: 10px;
  border: 1px solid rgba(77, 82, 76, .3);
  border-radius: 9px;
  background: rgba(255, 252, 246, .74);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.32;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

#contato .contact-form input:focus,
#contato .contact-form textarea:focus {
  border-color: rgba(40, 84, 71, .72);
  background: #fffdf8;
  box-shadow: 0 0 0 3px rgba(40, 84, 71, .12);
  outline: none;
}

#contato .contact-form textarea {
  height: 96px;
  min-height: 96px;
  resize: vertical;
}

#contato .contact-form .button {
  width: 100%;
  min-height: 50px;
  justify-content: center;
  gap: clamp(28px, 6vw, 120px);
  margin-top: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #154738, #235947);
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  letter-spacing: 0;
  box-shadow: 0 16px 34px rgba(20, 71, 56, .22);
}

#contato .contact-form .button:hover {
  background: linear-gradient(135deg, #0e382d, #285f4e);
  transform: translateY(-2px);
}

#contato .contact-note {
  margin: 4px 0 0;
  color: #60706a;
  font-size: .9rem;
  text-align: left;
}

#contato .contact-note::before {
  content: "♢";
  color: var(--teal-700);
}

#contato .form-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--teal-900);
  font-weight: 800;
}

#contato .contact-visual {
  position: relative;
  width: min(100%, 880px);
  height: clamp(650px, 52vw, 760px);
  min-height: 0;
  margin-left: auto;
  overflow: visible;
}

#contato .contact-main-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 820px);
  height: 56%;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
  border: 8px solid rgba(255, 252, 246, .92);
  border-radius: 20px 0 0 96px / 20px 0 0 72px;
  box-shadow: 0 24px 65px rgba(36, 59, 52, .2);
}

#contato .contact-main-photo img,
#contato .contact-small-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#contato .contact-small-photo {
  position: absolute;
  z-index: 3;
  width: clamp(155px, 16vw, 230px);
  height: clamp(94px, 9.5vw, 138px);
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
  border: 7px solid rgba(255, 252, 246, .98);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 32px rgba(18, 49, 40, .22);
}

#contato .contact-small-photo-one {
  right: clamp(210px, 27vw, 360px);
  top: 39%;
  transform: rotate(-5deg);
}

#contato .contact-small-photo-two {
  right: clamp(8px, 3vw, 48px);
  top: 38%;
  transform: rotate(4deg);
}

#contato .contact-impact-card {
  position: absolute;
  right: -3%;
  bottom: 0;
  width: min(100%, 780px);
  min-height: 45%;
  box-sizing: border-box;
  padding: clamp(3.8rem, 5vw, 4.8rem) clamp(1.5rem, 3vw, 3rem) clamp(2.5rem, 4vw, 3.6rem);
  border: 1px solid rgba(255, 252, 246, .75);
  border-radius: 50% 0 0 0 / 34% 0 0 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(169, 197, 179, .25), transparent 28%),
    linear-gradient(135deg, #17483a 0%, #0d3d32 100%);
  color: #fffaf3;
  box-shadow: 0 -20px 55px rgba(27, 59, 48, .18);
}

#contato .contact-impact-title {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  max-width: 560px;
  margin: 0 0 clamp(1rem, 1.6vw, 1.45rem) auto;
}

#contato .contact-impact-title span {
  color: var(--terracotta);
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
}

#contato .contact-impact-title p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 2.05rem);
  line-height: 1.18;
  white-space: pre-line;
}

#contato .contact-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

#contato .contact-pillars article {
  display: grid;
  grid-template-rows: 50px auto 1fr;
  justify-items: center;
  align-items: start;
  min-width: 0;
  width: 100%;
  text-align: center;
}

#contato .contact-pillars article > span {
  display: grid;
  width: 50px;
  height: 50px;
  margin: 0 auto 8px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 1.45rem;
}

#contato .contact-pillars strong {
  display: block;
  max-width: 100%;
  margin-bottom: 4px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(.92rem, 1.05vw, 1.03rem);
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
}

#contato .contact-pillars p {
  max-width: 100%;
  margin: 0;
  color: rgba(255, 250, 243, .88);
  font-size: clamp(.78rem, 1vw, .9rem);
  line-height: 1.42;
}

@media (max-width: 1180px) {
  #contato.contact {
    grid-template-columns: minmax(340px, .9fr) minmax(430px, 1.1fr);
  }

  #contato .contact-story h2 {
    font-size: clamp(3.2rem, 4.8vw, 4.9rem);
  }

  #contato .contact-social-strip {
    grid-template-columns: 1fr;
  }

  #contato .contact-visual {
    height: 830px;
  }

  #contato .contact-impact-card {
    right: 0;
    width: 100%;
    min-height: 56%;
    padding-bottom: 3.8rem;
  }

  #contato .contact-small-photo-one {
    right: clamp(170px, 31vw, 340px);
    top: 38%;
  }

  #contato .contact-small-photo-two {
    top: 37%;
  }

  #contato .contact-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }
}

@media (max-width: 1320px) {
  #contato .contact-visual {
    height: 830px;
  }

  #contato .contact-impact-card {
    right: 0;
    width: 100%;
    min-height: 56%;
    padding-bottom: 3.8rem;
  }

  #contato .contact-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  #contato .contact-small-photo-one {
    right: clamp(170px, 31vw, 340px);
    top: 38%;
  }

  #contato .contact-small-photo-two {
    top: 37%;
  }
}

@media (max-width: 900px) {
  #contato.contact {
    grid-template-columns: 1fr;
    padding: clamp(2rem, 6vw, 3rem) clamp(1rem, 5vw, 2rem);
  }

  #contato .contact-panel {
    width: min(100%, 620px);
  }

  #contato .contact-brand-lockup {
    width: min(220px, 58%);
    margin-inline: auto;
  }

  #contato .contact-story,
  #contato .contact-note {
    text-align: center;
  }

  #contato .contact-story h2 {
    margin-inline: auto;
  }

  #contato .contact-flower,
  #contato .contact-question-line {
    margin-inline: auto;
  }

  #contato .contact-highlight {
    margin-inline: auto;
  }

  #contato .contact-social-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #contato .contact-visual {
    height: 690px;
    margin-top: 10px;
  }

  #contato .contact-main-photo {
    width: 100%;
    height: 48%;
    border-radius: 14px 0 0 76px / 14px 0 0 58px;
  }

  #contato .contact-small-photo-one {
    right: 40%;
    top: 36%;
  }

  #contato .contact-small-photo-two {
    top: 35%;
  }

  #contato .contact-impact-card {
    right: 0;
    width: 100%;
    min-height: 58%;
    padding-bottom: 3.5rem;
  }

  #contato .contact-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }
}

@media (max-width: 640px) {
  #contato .contact-story h2 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  #contato .contact-field-row,
  #contato .contact-social-strip {
    grid-template-columns: 1fr;
  }

  #contato .contact-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #contato .contact-highlight {
    align-items: center;
    padding-right: 18px;
  }

  #contato .contact-visual {
    height: 760px;
  }

  #contato .contact-main-photo {
    height: 35%;
    border-width: 6px;
    border-radius: 12px 0 0 58px / 12px 0 0 44px;
  }

  #contato .contact-small-photo {
    width: 44%;
    height: 110px;
    border-width: 5px;
  }

  #contato .contact-small-photo-one {
    right: 49%;
    top: 26%;
  }

  #contato .contact-small-photo-two {
    right: 3%;
    top: 27%;
  }

  #contato .contact-impact-card {
    min-height: 60%;
    padding: 5.5rem 1.25rem 2.4rem;
  }

  #contato .contact-impact-title,
  #contato .contact-pillars article {
    text-align: center;
  }

  #contato .contact-impact-title {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #contato .contact-pillars article > span {
    margin-inline: auto;
  }
}

.project-card-content .project-card-text {
  color: #596a6c;
  line-height: 1.65;
}

#atuacao .area-card .area-card-text {
  width: 100%;
  color: #526467;
  font-size: .94rem;
  line-height: 1.7;
  text-align: justify;
  text-wrap: pretty;
}

.testimonial-card blockquote p {
  margin: 0;
}

.testimonial-card blockquote p + p {
  margin-top: .7em;
}

/* Ação Global / ODS editorial carousel */
.ods-section {
  position: relative;
  overflow: clip;
  background: var(--paper);
  padding-block: clamp(48px, 5.5vw, 82px);
}
.ods-editorial-heading {
  display: grid;
  justify-items: center;
  gap: clamp(10px, 1.25vw, 18px);
  max-width: min(1120px, calc(100% - 40px));
  margin: 0 auto clamp(24px, 3.2vw, 42px);
  text-align: center;
}
.ods-heading-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(560px, 72vw);
  color: var(--terracotta);
  opacity: .82;
}
.ods-heading-ornament i {
  display: block;
  height: 1px;
  flex: 1;
  background: currentColor;
}
.ods-heading-ornament b {
  color: currentColor;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.ods-title-composition {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  margin: 0;
  color: var(--teal-900);
  font-family: var(--font-heading);
  line-height: .9;
  letter-spacing: 0;
}
.ods-title-lead {
  display: block;
  color: inherit;
  font-size: clamp(3.2rem, 7.4vw, 7.4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: .82;
  text-transform: uppercase;
}
.ods-title-side {
  display: block;
  color: inherit;
  font-size: clamp(1.45rem, 3vw, 3.45rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
  text-align: left;
  text-transform: uppercase;
  white-space: pre-line;
}
.ods-subtitle {
  position: relative;
  margin: 0;
  color: var(--teal-900);
  font-family: var(--font-heading);
  font-size: clamp(1.22rem, 2vw, 2.2rem);
  line-height: 1.12;
}
.ods-subtitle::before,
.ods-subtitle::after {
  content: "";
  display: inline-block;
  width: clamp(42px, 8vw, 118px);
  height: 1px;
  margin: 0 14px .32em;
  background: rgba(200, 117, 91, .72);
}
.ods-support-text {
  max-width: 820px;
  margin: -4px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.65;
}
.ods-carousel-shell {
  position: relative;
  width: min(1420px, calc(100% - 96px));
  margin: 0 auto;
  padding-inline: 28px;
}
.ods-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 17vw, 285px);
  grid-template-columns: none !important;
  gap: clamp(16px, 1.8vw, 26px);
  overflow-x: auto;
  padding: 4px 2px 28px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.ods-grid::-webkit-scrollbar {
  display: none;
}
.ods-card {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0;
  border-radius: 18px !important;
  background: transparent !important;
  box-shadow: 0 14px 34px rgba(22, 49, 42, .1);
  scroll-snap-align: start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ods-card:hover,
.ods-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(22, 49, 42, .14);
}
.ods-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ods-card .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  color: inherit !important;
  font-size: 1px !important;
  text-shadow: none !important;
}
.ods-nav {
  position: absolute;
  top: calc(50% - 18px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(40, 84, 71, .14);
  border-radius: 50%;
  background: rgba(252, 250, 246, .94);
  color: var(--teal-900);
  box-shadow: 0 10px 28px rgba(22, 49, 42, .13);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.ods-nav:hover,
.ods-nav:focus-visible {
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 49, 42, .16);
  outline: 2px solid rgba(200, 117, 91, .42);
  outline-offset: 3px;
}
.ods-nav:disabled {
  opacity: .38;
  cursor: not-allowed;
}
.ods-nav-prev {
  left: 0;
  transform: translateX(-50%);
}
.ods-nav-next {
  right: 0;
  transform: translateX(50%);
}
.ods-nav-prev:hover,
.ods-nav-prev:focus-visible {
  transform: translateX(-50%) translateY(-1px);
}
.ods-nav-next:hover,
.ods-nav-next:focus-visible {
  transform: translateX(50%) translateY(-1px);
}
.ods-progress {
  width: min(980px, 70%);
  height: 5px;
  margin: 10px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(40, 84, 71, .1);
}
.ods-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal-900), var(--teal-300));
  transform: scaleX(var(--ods-progress, .08));
  transform-origin: left center;
  transition: transform .16s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .ods-editorial-heading,
  .ods-card {
    animation: odsSoftEnter .55s ease both;
  }
  .ods-card:nth-child(2) { animation-delay: .04s; }
  .ods-card:nth-child(3) { animation-delay: .08s; }
  .ods-card:nth-child(4) { animation-delay: .12s; }
  @keyframes odsSoftEnter {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (max-width: 980px) {
  .ods-title-composition {
    align-items: flex-end;
  }
  .ods-carousel-shell {
    width: min(100% - 40px, 900px);
    padding-inline: 18px;
  }
  .ods-grid {
    grid-auto-columns: clamp(220px, 36vw, 300px);
  }
}
@media (max-width: 680px) {
  .ods-section {
    padding-block: 46px;
  }
  .ods-title-composition {
    display: grid;
    gap: 10px;
  }
  .ods-title-side {
    text-align: center;
    font-size: clamp(1.25rem, 7.4vw, 2rem);
  }
  .ods-subtitle::before,
  .ods-subtitle::after {
    width: 34px;
    margin-inline: 8px;
  }
  .ods-carousel-shell {
    width: 100%;
    padding-inline: 22px;
  }
  .ods-grid {
    grid-auto-columns: min(78vw, 300px);
  }
  .ods-nav {
    width: 42px;
    height: 42px;
    font-size: 1.35rem;
  }
  .ods-nav-prev {
    left: 8px;
    transform: none;
  }
  .ods-nav-next {
    right: 8px;
    transform: none;
  }
  .ods-progress {
    width: calc(100% - 76px);
  }
}

/* Ação Global / ODS: proporção mais delicada. */
.ods-section {
  padding-block: clamp(40px, 4.8vw, 68px);
}
.ods-editorial-heading {
  gap: clamp(8px, 1vw, 14px);
  margin-bottom: clamp(20px, 2.7vw, 34px);
}
.ods-heading-ornament {
  width: min(480px, 62vw);
}
.ods-heading-ornament b {
  font-size: 1.25rem;
}
.ods-title-composition {
  gap: clamp(10px, 1.5vw, 22px);
}
.ods-title-lead {
  font-size: clamp(2.75rem, 6.25vw, 6.15rem);
}
.ods-title-side {
  font-size: clamp(1.2rem, 2.45vw, 2.85rem);
}
.ods-subtitle {
  font-size: clamp(1.05rem, 1.7vw, 1.86rem);
}
.ods-subtitle::before,
.ods-subtitle::after {
  width: clamp(34px, 6vw, 88px);
  margin-inline: 12px;
}
.ods-carousel-shell {
  width: min(1280px, calc(100% - 118px));
  padding-inline: 24px;
}
.ods-grid {
  grid-auto-columns: clamp(185px, 14.7vw, 244px);
  gap: clamp(14px, 1.45vw, 22px);
  padding-bottom: 22px;
}
.ods-card {
  border-radius: 14px !important;
  box-shadow: 0 12px 28px rgba(22, 49, 42, .09);
}
.ods-card:hover,
.ods-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(22, 49, 42, .12);
}
.ods-nav {
  width: 42px;
  height: 42px;
  font-size: 1.28rem;
}
.ods-progress {
  width: min(760px, 62%);
  height: 4px;
  margin-top: 6px;
}
@media (max-width: 980px) {
  .ods-carousel-shell {
    width: min(100% - 34px, 840px);
  }
  .ods-grid {
    grid-auto-columns: clamp(190px, 33vw, 260px);
  }
}
@media (max-width: 680px) {
  .ods-section {
    padding-block: 38px;
  }
  .ods-title-side {
    font-size: clamp(1.08rem, 6vw, 1.7rem);
  }
  .ods-grid {
    grid-auto-columns: min(74vw, 260px);
  }
  .ods-nav {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
}

/* Parcerias: remove ornamentos retangulares */
.partnership-invite::before,
.partnership-invite .section-heading h2::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  background: none !important;
}

/* Convite de parcerias editorial - override final */
.partnership-invite {
  position: relative;
  overflow: clip;
  margin: 0;
  padding: clamp(64px, 7vw, 104px) clamp(20px, 4vw, 64px);
  background:
    linear-gradient(180deg, rgba(245, 249, 241, .72), rgba(238, 246, 236, .92)),
    url("assets/partners-network-bg.png") center / cover no-repeat;
  border: 0;
  text-align: center;
}
.partnership-invite::before {
  content: none;
  display: none;
}
.partnership-invite .section-heading {
  max-width: 1120px;
  margin: 0 auto clamp(30px, 4vw, 52px);
}
.partnership-invite .eyebrow {
  margin: 0 0 10px;
  color: var(--terracotta);
  font-size: clamp(.9rem, 1.2vw, 1.15rem);
  letter-spacing: .36em;
  text-align: center;
}
.partnership-invite .section-heading h2 {
  max-width: 1060px;
  margin: 0 auto;
  color: var(--teal-900);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6.2vw, 6.6rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: 0;
}
.partnership-invite .section-heading h2::after {
  content: none;
  display: none;
}
.partnership-invite .section-heading > p:not(.eyebrow) {
  max-width: 980px;
  margin: 22px auto 0;
  color: #273b40;
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  line-height: 1.55;
}
.partnership-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  width: min(1250px, 100%);
  margin: 0 auto;
}
.partnership-paths > *,
.partnership-path-card {
  width: auto;
  flex: none;
}
.partnership-path-card {
  position: relative;
  min-height: clamp(268px, 25vw, 340px);
  padding: clamp(28px, 3vw, 38px) 24px 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  background: rgba(255, 253, 248, .86);
  box-shadow: 0 18px 38px rgba(31, 64, 54, .14);
  text-align: center;
}
.partnership-path-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.44), rgba(255,255,255,0));
  pointer-events: none;
}
.partnership-path-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 96px;
  margin: 0 auto 18px;
}
.partnership-path-icon::before {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  border: 2px solid rgba(200,117,91,.58);
  border-bottom-color: transparent;
  border-radius: 50%;
}
.partnership-path-icon .managed-icon,
.partnership-path-icon .managed-icon-symbol,
.partnership-path-managed-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: var(--managed-icon-size, 82px);
  height: var(--managed-icon-size, 82px);
  max-width: 82px;
  max-height: 82px;
  object-fit: contain;
  color: var(--teal-900);
  font-size: var(--managed-icon-size, 82px);
}
.partnership-path-card h3 {
  position: relative;
  margin: 0;
  color: var(--teal-900);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.7vw, 1.85rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.partnership-path-divider,
.support-way-divider {
  position: relative;
  display: block;
  width: 64px;
  height: 13px;
  margin: 15px auto 18px;
}
.partnership-path-divider::before,
.support-way-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 1px;
  background: rgba(200,117,91,.75);
}
.partnership-path-divider::after,
.support-way-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  transform: translateX(-50%);
}
.partnership-path-text {
  position: relative;
  max-width: 210px;
  margin: 0 auto;
  color: #263940;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.4;
}
.partnership-path-text p {
  margin: 0;
}
.partnership-path-branch,
.support-way-branch {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: min(180px, 70%);
  height: 28px;
  opacity: .55;
  transform: translateX(-50%);
  background:
    linear-gradient(8deg, transparent 0 50%, rgba(151, 170, 143, .75) 51% 54%, transparent 55%),
    radial-gradient(ellipse at 18% 54%, rgba(151,170,143,.55) 0 9px, transparent 10px),
    radial-gradient(ellipse at 34% 42%, rgba(151,170,143,.55) 0 8px, transparent 9px),
    radial-gradient(ellipse at 52% 35%, rgba(151,170,143,.55) 0 8px, transparent 9px),
    radial-gradient(ellipse at 70% 30%, rgba(151,170,143,.55) 0 8px, transparent 9px);
}
.partnership-invite .centered-actions {
  margin-top: clamp(24px, 3vw, 34px);
}
.partnership-invite-cta {
  min-width: 0;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid #C8755B;
  border-radius: 999px;
  background: #C8755B;
  box-shadow: none;
  color: #fff;
  font-family: inherit;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.partnership-invite-cta::after {
  content: "→";
  margin-left: 4px;
  font-family: Arial, sans-serif;
  font-weight: 400;
}
#contato .contact-highlight,
#contato .contact-form .button {
  background: #C8755B !important;
  border-color: #C8755B !important;
  color: #fff !important;
}
#contato .contact-highlight:hover,
#contato .contact-highlight:focus-visible,
#contato .contact-form .button:hover,
#contato .contact-form .button:focus-visible {
  background: #b7654d !important;
  border-color: #b7654d !important;
  color: #fff !important;
}
.site-footer > div > p {
  color: #D9A08D !important;
}
#atuacao .section-heading .eyebrow,
#impacto .section-heading .eyebrow,
#projetos .section-heading .eyebrow {
  color: #C8755B !important;
}
#agenda-2030 {
  border-bottom: 1px solid rgba(200, 117, 91, .32) !important;
  box-shadow: inset 0 -10px 0 rgba(200, 117, 91, .04);
}

/* Ajustes finais da Home solicitados no refinamento visual de contato, impacto e apoio. */
#impacto [data-site="impactText"] {
  display: none !important;
}

#contato .contact-form .button {
  background: linear-gradient(135deg, #154738, #245b49) !important;
  border-color: #154738 !important;
  color: #fff !important;
}

#contato .contact-form .button:hover,
#contato .contact-form .button:focus-visible {
  background: linear-gradient(135deg, #0f3b30, #285f4e) !important;
  border-color: #0f3b30 !important;
  color: #fff !important;
}

#contato .contact-brand-lockup {
  align-self: center;
  margin-inline: auto;
  text-align: center;
}

#contato .contact-highlight {
  justify-content: center !important;
  text-align: center;
}

#contato .contact-highlight strong {
  text-align: center;
}

#contato .contact-pillars strong {
  font-size: clamp(.82rem, .92vw, .95rem) !important;
}

#contato .contact-pillars p {
  font-size: clamp(.7rem, .86vw, .82rem) !important;
  line-height: 1.35 !important;
}

.site-footer > div:first-child {
  text-align: center;
}

.site-footer img {
  display: block;
  box-sizing: content-box;
  width: 76px;
  height: 76px;
  margin-inline: auto;
  padding: 10px;
  border-radius: 999px;
  background: #fff;
  object-fit: contain;
}

.site-footer > div > p {
  text-align: center;
}

.support-way-copy,
.support-way h3,
.support-way-text,
.support-way-text p {
  text-align: center;
}
@media (max-width: 980px) {
  .partnership-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 680px;
  }
  .partnership-invite .section-heading h2 {
    font-size: clamp(2.6rem, 8vw, 4.6rem);
  }
}
@media (max-width: 620px) {
  .partnership-invite {
    padding-block: 52px;
  }
  .partnership-invite::before,
  .partnership-invite .section-heading h2::after {
    width: min(340px, 78vw);
  }
  .partnership-paths {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
  .partnership-path-card {
    min-height: 250px;
  }
}

/* Página Projetos: eixos em cards padronizados e alinhados. */
.projects-axes-section .axis-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 18px;
  width: min(100%, 1260px);
  max-width: 1260px;
  margin: 30px auto 0;
}

.projects-axes-section .axis-card {
  width: 100%;
  min-width: 0;
  min-height: 270px;
}

@media (max-width: 1120px) {
  .projects-axes-section .axis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 860px;
  }
}

@media (max-width: 680px) {
  .projects-axes-section .axis-grid {
    grid-template-columns: 1fr !important;
    max-width: 420px;
  }

  .projects-axes-section .axis-card {
    min-height: auto;
  }
}

/* Contato: textos dos pilares menores para evitar cortes. */
#contato .contact-pillars {
  column-gap: clamp(10px, 1.4vw, 18px);
}

#contato .contact-pillars strong {
  max-width: 13ch;
  margin-inline: auto;
  font-size: clamp(.76rem, .82vw, .86rem) !important;
  line-height: 1.08 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none;
}

#contato .contact-pillars p {
  max-width: 16ch;
  margin-inline: auto;
  font-size: clamp(.64rem, .74vw, .76rem) !important;
  line-height: 1.3 !important;
}

@media (max-width: 640px) {
  #contato .contact-pillars strong {
    font-size: .76rem !important;
  }

  #contato .contact-pillars p {
    font-size: .66rem !important;
  }
}

/* Rodapé: texto alinhado à esquerda com logo centralizada no nome. */
.site-footer > div:first-child {
  width: min(100%, 620px);
  padding-inline: clamp(12px, 2.4vw, 34px);
  text-align: left !important;
}

.footer-brand-lockup {
  display: inline-grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.site-footer .footer-brand-lockup img {
  margin-inline: auto;
}

.site-footer .footer-brand-lockup p {
  text-align: center;
}

.site-footer > div:first-child > span {
  display: block;
  max-width: 560px;
  text-align: left;
  line-height: 1.55;
}

/* Parcerias: CTA mais delicado. */
.partnership-invite .centered-actions {
  margin-top: clamp(20px, 2.4vw, 30px) !important;
}

.partnership-invite-cta {
  min-width: 0 !important;
  width: auto !important;
  max-width: calc(100% - 32px) !important;
  padding: 10px 24px !important;
  border-radius: 999px !important;
  font-size: clamp(.62rem, .72vw, .72rem) !important;
  line-height: 1.1 !important;
  letter-spacing: .065em !important;
  white-space: nowrap !important;
  box-shadow: 0 12px 24px rgba(113, 65, 49, .13) !important;
}

.partnership-invite-cta::after {
  margin-left: 8px !important;
  font-size: .95em;
}

/* Livro: efeito de virar da capa em português para a capa em inglês. */
.book-cover-flip {
  position: relative;
  display: block;
  width: min(100%, 320px);
  min-height: 420px;
  perspective: 1200px;
  background: transparent;
  border: 0;
}

.book-cover-flip .book-cover-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: var(--radius);
  object-fit: contain;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform .7s ease, opacity .7s ease;
}

.book-cover-flip .book-cover-front {
  transform: rotateY(0deg);
}

.book-cover-flip .book-cover-back {
  transform: rotateY(180deg);
}

.book-cover-flip:hover .book-cover-front,
.book-cover-flip:focus-visible .book-cover-front {
  transform: rotateY(-180deg);
}

.book-cover-flip:hover .book-cover-back,
.book-cover-flip:focus-visible .book-cover-back {
  transform: rotateY(0deg);
}

.book-cover-flip .book-cover-fallback {
  display: none;
}

.book-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.book-links:empty {
  display: none;
}

.book-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: none;
}

.book-links a:hover,
.book-links a:focus-visible {
  background: rgba(255, 255, 255, .22);
  outline: none;
}

.book-links a[hidden] {
  display: none !important;
}

html[lang="en"] .book-cover-flip .book-cover-front {
  transform: rotateY(180deg);
}

html[lang="en"] .book-cover-flip .book-cover-back {
  transform: rotateY(0deg);
}

html[lang="en"] .book-cover-flip:hover .book-cover-front,
html[lang="en"] .book-cover-flip:focus-visible .book-cover-front {
  transform: rotateY(0deg);
}

html[lang="en"] .book-cover-flip:hover .book-cover-back,
html[lang="en"] .book-cover-flip:focus-visible .book-cover-back {
  transform: rotateY(-180deg);
}

/* Apoie: cards clicáveis para o formulário de contato. */
.support-way-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.support-way-link:hover,
.support-way-link:focus-visible {
  border-color: rgba(200, 117, 91, .45);
  box-shadow: 0 18px 36px rgba(25, 68, 72, .13);
  transform: translateY(-3px);
  outline: none;
}

.support-way-link:focus-visible {
  outline: 3px solid rgba(200, 117, 91, .32);
  outline-offset: 4px;
}

/* Doações: esconder PIX, banco e grupos de pagamento enquanto não houver cadastro. */
.donation-options[hidden],
.donation-option[hidden],
.payment-link-group[hidden],
#pix-qrcode[hidden],
#copy-pix[hidden] {
  display: none !important;
}

/* Ajuste visual: sensação mais delicada sem forçar zoom global. */
@media (min-width: 901px) {
  body:not(:has(.admin-shell)) .hero:not(.admin-hero) {
    min-height: calc(84vh - var(--site-header-height, 88px));
    padding-block: clamp(42px, 7vh, 104px);
  }

  body:not(:has(.admin-shell)) .section-band,
  body:not(:has(.admin-shell)) .section-block,
  body:not(:has(.admin-shell)) .section-grid,
  body:not(:has(.admin-shell)) .page-hero:not(.admin-hero),
  body:not(:has(.admin-shell)) .custom-page-hero {
    padding-block: clamp(50px, 6.4vw, 92px);
  }

  body:not(:has(.admin-shell)) .hero-title-row h1 {
    font-size: clamp(3.25rem, 6.6vw, 7.15rem);
    line-height: .94;
  }

  body:not(:has(.admin-shell)) .hero-text {
    max-width: 590px;
    font-size: clamp(.95rem, 1.22vw, 1.12rem);
    line-height: 1.58;
  }

  body:not(:has(.admin-shell)) .section-band > .section-heading h2,
  body:not(:has(.admin-shell)) .section-block > .section-heading h2,
  body:not(:has(.admin-shell)) #atuacao .section-heading h2,
  body:not(:has(.admin-shell)) .page-hero h1,
  body:not(:has(.admin-shell)) .custom-page-hero h1 {
    font-size: clamp(2.35rem, 3.65vw, 4.35rem);
    line-height: 1.02;
  }

  body:not(:has(.admin-shell)) .section-heading > p:not(.eyebrow),
  body:not(:has(.admin-shell)) .page-hero p,
  body:not(:has(.admin-shell)) .custom-page-hero p:not(.eyebrow) {
    font-size: clamp(.95rem, 1.2vw, 1.12rem);
    line-height: 1.58;
  }

  body:not(:has(.admin-shell)) .button {
    min-height: 46px;
    padding: 11px 18px;
    font-size: .74rem;
  }

  body:not(:has(.admin-shell)) .cards,
  body:not(:has(.admin-shell)) .featured-projects,
  body:not(:has(.admin-shell)) .project-directory,
  body:not(:has(.admin-shell)) .impact-grid,
  body:not(:has(.admin-shell)) .support-ways,
  body:not(:has(.admin-shell)) .partnership-paths,
  body:not(:has(.admin-shell)) .testimonials-grid,
  body:not(:has(.admin-shell)) .podcast-grid,
  body:not(:has(.admin-shell)) .events-grid,
  body:not(:has(.admin-shell)) .document-library {
    gap: clamp(14px, 1.45vw, 20px);
  }

  body:not(:has(.admin-shell)) .card,
  body:not(:has(.admin-shell)) .area-card,
  body:not(:has(.admin-shell)) .project-card,
  body:not(:has(.admin-shell)) .support-way,
  body:not(:has(.admin-shell)) .partnership-path-card,
  body:not(:has(.admin-shell)) .axis-card,
  body:not(:has(.admin-shell)) .impact-placeholder,
  body:not(:has(.admin-shell)) .testimonial-card {
    transform-origin: center top;
  }

  body:not(:has(.admin-shell)) #atuacao .area-card,
  body:not(:has(.admin-shell)) .partnership-path-card,
  body:not(:has(.admin-shell)) .axis-card,
  body:not(:has(.admin-shell)) .support-way,
  body:not(:has(.admin-shell)) .impact-placeholder {
    min-height: auto;
    padding: clamp(20px, 2.15vw, 30px);
  }

  body:not(:has(.admin-shell)) #atuacao .area-card h3,
  body:not(:has(.admin-shell)) .partnership-path-card h3,
  body:not(:has(.admin-shell)) .axis-card h3,
  body:not(:has(.admin-shell)) .support-way h3,
  body:not(:has(.admin-shell)) .project-card h3,
  body:not(:has(.admin-shell)) .project-card-content h3 {
    font-size: clamp(1.22rem, 1.55vw, 1.76rem);
    line-height: 1.1;
  }

  body:not(:has(.admin-shell)) #atuacao .area-card p,
  body:not(:has(.admin-shell)) .partnership-path-card p,
  body:not(:has(.admin-shell)) .axis-card p,
  body:not(:has(.admin-shell)) .support-way p,
  body:not(:has(.admin-shell)) .project-card p,
  body:not(:has(.admin-shell)) .custom-text-block {
    font-size: clamp(.88rem, .98vw, .98rem);
    line-height: 1.55;
  }

  body:not(:has(.admin-shell)) .project-card-content {
    padding: clamp(20px, 2.2vw, 26px);
  }

  body:not(:has(.admin-shell)) .ods-section {
    padding-block: clamp(34px, 4.2vw, 58px);
  }

  body:not(:has(.admin-shell)) .ods-grid {
    grid-auto-columns: clamp(176px, 13.5vw, 226px);
  }

  body:not(:has(.admin-shell)) .book-cover-flip {
    width: min(100%, 288px);
    min-height: 380px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  body:not(:has(.admin-shell)) .hero-title-row h1 {
    font-size: clamp(3rem, 7.4vw, 5.6rem);
  }

  body:not(:has(.admin-shell)) .section-band > .section-heading h2,
  body:not(:has(.admin-shell)) .section-block > .section-heading h2,
  body:not(:has(.admin-shell)) #atuacao .section-heading h2,
  body:not(:has(.admin-shell)) .page-hero h1,
  body:not(:has(.admin-shell)) .custom-page-hero h1 {
    font-size: clamp(2.2rem, 4.7vw, 3.8rem);
  }
}

/* Banner principal: afasta a logo complementar do filete dourado. */
body:not(:has(.admin-shell)) .hero-title-logo {
  position: relative;
  left: clamp(28px, 3vw, 62px);
}

@media (max-width: 760px) {
  body:not(:has(.admin-shell)) .hero-title-logo {
    left: 0;
  }
}

/* Cards de apoio: mantém títulos e descrições no eixo visual em zoom 100%. */
body:not(:has(.admin-shell)) .support-way-copy {
  display: grid;
  justify-items: center;
  width: 100%;
  text-align: center;
}

body:not(:has(.admin-shell)) .support-way h3,
body:not(:has(.admin-shell)) .support-way-text,
body:not(:has(.admin-shell)) .support-way-text p {
  width: min(100%, 18ch);
  margin-inline: auto;
  text-align: center;
}

body:not(:has(.admin-shell)) .support-way h3 {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Cards de apoio: usa a largura do card e nunca corta palavras no meio. */
body:not(:has(.admin-shell)) .support-way {
  align-items: stretch;
}

body:not(:has(.admin-shell)) .support-way-copy {
  padding-inline: clamp(18px, 1.8vw, 28px);
}

body:not(:has(.admin-shell)) .support-way h3,
body:not(:has(.admin-shell)) .support-way-text,
body:not(:has(.admin-shell)) .support-way-text p,
body:not(:has(.admin-shell)) .support-way-copy > p {
  width: 100%;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body:not(:has(.admin-shell)) .support-way h3 {
  font-size: clamp(1.42rem, 1.85vw, 1.95rem);
  line-height: 1.08;
  text-wrap: balance;
}

body:not(:has(.admin-shell)) .support-way-text p {
  font-size: clamp(1rem, 1.18vw, 1.14rem);
  line-height: 1.45;
}

/* Contato: separa foto, miniaturas e bloco verde para evitar sobreposições em zoom 100%. */
body:not(:has(.admin-shell)) #contato .contact-visual {
  height: clamp(820px, 62vw, 980px);
}

body:not(:has(.admin-shell)) #contato .contact-main-photo {
  z-index: 1;
  height: 42%;
}

body:not(:has(.admin-shell)) #contato .contact-impact-card {
  z-index: 2;
  top: 39%;
  bottom: auto;
  right: 0;
  width: 100%;
  min-height: auto;
  padding: clamp(3.05rem, 3.95vw, 4.35rem) clamp(1.5rem, 3vw, 3rem) clamp(2.8rem, 4vw, 4rem);
}

body:not(:has(.admin-shell)) #contato .contact-small-photo {
  z-index: 4;
  top: 31%;
  width: clamp(150px, 15vw, 220px);
  height: clamp(90px, 9vw, 130px);
}

body:not(:has(.admin-shell)) #contato .contact-small-photo-one {
  right: clamp(220px, 29vw, 390px);
}

body:not(:has(.admin-shell)) #contato .contact-small-photo-two {
  right: clamp(12px, 4vw, 58px);
}

body:not(:has(.admin-shell)) #contato .contact-impact-title {
  grid-template-columns: auto minmax(0, max-content);
  justify-content: center;
  justify-items: start;
  align-items: center;
  max-width: min(100%, 720px);
  margin: 0 auto clamp(.8rem, 1.2vw, 1.25rem);
  text-align: center;
}

body:not(:has(.admin-shell)) #contato .contact-impact-title p {
  max-width: 25ch;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  line-height: 1.12;
  text-wrap: balance;
}

body:not(:has(.admin-shell)) #contato .contact-pillars {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  align-items: start;
  column-gap: clamp(28px, 6vw, 96px);
  row-gap: clamp(18px, 2.4vw, 28px);
  max-width: 720px;
  margin-inline: auto;
}

body:not(:has(.admin-shell)) #contato .contact-pillars article {
  grid-template-rows: auto auto auto;
  justify-items: center;
}

body:not(:has(.admin-shell)) #contato .contact-pillars strong,
body:not(:has(.admin-shell)) #contato .contact-pillars p {
  width: min(100%, 20ch);
  max-width: none;
  margin-inline: auto;
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

body:not(:has(.admin-shell)) #contato .contact-pillars strong {
  font-size: clamp(1.18rem, 1.6vw, 1.48rem) !important;
}

body:not(:has(.admin-shell)) #contato .contact-pillars p {
  font-size: clamp(.95rem, 1.22vw, 1.12rem) !important;
}

body:not(:has(.admin-shell)) #contato .contact-pillars article:nth-child(3) p {
  width: min(100%, 28ch);
  max-width: none;
  white-space: normal;
  font-size: clamp(.92rem, 1.08vw, 1.05rem) !important;
}

@media (max-width: 900px) {
  body:not(:has(.admin-shell)) #contato .contact-impact-card {
    top: 34%;
  }

  body:not(:has(.admin-shell)) #contato .contact-small-photo {
    top: 25%;
  }
}

@media (max-width: 640px) {
  body:not(:has(.admin-shell)) #contato .contact-visual {
    height: 760px;
  }

  body:not(:has(.admin-shell)) #contato .contact-impact-card {
    top: 30%;
    padding-top: 3.2rem;
    padding-bottom: 2rem;
  }

  body:not(:has(.admin-shell)) #contato .contact-small-photo {
    top: 21%;
    width: 43%;
    height: 108px;
  }

  body:not(:has(.admin-shell)) #contato .contact-small-photo-one {
    right: 50%;
  }

  body:not(:has(.admin-shell)) #contato .contact-small-photo-two {
    right: 3%;
  }

  body:not(:has(.admin-shell)) #contato .contact-impact-title p {
    max-width: 18ch;
    font-size: clamp(1.28rem, 6.8vw, 1.7rem);
    line-height: 1.08;
  }

body:not(:has(.admin-shell)) #contato .contact-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 14px;
  }

  body:not(:has(.admin-shell)) #contato .contact-pillars article > span {
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
  }

  body:not(:has(.admin-shell)) #contato .contact-pillars strong {
    font-size: clamp(1.02rem, 5vw, 1.28rem) !important;
  }

  body:not(:has(.admin-shell)) #contato .contact-pillars p,
  body:not(:has(.admin-shell)) #contato .contact-pillars article:nth-child(3) p {
    font-size: clamp(.84rem, 4.2vw, 1rem) !important;
    line-height: 1.28;
  }
}

/* Parcerias: remove o ramo decorativo que ficava por baixo dos textos dos cards. */
body:not(:has(.admin-shell)) .partnership-path-branch {
  display: none !important;
}

/* Formas de apoio: cinco cards sem sobreposição ou corte de palavras no desktop. */
@media (min-width: 1101px) {
  body:not(:has(.admin-shell)) .support-ways {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(18px, 1.9vw, 30px);
  }

  body:not(:has(.admin-shell)) .support-ways > * {
    width: auto;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
  }

  body:not(:has(.admin-shell)) .support-way {
    padding: 0;
    overflow: hidden;
  }

  body:not(:has(.admin-shell)) .support-way-copy {
    min-width: 0;
    padding: clamp(18px, 1.6vw, 26px) clamp(14px, 1.4vw, 22px) clamp(24px, 2vw, 34px);
  }

  body:not(:has(.admin-shell)) .support-way h3 {
    font-size: clamp(1.3rem, 1.5vw, 1.72rem);
    line-height: 1.08;
  }

body:not(:has(.admin-shell)) .support-way-text p,
body:not(:has(.admin-shell)) .support-way-copy > p {
  font-size: clamp(.92rem, 1vw, 1.04rem);
  line-height: 1.45;
}
}

/* Cabeçalho: mantém logo, menu, idiomas e botão Apoie em uma única linha no desktop. */
@media (min-width: 861px) {
  body:not(:has(.admin-shell)) .site-header {
    flex-wrap: nowrap;
    gap: clamp(10px, 1.1vw, 20px);
    min-height: 76px;
    padding: 8px clamp(18px, 3vw, 54px);
  }

  body:not(:has(.admin-shell)) .brand {
    flex: 0 0 auto;
    min-width: 0;
    gap: 10px;
  }

  body:not(:has(.admin-shell)) .brand img {
    width: 56px;
    height: 56px;
  }

  body:not(:has(.admin-shell)) .brand span {
    max-width: 178px;
    font-size: clamp(.72rem, .78vw, .84rem);
    line-height: 1.08;
  }

  body:not(:has(.admin-shell)) .main-nav {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: clamp(2px, .45vw, 9px);
    font-size: clamp(.66rem, .72vw, .8rem);
    letter-spacing: .045em;
  }

  body:not(:has(.admin-shell)) .main-nav a,
  body:not(:has(.admin-shell)) .nav-parent {
    flex: 0 0 auto;
    padding: 8px clamp(5px, .5vw, 9px);
    white-space: nowrap;
  }

  body:not(:has(.admin-shell)) .nav-action {
    padding: 10px clamp(13px, 1.15vw, 20px) !important;
  }

  body:not(:has(.admin-shell)) .language-selector {
    order: 2;
    flex: 0 0 auto;
    margin-left: 8px;
    padding-left: 12px;
  }

  body:not(:has(.admin-shell)) .language-trigger {
    min-width: 72px;
    height: 38px;
    padding-inline: 9px;
  }
}

/* Cabeçalho do painel admin: mesma compactação em uma linha do site público. */
@media (min-width: 861px) {
  body:has(.admin-shell) .site-header {
    flex-wrap: nowrap;
    gap: clamp(10px, 1.1vw, 20px);
    min-height: 76px;
    padding: 8px clamp(18px, 3vw, 54px);
  }

  body:has(.admin-shell) .brand {
    flex: 0 0 auto;
    min-width: 0;
    gap: 10px;
  }

  body:has(.admin-shell) .brand img {
    width: 56px;
    height: 56px;
  }

  body:has(.admin-shell) .brand span {
    max-width: 178px;
    font-size: clamp(.72rem, .78vw, .84rem);
    line-height: 1.08;
  }

  body:has(.admin-shell) .main-nav {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: clamp(2px, .45vw, 9px);
    font-size: clamp(.66rem, .72vw, .8rem);
    letter-spacing: .045em;
  }

  body:has(.admin-shell) .main-nav a,
  body:has(.admin-shell) .nav-parent {
    flex: 0 0 auto;
    padding: 8px clamp(5px, .5vw, 9px);
    white-space: nowrap;
  }

  body:has(.admin-shell) .nav-action {
    padding: 10px clamp(13px, 1.15vw, 20px) !important;
  }

  body:has(.admin-shell) .language-selector {
    order: 2;
    flex: 0 0 auto;
    margin-left: 8px;
    padding-left: 12px;
  }

  body:has(.admin-shell) .language-trigger {
    min-width: 72px;
    height: 38px;
    padding-inline: 9px;
  }
}

/* Painel admin: abas compactas no topo e menu flutuante expansível ao rolar. */
body:has(.admin-shell) .admin-shell {
  padding-top: clamp(22px, 3vw, 38px);
}

body:has(.admin-shell) .admin-page-title {
  width: min(100%, 1700px);
  margin: 0 auto 14px;
  color: var(--teal-900);
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

body:has(.admin-shell) .admin-panel[hidden] {
  display: none !important;
}

body:has(.admin-shell) .admin-panel-create-bar {
  display: flex;
  justify-content: flex-start;
  width: min(100%, 1700px);
  margin: 0 auto 14px;
}

body:has(.admin-shell) .admin-layout.is-form-collapsed {
  display: block;
}

body:has(.admin-shell) .admin-layout.is-form-collapsed > form.admin-form {
  display: none;
}

body:has(.admin-shell) .admin-layout.is-form-collapsed > .admin-list {
  width: 100%;
  max-width: none;
}

body:has(.admin-shell) .admin-tabs {
  display: flex;
  align-items: center;
  padding: 10px;
}

body:has(.admin-shell) .admin-tabs-menu {
  max-height: 88px;
  overflow: hidden;
  justify-content: flex-start;
  gap: 7px;
}

body:has(.admin-shell) .admin-tabs .tab-button {
  min-height: 34px;
  padding: 7px 12px;
  font-size: clamp(.72rem, .82vw, .88rem);
  line-height: 1.05;
  white-space: nowrap;
}

body:has(.admin-shell) .admin-tabs .admin-logout-btn {
  margin-left: 0 !important;
}

body:has(.admin-shell) .admin-tabs.is-floating {
  position: fixed;
  top: calc(var(--site-header-height, 76px) + 12px);
  right: clamp(14px, 2vw, 28px);
  left: auto;
  z-index: 1200;
  display: block;
  width: min(360px, calc(100vw - 28px));
  max-height: none;
  margin: 0;
  padding: 10px;
  border-radius: 18px;
  touch-action: none;
}

body:has(.admin-shell) .admin-tabs.is-floating .admin-tabs-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--teal-900);
  color: var(--paper);
  font: inherit;
  font-weight: 900;
  cursor: grab;
  user-select: none;
}

body:has(.admin-shell) .admin-tabs.is-dragging .admin-tabs-toggle {
  cursor: grabbing;
}

body:has(.admin-shell) .admin-tabs.is-floating .admin-tabs-toggle::after {
  content: "⌄";
  font-size: .82em;
  transition: transform 160ms ease;
}

body:has(.admin-shell) .admin-tabs.is-floating.is-open .admin-tabs-toggle::after {
  transform: rotate(180deg);
}

body:has(.admin-shell) .admin-tabs.is-floating .admin-tabs-menu {
  display: none;
  max-height: min(70vh, 620px);
  margin-top: 10px;
  overflow: auto;
  gap: 8px;
}

body:has(.admin-shell) .admin-tabs.is-floating.is-open .admin-tabs-menu {
  display: flex;
}

body:has(.admin-shell) .admin-tabs.is-floating .tab-button {
  width: 100%;
  justify-content: center;
}

@media (max-width: 860px) {
  body:has(.admin-shell) .admin-shell {
    padding-top: calc(clamp(22px, 3vw, 38px) + 62px);
  }

  body:has(.admin-shell) .admin-tabs.is-floating {
    top: calc(var(--site-header-height, 76px) + 8px);
    right: 12px;
    width: min(310px, calc(100vw - 24px));
    padding: 8px;
    border-radius: 16px;
  }

  body:has(.admin-shell) .admin-tabs.is-floating .admin-tabs-toggle {
    min-height: 40px;
    padding: 9px 12px;
    font-size: .82rem;
  }

  body:has(.admin-shell) .admin-page-title {
    margin-bottom: 18px;
    padding: 12px 0 6px;
    font-size: clamp(2.05rem, 12vw, 3.2rem);
    line-height: .96;
  }
}

/* Admin Ação Global: ocupa a largura disponível para os campos não ficarem apertados. */
body:has(.admin-shell) #action-global-panel .admin-layout,
body:has(.admin-shell) #action-global-panel.compact-admin {
  width: 100%;
  display: block;
}

body:has(.admin-shell) #action-global-panel #action-global-form {
  width: min(100%, 1680px);
  max-width: none;
  margin-inline: auto;
}

body:has(.admin-shell) #action-global-panel .action-global-admin-list {
  gap: 16px;
}

body:has(.admin-shell) #action-global-panel .action-global-admin-item {
  grid-template-columns: 118px minmax(0, 1fr);
  gap: clamp(16px, 2vw, 30px);
  padding: clamp(14px, 1.6vw, 22px);
}

body:has(.admin-shell) #action-global-panel .action-global-admin-preview {
  min-height: 96px;
}

body:has(.admin-shell) #action-global-panel .action-global-admin-preview img {
  height: 96px;
}

body:has(.admin-shell) #action-global-panel .action-global-admin-fields > .form-row {
  grid-template-columns: minmax(160px, .45fr) minmax(320px, 1fr);
}

body:has(.admin-shell) #action-global-panel .action-global-language-images {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
}

body:has(.admin-shell) #action-global-panel .action-global-language-images label {
  align-content: start;
}

@media (max-width: 1180px) {
  body:has(.admin-shell) #action-global-panel .action-global-language-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body:has(.admin-shell) #action-global-panel .action-global-admin-item,
  body:has(.admin-shell) #action-global-panel .action-global-admin-fields > .form-row,
body:has(.admin-shell) #action-global-panel .action-global-language-images {
    grid-template-columns: 1fr;
  }
}

/* Admin: rodapé reduzido apenas à faixa de copyright. */
body:has(.admin-shell) .admin-footer-minimal {
  display: block;
  padding: 18px clamp(20px, 5vw, 78px);
  text-align: center;
}

body:has(.admin-shell) .admin-footer-minimal .site-footer-copyright {
  display: block;
  padding-top: 0;
  border-top: 0;
}

/* Home mobile: impede que o banner estoure a largura da tela. */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body:not(:has(.admin-shell)) .hero {
    width: 100%;
    min-height: auto;
    padding: clamp(56px, 12vw, 82px) 0 clamp(44px, 10vw, 70px);
    overflow: hidden;
  }

  body:not(:has(.admin-shell)) .hero-content,
  body:not(:has(.admin-shell)) .hero-title-row,
  body:not(:has(.admin-shell)) .hero-title-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body:not(:has(.admin-shell)) .hero-title-row h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(3.15rem, 17vw, 4.65rem);
    line-height: .94;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body:not(:has(.admin-shell)) .hero-title-accent {
    display: block;
    max-width: 100%;
    font-size: .78em;
  }

  body:not(:has(.admin-shell)) .hero-text {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1rem, 4.4vw, 1.18rem);
    line-height: 1.6;
    overflow-wrap: break-word;
  }

  body:not(:has(.admin-shell)) .hero > .hero-content > .eyebrow {
    width: 100%;
    max-width: 100%;
    font-size: clamp(.8rem, 3.7vw, 1rem) !important;
    line-height: 1.35;
    letter-spacing: .12em;
    overflow-wrap: break-word;
  }
}

/* Mobile global: todo o site publico deve caber na largura da tela. */
@media (max-width: 760px) {
  body:not(:has(.admin-shell)),
  body:not(:has(.admin-shell)) main,
  body:not(:has(.admin-shell)) section,
  body:not(:has(.admin-shell)) article,
  body:not(:has(.admin-shell)) aside,
  body:not(:has(.admin-shell)) div,
  body:not(:has(.admin-shell)) nav,
  body:not(:has(.admin-shell)) footer,
  body:not(:has(.admin-shell)) form {
    box-sizing: border-box;
    max-width: 100%;
  }

  body:not(:has(.admin-shell)) img,
  body:not(:has(.admin-shell)) video,
  body:not(:has(.admin-shell)) iframe,
  body:not(:has(.admin-shell)) svg {
    max-width: 100%;
  }

  body:not(:has(.admin-shell)) .section-band,
  body:not(:has(.admin-shell)) .section-block,
  body:not(:has(.admin-shell)) .section-grid,
  body:not(:has(.admin-shell)) .page-hero,
  body:not(:has(.admin-shell)) .custom-page-hero,
  body:not(:has(.admin-shell)) .global-statement,
  body:not(:has(.admin-shell)) .partnership-invite,
  body:not(:has(.admin-shell)) .donate-page-content,
  body:not(:has(.admin-shell)) .contact-section,
  body:not(:has(.admin-shell)) .ods-section,
  body:not(:has(.admin-shell)) .site-footer {
    width: 100%;
    padding-inline: clamp(18px, 5vw, 24px) !important;
    overflow: hidden;
  }

  body:not(:has(.admin-shell)) .cards,
  body:not(:has(.admin-shell)) .areas,
  body:not(:has(.admin-shell)) .featured-projects,
  body:not(:has(.admin-shell)) .project-directory,
  body:not(:has(.admin-shell)) .impact-grid,
  body:not(:has(.admin-shell)) .partnership-paths,
  body:not(:has(.admin-shell)) .podcast-grid,
  body:not(:has(.admin-shell)) .document-library,
  body:not(:has(.admin-shell)) .events-grid,
  body:not(:has(.admin-shell)) .testimonials-grid,
  body:not(:has(.admin-shell)) .support-ways,
  body:not(:has(.admin-shell)) .ods-grid,
  body:not(:has(.admin-shell)) .global-statement,
  body:not(:has(.admin-shell)) .about-grid,
  body:not(:has(.admin-shell)) .history-layout,
  body:not(:has(.admin-shell)) .contact-grid,
  body:not(:has(.admin-shell)) .footer-links,
  body:not(:has(.admin-shell)) .project-detail-hero,
  body:not(:has(.admin-shell)) .project-gallery,
  body:not(:has(.admin-shell)) .transparency-grid,
  body:not(:has(.admin-shell)) .donation-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body:not(:has(.admin-shell)) h1,
  body:not(:has(.admin-shell)) h2,
  body:not(:has(.admin-shell)) h3,
  body:not(:has(.admin-shell)) p,
  body:not(:has(.admin-shell)) a,
  body:not(:has(.admin-shell)) span,
  body:not(:has(.admin-shell)) strong,
  body:not(:has(.admin-shell)) small,
  body:not(:has(.admin-shell)) li {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }

  body:not(:has(.admin-shell)) h1,
  body:not(:has(.admin-shell)) .page-hero h1,
  body:not(:has(.admin-shell)) .custom-page-hero h1 {
    font-size: clamp(2.05rem, 10vw, 3rem) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
  }

  body:not(:has(.admin-shell)) h2,
  body:not(:has(.admin-shell)) .section-heading h2,
  body:not(:has(.admin-shell)) .global-statement h2,
  body:not(:has(.admin-shell)) .impact-title,
  body:not(:has(.admin-shell)) .compact-axis-title,
  body:not(:has(.admin-shell)) .ods-title-lead {
    font-size: clamp(1.9rem, 9vw, 2.75rem) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }

  body:not(:has(.admin-shell)) h3,
  body:not(:has(.admin-shell)) .project-card h3,
  body:not(:has(.admin-shell)) .support-way h3,
  body:not(:has(.admin-shell)) .area-card h3 {
    font-size: clamp(1.2rem, 6.3vw, 1.72rem) !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
  }

  body:not(:has(.admin-shell)) .ods-title-composition {
    gap: 8px;
    justify-items: center;
    text-align: center;
  }

  body:not(:has(.admin-shell)) .ods-title-side {
    font-size: clamp(.95rem, 4.8vw, 1.35rem) !important;
    line-height: 1.12 !important;
    letter-spacing: .04em !important;
  }

  body:not(:has(.admin-shell)) .ods-subtitle,
  body:not(:has(.admin-shell)) .contact-impact-title p,
  body:not(:has(.admin-shell)) .hero-lead,
  body:not(:has(.admin-shell)) .hero-complement {
    font-size: clamp(1.28rem, 7vw, 2rem) !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
  }

  body:not(:has(.admin-shell)) .ods-subtitle::before,
  body:not(:has(.admin-shell)) .ods-subtitle::after {
    width: clamp(34px, 12vw, 58px);
  }

  body:not(:has(.admin-shell)) .impact-placeholder > strong,
  body:not(:has(.admin-shell)) .hero-impact strong,
  body:not(:has(.admin-shell)) .stat-card strong {
    font-size: clamp(1.75rem, 9vw, 2.55rem) !important;
    line-height: 1 !important;
  }

  body:not(:has(.admin-shell)) p,
  body:not(:has(.admin-shell)) li,
  body:not(:has(.admin-shell)) .custom-text-block,
  body:not(:has(.admin-shell)) .section-heading > p:not(.eyebrow),
  body:not(:has(.admin-shell)) .page-hero p {
    font-size: clamp(.95rem, 4.1vw, 1.08rem) !important;
    line-height: 1.55 !important;
  }

  body:not(:has(.admin-shell)) .button,
  body:not(:has(.admin-shell)) button,
  body:not(:has(.admin-shell)) input,
  body:not(:has(.admin-shell)) select,
  body:not(:has(.admin-shell)) textarea {
    max-width: 100%;
  }

  body:not(:has(.admin-shell)) .love-divider__text,
  body:not(:has(.admin-shell)) .stat-card strong,
  body:not(:has(.admin-shell)) .impact-value,
  body:not(:has(.admin-shell)) .project-kicker {
    white-space: normal !important;
  }

  body:not(:has(.admin-shell)) .site-footer {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  body:not(:has(.admin-shell)) .footer-brand-lockup {
    justify-items: center;
  }

  body:not(:has(.admin-shell)) .hero-title-row h1 {
    font-size: clamp(2.35rem, 13vw, 3.45rem) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
  }

  body:not(:has(.admin-shell)) .hero-title-row h1 span,
  body:not(:has(.admin-shell)) .hero-title-main,
  body:not(:has(.admin-shell)) .hero-title-accent,
  body:not(:has(.admin-shell)) .ods-title-lead,
  body:not(:has(.admin-shell)) .ods-title-side,
  body:not(:has(.admin-shell)) .ods-subtitle {
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
  }

  body:not(:has(.admin-shell)) .ods-title-lead {
    font-size: clamp(1.7rem, 8vw, 2.25rem) !important;
  }

  body:not(:has(.admin-shell)) .ods-subtitle {
    font-size: clamp(1.12rem, 5.9vw, 1.55rem) !important;
  }
}

/* Mobile: titulos devem reduzir antes de escapar pela lateral. */
@media (max-width: 760px) {
  body:not(:has(.admin-shell)) h1,
  body:not(:has(.admin-shell)) h2,
  body:not(:has(.admin-shell)) .hero-title-row h1,
  body:not(:has(.admin-shell)) .section-heading h2,
  body:not(:has(.admin-shell)) .global-statement h2,
  body:not(:has(.admin-shell)) .global-statement-copy h2,
  body:not(:has(.admin-shell)) .impact-title,
  body:not(:has(.admin-shell)) .compact-axis-title,
  body:not(:has(.admin-shell)) .partnership-invite .section-heading h2,
  body:not(:has(.admin-shell)) .page-hero h1,
  body:not(:has(.admin-shell)) .custom-page-hero h1,
  body:not(:has(.admin-shell)) .donate-hero-copy h1,
  body:not(:has(.admin-shell)) .project-detail-hero h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(1.75rem, 7.2vw, 2.35rem) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
  }

  body:not(:has(.admin-shell)) .hero-title-row h1 {
    font-size: clamp(2rem, 9vw, 2.95rem) !important;
  }

  body:not(:has(.admin-shell)) .ods-title-lead {
    font-size: clamp(1.55rem, 6.8vw, 2rem) !important;
  }

  body:not(:has(.admin-shell)) .ods-title-side {
    font-size: clamp(.82rem, 3.8vw, 1.08rem) !important;
  }

  body:not(:has(.admin-shell)) .ods-subtitle,
  body:not(:has(.admin-shell)) .contact-impact-title p,
  body:not(:has(.admin-shell)) .hero-lead,
  body:not(:has(.admin-shell)) .hero-complement {
    font-size: clamp(1.05rem, 5.2vw, 1.38rem) !important;
    line-height: 1.2 !important;
  }
}

/* Mobile publico sem :has: evita corte lateral em navegadores de celular. */
@media (max-width: 760px) {
  body:not(.admin-page) {
    max-width: 100vw;
    overflow-x: hidden;
  }

  body:not(.admin-page) .hero,
  body:not(.admin-page) .section-band,
  body:not(.admin-page) .section-block,
  body:not(.admin-page) .section-grid,
  body:not(.admin-page) .page-hero,
  body:not(.admin-page) .custom-page-hero,
  body:not(.admin-page) .site-footer {
    width: 100%;
    max-width: 100vw;
    padding-inline: clamp(18px, 5vw, 24px) !important;
    overflow: hidden;
  }

  body:not(.admin-page) .hero-content,
  body:not(.admin-page) .hero-title-row,
  body:not(.admin-page) .hero-title-group,
  body:not(.admin-page) .section-heading,
  body:not(.admin-page) .global-statement-copy,
  body:not(.admin-page) .ods-editorial-heading {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body:not(.admin-page) h1,
  body:not(.admin-page) h2,
  body:not(.admin-page) .section-heading h2,
  body:not(.admin-page) .global-statement h2,
  body:not(.admin-page) .impact-title,
  body:not(.admin-page) .compact-axis-title,
  body:not(.admin-page) .partnership-invite .section-heading h2,
  body:not(.admin-page) .page-hero h1,
  body:not(.admin-page) .custom-page-hero h1,
  body:not(.admin-page) .donate-hero-copy h1,
  body:not(.admin-page) .project-detail-hero h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(1.55rem, 6.6vw, 2.15rem) !important;
    line-height: 1.16 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
  }

  body:not(.admin-page) .hero-title-row h1 {
    font-size: clamp(1.75rem, 7.9vw, 2.55rem) !important;
    line-height: 1.08 !important;
  }

  body:not(.admin-page) .hero-title-row h1 span,
  body:not(.admin-page) .hero-title-main,
  body:not(.admin-page) .hero-title-accent {
    display: block;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }

  body:not(.admin-page) .ods-title-lead {
    font-size: clamp(1.38rem, 5.9vw, 1.85rem) !important;
    line-height: 1.05 !important;
  }

  body:not(.admin-page) .ods-title-side {
    font-size: clamp(.76rem, 3.4vw, 1rem) !important;
    line-height: 1.12 !important;
  }

  body:not(.admin-page) .ods-subtitle,
  body:not(.admin-page) .contact-impact-title p,
  body:not(.admin-page) .hero-lead,
  body:not(.admin-page) .hero-complement {
    font-size: clamp(.98rem, 4.8vw, 1.28rem) !important;
    line-height: 1.22 !important;
  }
}

/* Mobile: o titulo do banner reduz antes de escapar pela lateral. */
@media (max-width: 620px) {
  body:not(.admin-page) .hero {
    max-width: 100vw;
    overflow: hidden;
  }

  body:not(.admin-page) .hero-content,
  body:not(.admin-page) .hero-title-row,
  body:not(.admin-page) .hero-title-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body:not(.admin-page) .hero-title-row h1,
  body:not(.admin-page) h1[data-site="heroTitle"] {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    font-size: clamp(2.55rem, 15vw, 4.65rem) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-wrap: balance;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body:not(.admin-page) .hero-title-main,
  body:not(.admin-page) .hero-title-accent {
    display: block !important;
    width: 100%;
    max-width: 100%;
    font-size: inherit !important;
    line-height: inherit !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body:not(.admin-page) .hero-title-word {
    display: inline-block;
    max-width: 100%;
    font-size: inherit !important;
    line-height: inherit !important;
    white-space: nowrap;
  }

  body:not(.admin-page) h1[data-site="heroTitle"] br {
    display: none;
  }

  body:not(.admin-page) .global-statement,
  body:not(.admin-page) .global-statement-copy {
    justify-items: center;
    text-align: center;
  }

  body:not(.admin-page) .global-statement h2,
  body:not(.admin-page) .global-statement-copy h2,
  body:not(.admin-page) .section-heading h2,
  body:not(.admin-page) .page-hero h1,
  body:not(.admin-page) .custom-page-hero h1,
  body:not(.admin-page) .donate-hero-copy h1,
  body:not(.admin-page) .project-detail-hero h1 {
    box-sizing: border-box;
    width: 100% !important;
    max-width: min(100%, 680px) !important;
    margin-inline: auto !important;
    font-size: clamp(1.75rem, 5.4vw, 2.8rem) !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-wrap: balance;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}

@media (max-width: 620px) {
  body:not(.admin-page) .hero-title-row h1,
  body:not(.admin-page) h1[data-site="heroTitle"] {
    font-size: clamp(2.55rem, 14vw, 4.45rem) !important;
    line-height: 1.07 !important;
  }

  body:not(.admin-page) .global-statement h2,
  body:not(.admin-page) .global-statement-copy h2,
  body:not(.admin-page) .section-heading h2,
  body:not(.admin-page) .page-hero h1,
  body:not(.admin-page) .custom-page-hero h1,
  body:not(.admin-page) .donate-hero-copy h1,
  body:not(.admin-page) .project-detail-hero h1 {
    font-size: clamp(1.55rem, 6.4vw, 2rem) !important;
    line-height: 1.12 !important;
  }
}

@media (max-width: 430px) {
  body:not(.admin-page) .hero-title-row h1,
  body:not(.admin-page) h1[data-site="heroTitle"] {
    font-size: clamp(2.35rem, 13vw, 3.65rem) !important;
  }

  body:not(.admin-page) .global-statement h2,
  body:not(.admin-page) .global-statement-copy h2,
  body:not(.admin-page) .section-heading h2,
  body:not(.admin-page) .page-hero h1,
  body:not(.admin-page) .custom-page-hero h1,
  body:not(.admin-page) .donate-hero-copy h1,
  body:not(.admin-page) .project-detail-hero h1 {
    font-size: clamp(1.38rem, 5.7vw, 1.8rem) !important;
  }
}

/* Mobile publico: conteudo centralizado em toda a experiencia. */
@media (max-width: 620px) {
  body:not(.admin-page) main,
  body:not(.admin-page) section,
  body:not(.admin-page) article,
  body:not(.admin-page) .section-band,
  body:not(.admin-page) .section-block,
  body:not(.admin-page) .section-grid,
  body:not(.admin-page) .section-heading,
  body:not(.admin-page) .hero-content,
  body:not(.admin-page) .hero-title-group,
  body:not(.admin-page) .global-statement-copy,
  body:not(.admin-page) .page-hero,
  body:not(.admin-page) .custom-page-hero,
  body:not(.admin-page) .donate-hero-copy,
  body:not(.admin-page) .project-detail-hero,
  body:not(.admin-page) .card,
  body:not(.admin-page) .area-card,
  body:not(.admin-page) .project-card,
  body:not(.admin-page) .support-way,
  body:not(.admin-page) .testimonial-card,
  body:not(.admin-page) .document-card,
  body:not(.admin-page) .news-card,
  body:not(.admin-page) .event-card,
  body:not(.admin-page) .partner-card {
    text-align: center !important;
  }

  body:not(.admin-page) .hero-title-row,
  body:not(.admin-page) .hero-actions,
  body:not(.admin-page) .section-actions,
  body:not(.admin-page) .project-actions,
  body:not(.admin-page) .document-actions,
  body:not(.admin-page) .contact-actions,
  body:not(.admin-page) .footer-links,
  body:not(.admin-page) .footer-nav {
    justify-content: center !important;
  }

  body:not(.admin-page) .hero-title-row {
    align-items: center !important;
  }

  body:not(.admin-page) .hero-title-logo {
    display: block !important;
    width: min(68vw, 260px) !important;
    height: auto !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
    justify-self: center !important;
    object-position: center center !important;
  }

  body:not(.admin-page) .hero-text,
  body:not(.admin-page) .hero-lead,
  body:not(.admin-page) .hero-complement,
  body:not(.admin-page) .section-heading p,
  body:not(.admin-page) .global-statement-copy p,
  body:not(.admin-page) .global-statement-copy span,
  body:not(.admin-page) .intro-line p,
  body:not(.admin-page) .intro-line span,
  body:not(.admin-page) .custom-text-block,
  body:not(.admin-page) .page-hero p,
  body:not(.admin-page) .custom-page-hero p,
  body:not(.admin-page) .donate-hero-copy p,
  body:not(.admin-page) .project-detail-hero p,
  body:not(.admin-page) .card p,
  body:not(.admin-page) .area-card p,
  body:not(.admin-page) .project-card p,
  body:not(.admin-page) .support-way p,
  body:not(.admin-page) .testimonial-card p,
  body:not(.admin-page) .testimonial-card blockquote,
  body:not(.admin-page) .document-card p,
  body:not(.admin-page) .news-card p,
  body:not(.admin-page) .event-card p,
  body:not(.admin-page) .partner-card p {
    max-width: min(100%, 640px);
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  body:not(.admin-page) ul,
  body:not(.admin-page) ol {
    width: fit-content;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left;
  }

  body:not(.admin-page) input,
  body:not(.admin-page) textarea,
  body:not(.admin-page) select {
    text-align: left !important;
  }
}

/* Mobile publico: textos longos ficam justificados para melhorar leitura. */
@media (max-width: 620px) {
  body:not(.admin-page) .hero-text,
  body:not(.admin-page) .section-heading > p:not(.eyebrow),
  body:not(.admin-page) .global-statement-copy p,
  body:not(.admin-page) .custom-text-block,
  body:not(.admin-page) .page-hero p,
  body:not(.admin-page) .custom-page-hero p,
  body:not(.admin-page) .donate-hero-copy p,
  body:not(.admin-page) .project-detail-hero p,
  body:not(.admin-page) .project-card p,
  body:not(.admin-page) .event-card p,
  body:not(.admin-page) .news-card p,
  body:not(.admin-page) .testimonial-card blockquote {
    text-align: justify !important;
    text-align-last: center;
  }
}

/* Mobile: CTA "Quero ser parceiro" deve caber dentro do botão. */
@media (max-width: 620px) {
  body:not(.admin-page) .partnership-invite .centered-actions {
    width: 100%;
    padding-inline: 16px;
  }

  body:not(.admin-page) .partnership-invite-cta {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(calc(100vw - 72px), 320px) !important;
    max-width: calc(100vw - 72px) !important;
    min-width: 0 !important;
    padding: 12px 14px !important;
    font-size: clamp(.78rem, 3.8vw, .96rem) !important;
    line-height: 1 !important;
    letter-spacing: .035em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-align: center !important;
  }

  body:not(.admin-page) .partnership-invite-cta::after {
    display: none !important;
    content: none !important;
  }
}

/* Mobile: o texto da visão institucional fica justificado sem centralizar a última linha. */
@media (max-width: 620px) {
  body:not(.admin-page) .global-statement-copy [data-site-paragraphs="globalStatementText"] p {
    text-align: justify !important;
    text-align-last: left !important;
    word-spacing: normal !important;
  }

  body:not(.admin-page) [data-site-paragraphs="originText"] p {
    text-align: justify !important;
    text-align-last: left !important;
    word-spacing: normal !important;
  }
}

/* Mobile: marca e descrição do rodapé centralizadas. */
@media (max-width: 620px) {
  body:not(.admin-page) .site-footer > div:first-child,
  body:not(.admin-page) .footer-brand-lockup {
    display: grid !important;
    justify-items: center !important;
    text-align: center !important;
  }

  body:not(.admin-page) .site-footer .footer-brand-lockup img {
    margin-inline: auto !important;
  }

  body:not(.admin-page) .site-footer .footer-brand-lockup p,
  body:not(.admin-page) .site-footer > div:first-child > span {
    width: min(100%, 430px) !important;
    margin-inline: auto !important;
    text-align: center !important;
  }
}

/* Mobile: ajustes pontuais solicitados para contato, parceria e título do Instituto. */
@media (max-width: 620px) {
  body:not(.admin-page) #contato .contact-brand-lockup {
    display: grid !important;
    justify-items: center !important;
    text-align: center !important;
  }

  body:not(.admin-page) #contato .contact-brand-lockup img {
    margin-inline: auto !important;
  }

  body:not(.admin-page) .partnership-invite-cta {
    width: min(calc(100vw - 56px), 340px) !important;
    max-width: calc(100vw - 56px) !important;
    min-height: 48px !important;
    padding-inline: 12px !important;
    font-size: clamp(.58rem, 2.85vw, .72rem) !important;
    letter-spacing: 0 !important;
  }

  body:not(.admin-page) #instituto .section-heading h2[data-site="instituteTitle"] {
    max-width: min(100%, 520px) !important;
    font-size: clamp(1.72rem, 8.3vw, 2.45rem) !important;
    line-height: 1.08 !important;
    text-wrap: balance;
  }
}
.gateway-settings [hidden] { display: none !important; }
.asaas-setup-guide {
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid #c9dcd7;
  border-radius: 12px;
  background: #f5faf8;
  line-height: 1.65;
}
.asaas-setup-guide h3 { margin-top: 0; }
.asaas-setup-guide ol { padding-left: 24px; }
.asaas-setup-guide li + li { margin-top: 18px; }
.asaas-setup-guide a { text-decoration: underline; text-underline-offset: 3px; }
.asaas-setup-guide code { overflow-wrap: anywhere; }
.gateway-settings .field-hint { display: block; font-weight: 400; line-height: 1.5; margin-top: 6px; }
.gateway-settings input:disabled { cursor: not-allowed; opacity: .65; }
.asaas-donation-section { position: relative; margin: 28px 0; padding: clamp(18px, 4vw, 32px); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
.asaas-donation-section[hidden], .asaas-donation-section [hidden] { display: none !important; }
.asaas-donation-section label { display: grid; gap: 8px; font-weight: 600; }
.asaas-donation-section .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.asaas-donation-section input:not([type="checkbox"]) { width: 100%; min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); font: inherit; }
.asaas-donation-section select { width: 100%; min-width: 0; margin-bottom: 16px; white-space: normal; }
.asaas-donation-section .field-hint { display: block; font-size: .9em; font-weight: 400; line-height: 1.5; }
#asaas-static-pix { margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: 10px; text-align: left; }
#asaas-static-pix-image { display: block; width: min(100%, 280px); height: auto; margin: 16px auto; background: white; }
#asaas-static-pix textarea { width: 100%; min-width: 0; resize: vertical; overflow-wrap: anywhere; font-size: 14px; }
#asaas-static-pix-key { overflow-wrap: anywhere; }
html:not(.donation-foreign) #bank-donation,
html.donation-foreign #pix-donation,
html.donation-foreign #payment-links-brazil-group { display: none !important; }
.asaas-donation-section .donation-consent { display: flex; align-items: flex-start; font-weight: 400; line-height: 1.5; margin: 20px 0; }
.asaas-donation-section .donation-consent input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; min-width: 20px; max-width: 20px; margin: 3px 0 0; padding: 0; }
.asaas-donation-section .donation-consent span { flex: 1 1 0%; min-width: 0; text-align: left; }
.asaas-error-detail { display: block; margin-top: 8px; font-size: .9em; }
.donation-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.asaas-donation-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.asaas-donation-row p { overflow-wrap: anywhere; }
.asaas-donation-row button { flex-shrink: 0; }
#asaas-donation-status, #asaas-config-status { overflow-wrap: anywhere; margin-top: 18px; }
@media (max-width: 600px) {
  .asaas-donation-section .form-row { grid-template-columns: 1fr; }
  .asaas-donation-section .button { width: 100%; text-align: center; white-space: normal; }
  .asaas-donation-row { flex-direction: column; align-items: stretch; }
  .asaas-setup-guide { padding: 14px; }
}
