:root {
  --gp-blue: #1a5f9e;
  --gp-blue-dark: #0d2847;
  --gp-navy: #0d2847;
  --gp-accent: #2b8cbe;
  --gp-orange: #e85d1c;
  --gp-gold: #e8c547;
  --gp-bg: #f4f7fa;
  --gp-text: #1a2b3a;
  --gp-muted: #5a6b7a;
  --gp-border: #d5dee8;
  --gp-white: #ffffff;
  font-size: clamp(16px, 2.2vw, 18px);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--gp-bg);
  color: var(--gp-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--gp-accent); }
a:hover { color: var(--gp-blue-dark); }

.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.narrow { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }

/* Header — inspired by globalpeace.org structure */
.gp-header {
  background: var(--gp-white);
  box-shadow: 0 1px 0 var(--gp-border);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
}

.gp-topbar {
  background: var(--gp-navy);
  color: #fff;
  font-size: 0.875rem;
}

.gp-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}

.gp-topbar-left {
  min-height: 1.5rem;
  display: flex;
  align-items: center;
}

.gp-topbar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-left: auto;
}

.gp-sign-in {
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.gp-sign-in:hover,
.gp-sign-in:focus-visible {
  text-decoration: underline;
  color: #ffffff !important;
}

.gp-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
}

.gp-social__link {
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
  transition: opacity 0.2s;
  text-decoration: none;
  /* <a> e <span class="--placeholder">: cursor de clique (URLs vazias usam span, não só âncoras). */
  cursor: pointer !important;
}
.gp-social a.gp-social__link:hover,
.gp-social a.gp-social__link:focus-visible {
  opacity: 1;
  color: #fff !important;
}

.gp-social__link--placeholder {
  opacity: 0.55;
}

.gp-social__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.gp-social__ic svg {
  pointer-events: none;
  display: block;
}

.gp-donate {
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  padding: 0.35rem 1.1rem;
  background: var(--gp-orange);
  border-radius: 6px;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(232, 93, 28, 0.35);
}
.gp-donate:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

/* Faixa do logo/menu — altura da 1.ª linha em auto para o logo não ficar “para fora” da célula */
.gp-nav-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.25rem;
  padding: 0.35rem 0;
  overflow: visible;
}

.gp-brand {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--gp-navy);
  min-width: 0;
  max-width: 100%;
  margin-left: -1.2rem;
}

.gp-brand--png {
  overflow: visible;
  max-height: none;
  position: relative;
  z-index: 2;
  align-self: center;
}

.gp-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
}

.gp-logo {
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(13, 40, 71, 0.12);
}

.gp-brand--png .gp-logo--png {
  display: block;
  width: auto;
  height: 62px;
  max-width: calc(100vw - 5.25rem);
  max-height: none;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 901px) {
  .gp-nav-row {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto;
    column-gap: 1.25rem;
    row-gap: 0;
    padding: 0.35rem 0;
    align-items: center;
  }

  .gp-brand {
    grid-column: 1;
    grid-row: 1;
    flex-shrink: 0;
    max-width: min(900px, 62vw);
  }

  .gp-brand--png .gp-logo--png {
    height: 82px;
    max-width: 100%;
  }

  .gp-nav-toggle {
    display: none;
  }

  .gp-nav {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    justify-self: end;
  }

  /* Barra de pesquisa: usar toda a largura entre logo e borda direita */
  .gp-nav.is-search-active {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    min-width: 0;
  }

  .gp-nav ul {
    justify-content: flex-end;
  }
}

.gp-brand__lockup {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.15;
  text-align: left;
}

.gp-brand__name {
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.08rem, 2.3vw, 1.38rem);
  color: var(--gp-navy);
  letter-spacing: -0.02em;
}

.gp-nav-toggle {
  display: none;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  border: 1px solid var(--gp-border);
  background: #fff;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
}

.gp-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.gp-nav a {
  text-decoration: none;
  color: var(--gp-blue-dark);
  font-weight: 600;
  font-size: 0.95rem;
}
.gp-nav a:hover { color: var(--gp-blue); }

.gp-nav__shell {
  width: 100%;
  min-width: 0;
}

.gp-nav__search-li {
  list-style: none;
}

.gp-nav__search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  margin: 0;
  border: none;
  background: transparent;
  color: var(--gp-blue-dark);
  cursor: pointer;
  border-radius: 6px;
}
.gp-nav__search-toggle:hover {
  color: var(--gp-blue);
  background: rgba(26, 95, 158, 0.08);
}
.gp-nav__search-toggle:focus-visible {
  outline: 2px solid var(--gp-blue);
  outline-offset: 2px;
}

.gp-nav.is-search-active .gp-nav__menu {
  display: none;
}

.gp-nav.is-search-active .gp-nav__search-mode {
  display: block;
  width: 100%;
  min-width: 0;
}

.gp-nav__search-mode {
  width: 100%;
  min-width: 0;
}

.gp-site-search {
  width: 100%;
}

.gp-site-search__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}

/* Âncora do dropdown: só à largura do input, não sob o botão fechar */
.gp-site-search__field {
  position: relative;
  flex: 1;
  min-width: 0;
}

