/* ============================================
   ONSEAdapta — Editorial components
   Ported from prototipo. Earth + Forest DNA.
   ============================================ */

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.5rem 0;
  background: rgba(245, 237, 224, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 74, 43, 0.08);
  transition: all 0.3s var(--ease-out);
}

.site-header.is-scrolled {
  padding: 0.25rem 0;
  background: rgba(245, 237, 224, 0.95);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--carvao);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--verde-floresta);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1.5px solid var(--creme);
  border-radius: 50%;
}

.brand-mark::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 1.5px;
  background: var(--creme);
  transform: rotate(-45deg);
}

/* Real logo image (horizontal, used in header/footer) */
.brand-logo-img {
  height: 68px;
  width: auto;
  display: block;
  flex-shrink: 0;
  background: transparent;
  transition: height 0.3s var(--ease-out);
}

.site-header.is-scrolled .brand-logo-img { height: 52px; }

.brand--footer .brand-logo-img {
  background: var(--branco-gelo);
  padding: 6px 10px;
  border-radius: 2px;
  height: 52px;
  transition: none;
}

.brand-text {
  display: none;
}

.brand--with-text .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--carvao);
}

.brand-text span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracota);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--carvao);
  position: relative;
  transition: color 0.25s;
  font-family: var(--font-body);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--terracota);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--terracota);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.65rem 1.4rem;
  background: var(--terracota);
  color: var(--creme) !important;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.25s, transform 0.25s;
}

.nav-cta:hover {
  background: var(--terracota-escuro);
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1.5px;
  background: var(--carvao);
  transition: all 0.3s;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 24px; }

.nav-toggle.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

.lang-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(45, 74, 43, 0.22);
  color: var(--marrom);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.25s;
}

.lang-btn:hover {
  border-color: var(--terracota);
  color: var(--carvao);
  transform: translateY(-1px);
}

.lang-btn.is-active {
  background: var(--verde-floresta);
  border-color: var(--verde-floresta);
  color: var(--creme);
  box-shadow: 0 10px 24px rgba(45, 74, 43, 0.22);
}

.lang-btn .lang-flag {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
}

.lang-btn .lang-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  body.nav-open {
    overflow: hidden;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--creme);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 900;
    overflow-y: auto;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 11vw, 4rem);
    line-height: 1.05;
    text-align: center;
  }

  .nav-links .lang-switcher {
    margin: 1rem 0 0;
  }

  .site-header,
  .nav {
    z-index: 1000;
  }
}

/* ============================================
   Hero — Image-led editorial
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
  background: var(--verde-floresta);
  color: var(--creme);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  animation: kenBurns 30s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(26, 22, 18, 0.7) 0%,
    rgba(26, 22, 18, 0.45) 40%,
    rgba(26, 22, 18, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ambar);
}

.hero-meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracota);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero h1 {
  color: var(--creme);
  font-weight: 400;
  margin-bottom: 2rem;
  max-width: 18ch;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  line-height: 1;
}

.hero h1 .line { display: block; }

.hero h1 .accent {
  font-style: italic;
  color: var(--ambar);
  font-weight: 300;
}

.hero h1 .underline {
  position: relative;
  display: inline-block;
}

.hero h1 .underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.08em;
  background: var(--terracota);
  border-radius: 1px;
}

.hero-sub {
  max-width: 580px;
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(245, 237, 224, 0.85);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 237, 224, 0.6);
  z-index: 2;
}

.scroll-indicator .mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(245, 237, 224, 0.6);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 6px;
  background: var(--creme);
  border-radius: 1px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ============================================
   Buttons (editorial)
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--terracota);
  color: var(--creme);
}

.btn-primary:hover {
  background: var(--terracota-escuro);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(194, 94, 58, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--creme);
  border-color: rgba(245, 237, 224, 0.4);
}

.btn-ghost:hover {
  border-color: var(--creme);
  background: rgba(245, 237, 224, 0.08);
}

.btn-dark {
  background: var(--verde-floresta);
  color: var(--creme);
}

.btn-dark:hover {
  background: var(--verde-musgo);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--carvao);
  border-color: var(--carvao);
}

.btn-outline:hover {
  background: var(--carvao);
  color: var(--creme);
}

.btn .arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================
   Stats Marquee
   ============================================ */
