:root {
  --ink: #1d1d1b;
  --ink-soft: #45433e;
  --muted: #57554f;
  --paper: #f6f4ef;
  --paper-deep: #e9e5dc;
  --line: #ddd9cf;
  --white: #ffffff;
  --purple: #6d4bd8;
  --purple-dark: #4a3593;
  --rust: #c2410c;
  --green: #0f7a5a;
  --blue: #1d6fb8;
  --yellow: #f2b61f;
  --area-care: #277b78;
  --area-sport: #e9b92f;
  --area-art: #ed7864;
  --area-social: #8064ad;
  --shadow: 0 18px 40px rgba(29, 29, 27, 0.1);
}

* {
  box-sizing: border-box;
}

.sponsors-section { background: var(--paper-deep); }
.sponsors-heading { text-align: center; }
.sponsors-heading p { margin-inline: auto; }
.sponsors-carousel { width: 100%; max-width: 680px; margin-inline: auto; }
.sponsors-slides { display: grid; gap: 20px; touch-action: pan-y pinch-zoom; }
.sponsor-slide { margin: 0; padding: clamp(24px, 5vw, 48px); background: white; border: 1px solid var(--line); border-radius: 24px; text-align: center; }
.sponsor-slide[hidden], .sponsors-controls[hidden], .sponsor-control[hidden] { display: none; }
.sponsor-slide img { display: block; width: 100%; height: clamp(170px, 30vw, 250px); object-fit: contain; }
.sponsor-slide figcaption { margin-top: 24px; font-weight: 700; }
.sponsors-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 24px; }
.sponsor-control { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 24px; background: white; color: var(--ink); font: inherit; cursor: pointer; }
.sponsors-dots { display: flex; }
.sponsor-dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.sponsor-dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--muted); background: transparent; }
.sponsor-dot[aria-current]::after { background: var(--ink); border-color: var(--ink); }
.sponsor-control:hover { background: var(--paper); }
.sponsors-controls button:focus-visible { outline: 3px solid var(--area-care); outline-offset: 3px; }
.sponsors-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .is-enhanced .sponsor-slide:not([hidden]) { animation: sponsor-appear 300ms ease-out; }
  @keyframes sponsor-appear { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Figtree", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

img {
  max-width: 100%;
}

input,
select,
textarea,
button {
  font: inherit;
}

[id] {
  scroll-margin-top: 100px;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
}

.topbar-inner,
.topbar-inner div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  align-items: center;
  justify-content: space-between;
}

.topbar-inner {
  padding: 9px 0;
}

.topbar a {
  font-weight: 700;
  text-decoration: none;
}

.topbar span:last-child {
  color: #b9b6ae;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.nav.is-stuck {
  box-shadow: 0 16px 36px rgba(29, 29, 27, 0.12);
  background: rgba(246, 244, 239, 0.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand span {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-family: "Tenor Sans", serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-family: "Tenor Sans", serif;
  font-size: 9.5px;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
}

.navlinks,
.nav-actions,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navlinks a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
}

.navlinks a:hover {
  background: var(--paper-deep);
}

.navlinks a[aria-current="page"] {
  background: var(--paper-deep);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.button-large {
  min-height: 52px;
  padding: 0 26px;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-ghost {
  border: 1.5px solid var(--ink);
  background: transparent;
}

.button-green {
  background: var(--green);
  color: var(--white);
}

.button-purple {
  background: var(--purple);
  color: var(--white);
}

.button-rust {
  background: var(--rust);
  color: var(--white);
}

.button-blue {
  background: var(--blue);
  color: var(--white);
}

.button-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-glass {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.hero-section {
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-grid,
.split-grid,
.contact-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
  gap: 56px;
  align-items: center;
}

.hero-copy,
.section-heading,
.contact-info,
.support-card,
.contact-form,
#formFields {
  display: flex;
  flex-direction: column;
}

.hero-copy {
  gap: 28px;
  align-items: flex-start;
}

.eyebrow {
  color: var(--muted);
  font-family: "Tenor Sans", serif;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(44px, 5.6vw, 80px);
  font-weight: 800;
  line-height: 1;
}

h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.08;
}

h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
}

p {
  margin: 0;
}

.hero-copy p,
.section-heading p,
.section-title-row p {
  max-width: 580px;
  color: var(--ink-soft);
  font-size: 20px;
}

.hero-actions,
.cta-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  font-weight: 700;
}

