/* CÍVIS — clean, classic, sophisticated
   White / light grey / dark grey footer / yellow accents only */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --bg-warm: #f3efe6;
  --ink: #1c1c1c;
  --muted: #666666;
  --line: #e6e6e2;
  --footer: #2b2b2b;
  --yellow: #f2b705;
  --yellow-dark: #d9a004;
  --white: #fff;
  --max: 1120px;
  --font-serif: "Source Serif 4", "Georgia", serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto; /* no smooth-scroll animation per brief */
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Language visibility */
.i18n-pt,
.i18n-en {
  display: none !important;
}

html[data-lang="pt"] .i18n-pt,
html[data-lang="en"] .i18n-en {
  display: inline !important;
}

html[data-lang="pt"] .i18n-pt.i18n-block,
html[data-lang="en"] .i18n-en.i18n-block,
html[data-lang="pt"] p.i18n-pt,
html[data-lang="en"] p.i18n-en,
html[data-lang="pt"] div.i18n-pt,
html[data-lang="en"] div.i18n-en,
html[data-lang="pt"] h1.i18n-pt,
html[data-lang="en"] h1.i18n-en,
html[data-lang="pt"] h2.i18n-pt,
html[data-lang="en"] h2.i18n-en,
html[data-lang="pt"] h3.i18n-pt,
html[data-lang="en"] h3.i18n-en,
html[data-lang="pt"] blockquote.i18n-pt,
html[data-lang="en"] blockquote.i18n-en,
html[data-lang="pt"] section.i18n-pt,
html[data-lang="en"] section.i18n-en {
  display: block !important;
}

html[data-lang="pt"] li.i18n-pt,
html[data-lang="en"] li.i18n-en {
  display: list-item !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--yellow);
  color: var(--ink);
}

.btn:hover {
  background: var(--yellow-dark);
}

.btn-ghost {
  background: #ececec;
  color: var(--ink);
}

.btn-ghost:hover {
  background: #e0e0e0;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.btn-text.accent {
  color: var(--yellow-dark);
}

.btn-text:hover {
  opacity: 0.75;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: none;
  height: var(--header-h);
}

.site-header .inner,
.site-header .header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  display: block;
  height: 42px;
  width: auto;
}

.logo .accent-i {
  position: relative;
  color: inherit;
}

.logo .accent-i::after {
  content: "";
  position: absolute;
  width: 0.28em;
  height: 0.28em;
  border-radius: 50%;
  background: var(--yellow);
  top: 0.12em;
  left: 50%;
  transform: translateX(-50%);
}

.brand img {
  height: 40px;
  width: auto;
}

.nav-desktop {
  display: none;
  gap: 1.75rem;
  list-style: none;
}

.nav-desktop a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--ink);
}

.nav-desktop a.active {
  box-shadow: inset 0 -2px 0 var(--yellow);
  padding-bottom: 2px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: flex;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang-switch button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 0.2rem;
}

.lang-switch button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 700;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  padding: 1.5rem;
  z-index: 99;
  list-style: none;
}

.nav-mobile.open {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.nav-mobile a {
  font-size: 1.15rem;
  font-weight: 500;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow-dark);
}

.text-link:hover {
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  padding: 0.5rem 1rem;
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* Logo image in header / footer */
.logo img {
  display: block;
  height: 42px;
  width: auto;
}

.site-footer .logo img,
.footer-brand img {
  height: 40px;
  filter: none;
  background: #fff;
  border-radius: 4px;
  padding: 0.2rem 0.45rem;
}

/* Hero — landscape photo drives banner height (full image, no crop) */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #1a1a1a;
}

.hero.hero-photo {
  width: 100%;
  /* ~70vh so Highlights peeks below on load */
  height: 70vh;
  max-height: 70vh;
  min-height: 320px;
  aspect-ratio: auto;
  background: #1a1a1a;
}

.hero-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  max-width: 46rem;
  padding: clamp(1.5rem, 4vh, 3rem) clamp(1.25rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.95rem;
  color: #fff;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.22) 42%,
    rgba(0, 0, 0, 0.05) 68%,
    transparent 85%
  );
}

.hero-overlay a {
  pointer-events: auto;
}