.stats-marquee {
  background: var(--verde-floresta);
  color: var(--creme);
  padding: 1.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(245, 237, 224, 0.08);
  border-bottom: 1px solid rgba(245, 237, 224, 0.08);
}

.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 60s linear infinite;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  flex-shrink: 0;
}

.marquee-item .num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--ambar);
  letter-spacing: -0.02em;
}

.marquee-item .lbl {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(245, 237, 224, 0.7);
}

.marquee-sep {
  color: var(--terracota);
  font-size: 1.5rem;
  align-self: center;
  opacity: 0.6;
}

/* ============================================
   Manifesto
   ============================================ */
.manifesto {
  padding: var(--space-2xl) 0;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-lg);
  align-items: start;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--carvao);
  font-style: italic;
  position: sticky;
  top: 8rem;
}

.manifesto-quote::before {
  content: '"';
  font-size: 6rem;
  line-height: 0.5;
  color: var(--terracota);
  display: block;
  margin-bottom: 1rem;
}

.manifesto-quote em { color: var(--terracota); }

.manifesto-body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: var(--marrom);
}

.manifesto-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.5rem;
  float: left;
  line-height: 0.9;
  margin: 0.1rem 0.75rem 0 0;
  color: var(--terracota);
  font-weight: 500;
}

.manifesto-meta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(45, 74, 43, 0.15);
}

.manifesto-meta div {
  display: flex;
  flex-direction: column;
}

.manifesto-meta strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--verde-floresta);
  line-height: 1;
}

.manifesto-meta span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--marrom);
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; gap: 3rem; }
  .manifesto-quote { position: static; }
}

/* ============================================
   Section Head (label + h2 + paragraph)
   Layout: label is full-width on top row,
   h2 (left) and p (right) align on second row.
   ============================================ */
.section-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto 1fr;
  column-gap: var(--space-xl);
  row-gap: var(--space-md);
  margin-bottom: var(--space-lg);
  align-items: start;
}

/* Make the left wrapper "transparent" to the grid,
   so its children (.label + h2) become direct grid items.
   This lets the label span full width on row 1,
   and h2 sit on row 2 left, aligned with p on row 2 right. */
.section-head > div:first-child {
  display: contents;
}

.section-head > .label,
.section-head > div:first-child > .label {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-bottom: 0;
}

.section-head > div:first-child > h2,
.section-head > div:last-child > h2 {
  grid-column: 1;
  grid-row: 2;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.05;
  max-width: 22ch;
  margin: 0;
}

.section-head > div:last-child > p,
.section-head > p:last-child {
  grid-column: 2;
  grid-row: 2;
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 56ch;
  color: var(--marrom);
  margin: 0;
}

/* Disclaimer caption (italic, small, terracotta) — second p inside the right cell */
.section-head > div:last-child > p + p {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--terracota);
  letter-spacing: 0.005em;
}

/* Prevent em-dashes from dangling at the start of a line.
   The HTML uses &nbsp;— patterns; this rule is a safety net
   so any future plain " — " still doesn't wrap awkwardly. */
.section-head p {
  hyphens: auto;
  -webkit-hyphens: auto;
}

@media (max-width: 900px) {
  .section-head {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 1.25rem;
  }
  .section-head > .label,
  .section-head > div:first-child > h2,
  .section-head > div:last-child > h2,
  .section-head > div:last-child > p,
  .section-head > p:last-child {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
  }

  .section-head > div:first-child > h2,
  .section-head > div:last-child > h2 {
    font-size: clamp(2.35rem, 12vw, 3.1rem);
    line-height: 1.02;
  }

  .section-head > div:last-child > p,
  .section-head > p:last-child {
    font-size: 1.05rem;
    line-height: 1.65;
  }
}

/* ============================================
   Mission cards (Observar / Compreender / Adaptar)
   ============================================ */
.mission { padding: var(--space-xl) 0; }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mission-card {
  position: relative;
  background: var(--branco-gelo);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(45, 74, 43, 0.08);
  transition: all 0.5s var(--ease-out);
}

.mission-card:hover {
  transform: translateY(-6px);
  border-color: var(--terracota);
  box-shadow: 0 20px 40px -20px rgba(26, 22, 18, 0.2);
}

