/* ============================================
   PRINT STYLESHEET — Apresentação PDF
   Define páginas widescreen 1440x900 e força reveals visíveis
   ============================================ */

@page {
  size: 1440px 900px;
  margin: 0;
}

@media print {
  html, body {
    background: var(--c-onyx) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Forçar todos os reveals visíveis */
  .reveal-up,
  .reveal-line {
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal-line > span { transform: none !important; }

  /* Título underlines aparecem */
  .ritual-title::after,
  .menu-title::after,
  .depoimentos-title::after,
  .faq-title::after,
  .reserva-title::after,
  .galeria-title::after {
    transform: translateX(-50%) scaleX(1) !important;
  }
  .sobre-text > .eyebrow::before { transform: translateY(-50%) scaleX(1) !important; }

  /* FAQ: expandir todas as respostas pro PDF */
  .faq-answer {
    max-height: none !important;
    overflow: visible !important;
  }
  .faq-answer p {
    padding-bottom: 16px !important;
  }
  .faq-icon {
    transform: rotate(45deg) !important;
  }

  /* Esconder elementos interativos sem sentido em PDF */
  .cursor-tool,
  .cursor-ring,
  .skip-link,
  .scroll-indicator,
  .menu-btn,
  .carousel-arrow {
    display: none !important;
  }

  /* WhatsApp flutuante: deixa visível pra mostrar ao cliente */
  .wpp-float {
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: none;
  }

  /* Galeria em print: grid plano substituído via JS (.galeria-print-grid) */
  .galeria-carousel--print {
    display: block !important;
    max-width: 100% !important;
  }
  .galeria-print-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    width: 100%;
  }
  .modelo--print {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4;
    margin: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    background: var(--c-mahogany);
    overflow: hidden;
    page-break-inside: avoid;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  }
  .modelo--print img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: grayscale(0%) contrast(1.05) !important;
    display: block !important;
  }
  .modelo--print figcaption {
    opacity: 1 !important;
    transform: none !important;
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-family: var(--f-display);
    font-style: italic;
    font-size: 11px;
    color: var(--c-cream);
    background: rgba(5,5,5,0.6);
    padding: 3px 8px;
    letter-spacing: 1px;
  }

  /* Depoimentos: mostrar todos (não só o ativo do carrossel) */
  .depoimentos-viewport { overflow: visible !important; }
  .depoimentos-track {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    transform: none !important;
  }
  .depoimento { flex: 1 1 auto !important; }
  .modelo--clone, .depoimento--clone { display: none !important; }

  /* Hero fixo em altura razoável */
  .hero {
    height: 900px !important;
    min-height: 900px !important;
    page-break-after: always;
  }

  /* Cada seção começa em nova página */
  .sobre,
  .ritual,
  .menu,
  .galeria,
  .depoimentos,
  .faq,
  .reserva {
    page-break-before: always;
    page-break-inside: avoid;
    min-height: 900px;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  /* Forçar fotos visíveis no Sobre e Atendimento */
  .sobre-grid,
  .ritual-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: center !important;
  }
  .sobre-image,
  .ritual-image {
    display: block !important;
    width: 100% !important;
    height: 600px !important;
    aspect-ratio: auto !important;
  }
  .sobre-image .img-wrap,
  .ritual-image .img-wrap {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
  .sobre-image picture,
  .ritual-image picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }
  .sobre-image img,
  .ritual-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Footer numa página separada */
  .footer { page-break-before: always; min-height: 300px; }

  /* Header no topo de cada página, sem fixed */
  .header {
    position: absolute !important;
    background: rgba(5,5,5,0.7) !important;
    backdrop-filter: none !important;
  }
}

