/* ============================================================
   AGPS PORTAL — extra.css
   Complementos ao style.css original (não o modifica):
   banner de página interna, menu ativo, modal de doação,
   citações, selos de parceiros sem logo e blocos de chamada.
   ============================================================ */

/* --- LOGO COM PULSAÇÃO (efeito "coração batendo") --- */
@keyframes agps-heartbeat {
  0%   { transform: scale(1); }
  14%  { transform: scale(1.12); }
  28%  { transform: scale(1); }
  42%  { transform: scale(1.12); }
  70%  { transform: scale(1); }
  100% { transform: scale(1); }
}
@keyframes agps-heartbeat-glow {
  0%   { box-shadow: 0 0 0 0 rgba(29,158,117,0); }
  14%  { box-shadow: 0 0 0 6px rgba(29,158,117,.28); }
  28%  { box-shadow: 0 0 0 0 rgba(29,158,117,0); }
  42%  { box-shadow: 0 0 0 6px rgba(29,158,117,.28); }
  70%  { box-shadow: 0 0 0 0 rgba(29,158,117,0); }
  100% { box-shadow: 0 0 0 0 rgba(29,158,117,0); }
}
@keyframes agps-heartbeat-text {
  0%   { color: var(--blue-900); }
  14%  { color: var(--teal-600); }
  28%  { color: var(--blue-900); }
  42%  { color: var(--teal-600); }
  70%  { color: var(--blue-900); }
  100% { color: var(--blue-900); }
}
.brand-logo {
  animation: agps-heartbeat 2.2s ease-in-out infinite, agps-heartbeat-glow 2.2s ease-in-out infinite;
}
.brand-text strong {
  animation: agps-heartbeat-text 2.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo, .brand-text strong { animation: none; }
}

/* --- BANNER DE PÁGINA INTERNA --- */
.page-header {
  background: var(--blue-900);
  padding: 44px 0 54px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header .hero-bg-circle-1 { width: 280px; height: 280px; top: -70px; right: -70px; }
.page-header .hero-bg-circle-2 { width: 180px; height: 180px; bottom: -80px; left: -50px; }
.breadcrumb {
  position: relative;
  z-index: 1;
  font-size: 11.5px;
  color: var(--blue-200);
  margin-bottom: 14px;
  font-weight: 600;
}
.breadcrumb a { color: var(--blue-100); }
.breadcrumb a:hover { color: var(--white); }
.page-header h1 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.4px;
  margin-bottom: 8px;
}
.page-header p {
  position: relative;
  z-index: 1;
  color: var(--blue-200);
  font-size: 14.5px;
  max-width: 560px;
  margin: 0 auto;
}

/* --- META DO CARD COM LOCAL LONGO (evita sobreposição em telas estreitas) --- */
.card-meta {
  flex-wrap: wrap;
  row-gap: 4px;
}
.card-meta span:last-child {
  text-align: right;
}
@media (max-width: 480px) {
  .card-meta span:last-child { text-align: left; }
}

/* --- MENU ATIVO --- */
.main-nav a.active {
  background: var(--blue-50);
  color: var(--blue-600);
}

/* --- CHAMADAS (TEASERS) NA HOME --- */
.teaser-cta {
  background: var(--white);
  border: 0.5px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
}
.teaser-cta p { color: var(--gray-600); margin-bottom: 16px; font-size: 14px; max-width: 460px; margin-left: auto; margin-right: auto; }
.teaser-cta-dark {
  background: var(--blue-900);
  border: none;
}
.teaser-cta-dark p { color: var(--blue-200); }
.section-cta-row {
  text-align: center;
  margin-top: 32px;
}

/* --- CITAÇÕES / DEPOIMENTOS --- */
.quote-block {
  background: var(--blue-50);
  border-left: 4px solid var(--blue-400);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 18px 0;
  font-style: italic;
  color: var(--blue-900);
  font-size: 14.5px;
  line-height: 1.6;
}
.quote-block cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 700;
}

/* --- LISTA DE DIFERENCIAIS / DESTAQUES --- */
.check-list { margin: 18px 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: var(--gray-800);
  line-height: 1.55;
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-400);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- RESULTADOS / DESTAQUES EM LISTA (transparência) --- */
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 0.5px solid var(--gray-100);
  border-radius: 10px;
  margin-bottom: 12px;
}
.result-row strong { color: var(--blue-900); font-size: 14px; }
.result-row span { color: var(--gray-400); font-size: 12px; }
.result-row .result-value { color: var(--teal-600); font-weight: 800; font-size: 13.5px; white-space: nowrap; }

/* --- SELO DE PARCEIRO SEM LOGO --- */
.sponsor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: 0.5px solid var(--gray-200);
  border-radius: 8px;
  color: var(--gray-600);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  opacity: .85;
}

/* --- MODAL DE DOAÇÃO --- */
.donate-modal { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.donate-modal[hidden] { display: none; }
.donate-modal-backdrop { position: absolute; inset: 0; background: rgba(4,44,83,.55); backdrop-filter: blur(2px); }
.donate-modal-box { position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 420px; width: 100%; padding: 28px 26px 24px; }
.donate-modal-close { position: absolute; top: 14px; right: 14px; background: var(--gray-100); border: none; width: 30px; height: 30px; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; color: var(--gray-600); }
.donate-modal-close:hover { background: var(--gray-200); }
.donate-modal-box h3 { font-size: 19px; color: var(--blue-900); font-weight: 800; margin-bottom: 6px; }
.donate-modal-box > p { font-size: 13px; color: var(--gray-600); margin-bottom: 20px; }
.donate-field { margin-bottom: 16px; }
.donate-field > span { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-400); margin-bottom: 6px; }
.donate-field-value { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--gray-50); border: 0.5px solid var(--gray-100); border-radius: 8px; padding: 10px 12px; }
.donate-field-value code { font-size: 13px; color: var(--blue-900); font-family: monospace; word-break: break-all; }
.donate-copy { flex-shrink: 0; background: var(--blue-900); color: var(--white); border: none; border-radius: 6px; padding: 6px 12px; font-size: 11.5px; font-weight: 700; cursor: pointer; transition: background .2s; }
.donate-copy:hover { background: var(--blue-600); }
.donate-note { font-size: 12px; color: var(--gray-600); line-height: 1.6; margin-top: 4px; }
.donate-note a { color: var(--blue-600); font-weight: 700; }

.donate-tabs {
  display: flex;
  gap: 6px;
  background: var(--gray-50);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 16px;
}
.donate-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gray-600);
  cursor: pointer;
  transition: all .2s;
}
.donate-tab.active {
  background: var(--white);
  color: var(--blue-900);
  box-shadow: var(--shadow);
}
.donate-profile { margin-bottom: 16px; }
.donate-option { margin-bottom: 10px; }
.donate-option strong { display: block; font-size: 12.5px; color: var(--blue-900); margin-bottom: 2px; }
.donate-option p { font-size: 12px; color: var(--gray-600); line-height: 1.5; }

/* --- INDICADORES ECONÔMICOS E SOCIAIS --- */
.indicators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 780px;
  margin: 0 auto;
  gap: 16px;
}
.indicator-card {
  background: var(--white);
  border: 0.5px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
  transition: all .2s;
}
.indicator-card:hover { border-color: var(--blue-200); box-shadow: var(--shadow); }
.indicator-icon { font-size: 26px; margin-bottom: 8px; }
.indicator-label { font-size: 11px; color: var(--gray-400); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; margin-bottom: 6px; }
.indicator-value { font-size: 22px; font-weight: 800; color: var(--blue-900); letter-spacing: -.3px; }
.indicator-value.indicator-loading { color: var(--gray-200); }
.indicator-value.indicator-error { font-size: 14px; color: var(--gray-400); font-weight: 700; }
.indicator-caption { font-size: 11.5px; color: var(--gray-600); margin-top: 4px; }
.indicator-source { font-size: 10px; color: var(--gray-400); margin-top: 8px; }