.gp-site-search__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(13, 40, 71, 0.06);
  color: var(--gp-blue-dark);
  cursor: pointer;
}
.gp-site-search__close:hover {
  background: rgba(13, 40, 71, 0.11);
}
.gp-site-search__close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(13, 40, 71, 0.18);
}

.gp-site-search__input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  border: 1px solid var(--gp-border);
  border-radius: 8px;
  background: #fff;
  color: var(--gp-text);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.gp-site-search__input::placeholder {
  color: #8a9aa8;
}
.gp-site-search__input:focus,
.gp-site-search__input:focus-visible {
  outline: none;
  border-color: #5a87b0;
  box-shadow: none;
}

.gp-site-search__hits {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--gp-border);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(13, 40, 71, 0.14);
  max-height: min(420px, 72vh);
  overflow-y: auto;
  z-index: 220;
  -webkit-overflow-scrolling: touch;
}

.gp-site-search__hit {
  display: block;
  padding: 0.75rem 1rem 0.85rem;
  text-decoration: none;
  color: inherit !important;
  border-bottom: 1px solid #eef3f8;
}
.gp-site-search__hit:last-child {
  border-bottom: none;
}
.gp-site-search__hit:hover,
.gp-site-search__hit:focus-visible {
  background: #f4f7fa;
}
.gp-site-search__hit-title {
  font-weight: 700;
  color: var(--gp-blue-dark);
  margin: 0 0 0.2rem;
  font-size: 0.98rem;
  line-height: 1.3;
}
.gp-site-search__hit-type {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gp-muted);
  margin: 0 0 0.35rem;
}
.gp-site-search__hit-snippet {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #4a5a68;
  margin: 0;
}

.gp-site-search__empty,
.gp-site-search__loading {
  padding: 0.95rem 1rem;
  font-size: 0.9rem;
  color: var(--gp-muted);
  margin: 0;
}

.gp-team-card[id^="team-member-"] {
  scroll-margin-top: 6.5rem;
}

@media (max-width: 900px) {
  /* Uma coluna: logo centrado; Menu absoluto à direita */
  .gp-nav-row {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    row-gap: 0.35rem;
    padding: 0.45rem 0;
    align-items: center;
  }

  .gp-brand {
    grid-column: 1;
    grid-row: 1;
    margin-left: 0;
    min-width: 0;
    max-width: calc(100% - 4.75rem);
    justify-self: center;
    justify-content: center;
  }

  .gp-brand--png {
    min-width: 0;
    max-width: calc(100% - 4.75rem);
  }

  .gp-brand--png .gp-logo--png {
    height: auto;
    max-height: 42px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    object-position: center center;
  }

  .gp-brand:not(.gp-brand--png) {
    flex-wrap: wrap;
    justify-content: center;
  }

  .gp-brand:not(.gp-brand--png) .gp-logo {
    width: 40px;
    height: 40px;
  }

  .gp-brand:not(.gp-brand--png) .gp-brand__lockup {
    text-align: center;
  }

  .gp-brand:not(.gp-brand--png) .gp-brand__name {
    font-size: clamp(0.95rem, 4.2vw, 1.15rem);
    overflow-wrap: anywhere;
    text-align: center;
  }

  .gp-nav-toggle {
    display: block;
    position: static;
    top: unset;
    right: unset;
    transform: none;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin: 0;
  }

  .gp-nav {
    display: none;
    width: 100%;
    border-top: 1px solid var(--gp-border);
    padding-top: 0.75rem;
  }
  .gp-nav.is-open {
    display: block;
    padding-top: 0.75rem;
  }
  .gp-nav ul { flex-direction: column; }
}

@media (max-width: 480px) {
  .gp-brand--png .gp-logo--png {
    max-height: 46px;
  }
}

