/* A identidade "documento de engenharia" levada ao papel (spec §2.4). */
@media print {
  :root {
    --color-abyss: #ffffff;
    --color-raised: #ffffff;
    --color-card: #ffffff;
    --color-hairline: #000000;
    --color-primary: #000000;
    --color-secondary: #1a1a1a;
    --color-muted: #444444;
    --color-accent: #000000;
  }

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

  .grain, .progress, .skip, .kinetic-glow { display: none !important; }

  .shell { max-width: none; padding-inline: 0; }

  .bento { display: block; border: 0; }
  .cell { break-inside: avoid; border-block-end: 1px solid #000; padding-inline: 0; }

  .faq-item { break-inside: avoid; }
  details { display: block; }
  details > summary { list-style: none; }
  details p { display: block !important; }

  a { text-decoration: none; }
  a[href^='http']::after { content: ' <' attr(href) '>'; font-size: 0.85em; }
  a[href^='mailto']::after { content: ' <' attr(href) '>'; font-size: 0.85em; }

  h1, h2 { break-after: avoid; }
  @page { margin: 18mm 16mm; }


  /* ---- Vindos dos componentes: estavam no CSS crítico sem precisar.
     A folha de impressão só é baixada quando alguém imprime. ---- */
  /* de Nav.astro */
.site-header { position: static; background: none; backdrop-filter: none; }
  /* de Oferta.astro */
.oferta-glow { display: none; }
    .oferta-frame { border-color: #000; background: #fff; }
  /* de Trilha.astro */
.spine-fill { scale: 1 1; }
    .step-card { background: #fff; border-color: #000; break-inside: avoid; }
  /* de Hero.astro */
.hero-mesh, .hero-swarm { display: none; }
    .hero-panel { background: #fff; border-color: #000; box-shadow: none; backdrop-filter: none; }
  /* de Grain.astro */
.grain { display: none; }
  /* de Artefatos.astro */
.art-card { background: #fff; border-color: #000; box-shadow: none; }
    .tl, .fl, .bubble { opacity: 1 !important; animation: none !important; }
    .turno { grid-area: auto; }
    .turno + .turno { margin-block-start: 1rem; }
}