.hero-orbit {
  position: relative;
  justify-self: center;
  width: min(560px, 100%);
  aspect-ratio: 1 / 1;
}

.hero-logo-card {
  position: absolute;
  inset: 9%;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 54px;
  background: var(--ink);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.hero-logo-card img {
  width: 100%;
  height: auto;
}

.orbit-item {
  position: absolute;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  color: var(--white);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 800;
  box-shadow: 0 0 0 8px var(--paper);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: scale 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.orbit-link-arrow {
  position: absolute;
  right: 17%;
  bottom: 12%;
  font-size: .85em;
  opacity: .7;
}

.orbit-item:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 12px;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--paper), 0 15px 32px #1d1d1b30;
}

.orbit-item:active { filter: brightness(.92); }
#cuidado-pscopastoral { scroll-margin-top: 120px; }
#cuidado-pscopastoral:target { outline: 3px solid var(--area-care); outline-offset: 5px; }

@media (hover: hover) {
  .orbit-item:hover {
    z-index: 2;
    scale: 1.08;
    box-shadow: 0 0 0 8px var(--paper), 0 15px 32px #1d1d1b30;
    filter: brightness(1.05);
    animation-play-state: paused;
  }
  .orbit-item:hover .orbit-link-arrow { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-item { transition: none; }
  .orbit-item:hover { scale: 1; }
}

.orbit-art {
  top: 2%;
  left: 4%;
  width: 26%;
  background: var(--area-art);
  color: var(--ink);
}

.orbit-sport {
  top: 8%;
  right: 0;
  width: 22%;
  background: var(--area-sport);
  color: var(--ink);
}

.orbit-social {
  right: 6%;
  bottom: 4%;
  width: 24%;
  background: var(--area-social);
}

.orbit-care {
  bottom: 10%;
  left: 0;
  width: 29%;
  padding: 12px;
  text-align: center;
  line-height: 1.2;
  font-size: clamp(12px, 1.35vw, 18px);
  overflow-wrap: anywhere;
  background: var(--area-care);
  color: var(--white);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-section .hero-copy > * {
    animation: hero-enter 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-section .hero-copy > :nth-child(2) { animation-delay: 100ms; }
  .hero-section .hero-copy > :nth-child(3) { animation-delay: 200ms; }
  .hero-section .hero-copy > :nth-child(4) { animation-delay: 300ms; }
  .hero-section .hero-copy > :nth-child(5) { animation-delay: 400ms; }

  .hero-section .hero-orbit {
    animation: hero-enter 1s cubic-bezier(0.22, 1, 0.36, 1) 200ms both;
  }

  .hero-section .orbit-item {
    animation: hero-float 8s ease-in-out both;
  }

  .hero-section .orbit-art { --float-x: 8px; --float-y: -20px; }
  .hero-section .orbit-sport { --float-x: -10px; --float-y: 16px; }
  .hero-section .orbit-social { --float-x: -7px; --float-y: -16px; }
  .hero-section .orbit-care { --float-x: 10px; --float-y: 14px; }
}

.about-motion {
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .about-motion .scroll-reveal > * {
    transition: opacity 850ms ease, transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--about-delay, 0ms);
  }

  .about-motion .scroll-reveal:not(.is-visible) > * {
    opacity: 0;
    transform: translateX(64px);
  }

  .about-motion .scroll-reveal.is-visible > * {
    opacity: 1;
    transform: translateX(0);
  }

  .about-motion .section-heading > :nth-child(2) { --about-delay: 140ms; }
  .about-motion .section-heading > :nth-child(3) { --about-delay: 280ms; }
  .about-motion .info-card > :first-child { --about-delay: 100ms; }
  .about-motion .info-card > :nth-child(2) { --about-delay: 240ms; }
  .about-motion .info-card:nth-child(2) > :first-child { --about-delay: 200ms; }
  .about-motion .info-card:nth-child(2) > :nth-child(2) { --about-delay: 340ms; }
  .about-motion .info-card:nth-child(3) > :first-child { --about-delay: 300ms; }
  .about-motion .info-card:nth-child(3) > :nth-child(2) { --about-delay: 440ms; }
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-float {
  0%, 100% { transform: translate(0, 0); }
  30%, 70% { transform: translate(var(--float-x), var(--float-y)) scale(1.035); }
  50% { transform: translate(0, 0); }
}

.audience-strip {
  background: var(--ink);
  color: var(--paper);
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: center;
  padding: 22px 0;
  font-family: "Tenor Sans", serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.audience-list span:not(:last-child)::after {
  content: "•";
  margin-left: 28px;
  opacity: 0.4;
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-tight {
  padding-top: 0;
}

.stack,
.section-heading {
  gap: 40px;
}

.stack {
  display: flex;
  flex-direction: column;
}

.section-heading {
  align-items: flex-start;
  gap: 22px;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: var(--white);
  border-radius: 20px;
}

.info-card.wide {
  grid-column: 1 / -1;
}

.info-card span,
.contact-card span,
.footer-grid span,
.program-kicker {
  color: var(--muted);
  font-family: "Tenor Sans", serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list strong {
  padding: 8px 16px;
  background: var(--paper);
  border-radius: 999px;
  font-size: 15px;
}

.section-title-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 20px;
}

.program-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(29, 29, 27, 0.06);
}

.program-card:hover {
  box-shadow: var(--shadow);
}

.program-media {
  overflow: hidden;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  color: rgba(29, 29, 27, 0.72);
  font-size: 14px;
  background-color: var(--paper-deep);
  background-image: repeating-linear-gradient(135deg, rgba(29, 29, 27, 0.06) 0 12px, transparent 12px 24px);
}

.program-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 250;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  #nucleos .scroll-reveal {
    transition: opacity 800ms ease, transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--program-delay, 0ms);
  }

  #nucleos .scroll-reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(36px);
  }

  #nucleos .scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  #nucleos .program-card:nth-child(2) { --program-delay: 100ms; }
  #nucleos .program-card:nth-child(3) { --program-delay: 200ms; }
  #nucleos .program-card:nth-child(4) { --program-delay: 100ms; }
  #nucleos .program-card:nth-child(5) { --program-delay: 200ms; }
  #nucleos .program-card:nth-child(6) { --program-delay: 300ms; }

  #nucleos .program-media img {
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  #nucleos .program-card:focus-within .program-media img {
    transform: scale(1.045) rotate(-1deg);
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  #nucleos .program-card:hover .program-media img {
    transform: scale(1.045) rotate(-1deg);
  }
}