/* Hero */
.gp-hero {
  background: linear-gradient(135deg, var(--gp-blue) 0%, var(--gp-accent) 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.gp-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 800;
}

.gp-lead {
  font-size: 1.05rem;
  max-width: 52ch;
  opacity: 0.95;
}

.gp-section {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.gp-muted-bg { background: #eef3f8; }

.gp-intro {
  color: var(--gp-muted);
  max-width: 60ch;
}

.gp-section-head {
  margin-bottom: 1.75rem;
}

.gp-section-head--center {
  text-align: center;
}

.gp-section-head--center h2 {
  color: #2c3e50;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.gp-section-head__sub {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--gp-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.gp-section-head__subtitle {
  font-weight: 700;
  color: #333;
  margin: 0.25rem 0 0.5rem;
}

.gp-mission {
  background: var(--gp-white);
}

.gp-mission--statement {
  padding: clamp(2.75rem, 7vw, 4.5rem) 0;
}

.gp-statement-block {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.gp-mission--statement .gp-statement-block__prose,
.gp-mission--statement .gp-statement-block__prose p {
  margin: 0;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.1vw, 1.22rem);
  line-height: 1.65;
  color: #2f3d4a;
}

.gp-mission--statement .gp-statement-block__prose p + p {
  margin-top: 1rem;
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 0.75rem;
  color: var(--gp-blue-dark);
}

.gp-card-grid,
.gp-news-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1.5rem;
}

.gp-donate-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1.5rem;
}

.gp-card,
.gp-news-card,
.gp-donate-card {
  background: var(--gp-white);
  border: 1px solid var(--gp-border);
  border-radius: 10px;
  padding: 1.35rem;
  box-shadow: 0 4px 16px rgba(26, 95, 158, 0.06);
}

.gp-card h3,
.gp-donate-card h3 { margin-top: 0; color: var(--gp-blue-dark); }

.gp-btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.gp-btn-primary {
  background: var(--gp-blue);
  color: #fff !important;
}
.gp-btn-primary:hover { background: var(--gp-blue-dark); }

.gp-btn-secondary {
  background: #fff;
  color: var(--gp-blue) !important;
  border-color: var(--gp-border);
}

.gp-btn-outline {
  background: transparent;
  color: var(--gp-blue) !important;
  border: 2px solid var(--gp-blue);
}

.gp-btn-hero {
  background: var(--gp-accent);
  color: #fff !important;
  padding: 0.65rem 1.35rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.gp-btn-hero:hover {
  background: var(--gp-blue);
  color: #fff !important;
}

.gp-hero__actions {
  margin: 1.5rem 0 0;
}

.gp-btn-pill {
  border-radius: 999px;
  padding: 0.45rem 1.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gp-btn-pill--dark {
  background: var(--gp-blue-dark);
  color: #fff !important;
  border: none;
}
.gp-btn-pill--dark:hover {
  background: var(--gp-blue);
  color: #fff !important;
}

/* CTA estilo “pill” navy — Read more / More info */
.gp-btn.gp-btn-readmore {
  padding: 0.65rem 1.75rem;
  border-radius: 999px;
  border: none;
  background: var(--gp-blue-dark);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.25;
  box-shadow: none;
  transition: background 0.2s ease, transform 0.18s ease;
}

.gp-btn.gp-btn-readmore:hover {
  background: var(--gp-blue);
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-1px);
}

.gp-btn.gp-btn-readmore:active {
  transform: translateY(0);
}

.gp-link-chevron {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gp-blue) !important;
  text-decoration: none;
}
.gp-link-chevron::before {
  content: "› ";
  font-weight: 800;
  margin-right: 0.15rem;
}
.gp-link-chevron:hover {
  text-decoration: underline;
}

.gp-link-readmore {
  display: inline-block;
  margin-top: 0.65rem;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gp-blue) !important;
  text-decoration: none;
}
.gp-link-readmore:hover { text-decoration: underline; }

.gp-spotlight--cards {
  background: var(--gp-bg);
}

.gp-spotlight__head h2 {
  color: var(--gp-blue-dark);
  font-weight: 800;
}

.gp-spotlight-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 0.25rem;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

@media (min-width: 640px) {
  .gp-spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.35rem;
  }
}

@media (min-width: 960px) {
  .gp-spotlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.65rem 1.75rem;
    margin-top: 0.5rem;
  }
}

.gp-spotlight-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  background: var(--gp-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(13, 40, 71, 0.1);
  border: 1px solid rgba(213, 222, 232, 0.85);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gp-spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 42px rgba(13, 40, 71, 0.14);
}

.gp-spotlight-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: #dde8f2;
  overflow: hidden;
  text-decoration: none;
}

.gp-spotlight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gp-spotlight-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.35rem 1.25rem 1.6rem;
  min-width: 0;
}

.gp-spotlight-card__title {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gp-blue-dark);
  line-height: 1.3;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.gp-spotlight-card__text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--gp-muted);
  flex: 1;
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 639px) {
  .gp-spotlight--cards .gp-spotlight-grid {
    gap: 1.25rem;
  }

  .gp-spotlight-card__body {
    padding: 1.15rem 1rem 1.4rem;
  }

  .gp-spotlight-card__title {
    font-size: clamp(0.98rem, 4.5vw, 1.08rem);
  }

  .gp-spotlight-card__cta {
    font-size: 0.72rem;
  }
}

.gp-spotlight-card__cta {
  display: inline-block;
  margin-top: auto;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gp-blue) !important;
  text-decoration: none;
}

.gp-spotlight-card__cta::before {
  content: "> ";
  font-weight: 900;
  margin-right: 0.1rem;
}

.gp-spotlight-card__cta:hover {
  text-decoration: underline;
}

.gp-events-section {
  background: var(--gp-white);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.gp-events-section__head h2 {
  color: var(--gp-blue-dark);
  font-weight: 800;
}

.gp-events--list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.25rem;
}

.gp-events--list .gp-event.gp-event--media {
  display: grid;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(1.5rem, 3vw, 2.35rem) 0;
  border-bottom: 1px solid var(--gp-border);
  gap: 1.15rem 1.35rem;
}

.gp-events--list .gp-event.gp-event--media:last-of-type {
  border-bottom: none;
}

.gp-event-date {
  text-align: center;
  align-self: start;
  padding-top: 0.2rem;
  min-width: 4.25rem;
}

.gp-event-date__day {
  display: block;
  font-size: clamp(1.9rem, 3.5vw, 2.45rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gp-blue-dark);
}

.gp-event-date__month {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gp-blue-dark);
}

.gp-event-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.15rem 0 0.85rem;
  font-size: 0.92rem;
  color: var(--gp-muted);
}

.gp-event-meta__row {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
  max-width: 100%;
}

.gp-event-meta__row .gp-ico,
.gp-event-meta__ico {
  color: var(--gp-blue-dark);
  opacity: 0.72;
  flex-shrink: 0;
  margin-top: 0.12rem;
}

