/* PRINT-ONLY OVERRIDES — Plataforma AGROGENÔMICA */

@page {
  size: A4;
  margin: 12mm 10mm;
}

html, body {
  background: #fff !important;
}

body.print-mode {
  font-size: 13px;
}

/* Render colors faithfully on paper */
* {
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

/* Hide interactive chrome that doesn't translate to paper */
.a11y-bar,
.skip-link,
.mobile-toggle,
.drawer,
.modal-backdrop,
.modal,
.headline-alts,
.filter-tabs,
.cta-row,
.alt-chip,
.participe,
.napi-card .arrow,
.ext-card .ext-arrow,
.db-note,
.wa-fab,
.solos-org-actions,
.video-switcher,
[vw],
nav.nav,
.topbar .actions,
button.btn {
  display: none !important;
}

/* Topbar fica como cabeçalho institucional só uma vez */
.print-cover .topbar {
  position: static !important;
  border-bottom: 2px solid var(--c-ink);
}
.print-cover .topbar .row { min-height: 60px; }
.print-cover .topbar .brandmark { gap: 12px; }
.print-cover .topbar .brandmark .wordmark .top { font-size: 17px; }
.print-cover .topbar .brandmark .wordmark .sub { font-size: 9px; }

/* Esconde repetições da topbar fora da capa */
.print-page .topbar { display: none !important; }

/* Quebras de página entre seções principais */
.print-page {
  break-before: page;
  page-break-before: always;
}
.print-cover { break-after: avoid; }

/* Não quebrar dentro de blocos importantes */
section, .card, .napi-card, .news-card, .ext-card, .org-card,
.mission .pillar, .stat-strip .item, .participe-card, .org-unit-col {
  break-inside: avoid;
  page-break-inside: avoid;
}

/* Reduzir paddings exagerados que desperdiçam papel */
section { padding: 28px 0 !important; }
.detail-hero .container { padding: 28px 0 !important; }
.hero-grid { padding: 24px 0 32px !important; gap: 28px !important; }
.stat-strip .container { padding: 18px 24px !important; }

/* Hero: comprimir e desligar grandes ornamentos */
.hero h1 { font-size: 42px !important; line-height: 1.05 !important; }
.hero p.lead { font-size: 14px !important; }

.detail-hero h1 { font-size: 44px !important; line-height: 1.05 !important; }
.sect-head h2 { font-size: 30px !important; }
.mission h2, .participe-copy h2 { font-size: 30px !important; }

/* Dark sections — preserva fundos pretos via print-color-adjust */
.mission, footer.site, .stat-strip,
.participe[style*="--c-ink"],
section[style*="--c-ink"] {
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

/* Footer */
footer.site { padding: 28px 0 18px !important; }
footer.site .grid { padding-bottom: 22px !important; gap: 22px !important; }

/* Sombras / efeitos não traduzem bem */
.card, .napi-card, .news-card, .ext-card, .infographic-box, .solos-org-wrapper {
  box-shadow: none !important;
}

/* Constelação na página de equipe — comprimir */
.constelacao { width: 240px !important; height: 240px !important; }
.constelacao .centro { width: 120px !important; height: 120px !important; }

/* Notícias / canais — esconder placeholders pesados */
.news-card .thumb { aspect-ratio: 16/6 !important; }

/* Links: mostrar referência mínima */
a { text-decoration: none !important; color: inherit !important; }

/* Garantir contraste do texto sobre seções escuras */
.mission, .mission p, .mission h2, .mission .pillar p,
footer.site, footer.site p {
  color: var(--c-cream) !important;
}
.mission p { color: rgba(252,249,222,0.88) !important; }
.mission .pillar p { color: rgba(252,249,222,0.75) !important; }