.hero-est {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.hero-overlay h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.35rem, 5.5vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}

.hero-overlay h1 .hero-line {
  display: block;
}

.hero-overlay h1 .dot {
  color: #fff !important;
}

.hero-kicker {
  color: #fff;
  max-width: 44ch;
  font-size: clamp(0.78rem, 1.25vw, 0.95rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.hero-rule {
  width: 52px;
  height: 3px;
  background: var(--yellow);
  border: none;
  margin: 0;
}

.btn-hero {
  width: fit-content;
  padding: 0.85rem 1.35rem;
  margin-top: 0.4rem;
  font-size: 0.98rem;
}

@media (max-width: 899px) {
  .hero.hero-photo {
    position: relative;
    min-height: 70vh;
    height: 70vh;
    max-height: 70vh;
  }
  .hero-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Use the baked mobile crop as-is */
    object-position: center center;
  }
  .hero-overlay {
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2.75rem 1.25rem 2rem;
    gap: 0.75rem;
    max-width: none;
    /* Stronger wash behind copy for readability */
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.4) 32%,
      rgba(0, 0, 0, 0.12) 58%,
      transparent 78%
    );
  }
  .hero-est {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    opacity: 0.95;
  }
  .hero-overlay h1 {
    font-size: clamp(1.7rem, 7vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
  }
  .hero-overlay h1 .hero-line {
    display: block;
  }
  .hero-kicker {
    font-size: 0.62rem;
    max-width: 28ch;
    letter-spacing: 0.08em;
    line-height: 1.55;
    font-weight: 600;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  }
  .hero-rule {
    width: 36px;
    height: 3px;
    margin: 0.1rem 0 0.15rem;
  }
  .btn-hero {
    padding: 0.7rem 1.05rem;
    font-size: 0.78rem;
    margin-top: 0.35rem;
    border-radius: 4px;
  }
}

.hero.hero-compact {
  min-height: min(48vh, 480px);
}

.hero-media {
  position: relative;
  min-height: 320px;
  background: #ddd center / cover no-repeat;
}

.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.scroll-hint svg {
  width: 18px;
  height: 18px;
}


/* Sections */
.section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
  background: var(--bg);
  scroll-margin-top: var(--header-h);
}

.section.soft,
.section-alt {
  background: var(--bg-soft);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.section-label-lg {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.section-label::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--yellow);
  margin-top: 0.55rem;
  margin-bottom: 1.15rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.section-head .section-title {
  grid-column: 2;
  text-align: center;
  margin: 0;
}

.section-head .section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--yellow);
  margin: 0.55rem auto 0;
}

.section-head .carousel-nav {
  grid-column: 3;
  justify-self: end;
}

.accent-line {
  width: 40px;
  height: 3px;
  background: var(--yellow);
  margin: 0.5rem auto 1.75rem;
  border: none;
}

.split {
  display: grid;
  gap: 2.75rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 0 3.5rem;
    align-items: start;
  }
}

.split > .col-highlights,
.split > .col-about {
  display: block;
  min-width: 0;
}

/* Highlights + About */
.video-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  margin-bottom: 1.15rem;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.play-btn svg {
  margin-left: 3px;
}

.highlight-meta h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}

.highlight-meta .place {
  color: var(--yellow-dark);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.highlight-meta > p:not(.place) {
  color: var(--muted);
  margin-bottom: 1.15rem;
}

.about-block p {
  color: var(--ink);
  margin-bottom: 1rem;
}

.about-block p:first-of-type {
  color: var(--ink);
}

.about-block .btn {
  margin-top: 0.5rem;
}

/* Achievements carousel */
.carousel-nav {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.carousel-nav button {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.carousel-nav button:hover {
  border-color: var(--ink);
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  transition: none;
}

.card {
  background: var(--white);
  border: none;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 22px rgba(28, 28, 28, 0.07);
}

@media (min-width: 700px) {
  .card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 980px) {
  .card {
    flex: 0 0 calc((100% - 3rem) / 3);
  }
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.card-body {
  padding: 1.35rem 1.4rem 1.55rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.45rem;
  background: var(--white);
}

.card-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--yellow-dark);
}

.card-body h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card-body p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.55;
  flex: 1 1 auto;
}

.card-body .text-link {
  margin-top: 0.85rem;
  align-self: flex-start;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #d0d0d0;
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.active {
  background: var(--yellow);
}

.see-all-wrap,
.see-all {
  text-align: center;
  margin-top: 1.15rem;
}

/* News grid — same card language as achievements, no carousel */
.news-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(28, 28, 28, 0.07);
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
  flex-shrink: 0;
}

.news-card .news-body {
  padding: 1.2rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.4rem;
  background: var(--white);
}

.news-card .date {
  font-size: 0.8rem;
  color: #888;
  font-weight: 500;
  margin: 0;
}

.news-card h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
  flex: 1 1 auto;
  color: var(--ink);
  font-weight: 700;
}

