:root {
  --navy: #0a1628;
  --navy-2: #10294e;
  --red: #c8102e;
  --red-dark: #a50d25;
  --paper: #ffffff;
  --mist: #f6f7f9;
  --ink: #0a1628;
  --muted: #64748b;
  --line: rgba(10, 22, 40, 0.1);
  --radius: 18px;
  --shadow: 0 24px 70px rgba(10, 22, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 40px, 1380px);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.8);
}

.display {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(54px, 9vw, 128px);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.section-title {
  margin: 0;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.04;
  font-weight: 900;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.red {
  color: var(--red);
}

.outline-word {
    
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.42);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 34px rgba(200, 16, 46, 0.32);
}

.btn.primary:hover {
  background: var(--red-dark);
}

.btn.light {
  color: var(--navy);
  background: #fff;
}

.btn.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  padding: 22px 0;
  color: #fff;
  transition:
    padding 250ms ease,
    background 250ms ease,
    box-shadow 250ms ease,
    color 250ms ease;
}

.site-header.scrolled,
.site-header.open {
  padding: 10px 0;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 1px 0 rgba(10, 22, 40, 0.07),
    0 8px 30px rgba(10, 22, 40, 0.08);
  backdrop-filter: blur(14px);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  background: transparent;
  border: none;
  padding: 0;
}

.brand img.logo {
  width: 85px;
  height: 85px;
  object-fit: contain;
  display: block;
}

.brand-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  margin: 0;
  line-height: 1;
}