.mission-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--areia);
  position: relative;
}

.mission-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.mission-card:hover .mission-card-img img {
  transform: scale(1.06);
}

.mission-card-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--creme);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  z-index: 1;
}

.mission-card-body { padding: 2rem; }

.mission-card-body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.mission-card-body p {
  font-size: 0.95rem;
  line-height: 1.65;
}

.mission-card-body .label {
  margin-bottom: 1rem;
  display: block;
}

@media (max-width: 900px) {
  .mission-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Research cards (Linhas de pesquisa)
   ============================================ */
.research { padding: var(--space-xl) 0; }

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.research-card {
  position: relative;
  background: var(--verde-floresta);
  color: var(--creme);
  border-radius: 4px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  transition: transform 0.5s var(--ease-out);
  cursor: pointer;
}

.research-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(26, 22, 18, 0.88) 100%);
  z-index: 1;
}

.research-card-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.research-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
  opacity: 0.85;
}

.research-card:hover .research-card-img img {
  transform: scale(1.08);
}

.research-card:hover { transform: translateY(-4px); }

.research-card-body { position: relative; z-index: 2; }

.research-card-body .label {
  color: var(--ambar);
  margin-bottom: 0.75rem;
  display: block;
}

.research-card-body h3 {
  color: var(--creme);
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.research-card-body p {
  color: rgba(245, 237, 224, 0.85);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.research-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ambar);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}

.research-card-link .arrow { transition: transform 0.3s var(--ease-out); }
.research-card:hover .research-card-link .arrow { transform: translateX(6px); }

@media (max-width: 900px) {
  .research-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Impact — Full bleed
   ============================================ */
.impact {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--carvao);
  color: var(--creme);
  padding: var(--space-2xl) 0;
}

.impact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.impact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.impact-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 22, 18, 0.85) 0%, rgba(26, 22, 18, 0.4) 100%);
}

.impact-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.impact h2 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  color: var(--creme);
  margin-bottom: 1.5rem;
}

.impact h2 em { color: var(--ambar); }

.impact-text p {
  font-size: 1.125rem;
  color: rgba(245, 237, 224, 0.85);
  margin-bottom: 2rem;
}

.impact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 2rem;
}

.impact-stat .num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--ambar);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.impact-stat .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(245, 237, 224, 0.7);
}

@media (max-width: 900px) {
  .impact-content { grid-template-columns: 1fr; }
}

/* ============================================
   Publications
   ============================================ */
.publications { padding: var(--space-xl) 0; }

.pub-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(45, 74, 43, 0.15);
}

.pub-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(45, 74, 43, 0.15);
  align-items: center;
  transition: background 0.3s;
  cursor: pointer;
}

.pub-item:hover {
  background: rgba(45, 74, 43, 0.03);
  padding-left: 1rem;
  padding-right: 1rem;
}

.pub-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--terracota);
  letter-spacing: 0.1em;
}

.pub-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pub-content h4 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--carvao);
  line-height: 1.35;
}

.pub-content .meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--marrom);
  flex-wrap: wrap;
}

.pub-content .meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pub-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--verde-floresta);
  display: grid;
  place-items: center;
  transition: all 0.3s;
  color: var(--verde-floresta);
  flex-shrink: 0;
}

.pub-item:hover .pub-link {
  background: var(--verde-floresta);
  color: var(--creme);
  transform: rotate(-45deg);
}

@media (max-width: 700px) {
  .pub-item { grid-template-columns: auto 1fr; gap: 1rem; }
  .pub-link { grid-column: 1 / -1; justify-self: end; }
}

/* ============================================
   Partners Marquee
   ============================================ */
.partners {
  padding: var(--space-lg) 0;
  background: var(--areia);
}

.partners-head {
  text-align: center;
  margin-bottom: 2rem;
}

.partners-marquee {
  overflow: hidden;
  position: relative;
}

.partners-marquee::before,
.partners-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.partners-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--areia), transparent);
}

.partners-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--areia), transparent);
}

.partners-track {
  display: flex;
  gap: 4rem;
  animation: marquee 50s linear infinite;
  align-items: center;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 0.5rem 1.5rem;
  height: 56px;
}