.news-card .text-link {
  margin-top: 0.85rem;
  align-self: flex-start;
}

#achievements.section,
#news.section,
.page-achievements {
  background: #f7f7f5;
}

#achievements.section {
  padding-bottom: 1.5rem;
}

#news.section {
  padding-top: 1.5rem;
}

.page-achievements .page-hero {
  background: #f7f7f5;
}

/* Achievements archive */
.archive-grid {
  display: grid;
  gap: 1.75rem;
  padding: 0.5rem 0 4.5rem;
  align-items: stretch;
}

@media (min-width: 700px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.archive-grid .card,
.impact-card {
  height: 100%;
  flex: none;
  width: 100%;
}

/* CTA band */
.cta-band {
  background: var(--bg-warm);
  padding: 2rem 0;
}

.cta-band .inner,
.cta-band .cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  text-align: center;
}

.cta-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.cta-band p {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  max-width: none;
  white-space: nowrap;
  text-align: left;
}

@media (max-width: 700px) {
  .cta-band p {
    white-space: normal;
    text-align: center;
  }
}

.cta-band.photo {
  position: relative;
  min-height: 280px;
  background: #333 center/cover no-repeat;
  color: var(--white);
  padding: 4rem 0;
}

.cta-band.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.cta-band.photo .inner {
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: flex-start;
  max-width: 40rem;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: #f0f0f0;
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
  .footer-grid.footer-grid-3 {
    grid-template-columns: 1.15fr 0.9fr 1.25fr;
  }
}

.contact-icons {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.contact-icons li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-icons svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--yellow-dark);
}

.contact-icons a {
  color: var(--ink);
}

.contact-icons a:hover {
  color: var(--yellow-dark);
}

.site-footer .contact-icons li {
  color: #bdbdbd;
  font-weight: 400;
  font-size: 0.92rem;
}

.site-footer .contact-icons svg {
  color: var(--yellow);
}

.site-footer .contact-icons a {
  color: #e8e8e8;
}

.site-footer .contact-icons a:hover {
  color: var(--yellow);
}