.brand-subtitle {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.desktop-nav a {
  padding: 10px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.82;
}

.desktop-nav a:hover {
  color: var(--red);
  background: rgba(200, 16, 46, 0.08);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.scrolled .menu-toggle,
.site-header.open .menu-toggle {
  background: var(--mist);
}

.mobile-panel {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(10, 22, 40, 0.94),
      rgba(10, 22, 40, 0.82) 45%,
      rgba(10, 22, 40, 0.42)
    ),
    url("BOXE.JPG") center / cover;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 42px;
  padding: 150px 0 34px;
}

.hero-content {
  max-width: 920px;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 900px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.impact-item {
  padding: 24px 18px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.impact-item:last-child {
  border-right: 0;
}

.impact-value {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.impact-label {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

section {
  position: relative;
  overflow: hidden;
}

.section-pad {
  padding: 128px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.media-stack {
  position: relative;
}

.photo-card {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.floating-note {
  position: absolute;
  right: -22px;
  bottom: 34px;
  width: 210px;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.floating-note strong {
  display: block;
  color: var(--red);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 40px;
  line-height: 1;
}


/* =========================================================
   VALORES / MISSÃO / VISÃO
   ========================================================= */

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 40px;
  align-items: stretch;
}

.value-card {
  width: 100%;
  min-width: 0;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.06);

  display: flex;
  flex-direction: column;

  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.value-card:hover {
  color: #fff;
  background: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 22, 40, 0.14);
}

.value-card b {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.value-card:hover p {
  color: rgba(255, 255, 255, 0.78);
}


/* =========================================================
   TIMELINE
   ========================================================= */

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  padding-left: 24px;
  border-left: 2px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.timeline-item b {
  color: var(--red);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.muted-bg {
  background: var(--mist);
}

.dark-bg {
  color: #fff;
  background: var(--navy);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}

.section-head .section-copy {
  max-width: 420px;
}

.tabs,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.pill.active,
.pill:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.activity-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(10, 22, 40, 0.08);
}

.activity-image {
  position: relative;
  min-height: 450px;
}

.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    0deg,
    rgba(10, 22, 40, 0.72),
    transparent 60%
  );
}

.activity-caption {
  position: absolute;
  inset: auto 28px 28px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}

.activity-caption span {
  font-size: 42px;
}

.activity-caption b {
  display: block;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 38px;
  line-height: 1;
}

.activity-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.activity-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.stat-card {
  padding: 18px 12px;
  border-radius: 16px;
  text-align: center;
  background: var(--mist);
}

.stat-card strong {
  display: block;
  color: var(--red);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.stat-card small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-grid,
.transparency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card,
.transparency-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.project-card:hover,
.transparency-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(200, 16, 46, 0.55);
}

.project-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.project-body,
.transparency-card {
  padding: 26px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #e8f8ef;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tag.outline {
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.project-card h3,
.transparency-card h3 {
  margin: 50px 0 10px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.project-card p,
.transparency-card p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
}

.gallery-grid {
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--mist);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 450ms ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item span {
  position: absolute;
  inset: auto 14px 14px;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(10, 22, 40, 0.8);
  font-size: 11px;
  font-weight: 800;
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.testimonial-card {
  padding: clamp(30px, 5vw, 56px);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(10, 22, 40, 0.09);
}

.stars {
  color: var(--red);
  letter-spacing: 4px;
  font-size: 18px;
}

.quote {
  margin: 26px 0;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.28;
  font-weight: 800;
}

.person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.person img {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  object-fit: cover;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 28px;
}

.article-main,
.article-side {
  cursor: pointer;
}

.article-main img {
  width: 100%;
  height: 340px;
  border-radius: 22px;
  object-fit: cover;
}

.article-main h3 {
  margin: 18px 0 10px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.article-side {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  align-items: start;
}

.article-side + .article-side {
  margin-top: 24px;
}

.article-side img {
  width: 118px;
  height: 104px;
  border-radius: 16px;
  object-fit: cover;
}

.article-side h3 {
  margin: 8px 0 8px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 17px;
  line-height: 1.25;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.transparency-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: start;
}

.transparency-grid {
  grid-template-columns: repeat(2, 1fr);
}

.transparency-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: rgba(200, 16, 46, 0.18);
  font-size: 22px;
}

.editais-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(10, 22, 40, 0.08);
}

.search-box {
  position: relative;
  width: min(100%, 280px);
}

.search-box input {
  width: 100%;
  min-height: 48px;
  padding: 0 18px 0 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.search-box svg {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  text-align: left;
}

th {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

td {
  font-size: 14px;
}

.status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status.open {
  color: #047857;
  background: #d1fae5;
}

.status.closed {
  color: #64748b;
  background: #eef2f7;
}


/* =========================================================
   PARCEIROS
   ========================================================= */

.partners {
  border-top: 1px solid var(--line);
}

.ticker {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.ticker-wrap {
  overflow: hidden;
}

.partner-logo {
  flex: 0 0 auto;
  padding: 18px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: var(--mist);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding: 88px 0 34px;
  color: #fff;
  background: #060f1e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.55fr;
  gap: 44px;
  margin-bottom: 50px;
}

.footer p,
.footer li,
.footer a {
  color: rgba(255, 255, 255, 0.54);
  font-size: 14px;
  line-height: 1.7;
}

.footer h4 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
}

.newsletter button {
  width: 48px;
  border-radius: 14px;
  color: #fff;
  background: var(--red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: min(360px, calc(100% - 40px));
  padding: 16px 18px;
  border-radius: 16px;
  color: #fff;
  background: var(--navy);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 1180px) {

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .mobile-panel {
    position: fixed;
    inset: 62px 16px auto;
    z-index: 79;
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .mobile-panel.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-panel a {
    padding: 13px 14px;
    border-radius: 14px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
  }

  .mobile-panel a:hover {
    background: var(--mist);
  }
}


@media (max-width: 980px) {

  .split,
  .activity-panel,
  .testimonial-wrap,
  .news-grid,
  .transparency-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .transparency-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    display: grid;
    justify-content: start;
  }

  .photo-card img {
    height: 480px;
  }

  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-card:last-child {
    grid-column: 1 / -1;
  }
}


@media (max-width: 720px) {

  .container {
    width: min(100% - 28px, 1380px);
  }

  .section-pad {
    padding: 86px 0;
  }

  .display {
    font-size: clamp(58px, 18vw, 86px);
  }

  .hero-grid {
    padding-top: 120px;
  }

  .impact-strip,
  .activity-stats,
  .project-grid,
  .transparency-grid {
    grid-template-columns: 1fr;
  }

  .impact-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .impact-item:last-child {
    border-bottom: 0;
  }

  .floating-note {
    position: static;
    width: auto;
    margin-top: 16px;
  }

  .values {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .value-card {
    padding: 22px;
  }

  .value-card:last-child {
    grid-column: auto;
  }

  .gallery-grid {
    columns: 1;
  }

  .article-side {
    grid-template-columns: 96px 1fr;
  }

  .article-side img {
    width: 96px;
    height: 88px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
@media (max-width: 1280px) {
  .container {
    width: min(100% - 48px, 1180px);
  }

  .hero-content {
    max-width: 820px;
  }

  .desktop-nav {
    gap: 0;
  }

  .desktop-nav a {
    padding: 9px 8px;
    font-size: 11px;
  }

  .brand {
    gap: 12px;
  }

  .brand img.logo {
    width: 72px;
    height: 72px;
  }

  .split {
    gap: 56px;
  }

  .footer-grid {
    gap: 30px;
  }
}


/* ---------- TABLETS / NOTEBOOKS MENORES ---------- */

@media (max-width: 1100px) {
  .container {
    width: min(100% - 36px, 1050px);
  }

  .hero-grid {
    padding-top: 140px;
  }

  .hero-content {
    max-width: 760px;
  }

  .section-pad {
    padding: 105px 0;
  }

  .project-grid,
  .transparency-grid {
    gap: 18px;
  }

  .project-body,
  .transparency-card {
    padding: 22px;
  }

  .gallery-grid {
    column-gap: 12px;
  }

  .article-main img {
    height: 300px;
  }
}


/* ---------- TABLET ---------- */

@media (max-width: 900px) {

  .container {
    width: min(100% - 32px, 850px);
  }

  .hero {
    min-height: 100svh;
  }

  .hero-grid {
    padding: 130px 0 30px;
    gap: 32px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .impact-strip {
    width: 100%;
    max-width: 850px;
  }

  .section-pad {
    padding: 90px 0;
  }

  .photo-card img {
    height: 520px;
  }

  .activity-image {
    min-height: 400px;
  }

  .activity-body {
    padding: 42px;
  }

  .testimonial-card {
    padding: 40px;
  }

  .footer-grid {
    gap: 32px;
  }
}


/* =========================================================
   CELULAR GRANDE
   ========================================================= */

@media (max-width: 720px) {

  /* Evita qualquer overflow horizontal */
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 28px);
    max-width: none;
  }

  /* HEADER */

  .site-header {
    padding: 12px 0;
  }

  .site-header.scrolled,
  .site-header.open {
    padding: 8px 0;
  }

  .nav-row {
    min-height: 52px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand img.logo {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }

  .brand-info {
    min-width: 0;
  }

  .brand-title {
    font-size: clamp(18px, 5vw, 25px);
    white-space: nowrap;
  }

  .brand-subtitle {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
  }

  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .header-actions .btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 11px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .mobile-panel {
    inset: 66px 14px auto;
    max-height: calc(100svh - 82px);
    overflow-y: auto;
  }


  /* HERO */

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero::before {
    background-position: center center;
  }

  .hero-grid {
    padding: 125px 0 24px;
    gap: 28px;
  }

  .hero-content {
    width: 90%;
    max-width: 100%;
  }

  .eyebrow {
    gap: 9px;
    margin-bottom: 16px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .eyebrow::before {
    width: 22px;
  }

  .display {
    max-width: 90%;
    font-size: clamp(52px, 17vw, 82px);
    line-height: 0.88;
    overflow-wrap: break-word;
  }

  .hero-copy {
    margin: 22px 0 26px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 160px;
    min-width: 0;
    min-height: 48px;
    padding: 0 16px;
  }

  .impact-strip {
    width: 100%;
    border-radius: 18px;
  }

  .impact-item {
    padding: 18px 14px;
  }

  .impact-value {
    font-size: 40px;
  }

  .impact-label {
    font-size: 9px;
  }


  /* SEÇÕES */

  section {
    width: 100%;
  }

  .section-pad {
    padding: 76px 0;
  }

  .section-head {
    gap: 18px;
    margin-bottom: 32px;
  }

  .section-title {
    font-size: clamp(28px, 9vw, 46px);
  }

  .section-copy {
    font-size: 14px;
    line-height: 1.75;
  }


  /* IMAGENS */

  .photo-card {
    border-radius: 20px;
  }

  .photo-card img {
    width: 100%;
    height: min(115vw, 480px);
  }

  .floating-note {
    margin-top: 12px;
    padding: 18px;
    border-radius: 16px;
  }

  .floating-note strong {
    font-size: 34px;
  }


  /* VALORES */

  .values {
    width: 100%;
    margin-top: 26px;
    gap: 14px;
  }

  .value-card {
    min-height: 0;
    padding: 22px;
    border-radius: 16px;
  }

  .value-card b {
    margin-bottom: 12px;
  }

  .value-card p {
    font-size: 13px;
  }


  /* TIMELINE */

  .timeline {
    margin-top: 28px;
    padding-left: 18px;
  }

  .timeline-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    font-size: 13px;
  }

  .timeline-item b {
    font-size: 22px;
  }


  /* ATIVIDADES */

  .activity-panel {
    border-radius: 20px;
  }

  .activity-image {
    min-height: 300px;
    height: 72vw;
    max-height: 420px;
  }

  .activity-caption {
    inset: auto 18px 18px;
    gap: 10px;
  }

  .activity-caption span {
    font-size: 30px;
  }

  .activity-caption b {
    font-size: 30px;
  }

  .activity-body {
    padding: 28px 22px;
  }

  .activity-stats {
    gap: 8px;
    margin: 22px 0;
  }

  .stat-card {
    padding: 16px 10px;
  }

  .stat-card strong {
    font-size: 30px;
  }


  /* CARDS */

  .project-grid,
  .transparency-grid {
    gap: 14px;
  }

  .project-card,
  .transparency-card {
    border-radius: 18px;
  }

  .project-card img {
    height: 190px;
  }

  .project-body,
  .transparency-card {
    padding: 20px;
  }

  .project-card h3,
  .transparency-card h3 {
    margin: 28px 0 10px;
    font-size: 17px;
  }

  .project-card p,
  .transparency-card p {
    font-size: 13px;
    line-height: 1.65;
  }


  /* TABS / FILTROS */

  .tabs,
  .filters {
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .tabs::-webkit-scrollbar,
  .filters::-webkit-scrollbar {
    display: none;
  }

  .pill {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 15px;
    font-size: 12px;
  }


  /* GALERIA */

  .gallery-grid {
    columns: 2;
    column-gap: 10px;
  }

  .gallery-item {
    margin-bottom: 10px;
    border-radius: 14px;
  }

  .gallery-item span {
    inset: auto 8px 8px;
    padding: 6px 9px;
    font-size: 9px;
  }


  /* DEPOIMENTOS */

  .testimonial-wrap {
    gap: 28px;
  }

  .testimonial-card {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .quote {
    margin: 20px 0;
    font-size: clamp(21px, 6vw, 30px);
  }

  .person {
    gap: 10px;
    padding-top: 18px;
  }

  .person img {
    width: 48px;
    height: 48px;
  }


  /* NOTÍCIAS */

  .news-grid {
    gap: 30px;
  }

  .article-main img {
    height: 60vw;
    max-height: 330px;
    border-radius: 18px;
  }

  .article-main h3 {
    margin-top: 14px;
    font-size: clamp(22px, 6vw, 30px);
  }

  .article-side {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
  }

  .article-side img {
    width: 90px;
    height: 82px;
    border-radius: 13px;
  }

  .article-side h3 {
    margin: 4px 0 6px;
    font-size: 15px;
  }


  /* TRANSPARÊNCIA */

  .transparency-layout {
    gap: 30px;
  }

  .transparency-icon {
    width: 44px;
    height: 44px;
  }


  /* EDITAIS */

  .editais-card {
    border-radius: 18px;
  }

  .search-box {
    width: 100%;
  }

  .table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 680px;
  }

  th,
  td {
    padding: 14px 16px;
  }


  /* PARCEIROS */

  .ticker {
    gap: 10px;
  }

  .partner-logo {
    padding: 15px 20px;
    border-radius: 14px;
    font-size: 10px;
  }


  /* FOOTER */

  .footer {
    padding: 64px 0 28px;
  }

  .footer-grid {
    gap: 34px;
    margin-bottom: 36px;
  }

  .footer p,
  .footer li,
  .footer a {
    font-size: 13px;
  }

  .newsletter {
    width: 100%;
  }

  .newsletter input {
    min-width: 0;
  }

  .footer-bottom {
    gap: 10px;
    font-size: 11px;
  }


  /* TOAST */

  .toast {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
  }
}


/* =========================================================
   CELULARES PEQUENOS
   ========================================================= */

@media (max-width: 480px) {

  .container {
    width: calc(100% - 24px);
  }

  .site-header {
    padding: 9px 0;
  }

  .brand img.logo {
    width: 46px;
    height: 46px;
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-subtitle {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-grid {
    padding-top: 110px;
    padding-bottom: 18px;
  }

  .display {
    font-size: clamp(48px, 17vw, 72px);
  }

  .hero-copy {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .impact-item {
    padding: 15px 12px;
  }

  .impact-value {
    font-size: 34px;
  }

  .impact-label {
    font-size: 8px;
  }

  .section-pad {
    padding: 64px 0;
  }

  .section-title {
    font-size: clamp(27px, 9vw, 38px);
  }

  .section-copy {
    font-size: 13px;
  }

  .photo-card img {
    height: 110vw;
    max-height: 400px;
  }

  .gallery-grid {
    columns: 1;
  }

  .activity-image {
    height: 80vw;
  }

  .activity-body {
    padding: 24px 18px;
  }

  .activity-stats {
    grid-template-columns: 1fr;
  }

  .project-card img {
    height: 210px;
  }

  .article-side {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .article-side img {
    width: 82px;
    height: 76px;
  }

  .article-side h3 {
    font-size: 14px;
  }

  .meta {
    font-size: 10px;
  }

  .testimonial-card {
    padding: 24px 18px;
  }

  .quote {
    font-size: 21px;
  }

  .newsletter {
    flex-direction: row;
  }
}


/* =========================================================
   CELULARES MUITO PEQUENOS
   ========================================================= */

@media (max-width: 360px) {

  .container {
    width: calc(100% - 20px);
  }

  .brand-title {
    font-size: 16px;
  }

  .brand img.logo {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .display {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 13px;
  }

  .impact-value {
    font-size: 30px;
  }

  .section-title {
    font-size: 26px;
  }

  .timeline-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
  }

  .activity-caption b {
    font-size: 26px;
  }

  .article-side {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .article-side img {
    width: 74px;
    height: 70px;
  }
}


/* =========================================================
   ACESSIBILIDADE / TOUCH / PERFORMANCE
   ========================================================= */

/* Evita zoom involuntário e melhora toque em elementos interativos */
@media (hover: none) and (pointer: coarse) {

  .btn,
  .pill,
  .menu-toggle,
  .mobile-panel a,
  .desktop-nav a,
  .socials a {
    -webkit-tap-highlight-color: transparent;
  }

  .btn:hover,
  .value-card:hover,
  .project-card:hover,
  .transparency-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
}


/* Respeita usuários que preferem menos animações */
@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Corrige elementos que poderiam escapar da largura da tela */
img,
svg,
video,
iframe {
  max-width: 100%;
}

input,
button,
textarea,
select {
  max-width: 100%;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}


/* Garante que grids nunca criem overflow */
.split > *,
.activity-panel > *,
.testimonial-wrap > *,
.news-grid > *,
.transparency-layout > *,
.footer-grid > *,
.project-grid > *,
.transparency-grid > *,
.values > * {
  min-width: 0;
}