.gp-ico {
  flex-shrink: 0;
  opacity: 0.85;
}

.gp-event__title {
  color: var(--gp-blue-dark);
  font-size: clamp(1.2rem, 2.2vw, 1.52rem);
  font-weight: 800;
  line-height: 1.28;
  margin: 0 0 0.35rem;
}

.gp-event__excerpt {
  color: var(--gp-muted);
  font-size: 0.97rem;
  margin: 0 0 1.05rem;
  line-height: 1.65;
  max-width: 100%;
}

.gp-event__cta {
  margin: 0;
}

.gp-event__more {
  display: inline-block;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  background: var(--gp-blue-dark);
  color: #fff !important;
  border: none;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
}

.gp-event__more:hover {
  background: var(--gp-blue);
  color: #fff !important;
}

.gp-event-detail__meta {
  margin-top: 0.85rem;
}

.gp-event-detail__media {
  display: flex;
  justify-content: center;
  margin: 0 0 1.75rem;
}

.gp-event-detail__figure {
  margin: 0;
  width: 100%;
  max-width: 900px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #aebcc9;
  background: #f4f7fa;
}

.gp-event-detail__figure img {
  display: block;
  width: 100%;
  height: auto;
}
.gp-event-detail__body {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
}
.gp-event-detail__cta {
  margin: 0 0 1rem;
}

.gp-events__footer {
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
}

.gp-events__view-all {
  display: inline-block;
  padding: 0.82rem 2.4rem;
  border-radius: 999px;
  background: var(--gp-blue-dark);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: none;
}

.gp-events__view-all:hover {
  background: var(--gp-blue);
  color: #fff !important;
}

.gp-news-section .gp-news-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1.3;
}
.gp-news-section .gp-news-card h3 a {
  text-decoration: none;
  color: var(--gp-blue-dark);
}
.gp-news-section .gp-news-card h3 a:hover {
  color: var(--gp-blue);
}

.gp-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.8rem;
  color: var(--gp-muted);
  margin-bottom: 0.65rem;
}

.gp-news-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.gp-news-excerpt {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gp-news-card time { font-size: inherit; color: inherit; }

/* Recent Activities (home, após Events) — alinhado a referência GPF */
.gp-news-section--activities {
  background: var(--gp-bg);
  padding: clamp(2.75rem, 5.5vw, 4rem) 0;
}

.gp-news-section--activities .gp-news-section__head {
  margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
}

.gp-news-section--activities .gp-news-section__head h2 {
  color: #2c3d4f;
  font-weight: 800;
  font-size: clamp(1.65rem, 3vw, 2rem);
  margin: 0 0 0.65rem;
}

.gp-news-section--activities .gp-news-section__intro {
  max-width: 40rem;
  margin: 0 auto;
  color: #5a6b7a;
  font-size: 1.06rem;
  line-height: 1.65;
}

.gp-news-grid--activities {
  display: grid;
  gap: 1.5rem;
  margin-top: 0;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .gp-news-grid--activities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.35rem;
  }
}

@media (min-width: 960px) {
  .gp-news-grid--activities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.65rem 1.75rem;
  }
}

.gp-news-section--activities .gp-news-card {
  background: var(--gp-white);
  border: none;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 10px 32px rgba(13, 40, 71, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}

.gp-news-section--activities .gp-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(13, 40, 71, 0.12);
}

.gp-news-section--activities .gp-news-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.07rem;
  line-height: 1.35;
}

.gp-news-section--activities .gp-news-card h3 a {
  color: var(--gp-text);
  font-weight: 800;
}

.gp-news-section--activities .gp-news-meta--activities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: #5c6d7c;
}

.gp-news-section--activities .gp-news-meta__sep {
  color: var(--gp-border);
  font-weight: 300;
  user-select: none;
}

.gp-news-section--activities .gp-news-excerpt--activities {
  -webkit-line-clamp: 3;
  color: #4a5a68;
  font-size: 0.93rem;
  line-height: 1.58;
  margin-bottom: 0.85rem;
}

.gp-news-section--activities .gp-news-card__body {
  padding: 1.2rem 1.2rem 1.45rem;
}

.gp-news-section--activities .gp-news-card__readmore {
  margin-top: 0.15rem;
}

.gp-news-section__footer {
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
}