.site-footer .brand,
.site-footer .logo {
  color: var(--white);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.site-footer .tagline {
  color: #bdbdbd;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.social {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  align-items: center;
}

.social a {
  width: 40px;
  height: 40px;
  border: 1px solid #555;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
}

.social a:hover {
  border-color: var(--yellow);
  transform: translateY(-1px);
}

.social a svg {
  display: block;
}

.form-intro {
  color: #cfcfcf;
  font-size: 0.88rem;
  margin: -0.35rem 0 0.85rem;
  line-height: 1.4;
}

.card-media {
  display: block;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

.card-media:hover img {
  transform: scale(1.03);
}

.footer-col h4,
.footer-grid > div h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-col ul,
.footer-grid > div ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-col a,
.footer-col p,
.footer-grid > div a,
.footer-grid > div li {
  color: #bdbdbd;
  font-size: 0.92rem;
}

.footer-col a:hover,
.footer-grid > div a:hover {
  color: var(--yellow);
}

.footer-form {
  display: grid;
  gap: 0.5rem;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  border: 1px solid #4a4a4a;
  background: #333;
  color: #fff;
  padding: 0.65rem 0.75rem;
  border-radius: 4px;
}

.footer-form textarea {
  min-height: 72px;
  resize: vertical;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: #9a9a9a;
  font-size: 0.85rem;
}

/* Page interiors */
.page-hero {
  padding: 3rem 0 2rem;
  background: var(--bg-soft);
}

.page-hero-note {
  color: var(--muted);
  max-width: 42ch;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.page-hero-compact {
  padding-bottom: 1.25rem;
}

.news-page-grid {
  padding-top: 1.35rem;
  padding-bottom: 4rem;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--yellow);
  margin-top: 0.75rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.prose {
  max-width: 42rem;
  margin: 2.5rem auto;
  padding: 0 1.25rem 3rem;
}

.prose h2 {
  font-family: var(--font-serif);
  margin: 2rem 0 0.75rem;
}

.prose p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.prose ul {
  margin: 0.5rem 0 1rem 1.25rem;
  color: var(--muted);
}

/* News / article reading layout */
.article-feed {
  width: min(100% - 2.5rem, 44rem);
  margin: 2.75rem auto 4.5rem;
  display: grid;
  gap: 4.5rem;
}

.article-post {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.article-cover,
.article-figure {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #e8e8e4;
}

.article-date {
  margin: 1.15rem 0 0.4rem;
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.85rem;
}

.article-body {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.7;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-author {
  margin: 0.35rem 0 1.5rem;
  font-size: 0.9rem;
  color: #888;
}

.article-figure {
  margin-top: 0.25rem;
}

@media (min-width: 800px) {
  .article-feed {
    gap: 5.5rem;
  }
}

/* About page */
.about-banner {
  position: relative;
  padding: 0;
  margin: 0;
  max-width: none;
  width: 100%;
}

.about-banner.container {
  max-width: none;
  padding: 0;
}

.about-banner img {
  width: 100%;
  height: min(58vh, 520px);
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: #e8e8e4;
  display: block;
}

.about-banner-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
  color: #fff;
}

.about-banner-combined {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.back-link-below {
  display: inline-flex;
  margin-top: 2.5rem;
}

.about-intro {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.about-intro-inner {
  max-width: 46rem;
}

.about-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

.about-mission {
  margin: 0;
  max-width: 42rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.45;
  color: var(--ink);
  padding-left: 1.25rem;
  border-left: 3px solid var(--yellow);
}

.about-tiles {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .about-tiles {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.about-tile {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
}

.about-tile-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--yellow-dark);
}

.about-tile h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0;
}

.about-tile p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.55;
}

.about-values {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .about-values {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.about-value {
  padding: 0.25rem 0 0.5rem;
  border-top: 3px solid var(--yellow);
  padding-top: 1.15rem;
}

.about-value h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.55rem;
  line-height: 1.3;
}

.about-value p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Get involved form page */
.form-card {
  max-width: 34rem;
  margin: 2rem auto 4rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.form-card .field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-card label {
  font-size: 0.85rem;
  font-weight: 600;
}

.form-card .hint {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}

.form-card input,
.form-card textarea {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  padding: 1rem;
  background: #f3f8ef;
  border: 1px solid #cfe3bd;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.form-success.show {
  display: block;
}

/* Achievements archive */
.archive-grid {
  display: grid;
  gap: 1.75rem;
  padding: 0.5rem 0 4.5rem;
  align-items: stretch;
}

@media (min-width: 700px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.archive-grid .card,
.impact-card {
  height: 100%;
  flex: none;
  width: 100%;
}

/* Video: caption hidden on cover; shown only while playing */
.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.video-card video,
.highlight-video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #111;
}

.video-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.6rem;
  z-index: 2;
  padding: 0.85rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  pointer-events: none;
}

.video-caption[hidden] {
  display: none !important;
}

.video-card.is-playing .play-btn {
  display: none;
}

/* News listing banners — design shapes */
.news-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 150px;
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  overflow: hidden;
}

.news-banner::before,
.news-banner::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.news-banner span {
  position: relative;
  z-index: 1;
  max-width: 16ch;
}

html[data-lang="pt"] .news-banner > .i18n-pt,
html[data-lang="en"] .news-banner > .i18n-en {
  display: block !important;
}

.news-banner em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: #555;
}

.news-banner-mint {
  background: linear-gradient(145deg, #cfe8d4 0%, #e8f5eb 55%, #d4e8c8 100%);
}

.news-banner-mint::before {
  right: -18px;
  top: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #6f9b78;
  opacity: 0.55;
}

.news-banner-mint::after {
  right: 42px;
  bottom: 18px;
  width: 48px;
  height: 28px;
  border: 3px solid #1c1c1c;
  border-radius: 40% 60% 55% 45%;
  opacity: 0.75;
}

.news-banner-cream {
  background: linear-gradient(145deg, #f3ead8 0%, #faf6ee 60%, #ebe0cc 100%);
}

.news-banner-cream::before {
  right: -10px;
  top: 20%;
  width: 110px;
  height: 110px;
  border-radius: 42% 58% 50% 50%;
  background: #e2d2b4;
  opacity: 0.85;
}

.news-banner-sand {
  background: linear-gradient(145deg, #e2d0b8 0%, #f0e6d6 55%, #d8c4a8 100%);
}

.news-banner-sand::before {
  right: -24px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #8b6b4a;
  opacity: 0.45;
}

.news-banner-sand::after {
  right: 28px;
  top: 22px;
  width: 70px;
  height: 70px;
  border: 10px solid rgba(139, 107, 74, 0.35);
  border-radius: 50%;
}

.news-excerpt {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* Activity detail */
.activity-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin: 0.5rem 0 0.35rem;
}

.activity-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.activity-cover {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2rem;
  background: #e8e8e4;
}

.activity-body {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.activity-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  margin: 1rem 0 3rem;
}

@media (min-width: 800px) {
  .activity-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.activity-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: #e8e8e4;
  cursor: zoom-in;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.activity-gallery img:hover {
  transform: scale(1.015);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.activity-cover {
  cursor: zoom-in;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(12, 12, 12, 0.88);
  padding: 1.25rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: min(96vw, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-count {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

body.lightbox-open {
  overflow: hidden;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  margin: 1rem 0 0.5rem;
}

.back-link:hover {
  color: var(--ink);
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.25rem 0 1.75rem;
}

.article-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #d8d8d4 center / cover no-repeat;
  flex-shrink: 0;
}

.article-avatar.has-photo {
  background-color: transparent;
}

.article-byline strong {
  display: block;
  font-size: 0.95rem;
}

.article-byline span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.article-lead {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.article-body .pullquote,
.article-body blockquote.pullquote {
  border-left: 4px solid var(--yellow);
  padding: 0.35rem 0 0.35rem 1.15rem;
  margin: 1.5rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink);
  font-size: 1.1rem;
}

.article-body .emph {
  font-weight: 700;
  color: var(--ink);
}

.article-title-split .sub {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: #888;
  margin-top: 0.25rem;
}

.page-narrow {
  width: min(100% - 2.5rem, 44rem);
  margin: 0 auto 4rem;
}

.site-footer .logo.footer-brand {
  background: transparent;
}

/* FORMALIZA+ detail */
.formaliza-detail {
  padding-bottom: 4rem;
}

.formaliza-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 2.25rem;
}

.formaliza-block {
  margin-bottom: 1.85rem;
}

.formaliza-block h2 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.formaliza-block p {
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* About: Who We Are layout */
.about-who-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.about-who-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-vm {
  display: grid;
  gap: 1.75rem;
  margin: 2rem 0 3rem;
}

@media (min-width: 800px) {
  .about-vm {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.about-vm h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--yellow-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.accent-line-start {
  margin: 0 0 0.85rem;
  margin-left: 0;
  margin-right: auto;
}

.section-title-yellow {
  color: var(--yellow-dark);
}

.about-vm p {
  color: var(--ink);
  line-height: 1.65;
}

.about-pillars-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .about-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-pillar-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.about-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f3efe6;
  color: #666;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.about-pillar-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.about-pillar-card p {
  color: #666;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
}

.about-value-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  justify-content: center;
}

.about-value-pills > span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

.about-value-icons > span::before {
  display: none;
}

.about-value-icons svg {
  color: var(--yellow-dark);
  flex-shrink: 0;
}

/* Gallery: first image featured */
.activity-gallery {
  grid-template-columns: repeat(2, 1fr);
}

.activity-gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

@media (min-width: 800px) {
  .activity-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .activity-gallery img:first-child {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
    height: 100%;
    min-height: 280px;
  }
}