.accent-purple .program-media {
  background-color: #eae4fa;
  color: var(--purple-dark);
}

.accent-rust .program-media {
  background-color: #fae5d9;
  color: #8a2f09;
}

.accent-green .program-media {
  background-color: #d9efe6;
  color: #0b5a42;
}

.accent-blue .program-media {
  background-color: #dce9f6;
  color: #154f84;
}

.accent-yellow .program-media {
  background-color: #fbefcb;
  color: #6b4e00;
}

.program-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  align-items: flex-start;
}

.program-body .button {
  margin-top: auto;
}

.area-art { --area-color: var(--area-art); --area-title: #a63728; --area-tint: #fff0eb; --area-button-ink: var(--ink); }
.area-sport { --area-color: var(--area-sport); --area-title: #795700; --area-tint: #fff7dc; --area-button-ink: var(--ink); }
.area-social { --area-color: var(--area-social); --area-title: #70509e; --area-tint: #f1ebf8; --area-button-ink: white; }
.area-care { --area-color: var(--area-care); --area-title: #226d6b; --area-tint: #e7f3f1; --area-button-ink: white; }
.program-card[class*="area-"] { border-top: 6px solid var(--area-color); background: var(--area-color); color: var(--area-button-ink); }
.program-card[class*="area-"] .program-body { background: var(--area-color); }
.program-card[class*="area-"] .program-kicker,
.program-card[class*="area-"] h3,
.program-card[class*="area-"] .program-body p { color: inherit; }
.program-card[class*="area-"] .program-kicker { opacity: .9; }
.program-card[class*="area-"] .button { background: var(--white); color: var(--ink); }
.program-card[class*="area-"] .button:hover { filter: brightness(.94); }
.program-card[class*="area-"] .button:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

.helper-card {
  justify-content: space-between;
  padding: 32px;
  background: var(--ink);
  color: var(--paper);
}

.helper-card p {
  color: #d6d3cb;
}

.helper-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.cta-panel,
.support-card {
  border-radius: 32px;
  padding: clamp(36px, 5vw, 64px);
}

.cta-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 32px;
  align-items: center;
}

.purple-panel {
  background: var(--purple);
  color: var(--white);
}

.purple-panel p {
  max-width: 560px;
  color: #efeafd;
  font-size: 18px;
}

.support-grid {
  gap: 20px;
}

.support-card {
  gap: 20px;
  align-items: flex-start;
}

.donation-card {
  background: var(--green);
  color: var(--white);
}

.volunteer-card {
  background: var(--yellow);
  color: var(--ink);
}

.support-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

#doacoes .support-grid {
  gap: 20px;
  align-items: stretch;
}

#doacoes .support-card {
  --support-accent: var(--green);
  gap: 20px;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 40px);
  border-top: 4px solid var(--support-accent);
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(29, 29, 27, 0.06);
}