.gp-news-section__footer.center {
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.gp-news-section__view-all {
  display: inline-block;
  padding: 0.8rem 2.35rem;
  border-radius: 999px;
  background: var(--gp-blue);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  text-decoration: none;
  border: none;
}

.gp-news-section__view-all:hover {
  background: var(--gp-blue-dark);
  color: #fff !important;
}

.center { text-align: center; margin-top: 1.5rem; }

.gp-prose { overflow-wrap: anywhere; }
.gp-prose p:first-child { margin-top: 0; }

.gp-page-head {
  padding: clamp(2rem, 4vw, 2.5rem) 0 0;
  background: var(--gp-white);
  border-bottom: 1px solid var(--gp-border);
}

.gp-page-head h1 {
  margin: 0 0 0.5rem;
  color: var(--gp-blue-dark);
}

/* About — bloco em duas colunas + princípios em gradiente */
.gp-page-head--about {
  padding-bottom: 0;
  border-bottom: none;
}

.gp-page-head--about > .container:first-child h1 {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.gp-about-lead {
  padding: 0 0 clamp(2rem, 5vw, 3rem);
  background: var(--gp-white);
  border-bottom: 1px solid var(--gp-border);
}

.gp-about-lead__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  align-items: start;
}

@media (min-width: 768px) {
  .gp-about-lead__grid {
    position: relative;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 3rem);
    column-gap: clamp(2rem, 6vw, 3.5rem);
  }

  .gp-about-lead__grid::after {
    content: "";
    position: absolute;
    left: calc(41.67% - 1px);
    top: 0.15rem;
    bottom: 0.15rem;
    width: 1px;
    background: rgba(213, 222, 232, 0.95);
    pointer-events: none;
  }

  .gp-about-lead__title {
    padding-right: 0.5rem;
  }

  .gp-about-lead__prose {
    padding-left: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .gp-about-lead__grid::after {
    display: none;
  }
}

.gp-about-lead__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  line-height: 1.28;
  color: #2c3b4a;
  letter-spacing: -0.02em;
}

.gp-about-lead__muted {
  color: #2c3b4a;
}

.gp-about-accent {
  color: var(--gp-blue-dark);
}

.gp-about-lead__prose p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #3d4f61;
}

.gp-about-principles {
  margin: 0;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  /* Azul-mar (marca/logo): navy → azul institucional → azul oceano — sem roxo */
  background: linear-gradient(
    105deg,
    #061f33 0%,
    var(--gp-blue-dark) 28%,
    var(--gp-blue) 58%,
    var(--gp-accent) 100%
  );
  color: #fff;
}

.gp-about-principles__intro {
  margin: 0 auto clamp(2rem, 4vw, 2.75rem);
  max-width: 52rem;
  text-align: center;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
}

.gp-about-principles__intro em {
  font-style: italic;
  color: #fff;
  font-weight: 600;
}

ol.gp-about-principles__list {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-inline-start: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 2.25rem);
}

ol.gp-about-principles__list > li {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-type: none;
}

@media (min-width: 640px) {
  ol.gp-about-principles__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  ol.gp-about-principles__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
  }
}

.gp-about-principles__num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.92);
}

.gp-about-principles__list p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.9);
}

/* Services — detalhe do programa + navegação “voltar” */
.gp-event-detail-head .gp-event-detail__back,
.gp-service-detail-head .gp-detail-back {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
}

.gp-event-detail-head .gp-event-detail__back a,
.gp-service-detail-head .gp-detail-back a {
  color: var(--gp-accent);
  font-weight: 600;
  text-decoration: none;
}

.gp-event-detail-head .gp-event-detail__back a:hover,
.gp-service-detail-head .gp-detail-back a:hover {
  text-decoration: underline;
}

.gp-service-detail__excerpt {
  margin: 0.5rem 0 0;
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--gp-muted);
  max-width: 62ch;
}

.gp-service-detail-banner {
  padding-top: 0;
  padding-bottom: 0;
}

.gp-service-detail-banner__img {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

.gp-post-detail-banner__img {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.gp-service-detail__body {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
}

.gp-service-detail__footer-nav {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gp-border);
  font-size: 0.95rem;
}

.gp-link-back {
  font-weight: 600;
  color: var(--gp-blue) !important;
  text-decoration: none;
}

.gp-link-back:hover {
  text-decoration: underline;
  color: var(--gp-blue-dark) !important;
}

.gp-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.gp-team-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.gp-team-placeholder {
  width: 200px;
  height: 200px;
  background: #dde8f2;
  border-radius: 8px;
}

.gp-team-card .role {
  color: var(--gp-muted);
  font-weight: 600;
  margin-top: 0.15rem;
  font-size: 0.92rem;
}

.gp-team-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.1rem;
}

.gp-case-row { padding: 1.5rem 0; border-bottom: 1px solid var(--gp-border); }

.gp-case-row__cta {
  margin: 0.85rem 0 0;
}

.gp-news-row {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gp-border);
}

.gp-form label { display: block; font-weight: 600; margin-top: 0.75rem; }
.gp-form input, .gp-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--gp-border);
  border-radius: 6px;
  font: inherit;
}

.gp-form--contact .gp-form-field:first-of-type label { margin-top: 0; }

.gp-form-row--2 {
  display: grid;
  gap: 1rem 1.35rem;
}

@media (min-width: 640px) {
  .gp-form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.gp-form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  margin-top: 0;
  color: var(--gp-blue-dark);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

.gp-form--contact .gp-form-field {
  margin-top: 1.25rem;
}

.gp-form--contact .gp-form-row--2 .gp-form-field {
  margin-top: 0;
}

.gp-form--contact .gp-form-row--2 + .gp-form-field {
  margin-top: 1.25rem;
}

.gp-form-field input,
.gp-form-field textarea {
  padding: 0.72rem 1rem;
  border-radius: 8px;
  border: 1px solid #c5d0dc;
  background: #fafbfc;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  min-height: 2.75rem;
  font-size: 1rem;
}

.gp-form-field textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.55;
}

.gp-form-field input:focus,
.gp-form-field textarea:focus {
  outline: none;
  border-color: var(--gp-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 95, 158, 0.18);
}