/* --- DOADOR COM LOGO (sem texto) --- */
.donor-card-logo {
  justify-content: center;
  padding: 22px 20px;
}
.donor-card-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- VALORIZAÇÃO DE APOIADORES, DOADORES E PATROCINADORES --- */
/* Card de doador: leve elevação ao passar o mouse, reforçando destaque */
.donor-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.donor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.donor-card-logo:hover { transform: translateY(-4px) scale(1.02); }

/* Entrada escalonada dos cards de doadores ao rolar a página */
.donor-card.reveal:nth-child(1) { transition-delay: 0s; }
.donor-card.reveal:nth-child(2) { transition-delay: .08s; }
.donor-card.reveal:nth-child(3) { transition-delay: .16s; }
.donor-card.reveal:nth-child(4) { transition-delay: .24s; }
.donor-card.reveal:nth-child(5) { transition-delay: .32s; }
.donor-card.reveal:nth-child(6) { transition-delay: .4s; }

/* Marquee de parceiros: some com bordas suaves nas pontas e pausa ao passar o mouse,
   dando tempo pra ler/clicar numa logo específica */
.sponsor-marquee {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
.sponsor-marquee:hover .sponsor-track { animation-play-state: paused; }
.sponsor-track a,
.sponsor-track img,
.sponsor-track .sponsor-badge {
  transition: transform .25s ease, filter .25s ease, opacity .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sponsor-track a:hover img,
.sponsor-track > img:hover {
  transform: translateY(-4px) scale(1.08);
  filter: none;
  opacity: 1;
}
.sponsor-track a:hover .sponsor-badge {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  color: var(--blue-600);
  box-shadow: var(--shadow);
}

/* Respeita quem prefere menos movimento na tela */
@media (prefers-reduced-motion: reduce) {
  .sponsor-track { animation: none; }
  .donor-card,
  .donor-card-logo,
  .sponsor-track a,
  .sponsor-track img,
  .sponsor-track .sponsor-badge {
    transition: none;
  }
}

/* --- COMPARAÇÃO ANTES / DEPOIS --- */
.antes-depois { margin-bottom: 28px; }
.antes-depois h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 10px;
  text-align: center;
}
.antes-depois-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.antes-depois-grid figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 0.5px solid var(--gray-100);
  background: var(--white);
}
.antes-depois-grid img { width: 100%; display: block; }
.antes-depois-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--white);
  z-index: 1;
}
.label-antes { background: var(--gray-800); }
.label-depois { background: var(--amber-600); }

@media (max-width: 768px) {
  .antes-depois-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 24px; }
  .result-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .indicators-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- DASHBOARD DE RETORNO FISCAL POR ESTADO --- */
.fiscal-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.fiscal-kpi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--blue-600);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fiscal-kpi-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(4,44,83,.14); }
.fiscal-kpi-card.kpi-blue { border-left-color: var(--blue-600); }
.fiscal-kpi-card.kpi-teal { border-left-color: var(--teal-600); }
.fiscal-kpi-card.kpi-gold { border-left-color: var(--amber-400); }
.fiscal-kpi-card.kpi-red { border-left-color: #DC2626; }
.fiscal-kpi-label {
  font-size: 11.5px;
  color: var(--gray-400);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 6px;
  line-height: 1.4;
}
.fiscal-kpi-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -.3px;
}
.fiscal-kpi-value small { font-size: 14px; font-weight: 600; color: var(--gray-400); }

.fiscal-dash-box {
  background: var(--white);
  border: 0.5px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  box-shadow: var(--shadow-lg);
}
.fiscal-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.fiscal-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
}
.fiscal-legend-dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.fiscal-chart-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.fiscal-chart-card {
  background: var(--white);
  border: 0.5px solid var(--gray-100);
  border-top: 3px solid var(--blue-800);
  border-radius: var(--radius);
  padding: 18px 18px 12px;
  box-shadow: var(--shadow-lg);
  transition: transform .25s ease, box-shadow .25s ease;
  flex: 1 1 300px;
  max-width: 340px;
}
.fiscal-chart-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(4,44,83,.16), 0 2px 8px rgba(0,0,0,.08);
}
.fiscal-chart-card h4 {
  font-size: 16px;
  color: var(--blue-900);
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: -.2px;
}
.fiscal-chart { width: 100%; height: 280px; }
@media (max-width: 640px) {
  .fiscal-chart-card { flex: 1 1 100%; max-width: 100%; }
  .fiscal-dash-box { padding: 24px 16px 20px; }
}

/* --- MATÉRIAS (páginas de notícia) --- */
.materia-h1 { font-size: 30px; line-height: 1.25; max-width: 900px; margin-left: auto; margin-right: auto; }
.materia-meta { font-size: 12.5px; color: var(--gray-400); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 18px; }
.materia-fig { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.materia-fig img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.materia-body p { font-size: 16px; line-height: 1.85; color: var(--gray-800); margin-bottom: 18px; }
.materia-h { font-size: 19px; color: var(--blue-900); font-weight: 800; margin: 28px 0 8px; letter-spacing: -.2px; }
.materia-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 32px; padding: 22px 26px; background: var(--blue-50); border-left: 5px solid var(--blue-600); border-radius: var(--radius); }
.materia-box strong { display: block; color: var(--blue-900); font-size: 16px; margin-bottom: 2px; }
.materia-box span { color: var(--gray-600); font-size: 14px; }
.materia-back { margin-top: 28px; font-size: 14px; }
.materia-back a { color: var(--blue-600); font-weight: 700; }
@media (max-width: 640px) { .materia-h1 { font-size: 23px; } }