#doacoes .support-card .eyebrow {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.24em;
}

#doacoes .volunteer-card {
  --support-accent: var(--yellow);
}

#doacoes .support-card h2 {
  max-width: 24ch;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
}

#doacoes .support-card p,
#doacoes .support-card ul {
  color: var(--ink-soft);
}

#doacoes .support-card .button {
  margin-top: auto;
}

#doacoes .support-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

#doacoes .support-card li + li {
  margin-top: 6px;
}

#doacoes .support-card li::marker {
  color: var(--support-accent);
}

.contact-section {
  background: var(--white);
}

.contact-grid {
  align-items: start;
}

.contact-info {
  gap: 16px;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.whatsapp-card,
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 32px;
  border-radius: 24px;
  text-decoration: none;
}

.whatsapp-card {
  background: var(--green);
  color: var(--white);
}

.whatsapp-card span {
  color: #ddf2e6;
}

.whatsapp-card strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 28px;
}

.contact-card {
  background: var(--paper);
}

.contact-card a,
.contact-card strong {
  font-weight: 700;
}

.contact-map {
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.contact-map > a {
  display: block;
  padding: 16px 24px;
  font-weight: 700;
}

.contact-form {
  gap: 18px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--paper);
  border-radius: 28px;
}

#formFields {
  gap: 18px;
}

.contact-form h2 {
  font-size: 30px;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1.5px solid #c9c4b8;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}

.contact-form textarea {
  min-height: 150px;
  padding-top: 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(109, 75, 216, 0.36);
  outline-offset: 1px;
}

.privacy-check {
  flex-direction: row !important;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.5;
}

.privacy-check input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--purple);
}

