/* PsiPastana · impressão legível, sem dependência de fundos habilitados. */
@page { size: A4; margin: 16mm; }
@media print {
  :root { color-scheme: light; }
  html { scroll-padding: 0; }
  body { padding: 0; background: white !important; color: #24251e; font-size: clamp(10pt, 10pt + .1vw, 11pt); }
  .site-header, .site-nav, .menu-toggle, .skip-link, .cookie-bar, .whatsapp-fab,
  .testi-controls, .contact-form, #privacy-preferences, #privacy-dialog, .book-toggle,
  .book-panel, #cena-3d canvas { display: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; box-shadow: none !important; text-shadow: none !important; }
  .section, .site-footer, .testi-slide, #cena-3d { background: white !important; color: #24251e; border-color: #7a7b6d; }
  .section { min-height: 0; padding-block: 18pt; }
  .section::after, .hero::before, .hero::after, .section-num::after { display: none !important; }
  .container { width: 100%; max-width: none; }
  .hero > .container, .hero-grid, .split-layout, .contact-grid, .footer-grid, .session-grid { display: block; }
  h1, h2, h3, em, a, .lead, .section-num, .eyebrow, figcaption, .brand-name { color: #24251e !important; }
  h1, h2, .hero h2 { font-size: clamp(20pt, 20pt + .1vw, 22pt); max-width: 100%; }
  h3 { font-size: clamp(14pt, 14pt + .1vw, 16pt); }
  h1, h2, h3, summary { break-after: avoid; }
  p { orphans: 3; widows: 3; max-width: none; }
  a { text-decoration: underline; overflow-wrap: anywhere; }
  a[href^="https:"]::after, a[href^="tel:"]::after { content: " (" attr(href) ")"; font-size: clamp(8pt, 8pt + .1vw, 9pt); overflow-wrap: anywhere; }
  .button, .rating-badge { background: none !important; color: #24251e; border: 1px solid #7a7b6d; padding: 6pt; backdrop-filter: none; }
  .hero-figure, .clinic-figure, .lecture-figure { width: auto; max-width: 100%; margin-block: 16pt; }
  img, .hero-figure img { width: auto; max-width: 100%; height: auto; max-height: 70mm; object-fit: contain; }
  figure, .testi-slide, .book-texts article { break-inside: avoid; }
  .testi-track { display: block; overflow: visible; padding: 0; }
  .testi-slide { display: block; margin-block: 12pt; padding: 12pt; }
  .testi-slide blockquote, .family-quote blockquote { color: #24251e; }
  #estante[data-mode="detail"] .shelf-stage, .shelf-stage, .shelf-row { display: block; padding: 0; perspective: none; }
  #estante[data-mode="detail"] .book-card:not(.is-selected), .book-card { display: block !important; transform: none; }
  .book-texts[hidden] { display: grid !important; grid-template-columns: 1fr 1fr; gap: 5mm; }
  .book-texts article { display: block !important; padding-block: 8pt; }
  .faq-list details { break-inside: avoid; padding-block: 8pt; }
  .faq-list details > * { display: block !important; }
  .faq-list details::details-content { content-visibility: visible; display: block; }
  .scene-fallback { display: block !important; padding: 12pt; }
  .scene-fallback p { color: #24251e; }
  #cena-3d { aspect-ratio: auto; min-height: 0; }
  .site-footer { padding-block: 18pt; }
}