/* --- BARRA DE ÍNDICES ECONÔMICOS (ticker) --- */
.ticker { display: flex; align-items: stretch; background: var(--blue-900); color: #fff; border-bottom: 3px solid var(--amber-400); overflow: hidden; }
.ticker[hidden] { display: none; }
.ticker-head { flex-shrink: 0; padding: 8px 18px; font-size: 12px; font-weight: 800; letter-spacing: .08em; background: #021f3b; line-height: 1.25; display: flex; flex-direction: column; justify-content: center; }
.ticker-head small { font-weight: 600; letter-spacing: 0; opacity: .7; font-size: 10.5px; }
.ticker-viewport { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker-track { display: inline-flex; white-space: nowrap; animation: ticker-scroll 55s linear infinite; }
.ticker-viewport:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: baseline; gap: 6px; padding: 12px 28px; border-right: 1px solid rgba(255,255,255,.15); font-size: 14px; }
.ticker-label { opacity: .8; font-weight: 600; }
.ticker-value { font-size: 15px; }
.ticker-delta { font-size: 12.5px; font-weight: 700; }
.ticker-up { color: #4ADE80; } .ticker-down { color: #F87171; } .ticker-flat { opacity: .7; }
.ticker-note { font-size: 11.5px; opacity: .6; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker-viewport { overflow-x: auto; } }
@media (max-width: 600px) { .ticker-head { padding: 6px 10px; } .ticker-item { padding: 10px 18px; font-size: 13px; } }

/* --- DIRETORIA (fotos em Quem Somos) --- */
.lider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 900px; margin: 0 auto 32px; }
.lider-card { margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border-top: 3px solid var(--blue-800); }
.lider-card img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: top; display: block; }
.lider-card figcaption { padding: 14px 16px 16px; text-align: center; }
.lider-card strong { display: block; color: var(--blue-900); font-size: 15px; }
.lider-card span { color: var(--gray-600); font-size: 13px; font-weight: 600; }
@media (max-width: 700px) { .lider-grid { grid-template-columns: 1fr; max-width: 360px; } }

/* --- LOGOS DOS CARDS: padrão único (fundo branco, logo inteira, margem igual) --- */
.card-thumb { height: 210px; background: #fff; border-bottom: 0.5px solid var(--gray-100); }
.card-thumb:has(.thumb-placeholder) { background: linear-gradient(135deg, var(--blue-50), var(--teal-50)); }
.card-thumb > img { width: 100%; height: 100%; object-fit: contain; padding: 12px 8px; box-sizing: border-box; }
.card-thumb-agps { background: radial-gradient(circle at 50% 45%, #ffffff 30%, var(--teal-50) 100%); }
.card-thumb-agps > img.agps-logo-pulse { width: auto; height: 90%; padding: 0; animation: agps-card-float 3.2s ease-in-out infinite, agps-card-glow 3.2s ease-in-out infinite; }
@keyframes agps-card-float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-7px) scale(1.06); } }
@keyframes agps-card-glow { 0%,100% { filter: drop-shadow(0 0 0 rgba(29,158,117,0)); } 50% { filter: drop-shadow(0 8px 16px rgba(29,158,117,.45)); } }
@media (prefers-reduced-motion: reduce) { .card-thumb-agps > img.agps-logo-pulse { animation: none; } }

/* --- LOGOS COM VIDA: cada projeto tem seu movimento --- */
.logo-fx { transform-origin: 50% 70%; will-change: transform; }
.fx-onda { animation: fx-onda 4.2s ease-in-out infinite; transform-origin: 50% 85%; }
.fx-carimbo { animation: fx-carimbo 3.6s ease-in infinite; }
.fx-aguia { animation: fx-aguia 3.4s ease-in-out infinite; }
.fx-bola { animation: fx-bola 2.4s cubic-bezier(.3,.1,.4,1) infinite; transform-origin: 50% 100%; }
.fx-selo { animation: fx-selo 5s ease-in-out infinite; }
.fx-evolucao { animation: fx-evolucao 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.fx-chute { animation: fx-chute 2.8s ease-in-out infinite; }
@keyframes fx-onda { 0%,100% { transform: translateY(0) rotate(-3.5deg); } 25% { transform: translateY(-9px) rotate(0deg); } 50% { transform: translateY(2px) rotate(3.5deg); } 75% { transform: translateY(-7px) rotate(0deg); } }
@keyframes fx-carimbo { 0%,55% { transform: scale(1); filter: none; } 68% { transform: scale(1.22); filter: drop-shadow(0 10px 8px rgba(4,44,83,.18)); } 76% { transform: scale(.94); filter: drop-shadow(0 1px 2px rgba(4,44,83,.35)); } 84% { transform: scale(1.02); } 92%,100% { transform: scale(1); filter: none; } }
@keyframes fx-aguia { 0%,100% { transform: scale(1) translateY(0); filter: brightness(1); } 35% { transform: scale(1.07) translateY(-6px); filter: brightness(1.1) drop-shadow(0 8px 10px rgba(217,119,6,.35)); } 60% { transform: scale(.98) translateY(1px); filter: brightness(1); } }
@keyframes fx-bola { 0%,100% { transform: translateY(0) scale(1.04, .94); } 45% { transform: translateY(-22px) scale(.97, 1.04); } 60% { transform: translateY(-22px) scale(.97, 1.04); } 85% { transform: translateY(0) scale(1.04, .94); } 92% { transform: translateY(-4px) scale(1); } }
@keyframes fx-selo { 0%,100% { transform: rotate(-4deg) scale(1); filter: drop-shadow(0 0 0 rgba(180,140,40,0)); } 50% { transform: rotate(4deg) scale(1.06); filter: drop-shadow(0 6px 14px rgba(180,140,40,.55)); } }
@keyframes fx-evolucao { 0% { transform: scale(.94) translateY(6px); } 55% { transform: scale(1.08) translateY(-6px); filter: drop-shadow(0 8px 12px rgba(234,88,12,.35)); } 75%,100% { transform: scale(.94) translateY(6px); filter: none; } }
@keyframes fx-chute { 0%,100% { transform: rotate(0deg) translateY(0); } 20% { transform: rotate(-6deg) translateY(2px); } 45% { transform: rotate(5deg) translateY(-14px); } 70% { transform: rotate(-2deg) translateY(0); } }
@media (prefers-reduced-motion: reduce) { .logo-fx { animation: none !important; } }

/* --- CADASTRO LUCRO REAL --- */
.cad-aviso { background: var(--blue-50); border-left: 5px solid var(--blue-600); border-radius: var(--radius); padding: 16px 20px; font-size: 14px; color: var(--gray-800); line-height: 1.6; margin-bottom: 26px; }
.cad-form fieldset { border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 18px 20px 20px; margin: 0 0 20px; background: var(--white); }
.cad-form legend { font-weight: 800; color: var(--blue-900); font-size: 16px; padding: 0 8px; }
.cad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.cad-full { grid-column: 1 / -1; }
.cad-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; color: var(--gray-600); }
.cad-form input:not([type=checkbox]), .cad-form select { padding: 11px 12px; border: 1px solid var(--gray-200, #cbd5e1); border-radius: 8px; font: inherit; font-size: 15px; font-weight: 400; color: var(--gray-800); background: #fff; }
.cad-form input:focus-visible, .cad-form select:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 1px; }
.cad-decl { font-size: 14px; line-height: 1.7; color: var(--gray-800); background: var(--gray-50); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; }
.cad-check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 600 !important; }
.cad-check input { margin-top: 3px; width: 18px; height: 18px; }
.cad-erro { background: #fee2e2; color: #991b1b; border-radius: 10px; padding: 12px 16px; font-weight: 700; margin-bottom: 14px; }
.cad-ficha h2 { color: var(--blue-900); margin-bottom: 4px; }
.cad-ficha h3 { color: var(--blue-900); font-size: 15px; margin: 18px 0 6px; border-bottom: 1px solid var(--gray-100); padding-bottom: 4px; }
.cad-data { font-size: 12.5px; color: var(--gray-400); margin-bottom: 8px; }
.cad-ficha table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cad-ficha th { text-align: left; width: 34%; color: var(--gray-600); padding: 6px 8px; vertical-align: top; }
.cad-ficha td { padding: 6px 8px; color: var(--gray-800); }
.cad-assin { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 46px; font-size: 13px; line-height: 1.6; }
.cad-acoes { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.cad-nota { font-size: 12.5px; color: var(--gray-600); margin-top: 12px; line-height: 1.6; }
@media (max-width: 640px) { .cad-grid { grid-template-columns: 1fr; } }
@media print {
  .topbar, .site-header, .page-header, .site-footer, .sponsors, .cad-aviso, .no-print, .a11y-fab, #a11yPanel, [class*="vw-"] { display: none !important; }
  body, .section { background: #fff !important; padding: 0 !important; }
  .cad-ficha { font-size: 12px; }
}

/* ===== Hero executivo da página inicial (22/10/2026) ===== */
.hero-pro { text-align: left; padding: 84px 0 110px; background: linear-gradient(135deg, #031d38 0%, #042C53 45%, #0a3d6e 100%); isolation: isolate; }
.hero-pro .hero-bg-circle { display: none; }
.hero-aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.hero-aurora .a1 { width: 520px; height: 520px; left: -140px; top: -160px; background: #1d6fb8; animation: auroraA 16s ease-in-out infinite alternate; }
.hero-aurora .a2 { width: 460px; height: 460px; right: -120px; top: 40px; background: #0f8f78; opacity: .38; animation: auroraB 19s ease-in-out infinite alternate; }
.hero-aurora .a3 { width: 380px; height: 380px; left: 38%; bottom: -220px; background: #c7842a; opacity: .30; animation: auroraC 22s ease-in-out infinite alternate; }
@keyframes auroraA { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes auroraB { to { transform: translate(-100px, 120px) scale(1.1); } }
@keyframes auroraC { to { transform: translate(-160px, -60px) scale(1.2); } }
.hero-grid-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); }
.hero-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; left: var(--mx, 30%); top: var(--my, 30%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(93,202,165,.20), transparent 65%); z-index: -1; pointer-events: none; transition: left .25s ease-out, top .25s ease-out; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; }
.hero-pro h1 { margin: 0 0 18px; max-width: none; font-size: 50px; line-height: 1.1; letter-spacing: -1.2px; }
.hero-grad { background: linear-gradient(100deg, #5DCAA5 0%, #85B7EB 40%, #FAC775 80%, #5DCAA5 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: gradShift 7s linear infinite; }
@keyframes gradShift { to { background-position: 220% center; } }
.hero-pro .hero-lead { font-size: 18px; line-height: 1.65; max-width: 560px; margin: 0 0 30px; color: #bcd6f1; }
.hero-pro .hero-btns { justify-content: flex-start; margin-bottom: 30px; }
.hero-pro .hero-trust { justify-content: flex-start; }
.hero-pro .btn-accent { box-shadow: 0 8px 24px rgba(186,117,23,.38); }
.hero-pro .btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(186,117,23,.5); }
.hero-pro .btn-outline-white { backdrop-filter: blur(4px); }
.hero-pro .btn-outline-white:hover { transform: translateY(-2px); }
/* entrada escalonada */
.hero-pro .rise { opacity: 0; transform: translateY(22px); animation: riseIn .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-pro .rise.d1 { animation-delay: .05s; } .hero-pro .rise.d2 { animation-delay: .18s; } .hero-pro .rise.d3 { animation-delay: .32s; } .hero-pro .rise.d4 { animation-delay: .46s; } .hero-pro .rise.d5 { animation-delay: .6s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }
/* painel de captação */
.cap-card { position: relative; border-radius: 20px; padding: 26px 26px 22px; background: linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 24px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: floatCard 7s ease-in-out infinite; }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.cap-live { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9FE1CB; }
.cap-live i { width: 8px; height: 8px; border-radius: 50%; background: #5DCAA5; box-shadow: 0 0 0 0 rgba(93,202,165,.7); animation: livePing 1.8s infinite; }
@keyframes livePing { 70% { box-shadow: 0 0 0 10px rgba(93,202,165,0); } 100% { box-shadow: 0 0 0 0 rgba(93,202,165,0); } }
.cap-title { color: #fff; font-size: 15px; font-weight: 700; margin: 8px 0 4px; }
.cap-days { display: flex; align-items: baseline; gap: 10px; color: #fff; }
.cap-days b { font-size: 68px; line-height: 1; font-weight: 800; letter-spacing: -2px; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #b5d4f4); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.cap-days span { font-size: 15px; color: #bcd6f1; font-weight: 600; }
.cap-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.14); margin: 16px 0 6px; overflow: hidden; }
.cap-bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, #1D9E75, #FAC775); transition: width 1.6s cubic-bezier(.2,.7,.2,1) .4s; position: relative; }
.cap-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: translateX(-100%); animation: shine 2.6s ease-in-out 2s infinite; }
@keyframes shine { to { transform: translateX(100%); } }
.cap-range { display: flex; justify-content: space-between; font-size: 11.5px; color: #9fc0e3; }
.cap-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 18px; }
.cap-stats div { background: rgba(4,44,83,.45); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 10px; text-align: center; }
.cap-stats b { display: block; color: #fff; font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cap-stats small { display: block; color: #9fc0e3; font-size: 11px; margin-top: 2px; line-height: 1.3; }
.cap-link { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; border-radius: 10px; background: #fff; color: #042C53; font-weight: 800; font-size: 14px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.cap-link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.cap-link span { transition: transform .2s; } .cap-link:hover span { transform: translateX(4px); }
.cap-note { margin: 12px 0 0; font-size: 11.5px; color: #9fc0e3; text-align: center; line-height: 1.5; }
@media (max-width: 960px) {
  .hero-pro { padding: 56px 0 80px; text-align: center; }
  .hero-split { grid-template-columns: 1fr; gap: 36px; }
  .hero-pro h1 { font-size: 36px; } .hero-pro .hero-lead { margin-left: auto; margin-right: auto; font-size: 16px; }
  .hero-pro .hero-btns, .hero-pro .hero-trust { justify-content: center; }
  .cap-card { max-width: 460px; margin: 0 auto; text-align: left; }
}
@media (max-width: 520px) { .hero-pro h1 { font-size: 29px; letter-spacing: -.6px; } .cap-days b { font-size: 54px; } .cap-stats b { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-aurora span, .hero-grad, .cap-card, .cap-live i, .cap-bar i::after { animation: none !important; }
  .hero-pro .rise { opacity: 1; transform: none; animation: none; }
  .cap-bar i { transition: none; }
}
.cap-stats b { white-space: nowrap; font-size: 19px; }

/* ===== Painel executivo dos projetos (22/10/2026) ===== */
.px-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.px-kpi { background: #fff; border: 1px solid var(--gray-100, #e5e7eb); border-radius: 16px; padding: 24px 16px; text-align: center; box-shadow: 0 6px 20px rgba(4,44,83,.06); transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.px-kpi::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #1D6FB8, #1D9E75, #BA7517); }
.px-kpi:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(4,44,83,.12); }
.px-kpi b { display: block; font-size: 30px; font-weight: 800; color: var(--blue-900); letter-spacing: -.5px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.px-kpi span { display: block; margin-top: 8px; font-size: 13px; color: var(--gray-600); line-height: 1.4; }
.px-aplic { display: grid; grid-template-columns: minmax(280px, 430px) 1fr; gap: 40px; align-items: center; max-width: 1060px; margin: 0 auto; }
.px-chart { width: 100%; height: 400px; }
.px-legend { list-style: none; margin: 0; padding: 0; }
.px-legend li { display: grid; grid-template-columns: 14px 1fr auto 52px; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--gray-100, #e5e7eb); font-size: 13.5px; color: var(--gray-800); }
.px-legend li:hover { background: var(--blue-50); }
.px-legend i { width: 12px; height: 12px; border-radius: 4px; }
.px-legend b { font-variant-numeric: tabular-nums; color: var(--blue-900); }
.px-legend em { font-style: normal; text-align: right; color: var(--gray-600); font-size: 12.5px; }
.px-note { max-width: 720px; margin: 0 auto; text-align: center; color: var(--gray-600); font-size: 14.5px; line-height: 1.7; }
.px-cotas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.px-cota { background: #fff; border: 1px solid var(--gray-100, #e5e7eb); border-radius: 16px; padding: 22px 14px; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s; }
.px-cota:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(4,44,83,.12); border-color: var(--blue-200); }
.px-cota small { display: block; color: var(--teal-600); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.px-cota b { display: block; font-size: 20px; color: var(--blue-900); font-weight: 800; }
.px-cota span { display: block; margin-top: 6px; font-size: 14px; color: var(--gray-600); }
.px-perfis { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 960px; margin: 0 auto; }
.px-perfis > div { background: #fff; border-left: 4px solid var(--teal-400); border-radius: 12px; padding: 18px 20px; box-shadow: 0 4px 14px rgba(4,44,83,.05); }
.px-perfis > div:last-child { border-left-color: var(--amber-400); }
.px-perfis b { color: var(--blue-900); font-size: 15px; }
.px-perfis p { margin: 6px 0 0; font-size: 13.5px; color: var(--gray-600); line-height: 1.6; }
.px-doe { background: linear-gradient(135deg, #031d38 0%, #042C53 50%, #0a3d6e 100%); position: relative; overflow: hidden; }
.px-doe::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(circle, rgba(29,158,117,.35), transparent 65%); animation: auroraB 18s ease-in-out infinite alternate; }
.px-doe-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.px-doe h2 { color: #fff; font-size: 34px; margin: 14px 0 12px; line-height: 1.15; }
.px-doe-txt p { color: #bcd6f1; font-size: 15.5px; line-height: 1.7; }
.px-steps { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.px-steps li { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 14.5px; }
.px-steps b { flex: 0 0 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #1D9E75, #5DCAA5); display: grid; place-items: center; font-size: 15px; box-shadow: 0 6px 16px rgba(29,158,117,.4); }
.px-doe-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.px-pix { background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.22); border-radius: 20px; padding: 26px; backdrop-filter: blur(12px); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.px-pix-h { color: #9FE1CB; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.px-pix-l { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); }
.px-pix-l span { display: block; font-size: 11.5px; color: #9fc0e3; margin-bottom: 5px; }
.px-pix-l > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.px-pix code { color: #fff; font-size: 14px; font-weight: 700; background: none; word-break: break-word; }
.px-pix .donate-copy { background: #fff; color: #042C53; border: none; border-radius: 8px; padding: 6px 14px; font-weight: 800; font-size: 12px; cursor: pointer; transition: transform .2s; }
.px-pix .donate-copy:hover { transform: scale(1.06); }
.px-pix-n { margin: 12px 0 0; font-size: 12.5px; color: #bcd6f1; }
.px-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(16px, calc((100vw - 1100px) / 2)); background: rgba(4,44,83,.96); backdrop-filter: blur(10px); box-shadow: 0 -10px 30px rgba(0,0,0,.25); transform: translateY(110%); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.px-bar.on { transform: none; }
.px-bar-txt strong { display: block; color: #fff; font-size: 15px; }
.px-bar-txt span { color: #9fc0e3; font-size: 12.5px; }
.px-bar .btn { white-space: nowrap; animation: barPulse 2.4s infinite; }
@keyframes barPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(186,117,23,.55); } 70% { box-shadow: 0 0 0 12px rgba(186,117,23,0); } }
@media (max-width: 900px) {
  .px-kpis, .px-cotas { grid-template-columns: 1fr 1fr; }
  .px-aplic, .px-doe-grid, .px-perfis { grid-template-columns: 1fr; }
  .px-chart { height: 320px; }
  .px-doe h2 { font-size: 27px; }
  .px-bar-txt span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .px-doe::before, .px-bar .btn { animation: none; } .px-bar { transition: none; } }

/* ===== Efeitos globais do portal (22/10/2026) ===== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, #1D9E75, #85B7EB, #FAC775); box-shadow: 0 0 10px rgba(133,183,235,.7); pointer-events: none; }
.site-header { transition: box-shadow .3s, background .3s; }
body.is-scrolled .site-header { box-shadow: 0 8px 26px rgba(4,44,83,.16); }
.page-header { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #031d38, #042C53 55%, #0a3d6e); }
.page-header .hero-bg-circle { display: none; }
.page-header .hero-aurora { z-index: -1; }
.page-header .container { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) both; }
.project-card, .sobre-card, .benef-card, .stat-item, .donor-card { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.project-card:hover, .sobre-card:hover, .benef-card:hover, .donor-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(4,44,83,.14); }
.btn-accent { position: relative; overflow: hidden; }
.btn-accent::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); transition: left .6s; pointer-events: none; }
.btn-accent:hover::after { left: 130%; }
@keyframes riseIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .page-header .container { animation: none; } .project-card:hover, .sobre-card:hover, .benef-card:hover, .donor-card:hover { transform: none; } }

/* ===== Quem Somos (22/10/2026) ===== */
.qs-numeros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -54px; position: relative; z-index: 2; }
.qs-num { background: #fff; border-radius: 16px; padding: 22px 12px; text-align: center; box-shadow: 0 14px 34px rgba(4,44,83,.14); border-top: 4px solid var(--teal-400); }
.qs-num:nth-child(2) { border-top-color: var(--blue-400); }
.qs-num:nth-child(3) { border-top-color: var(--amber-400); }
.qs-num:nth-child(4) { border-top-color: #6B4E9B; }
.qs-num b { display: block; font-size: 34px; color: var(--blue-900); font-weight: 800; font-variant-numeric: tabular-nums; }
.qs-num span { font-size: 13px; color: var(--gray-600); }
.qs-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center; }
.qs-intro p { font-size: 15.5px; color: var(--gray-800); line-height: 1.8; margin: 0 0 16px; }
.qs-cartao { background: linear-gradient(160deg, #042C53, #0a3d6e); color: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 20px 44px rgba(4,44,83,.25); }
.qs-cartao img { height: 84px; width: auto; display: block; margin: 0 auto 14px; background: #fff; border-radius: 16px; padding: 8px; }
.qs-cartao dl { margin: 0; }
.qs-cartao dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #9FE1CB; margin-top: 12px; }
.qs-cartao dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; }
.qs-linha { position: relative; max-width: 860px; margin: 0 auto; padding-left: 30px; }
.qs-linha::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #1D9E75, #378ADD, #BA7517); }
.qs-ev { position: relative; padding: 0 0 26px 22px; }
.qs-ev::before { content: ""; position: absolute; left: -29px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 4px solid var(--teal-400); box-shadow: 0 0 0 4px rgba(29,158,117,.15); }
.qs-ev b { color: var(--teal-600); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.qs-ev h4 { margin: 3px 0 4px; color: var(--blue-900); font-size: 17px; }
.qs-ev p { margin: 0; color: var(--gray-600); font-size: 14px; line-height: 1.6; }
.qs-cta { background: linear-gradient(135deg, #031d38, #0a3d6e); border-radius: 22px; padding: 44px 30px; text-align: center; color: #fff; }
.qs-cta h2 { color: #fff; margin: 0 0 10px; }
.qs-cta p { color: #bcd6f1; max-width: 620px; margin: 0 auto 22px; line-height: 1.7; }
@media (max-width: 900px) { .qs-numeros { grid-template-columns: 1fr 1fr; margin-top: -30px; } .qs-intro { grid-template-columns: 1fr; } }

.lider-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: 1000px; }

.perfis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.perfis-grid .sobre-card p { text-align: left; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips span { background: var(--blue-50); color: var(--blue-800); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 700; }
@media (max-width: 800px) { .perfis-grid { grid-template-columns: 1fr; } }

.perfis-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }

.cv-sub { margin: 16px 0 6px; color: var(--blue-900); font-size: 14px; font-weight: 800; }
.cv-lista { margin: 0 0 4px; padding-left: 18px; color: var(--gray-800); font-size: 13.5px; line-height: 1.6; }
.cv-lista li { margin-bottom: 6px; }
.cv-contato { margin: 14px 0 16px; font-size: 13px; color: var(--gray-600); }

/* mini currículo em janela (23/10/2026) */
.lider-card { position: relative; }
.lider-card.tem-perfil { cursor: pointer; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.lider-card.tem-perfil:hover, .lider-card.tem-perfil:focus-visible { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(4,44,83,.22); outline: none; }
.lider-card.tem-perfil:focus-visible { box-shadow: 0 0 0 3px var(--blue-400), 0 18px 38px rgba(4,44,83,.22); }
.lider-more { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 4 / 4.6; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 16px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; background: linear-gradient(180deg, transparent 45%, rgba(4,44,83,.88)); opacity: 0; transition: opacity .3s; pointer-events: none; }
.lider-more b { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 8px; border-radius: 50%; background: var(--amber-400); font-size: 16px; line-height: 1; }
.lider-card.tem-perfil:hover .lider-more, .lider-card.tem-perfil:focus-visible .lider-more { opacity: 1; }
.lider-card.tem-perfil:hover img { transform: scale(1.04); }
.lider-card img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
@media (hover: none) { .lider-more { opacity: 1; } }
.perfil-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; }
.perfil-modal[hidden] { display: none; }
.perfil-modal-fundo { position: absolute; inset: 0; background: rgba(3,29,56,.7); backdrop-filter: blur(4px); animation: modalFade .25s ease both; }
.perfil-modal-caixa { position: relative; width: 100%; max-width: 680px; max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 20px; padding: 34px 34px 28px; box-shadow: 0 30px 80px rgba(0,0,0,.45); animation: modalUp .35s cubic-bezier(.2,.7,.2,1) both; border-top: 5px solid var(--teal-400); }
.perfil-modal-x { position: absolute; right: 14px; top: 10px; width: 38px; height: 38px; border: none; border-radius: 50%; background: var(--blue-50); color: var(--blue-900); font-size: 24px; line-height: 1; cursor: pointer; }
.perfil-modal-x:hover { background: var(--blue-100); }
.perfil-modal-corpo .sobre-card-icon { font-size: 30px; display: block; margin-bottom: 6px; }
.perfil-modal-corpo h4 { margin: 0 0 12px; color: var(--blue-900); font-size: 21px; line-height: 1.25; padding-right: 36px; }
.perfil-modal-corpo p { font-size: 14.5px; line-height: 1.75; color: var(--gray-800); text-align: left; }
@keyframes modalFade { from { opacity: 0; } }
@keyframes modalUp { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@media (max-width: 600px) { .perfil-modal-caixa { padding: 26px 20px 22px; } }
@media (prefers-reduced-motion: reduce) { .perfil-modal-fundo, .perfil-modal-caixa { animation: none; } .lider-card.tem-perfil:hover img { transform: none; } }

/* Página "Elabore seu projeto" (rascunho, 23/10/2026) */
.el-rascunho { background: repeating-linear-gradient(45deg, #b91c1c, #b91c1c 14px, #991b1b 14px, #991b1b 28px); color: #fff; text-align: center; font-weight: 800; font-size: 13px; padding: 8px 12px; letter-spacing: .03em; position: relative; z-index: 300; }
.el-passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.el-passo { position: relative; background: #fff; border: 1px solid var(--gray-100, #e5e7eb); border-radius: 16px; padding: 26px 20px 20px; box-shadow: 0 6px 20px rgba(4,44,83,.06); transition: transform .3s, box-shadow .3s; }
.el-passo:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(4,44,83,.13); }
.el-passo b { position: absolute; top: -16px; left: 20px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 16px; background: linear-gradient(135deg, #1D6FB8, #1D9E75); box-shadow: 0 8px 18px rgba(29,111,184,.35); }
.el-passo h4 { margin: 6px 0 6px; color: var(--blue-900); font-size: 16px; }
.el-passo p { margin: 0; color: var(--gray-600); font-size: 13.5px; line-height: 1.6; }
.el-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.el-tab { text-align: left; background: #fff; border: 1.5px solid var(--gray-100, #e2e8f0); border-radius: 14px; padding: 14px 16px; font-weight: 800; font-size: 15px; color: var(--blue-900); cursor: pointer; transition: all .25s; font-family: inherit; }
.el-tab small { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; color: var(--gray-600); }
.el-tab:hover { border-color: var(--blue-400); transform: translateY(-2px); }
.el-tab.active { background: linear-gradient(135deg, #042C53, #0a3d6e); color: #fff; border-color: transparent; box-shadow: 0 12px 28px rgba(4,44,83,.28); }
.el-tab.active small { color: #b5d4f4; }
.el-lei { display: none; background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 14px 40px rgba(4,44,83,.1); border-top: 5px solid var(--teal-400); }
.el-lei.active { display: block; animation: riseIn .5s cubic-bezier(.2,.7,.2,1) both; }
.el-lei header h3 { margin: 0 0 6px; color: var(--blue-900); font-size: 22px; }
.el-lei header p { margin: 0 0 20px; color: var(--gray-600); font-size: 15px; line-height: 1.6; }
.el-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.el-bloco { background: var(--blue-50); border-radius: 14px; padding: 16px 18px; }
.el-bloco h5 { margin: 0 0 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600); }
.el-bloco p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--gray-800); }
.el-nota { margin-top: 16px; background: #FFF6E5; border: 1px solid #F0D9A8; border-radius: 12px; padding: 14px 18px; font-size: 13px; line-height: 1.65; color: var(--gray-800); }
.el-tabela-wrap { overflow-x: auto; border-radius: 14px; box-shadow: 0 6px 20px rgba(4,44,83,.07); background: #fff; }
.el-tabela { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
.el-tabela thead th { background: #042C53; color: #fff; padding: 12px 14px; text-align: left; font-size: 13px; }
.el-tabela tbody th { text-align: left; background: var(--blue-50); color: var(--blue-900); padding: 12px 14px; width: 170px; }
.el-tabela td { padding: 12px 14px; border-top: 1px solid var(--gray-100, #e5e7eb); color: var(--gray-800); line-height: 1.5; }
.el-tabela tbody tr:hover td { background: #f8fbff; }
.el-aviso { margin: 14px auto 0; max-width: 820px; text-align: center; font-size: 12.5px; color: var(--gray-600); line-height: 1.6; }
.el-check { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.el-check > div { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 6px 20px rgba(4,44,83,.06); }
.el-check h4 { margin: 0 0 8px; color: var(--blue-900); font-size: 17px; }
.el-h4 { margin: 28px 0 12px; color: var(--blue-900); font-size: 17px; }
.el-badge { display: inline-block; vertical-align: middle; margin-left: 8px; background: #FDE68A; color: #78350f; border-radius: 999px; padding: 3px 12px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.el-planos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.el-plano { background: #fff; border: 1.5px dashed var(--blue-200); border-radius: 14px; padding: 18px 14px; display: flex; flex-direction: column; }
.el-plano.destaque { border-style: solid; border-color: var(--teal-400); box-shadow: 0 10px 24px rgba(29,158,117,.16); }
.el-plano h5 { margin: 0 0 6px; color: var(--blue-900); font-size: 14.5px; }
.el-plano p { margin: 0 0 12px; font-size: 12.5px; color: var(--gray-600); line-height: 1.55; flex: 1; }
.el-plano b { color: var(--amber-600); font-size: 13px; }
@media (max-width: 980px) { .el-passos, .el-check { grid-template-columns: 1fr 1fr; } .el-grid { grid-template-columns: 1fr 1fr; } .el-tabs { grid-template-columns: 1fr 1fr; } .el-planos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .el-passos, .el-check, .el-grid, .el-planos { grid-template-columns: 1fr; } .el-lei { padding: 20px 16px; } }

/* --- ESPAÇAMENTO ENTRE SEÇÕES (ajuste de 23/10/2026: menos vazio entre os textos) --- */
.section { padding: 36px 0; }
.section-dark { padding: 44px 0; }
.section-head { margin-bottom: 28px; }
.section-white + .section-white,
.section-alt + .section-alt { padding-top: 0; }
@media (max-width: 768px) {
  .section { padding: 28px 0; }
  .section-head { margin-bottom: 22px; }
}

/* --- LOGOS ESTATICAS: sem movimento, fundo branco liso --- */
.logo-fx, .fx-onda, .fx-carimbo, .fx-aguia, .fx-bola, .fx-selo, .fx-evolucao, .fx-chute,
.card-thumb > img, .card-thumb-agps > img, .card-thumb-agps > img.agps-logo-pulse { animation: none !important; transform: none !important; filter: none !important; transition: none !important; will-change: auto; }
.card-thumb, .card-thumb-agps { background: #fff !important; }
.card-thumb:has(.thumb-placeholder) { background: linear-gradient(135deg, var(--blue-50), var(--teal-50)) !important; }
.project-card:hover .card-thumb > img { transform: none !important; }

.hero-natureza { margin: 18px 0 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 560px; }

/* --- CAPA: nome da instituição em destaque e título maior --- */
.hero-pro .hero-badge { font-size: 20px; font-weight: 800; letter-spacing: .04em; padding: 10px 22px; border-radius: 14px; line-height: 1.3; text-transform: uppercase; color: #fff; }
.hero-pro .hero-badge-dot { width: 10px; height: 10px; }
.hero-pro h1 { font-size: 64px; line-height: 1.08; letter-spacing: -1.5px; }
@media (max-width: 900px) { .hero-pro h1 { font-size: 44px; } .hero-pro .hero-badge { font-size: 17px; } }
@media (max-width: 520px) { .hero-pro h1 { font-size: 33px; } .hero-pro .hero-badge { font-size: 15px; padding: 8px 16px; } }

/* --- CAPA: nome da instituição centralizado, maior que o título --- */
.hero-pro .hero-nome { text-align: center; margin: 0 auto 44px; }
.hero-sigla { display: block; font-size: 92px; font-weight: 800; line-height: 1; letter-spacing: .04em; color: #fff; }
.hero-nome-completo { display: block; margin-top: 10px; font-size: 44px; font-weight: 800; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.hero-pro h1 { font-size: 36px; line-height: 1.18; letter-spacing: -.6px; }
@media (max-width: 900px) { .hero-sigla { font-size: 68px; } .hero-nome-completo { font-size: 30px; } .hero-pro h1 { font-size: 32px; } }
@media (max-width: 520px) { .hero-sigla { font-size: 52px; } .hero-nome-completo { font-size: 21px; } .hero-pro h1 { font-size: 26px; } }

/* --- CAPA: sem sigla; texto ocupa a largura da coluna, alinhado a esquerda --- */
.hero-pro .hero-nome-completo { margin-top: 0; }
.hero-pro .hero-text { text-align: left; }
.hero-pro .hero-text h1, .hero-pro .hero-text .hero-lead, .hero-pro .hero-text .hero-natureza { max-width: none; width: 100%; text-align: left; margin-left: 0; margin-right: 0; }
.hero-pro .hero-text .hero-lead { text-align: justify; }
.hero-pro .hero-text .hero-natureza { margin-top: 18px; }

/* --- BLOCOS-PADRAO DAS PAGINAS DE PROJETO --- */
.px-narr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; max-width: 1100px; margin: 0 auto; }
.px-narr-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.px-narr-card { background: var(--white); border: 0.5px solid var(--gray-100); border-top: 3px solid var(--blue-600); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 1px 3px rgba(4,44,83,.08); }
.px-narr-card b { display: block; color: var(--blue-900); font-size: 15px; margin-bottom: 6px; }
.px-narr-card p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--gray-800); }
.px-narr-nota { max-width: 900px; margin: 20px auto 0; text-align: center; font-size: 14px; line-height: 1.7; color: var(--gray-600); }
.px-recebe { list-style: none; max-width: 900px; margin: 0 auto; padding: 0; display: grid; gap: 10px; }
.px-recebe li { position: relative; padding: 12px 16px 12px 42px; background: var(--gray-50, #f8fafc); border-radius: 10px; font-size: 14px; line-height: 1.6; color: var(--gray-800); }
.px-recebe li::before { content: "\2713"; position: absolute; left: 14px; top: 11px; color: #0f8f78; font-weight: 800; }

/* --- CABECALHO DAS PAGINAS DE PROJETO: parceiros nas laterais, logos girando e fundo animado --- */
.page-header { position: relative; overflow: hidden; }
.page-header::before { content: ""; position: absolute; inset: -30%; pointer-events: none; z-index: 0;
  background: radial-gradient(40% 50% at 20% 40%, rgba(55,138,221,.45), transparent 70%), radial-gradient(35% 45% at 80% 60%, rgba(29,158,117,.38), transparent 70%), radial-gradient(30% 40% at 50% 100%, rgba(250,199,117,.22), transparent 70%);
  animation: ph-fundo 14s ease-in-out infinite alternate; }
@keyframes ph-fundo { from { transform: translate3d(-4%, -2%, 0) scale(1); } to { transform: translate3d(4%, 3%, 0) scale(1.12); } }
.page-header .container { position: relative; z-index: 1; }
.ph-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr) 190px; gap: 28px; align-items: center; }
.ph-centro { text-align: center; }
.ph-logo { position: relative; width: 170px; height: 170px; margin: 0 auto; perspective: 700px; display: flex; align-items: center; justify-content: center; }
.ph-logo img { position: relative; z-index: 1; width: 140px; height: 140px; object-fit: contain; background: #fff; border-radius: 22px; padding: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.38); animation: ph-giro 9s ease-in-out infinite; transform-style: preserve-3d; }
.ph-dir img { animation-delay: -4.5s; }
.ph-ring { position: absolute; inset: 0; border-radius: 50%; z-index: 0; background: conic-gradient(from 0deg, rgba(93,202,165,0), rgba(93,202,165,.85), rgba(133,183,235,.85), rgba(250,199,117,.85), rgba(93,202,165,0)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); animation: ph-anel 6s linear infinite; filter: drop-shadow(0 0 10px rgba(93,202,165,.6)); }
@keyframes ph-giro { 0%, 18% { transform: rotateY(0deg); } 50% { transform: rotateY(360deg); } 100% { transform: rotateY(360deg); } }
@keyframes ph-anel { to { transform: rotate(360deg); } }
.proj-logo-sec { padding: 34px 0 0; text-align: center; }
.proj-logo-real { display: block; margin: 0 auto; width: auto; height: auto; max-width: 100%; border-radius: 16px; }
@media (max-width: 800px) {
  .ph-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "e d" "c c"; gap: 18px 12px; }
  .ph-esq { grid-area: e; } .ph-dir { grid-area: d; } .ph-centro { grid-area: c; }
  .ph-logo { width: 120px; height: 120px; } .ph-logo img { width: 98px; height: 98px; padding: 8px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .page-header::before, .ph-logo img, .ph-ring { animation: none !important; } }

/* logos laterais do cabecalho: menores */
.ph-grid { grid-template-columns: 140px minmax(0, 1fr) 140px; }
.ph-logo { width: 124px; height: 124px; }
.ph-logo img { width: 98px; height: 98px; padding: 9px; border-radius: 18px; }
@media (max-width: 800px) { .ph-grid { grid-template-columns: 1fr 1fr; } .ph-logo { width: 96px; height: 96px; } .ph-logo img { width: 76px; height: 76px; padding: 6px; border-radius: 14px; } }

.ph-centro .ph-local { margin-top: 6px; font-size: 14px; opacity: .85; }
.ph-centro .ph-impacto { margin: 14px auto 0; max-width: 620px; color: #fff; font-size: 19px; font-weight: 700; line-height: 1.45; }

/* frase de impacto: letras brancas correndo da direita para a esquerda */
.ph-centro > p:not(.ph-impacto) { color: #fff; }
.ph-centro .ph-ticker { max-width: none; width: 100%; margin: 16px 0 0; overflow: hidden; white-space: nowrap; font-size: 20px; font-weight: 700; color: #fff; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ph-ticker span { display: inline-block; padding-left: 100%; animation: ph-corre 22s linear infinite; }
.ph-ticker:hover span { animation-play-state: paused; }
@keyframes ph-corre { to { transform: translateX(-100%); } }
@media (max-width: 800px) { .ph-centro .ph-ticker { font-size: 17px; } .ph-ticker span { animation-duration: 18s; } }
@media (prefers-reduced-motion: reduce) { .ph-centro .ph-ticker { white-space: normal; -webkit-mask: none; mask: none; text-align: center; } .ph-ticker span { animation: none; padding-left: 0; } }

/* frase de impacto: surge no centro (sem direcao), fica legivel e se dissolve; neutro e mais facil de ler que um letreiro lateral */
.ph-centro .ph-ticker { white-space: normal; text-align: center; overflow: visible; -webkit-mask: none; mask: none; max-width: 720px; margin: 18px auto 0; padding: 12px 0; min-height: 3.2em; display: flex; align-items: center; justify-content: center; }
.ph-ticker span { display: block; padding-left: 0; transform: none; animation: ph-surge 10s ease-in-out infinite; }
.ph-ticker:hover span { animation-play-state: running; }
@keyframes ph-surge {
  0% { opacity: 0; transform: scale(.9); filter: blur(8px); letter-spacing: .08em; }
  14%, 80% { opacity: 1; transform: scale(1); filter: blur(0); letter-spacing: 0; }
  94%, 100% { opacity: 0; transform: scale(1.04); filter: blur(6px); }
}
@media (max-width: 800px) { .ph-ticker span { animation-duration: 10s; } }
@media (prefers-reduced-motion: reduce) { .ph-ticker span { animation: none; opacity: 1; filter: none; } }

/* logo do projeto: mesmo tamanho em todas as paginas (padrao Ondas Sem Limites) */
.proj-logo-real { width: auto; height: auto; max-width: min(300px, 70%); max-height: 300px; object-fit: contain; }
.proj-logo-real.proj-logo-alta { max-height: 420px; max-width: min(300px, 70%); }
.proj-logo-sec { padding: 28px 0 0; }

/* QR Code e arrecadação ao vivo na página do projeto */
.px-qr { align-items: center; text-align: center; }
.px-qr img { display: block; margin: 8px auto 0; max-width: 220px; height: auto; background: #fff; border-radius: 12px; padding: 8px; }
.px-arrecadado { margin: 14px auto 0; max-width: 720px; text-align: center; font-weight: 700; color: #042C53; background: #eef4fb; border-radius: 999px; padding: 10px 18px; font-size: 15px; }
.px-arrecadado.tem { background: #e6f7ef; color: #0b4f35; }

/* QR Code na janela de doação */
.donate-qr { text-align: center; margin-top: 12px; }
.donate-qr span { display: block; font-size: 12.5px; color: var(--gray-600); margin-bottom: 8px; }
.donate-qr img { display: block; margin: 0 auto; width: 190px; height: 190px; border: 1px solid var(--gray-100); border-radius: 10px; background: #fff; }

/* faixa de parceiros logo abaixo do cabeçalho da página */
.sponsors-topo { padding: 22px 0 16px; border-top: 0; box-shadow: 0 6px 18px rgba(4,44,83,.06); position: relative; z-index: 1; }
.sponsors-topo h3 { margin-bottom: 14px; }

/* --- MENU: letras maiores (antes 12,5 px) --- */
.main-nav { gap: 4px; }
.main-nav a { font-size: 16.5px; padding: 9px 12px; font-weight: 600; }
.btn-doe { padding: 10px 22px !important; font-size: 16.5px; }
.brand-text strong { font-size: 24px; }
.brand-text small { font-size: 13px; }
.brand-logo { width: 62px; height: 62px; }
@media (max-width: 1560px) { .main-nav a { font-size: 15px; padding: 8px 9px; } .btn-doe { font-size: 15px; padding: 9px 18px !important; } .brand-text small { font-size: 12px; } }
/* telas médias: o menu vira botão (hambúrguer), com letras grandes */
@media (max-width: 1340px) {
  .nav-toggle { display: flex; font-size: 28px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 0.5px solid var(--gray-100); box-shadow: var(--shadow-lg); gap: 2px; }
  .main-nav.nav-open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 14px; border-radius: 8px; font-size: 18px; }
  .btn-doe { margin: 8px 0 0 !important; border-radius: 8px !important; text-align: center; font-size: 18px; }
  .brand-text small { display: block; }
}

/* --- CABECALHO: menu centralizado no meio da pagina; letras um pouco menores --- */
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.header-inner .brand { justify-self: start; }
.header-inner .main-nav { justify-self: center; }
.header-inner .header-cta { justify-self: end; margin-left: 0; }
.btn-doe-menu { display: none !important; }
.main-nav a { font-size: 15.5px; padding: 8px 11px; }
.btn-doe { font-size: 15.5px; }
@media (max-width: 1560px) { .main-nav a { font-size: 14px; padding: 7px 8px; } .btn-doe { font-size: 14px; } }
@media (max-width: 1340px) {
  .header-inner { display: flex; justify-content: space-between; }
  .header-cta { display: none !important; }
  .btn-doe-menu { display: block !important; }
  .main-nav a { font-size: 18px; padding: 12px 14px; }
  .btn-doe { font-size: 18px; }
}
@media (max-width: 768px) { .header-inner { display: flex; } }

/* --- FAIXA AZUL DO TITULO MENOS ALTA, e nada de cartoes por cima da faixa de parceiros --- */
.page-header { padding: 24px 0 26px; }
.page-header h1 { margin-bottom: 4px; }
.qs-numeros { margin-top: 28px; }
.stats-wrap { margin-top: 28px; }
@media (max-width: 900px) { .qs-numeros { margin-top: 20px; } }

/* --- CAMADA ANIMADA DE PROJETOS (graficos, cronograma, metas) atras do titulo --- */
.fx-projetos { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx-projetos svg { width: 100%; height: 100%; display: block; }
.page-header > .container, .hero-pro > .container, .hero-pro > .hero-content { position: relative; z-index: 2; }
.fx-grade line { stroke: rgba(255,255,255,.032); stroke-width: .5; }
.fx-barra { fill: rgba(133,183,235,.16); animation: fx-barra 9s ease-in-out infinite; }
.fx-barra.b2 { fill: rgba(93,202,165,.18); }
@keyframes fx-barra { 0%, 100% { transform: translateX(-26px); opacity: .35; } 50% { transform: translateX(34px); opacity: 1; } }
.fx-coluna { fill: rgba(250,199,117,.20); transform-box: fill-box; transform-origin: 50% 100%; animation: fx-coluna 6s ease-in-out infinite; }
@keyframes fx-coluna { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.fx-linha { fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 1500; stroke-dashoffset: 1500; opacity: .4; animation: fx-linha 9s ease-in-out infinite; }
@keyframes fx-linha { 0% { stroke-dashoffset: 1500; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1500; } }
.fx-ponto { opacity: 0; transform-box: fill-box; transform-origin: center; animation: fx-ponto 9s ease-in-out infinite; }
@keyframes fx-ponto { 0%, 40% { opacity: 0; transform: scale(.3); } 55%, 85% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(1.8); } }
.fx-palavra { font: 600 11px/1 Inter, "Segoe UI", sans-serif; letter-spacing: .2em; fill: rgba(255,255,255,.09); animation: fx-palavra 26s linear infinite; }
@keyframes fx-palavra { 0% { transform: translateX(160px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(-260px); opacity: 0; } }
@media (max-width: 700px) { .fx-gantt, .fx-palavras { display: none; } }
@media (prefers-reduced-motion: reduce) { .fx-barra, .fx-coluna, .fx-linha, .fx-ponto, .fx-palavra { animation: none !important; } .fx-linha { stroke-dashoffset: 0; } .fx-ponto { opacity: .8; } }

/* --- CAPA (Inicio) menos alta --- */
.hero-pro { padding: 44px 0 58px; }
.hero-pro .hero-nome { margin-bottom: 26px; }
.hero-sigla { font-size: 64px; }
.hero-nome-completo { font-size: 38px; }
.hero-pro h1 { font-size: 34px; margin-bottom: 12px; }
.hero-pro .hero-lead { margin-bottom: 20px; font-size: 17px; }
.hero-pro .hero-btns { margin-bottom: 18px; }
.hero-split { gap: 44px; }
@media (max-width: 900px) { .hero-nome-completo { font-size: 26px; } .hero-pro h1 { font-size: 30px; } }
@media (max-width: 520px) { .hero-nome-completo { font-size: 20px; } .hero-pro h1 { font-size: 26px; } }

/* faixa azul fina acima do menu */
.topbar { padding: 5px 0; }
.topbar-inner { justify-content: flex-end; }
.topbar-links a { font-size: 13px; }

/* faixinha azul acima do menu: sem texto, no mesmo tom da capa e dos titulos */
.topbar { height: 14px; padding: 0; background: linear-gradient(135deg, #031d38, #042C53 55%, #0a3d6e); }