.gp-form-field input::placeholder,
.gp-form-field textarea::placeholder {
  color: #7a8794;
  opacity: 1;
}

.gp-req { color: #c45c2d; font-weight: 700; }

.gp-optional {
  font-weight: 500;
  color: var(--gp-muted);
  font-size: 0.82em;
  text-transform: none;
  letter-spacing: 0;
}

.gp-btn--send {
  min-width: 12.5rem;
  padding: 0.78rem 1.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.gp-alert {
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin: 1.25rem 0 0;
  font-size: 0.97rem;
  line-height: 1.5;
  max-width: 48rem;
}

.gp-alert--success {
  background: #e8f4ec;
  border: 1px solid #8fc7a8;
  color: #0a4d2b;
}

.gp-alert--error {
  background: #fcefef;
  border: 1px solid #e07a7a;
  color: #7a1515;
}

/* Contact page */
.gp-contact-page__shell {
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.gp-contact-page .gp-page-head h1 {
  margin-bottom: 0.65rem;
}

.gp-contact-hero {
  max-width: 42rem;
  margin-bottom: 0.25rem;
}

.gp-contact-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gp-blue);
}

.gp-contact-hero__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gp-muted);
}

/* Informações à esquerda, formulário à direita (desktop/tablet) */
.gp-contact-layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  grid-template-columns: 1fr;
  grid-template-areas:
    "aside"
    "form";
  align-items: start;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

@media (min-width: 768px) {
  .gp-contact-layout {
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    grid-template-areas: "aside form";
    gap: 2rem 2.5rem;
  }
}

@media (min-width: 1100px) {
  .gp-contact-layout {
    gap: 2.5rem 3rem;
  }
}

.gp-contact-aside {
  grid-area: aside;
  position: relative;
  background: linear-gradient(180deg, #fafcfe 0%, #f3f7fb 48%, #f7fafc 100%);
  border: 1px solid rgba(213, 222, 232, 0.85);
  border-radius: 4px;
  padding: clamp(1.5rem, 3.5vw, 1.9rem) clamp(1.35rem, 3vw, 1.65rem);
  box-shadow: 0 12px 40px rgba(13, 40, 71, 0.055);
}

/* Faixa superior institucional — substitui o clichê da “barra lateral azul” */
.gp-contact-aside::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, var(--gp-blue-dark) 0%, var(--gp-blue) 42%, var(--gp-gold) 100%);
  opacity: 0.92;
}

.gp-contact-aside__heading {
  margin: 0.15rem 0 0.5rem;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--gp-blue-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.gp-contact-aside__intro {
  margin: 0 0 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(13, 40, 71, 0.08);
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--gp-muted);
}

.gp-contact-aside__items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gp-contact-aside__item {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0.65rem 0.85rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(213, 222, 232, 0.65);
}

.gp-contact-aside__item:first-of-type {
  padding-top: 0;
}

.gp-contact-aside__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gp-contact-aside__icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: auto;
  margin-top: 0.2rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: none;
  color: var(--gp-blue-dark);
  opacity: 0.88;
}

.gp-contact-aside__icon svg {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
}

.gp-contact-aside__body {
  min-width: 0;
}

.gp-contact-aside__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gp-blue-dark);
  margin-bottom: 0.2rem;
}

.gp-contact-aside__value {
  font-size: 0.96rem;
  color: var(--gp-text);
  line-height: 1.5;
  word-break: break-word;
}

.gp-contact-aside__address-text {
  font-size: 0.92rem;
  color: var(--gp-text);
  line-height: 1.55;
}

a.gp-contact-aside__value {
  color: var(--gp-blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(26, 95, 158, 0.35);
  text-underline-offset: 0.12em;
}

a.gp-contact-aside__value:hover {
  color: var(--gp-blue-dark);
  text-decoration-color: var(--gp-blue-dark);
}

.gp-contact-form-panel {
  grid-area: form;
  background: #fff;
  border: 1px solid var(--gp-border);
  border-radius: 10px;
  box-shadow: 0 6px 32px rgba(13, 40, 71, 0.07);
  padding: 0;
  overflow: hidden;
}

.gp-contact-form-panel__head {
  padding: clamp(1.35rem, 3vw, 1.65rem) clamp(1.35rem, 3vw, 1.85rem);
  border-bottom: 1px solid var(--gp-border);
  background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%);
}

.gp-contact-form-panel__title {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--gp-blue-dark);
}

.gp-contact-form-panel__sub {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--gp-muted);
}

.gp-form--contact {
  padding: clamp(1.35rem, 3vw, 1.75rem) clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 3vw, 1.65rem);
}

.gp-form-panel__footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid #e4eaf1;
}

.gp-form-panel__submit .gp-btn--send {
  width: 100%;
}

@media (min-width: 720px) {
  .gp-form-panel__footer {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
  }

  .gp-form-panel__submit {
    margin-left: auto;
  }

  .gp-form-panel__submit .gp-btn--send {
    width: auto;
  }
}

.gp-form-panel__captcha .cf-turnstile {
  display: inline-block;
}

.gp-map { margin-top: 2rem; }
.gp-contact-map { margin-top: 2.5rem; }
.gp-map iframe { width: 100%; min-height: 280px; border: 0; border-radius: 8px; }