.form-note,
.form-feedback {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.form-feedback {
  margin: 0;
  text-align: left;
}

.form-feedback:empty {
  display: none;
}

.form-feedback-success {
  color: var(--green);
}

.form-feedback-error,
.invalid-feedback {
  color: #b63832;
}

.invalid-feedback {
  display: block;
  font-size: 13px;
  font-weight: 500;
}

.is-invalid {
  border-color: #b63832 !important;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(180px, 1fr));
  gap: 40px;
  padding: 72px 0 32px;
}

.footer-grid > div,
.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid img {
  width: 200px;
  height: auto;
}

.footer-grid p,
.footer-bottom {
  color: #b9b6ae;
}

.footer-grid a {
  color: var(--paper);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 24px 0 32px;
  border-top: 1px solid #3a3936;
  font-size: 14px;
}

.footer-bottom span:last-child {
  font-family: "Tenor Sans", serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.page-hero {
  padding: 64px 0 88px;
  overflow: hidden;
}

.hero-purple,
.hero-rust,
.hero-green,
.hero-yellow {
  color: var(--white);
}

.hero-purple {
  background: var(--purple);
}

.hero-rust {
  background: var(--rust);
}

.hero-green {
  background: var(--green);
}

.hero-yellow {
  color: var(--ink);
  background: var(--yellow);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb.light,
.breadcrumb.light a {
  color: rgba(255, 255, 255, 0.78);
}

.hero-purple p,
.hero-rust p,
.hero-green p {
  color: rgba(255, 255, 255, 0.9);
}

.hero-logo-card-light {
  position: relative;
  inset: auto;
  width: min(360px, 70%);
  aspect-ratio: 1;
  margin: 0 auto;
  background: var(--white);
}

.photo-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.photo-collage div,
.placeholder-photo,
.gallery-grid div,
.partner-grid div,
.round-photo {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 24px;
  background-color: var(--paper-deep);
  background-image: repeating-linear-gradient(135deg, rgba(29, 29, 27, 0.06) 0 12px, transparent 12px 24px);
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
}

.photo-collage div:first-child {
  min-height: 360px;
  grid-row: span 2;
  border-radius: 999px 999px 24px 24px;
}

.hero-purple .photo-collage div,
.purple-bg {
  background-color: #8a6de3;
  color: var(--white);
}

.hero-green .photo-collage div,
.green-collage div {
  background-color: #2e9472;
  color: var(--white);
}

.round-photo {
  width: min(520px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  justify-self: center;
  background-color: rgba(255, 255, 255, 0.18);
  color: currentColor;
}

.yellow-photo {
  background-color: #f7cd5e;
}

.dark-band,
.dark-panel {
  background: var(--ink);
  color: var(--paper);
}

.dark-band p,
.dark-panel p {
  color: #d6d3cb;
}

.white-band {
  background: var(--white);
}

.dark-card {
  background: #2a2927;
  color: var(--paper);
}

.dark-card p,
.dark-card span {
  color: #d6d3cb;
}

.lined-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.lined-list li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.lined-list span {
  color: var(--muted);
  font-family: "Tenor Sans", serif;
}

.link-grid,
.team-grid,
.mini-grid,
.gallery-grid,
.partner-grid,
.sport-grid,
.number-grid,
.donation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px;
  background: var(--white);
  border-radius: 22px;
  color: var(--ink);
  text-decoration: none;
}

.link-card strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 21px;
  line-height: 1.18;
}

.link-card span {
  color: var(--muted);
  font-size: 15px;
}

.dark-link,
.green-link {
  background: var(--ink);
  color: var(--paper);
}

.green-link {
  background: var(--green);
}

.dark-link span,
.green-link span {
  color: rgba(255, 255, 255, 0.72);
}

.team-grid article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.avatar-placeholder {
  width: min(220px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper-deep);
}

.mini-grid div,
.sport-grid article,
.number-grid div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
  padding: 26px;
  background: var(--white);
  border-radius: 20px;
}

.sport-grid article strong {
  margin-top: auto;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 34px;
  line-height: 1;
}

.sport-grid article span {
  color: var(--rust);
  font-family: "Tenor Sans", serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sport-grid .dashed {
  border: 1.5px dashed #c9c4b8;
  background: transparent;
}

.number-grid {
  border-top: 1px solid #3a3936;
}

.number-grid div {
  background: transparent;
  color: var(--paper);
  border-radius: 0;
}

.number-grid span {
  color: #f28a5b;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 44px;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: 24px;
}

.table-wrap table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
  padding: 18px 28px;
  border-bottom: 1px solid #eeebe4;
  text-align: left;
}

.table-wrap th {
  color: var(--muted);
  font-family: "Tenor Sans", serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gallery-grid div {
  min-height: 240px;
  background-color: #34322f;
  color: #b9b6ae;
}

.partner-grid div {
  aspect-ratio: 3 / 2;
  min-height: 0;
}

.wide-hero {
  max-width: 1000px;
}

.wide-hero .green-text,
.green-text {
  color: var(--green);
}

.purple-text {
  color: var(--purple);
}

.rust-text {
  color: var(--rust);
}

.yellow-text {
  color: #7a5a00;
}

.soft-purple {
  background: #eae4fa;
}

.soft-rust {
  background: #fae5d9;
}

.soft-green {
  background: #d9efe6;
}

.donation-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(32px, 4vw, 48px);
  background: var(--green);
  color: var(--white);
  border-radius: 28px;
}

.pix-key {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  word-break: break-word;
}

.compact-grid .info-card h3 {
  font-size: 26px;
}

@media (max-width: 1040px) {
  .navlinks {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-bottom: 14px;
  }

  .nav-inner {
    flex-wrap: wrap;
    padding-top: 14px;
  }

  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 1280px);
  }

  .topbar {
    display: none;
  }

  .nav-actions {
    width: 100%;
  }

  .nav-actions .button {
    flex: 1;
  }

  .navlinks {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    letter-spacing: 0.22em;
  }

  .hero-section {
    padding: 48px 0 72px;
  }

  .hero-grid,
  .split-grid,
  .contact-grid,
  .support-grid {
    gap: 36px;
  }

  .hero-logo-card {
    padding: 36px;
  }

  .audience-list {
    justify-content: flex-start;
    letter-spacing: 0.1em;
  }

  .audience-list span:not(:last-child)::after {
    margin-left: 12px;
  }

  .section {
    padding: 64px 0;
  }

  .section-tight {
    padding-top: 0;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom span:last-child {
    letter-spacing: 0.14em;
  }
}