.partner-card img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(0.4) opacity(0.7);
  transition: filter 0.3s;
}

.partner-card:hover img {
  filter: grayscale(0) opacity(1);
}

.partner-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--verde-floresta);
  opacity: 0.65;
  white-space: nowrap;
  transition: opacity 0.3s;
  letter-spacing: -0.01em;
}

.partner-name:hover { opacity: 1; }

/* ============================================
   CTA Final
   ============================================ */
.cta-final {
  padding: var(--space-2xl) 0;
  background: var(--terracota);
  color: var(--creme);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(212, 161, 87, 0.25), transparent 50%);
}

.cta-final h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--creme);
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-final h2 em { color: var(--ambar); }

.cta-final p {
  font-size: 1.25rem;
  color: rgba(245, 237, 224, 0.9);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.cta-final .btn { position: relative; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--carvao);
  color: var(--creme);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .brand-text strong { color: var(--creme); }
.footer-brand p {
  color: rgba(245, 237, 224, 0.6);
  font-size: 0.95rem;
  margin-top: 1.5rem;
  max-width: 360px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ambar);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col li {
  font-size: 0.95rem;
  color: rgba(245, 237, 224, 0.75);
  line-height: 1.4;
}

.footer-col a {
  color: rgba(245, 237, 224, 0.75);
  font-size: 0.95rem;
  transition: color 0.25s;
}

.footer-col a:hover { color: var(--creme); }

.footer-bottom {
  border-top: 1px solid rgba(245, 237, 224, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(245, 237, 224, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom .links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom .links a {
  color: rgba(245, 237, 224, 0.6);
  transition: color 0.25s;
}

.footer-bottom .links a:hover { color: var(--creme); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Page Hero (sub-pages)
   ============================================ */
.page-hero {
  padding: 9rem 0 4rem;
  background: var(--verde-floresta);
  color: var(--creme);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-with-bg .page-hero-bg img {
  object-position: right 50%;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 22, 18, 0.6) 0%, rgba(26, 22, 18, 0.3) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.page-hero .label,
.page-hero .eyebrow {
  color: var(--ambar);
  margin-bottom: 1.5rem;
  display: block;
}

.page-hero h1 {
  color: var(--creme);
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 500;
  max-width: 22ch;
}

.page-hero h1 em { color: var(--ambar); font-weight: 300; }

/* Sub-page hero with a background image — same as .page-hero + image overlay */
.page-hero-with-bg {
  background: var(--verde-floresta-deep);
}

.page-hero-with-bg .page-hero-bg {
  opacity: 0.55;
}

.page-hero-with-bg .page-hero-bg::after {
  background: linear-gradient(135deg, rgba(58, 32, 18, 0.62) 0%, rgba(120, 60, 28, 0.42) 100%);
}

.page-hero-with-bg .page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(45, 24, 12, 0.78) 0%, rgba(45, 24, 12, 0.18) 55%, rgba(45, 24, 12, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.page-hero-with-bg .container {
  position: relative;
  z-index: 2;
}

.page-hero .lead,
.page-hero .hero-sub {
  color: rgba(245, 237, 224, 0.85);
  max-width: 700px;
  font-size: 1.125rem;
  line-height: 1.55;
}

.page-breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(245, 237, 224, 0.5);
  margin-bottom: 2rem;
}

.page-breadcrumb a:hover { color: var(--creme); }
.page-breadcrumb .sep { opacity: 0.5; }
.page-breadcrumb .current { color: var(--ambar); }

/* ============================================
   Content sections (sobre, objetivos, metas)
   ============================================ */
.content-section { padding: var(--space-xl) 0; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
}

@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.content-aside {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.content-aside .label {
  margin-bottom: 1rem;
  display: block;
}

.content-aside h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.content-aside p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--marrom);
}

@media (max-width: 900px) {
  .content-aside { position: static; }
}

.content-body h2 {
  margin: 3rem 0 1.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.content-body h2:first-child { margin-top: 0; }

.content-body h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.5rem;
}

.content-body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  color: var(--marrom);
}

.content-body ul, .content-body ol {
  margin: 0 0 1.5rem 1.5rem;
}

.content-body li {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
  color: var(--marrom);
}

.content-body blockquote {
  border-left: 3px solid var(--terracota);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--carvao);
  line-height: 1.4;
}

.content-body img {
  width: 100%;
  border-radius: 4px;
  margin: 2rem 0;
}

/* ============================================
   Objective Cards
   ============================================ */
.obj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.obj-card {
  padding: 2.5rem;
  background: var(--branco-gelo);
  border-radius: 4px;
  border: 1px solid rgba(45, 74, 43, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.obj-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--terracota);
  transition: height 0.5s var(--ease-out);
}

.obj-card:hover {
  border-color: var(--terracota);
  transform: translateY(-4px);
}

.obj-card:hover::before { height: 100%; }

.obj-card .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--terracota);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 1rem;
}

.obj-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.obj-card p {
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 700px) {
  .obj-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Goals Timeline
   ============================================ */
.goals-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}

.goal-period {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(45, 74, 43, 0.12);
  position: relative;
}

.goal-period:last-child { border-bottom: none; }

.goal-period-marker {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--terracota);
  position: sticky;
  top: 7rem;
  align-self: start;
}