.gp-success { color: #0a6; font-weight: 600; }
.gp-error { color: #b00020; }

.muted { color: var(--gp-muted); }
.small { font-size: 0.9rem; }

.gp-footer {
  position: relative;
  background: #0a1620;
  color: #c8d8e6;
  padding: 0 0 2rem;
  margin-top: 0;
  overflow: hidden;
}

.gp-footer__accent {
  height: 3px;
  background: linear-gradient(90deg, var(--gp-blue) 0%, var(--gp-accent) 100%);
}

.gp-footer a { color: #b8d4ea; }
.gp-footer a:hover { color: #fff; }

.gp-footer__heading {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.gp-footer__gold {
  color: #b8d4ea !important;
}
.gp-footer__gold:hover {
  color: #fff !important;
}

.gp-footer-grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 2.75rem 0 2rem;
}

.gp-footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gp-footer-nav li { margin-bottom: 0.45rem; }

.gp-footer-nav a {
  text-decoration: none;
  color: #dfeaf3 !important;
  font-size: 0.95rem;
}
.gp-footer-nav a:hover { color: #fff !important; }

.gp-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.gp-footer-contact li { margin-bottom: 0.35rem; }

.gp-footer__legal {
  margin: 0;
  line-height: 1.55;
}

.gp-footer__legal-links {
  margin-top: 0.75rem;
}

.gp-footer__social .gp-social__link {
  color: #dfeaf3 !important;
}
.gp-footer__social .gp-social__link--placeholder {
  opacity: 0.55;
}

.gp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0 0;
  text-align: center;
}

.gp-back-top {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 4px;
  background: rgba(13, 40, 71, 0.92);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.gp-back-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.gp-back-top:hover {
  background: var(--gp-blue);
}

/* Give to Peace — grelha 4×2 */
.gp-give-section {
  background: var(--gp-white);
}

.gp-give-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .gp-give-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gp-give-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #fff !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.gp-give-card:hover {
  transform: scale(1.02);
  z-index: 1;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.gp-give-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.gp-give-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 32, 0.35) 0%, rgba(10, 22, 32, 0.75) 100%);
  pointer-events: none;
}

.gp-give-card__title {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0.85rem 1.75rem;
  text-align: center;
  font-weight: 800;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.gp-give-card__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--gp-give-accent, var(--gp-orange));
  z-index: 2;
}

/* Newsletter — uma faixa: fundo suave + cartão centrado */
.gp-newsletter-section {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(2.75rem, 7vw, 4.25rem) 0;
  background: linear-gradient(180deg, #eef3f9 0%, var(--gp-bg) 55%, var(--gp-bg) 100%);
  border-top: 1px solid var(--gp-border);
  scroll-margin-top: 6.5rem;
  outline: none;
}

.gp-newsletter-section__inner {
  max-width: min(520px, 100%);
  margin-inline: auto;
}

.gp-newsletter-card {
  margin: 0;
  background: #fff;
  padding: clamp(1.85rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(13, 40, 71, 0.08), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  border: 1px solid rgba(213, 222, 232, 0.9);
  text-align: center;
}

.gp-newsletter-card h2 {
  margin: 0 0 0.75rem;
  color: var(--gp-blue-dark);
  font-size: clamp(1.32rem, 2.8vw, 1.58rem);
  font-weight: 800;
  line-height: 1.2;
}

.gp-newsletter-card__sub {
  color: #5a6b7a;
  font-size: 1.01rem;
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

.gp-newsletter-card__sub p {
  margin: 0;
}

.gp-newsletter-card__alert {
  text-align: left;
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.gp-newsletter-form {
  margin: 0 0 0.9rem;
  text-align: left;
}

.gp-newsletter-form__input {
  width: 100%;
  display: block;
  box-sizing: border-box;
  margin: 0 0 1rem;
  padding: 0.65rem 0.95rem;
  font: inherit;
  font-size: 1rem;
  border: 1px solid var(--gp-border);
  border-radius: 8px;
  background: #fff;
  color: var(--gp-text);
}
.gp-newsletter-form__input::placeholder {
  color: #8a9aa8;
}
.gp-newsletter-form__input:focus {
  outline: none;
  border-color: #5a87b0;
}

.gp-newsletter-form__captcha {
  margin: 0 0 1rem;
  display: flex;
  justify-content: center;
}

.gp-newsletter-form .gp-newsletter-card__btn {
  text-align: center;
}

.gp-newsletter-card__btn {
  margin: 0 0 0.9rem;
}

.gp-newsletter-card__subscribe {
  display: inline-block;
  padding: 0.65rem 2rem;
  border-radius: 8px;
  background: var(--gp-blue-dark);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 14px rgba(13, 40, 71, 0.2);
}

.gp-newsletter-card__subscribe:hover {
  background: var(--gp-blue);
  color: #fff !important;
}

.gp-newsletter-card__email {
  margin: 0;
  font-size: 0.92rem;
}

.gp-newsletter-card__email a {
  color: var(--gp-blue) !important;
  text-decoration: none;
  font-weight: 600;
}

.gp-newsletter-card__email a:hover {
  text-decoration: underline;
}

/* Hero com imagem (estilo GPF: secção full + overlay) */
.gp-hero--photo {
  position: relative;
  min-height: min(70vh, 560px);
  display: flex;
  align-items: center;
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: var(--gp-blue);
  background-image: var(--gp-hero-bg);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow-x: clip;
}

.gp-hero__overlay {
  position: absolute;
  inset: 0;
  /* Contraste forte sobre fotos de oceano (águas claras) */
  background: linear-gradient(105deg, rgba(6, 28, 48, 0.88) 0%, rgba(15, 74, 122, 0.62) 48%, rgba(26, 95, 158, 0.42) 100%);
  pointer-events: none;
}

.gp-hero__inner {
  position: relative;
  z-index: 1;
}

/* Evita que o conteúdo do flex “estoure” a largura da viewport */
.gp-hero--photo .gp-hero__inner {
  min-width: 0;
  width: 100%;
  max-width: min(1140px, calc(100% - 2rem));
  box-sizing: border-box;
}

/* Largura do título medida em .gp-hero__title-measure; body sincronizado em app.js */
.gp-hero--photo .gp-hero__copy {
  max-width: 100%;
}

.gp-hero--photo .gp-hero__title-measure {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}

.gp-hero--photo .gp-hero__title-measure h1 {
  width: max-content;
  max-width: 100%;
  text-align: start;
  margin: 0 0 1rem;
  overflow-wrap: break-word;
}

.gp-hero--photo .gp-hero__copy-body {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}

.gp-hero--photo .gp-hero__copy .gp-lead {
  margin: 0;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
  font-size: 1.1rem;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.gp-hero--photo .gp-hero__copy .gp-hero__actions {
  margin-block: 1.5rem 0;
  margin-inline: 0;
}

/* Missão: texto + imagem */
.gp-mission-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .gp-mission-grid {
    grid-template-columns: 1fr minmax(280px, 42%);
  }
}

.gp-mission-photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 74, 122, 0.15);
}

.gp-mission-photo img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Spotlight / cartões com thumb */
.gp-card--media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gp-card__thumb {
  aspect-ratio: 16 / 9;
  background: #dde8f2;
  overflow: hidden;
}

.gp-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gp-card__body {
  padding: 1.25rem 1.35rem 1.35rem;
}

/* Eventos em lista: data | imagem | detalhes */
.gp-events--list .gp-event.gp-event--media {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .gp-events--list .gp-event.gp-event--media {
    grid-template-columns: 6rem minmax(280px, 46vw) minmax(0, 1fr);
    align-items: start;
    gap: 1.35rem clamp(1.35rem, 3.5vw, 2.75rem);
  }
}

@media (min-width: 900px) {
  .gp-events--list .gp-event.gp-event--media {
    grid-template-columns: 6.25rem minmax(320px, min(460px, 40vw)) minmax(0, 1fr);
    gap: 1.5rem clamp(1.75rem, 4vw, 3rem);
    padding: 2.5rem 0;
  }
}

.gp-event__thumb {
  border-radius: 14px;
  overflow: hidden;
  background: #e8eef5;
  box-shadow: 0 6px 24px rgba(13, 40, 71, 0.1);
}

.gp-event__thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  min-height: 188px;
}

@media (min-width: 900px) {
  .gp-event__thumb img {
    min-height: 248px;
  }
}

.gp-event__body {
  min-width: 0;
}

/* Notícias na home */
.gp-news-card--media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gp-news-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: #dde8f2;
  overflow: hidden;
}

.gp-news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gp-news-card--media:hover .gp-news-card__thumb img {
  transform: scale(1.03);
}

.gp-news-card__body {
  padding: 1.1rem 1.25rem 1.35rem;
}

/* Lista /insights: imagem + texto */
.gp-news-row--media {
  display: grid;
  gap: 1.15rem;
  align-items: stretch;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--gp-border);
}

.gp-news-row__thumb {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #e8eef5;
  aspect-ratio: 16 / 10;
  align-self: start;
  box-shadow: 0 4px 16px rgba(13, 40, 71, 0.08);
  text-decoration: none;
}

.gp-news-row__thumb:focus-visible {
  outline: 2px solid var(--gp-blue);
  outline-offset: 2px;
}

.gp-news-row__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  min-height: 160px;
}

@media (min-width: 640px) {
  .gp-news-row--media {
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    gap: 1.5rem 1.75rem;
  }

  .gp-news-row__thumb img {
    min-height: 0;
  }
}

.gp-news-row__body h2 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.35rem;
}

.gp-news-row__body > time,
.gp-news-row__kicker {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gp-muted);
  margin: 0 0 0.2rem;
  letter-spacing: 0.02em;
}

.gp-news-row__kicker {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.gp-news-row__body > p {
  margin: 0 0 0.35rem;
  color: var(--gp-text);
  line-height: 1.58;
}

.gp-news-row__body > p:last-child {
  margin-bottom: 0;
}

.gp-news-row__cta {
  margin: 0.9rem 0 0;
}

.gp-news-row__cta .gp-btn {
  margin: 0;
}

/* Doação com imagem */
.gp-donate-card--media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gp-donate-card__thumb {
  aspect-ratio: 16 / 7;
  background: #dde8f2;
  overflow: hidden;
}

.gp-donate-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gp-donate-card__body {
  padding: 1.25rem 1.35rem 1.35rem;
}

/* Equipa: foto */
.gp-team-photo {
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