.goal-period-marker span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--verde-musgo);
  margin-top: 0.5rem;
}

.goal-period-body h3 { font-size: 2rem; margin-bottom: 1rem; }

.goal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.goal-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1rem 1.25rem;
  background: var(--branco-gelo);
  border-radius: 4px;
  border-left: 3px solid var(--verde-salvia);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--carvao);
  transition: all 0.3s;
}

.goal-list li:hover {
  border-left-color: var(--terracota);
  background: rgba(194, 94, 58, 0.04);
}

.goal-list .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--verde-musgo);
  color: var(--creme);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.goal-list .kpi {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracota);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .goal-period { grid-template-columns: 1fr; gap: 1rem; }
  .goal-period-marker { position: static; }
  .goal-list li { grid-template-columns: auto 1fr; }
  .goal-list .kpi { grid-column: 1 / -1; margin-top: 0.5rem; }
}

/* ============================================
   Contact form
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-block h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracota);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.contact-block p, .contact-block a {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--carvao);
}

.contact-block a:hover { color: var(--terracota); }

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--marrom);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--branco-gelo);
  border: 1.5px solid rgba(45, 74, 43, 0.15);
  border-radius: 4px;
  color: var(--carvao);
  transition: border-color 0.25s, background 0.25s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--terracota);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-body);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   Scroll animations
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.fade-up[data-delay="1"] { transition-delay: 0.1s; }
.fade-up[data-delay="2"] { transition-delay: 0.2s; }
.fade-up[data-delay="3"] { transition-delay: 0.3s; }
.fade-up[data-delay="4"] { transition-delay: 0.4s; }

.fade-up-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-up-stagger.in-view > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.fade-up-stagger.in-view > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.fade-up-stagger.in-view > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.fade-up-stagger.in-view > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }

/* ============================================
   Responsive trimming
   ============================================ */
@media (max-width: 700px) {
  section { padding: 2rem 0; }
  .hero { padding: 7rem 0 3rem; }
  .cta-final { padding: 5rem 0; }
}

/* ============================================
   About page — coordination card (Suzana)
   Same size as the other researcher cards (240px square),
   with a warm terracotta+amber gradient ring + soft glow.
   ============================================ */
.about-team-lead {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.about-team-lead-media {
  width: 240px;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--terracota) 0%, var(--ambar) 100%);
  box-shadow:
    0 10px 30px -10px rgba(194, 94, 58, 0.45),
    0 0 0 1px rgba(194, 94, 58, 0.12);
  position: relative;
  transition: transform 0.3s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              box-shadow 0.3s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

.about-team-lead-media:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px -10px rgba(194, 94, 58, 0.55),
    0 0 0 1px rgba(194, 94, 58, 0.18);
}

.about-team-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  /* subtle inner highlight for dimension */
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.about-team-lead-copy { padding-top: 0.5rem; }
.about-team-lead-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0.5rem 0 0.75rem;
  color: var(--carvao);
}
.about-team-lead-copy p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--marrom);
  margin: 0;
  max-width: 56ch;
}

@media (max-width: 700px) {
  .about-team-lead {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
    text-align: center;
  }
  .about-team-lead-media { width: 200px; }
  .about-team-lead-copy { text-align: left; }
}
