/* Leitor de brochuras (PDF) das páginas de projeto */
.bpdf { position: relative; display: block; width: 100%; border-radius: 20px; overflow: hidden; background: #dedad1; outline: none; }
.bpdf:focus-visible { box-shadow: 0 0 0 3px #9f8368; }
.bpdf-stage { position: relative; width: 100%; aspect-ratio: 1.4142; max-height: 86vh; touch-action: pan-y; cursor: grab; user-select: none; }
.bpdf-page, .bpdf-cover { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; }
.bpdf-page { opacity: 0; }
.bpdf-page.is-in { opacity: 1; animation: bpdf-in .35s ease; }
@keyframes bpdf-in { from { opacity: 0; } to { opacity: 1; } }
.bpdf-arrow {
  position: absolute; top: 50%; z-index: 3; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 1px solid rgba(238,236,232,.35);
  background: rgba(20,29,31,.55); color: #eeece8; display: flex; align-items: center; justify-content: center; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, opacity .2s, transform .2s;
}
.bpdf-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bpdf-arrow:hover:not(:disabled) { background: #9f8368; border-color: #9f8368; transform: scale(1.05); }
.bpdf-arrow:disabled { opacity: 0; pointer-events: none; }
.bpdf-arrow.is-prev { left: 16px; }
.bpdf-arrow.is-next { right: 16px; }
.bpdf-bar { position: absolute; left: 50%; bottom: 14px; z-index: 3; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 14px; border-radius: 999px; background: rgba(20,29,31,.72); color: #eeece8; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 600 13px 'Borna', 'Poppins', Arial, sans-serif; font-variant-numeric: tabular-nums; }
.bpdf-full { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #eeece8; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bpdf-full svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bpdf-full:hover { background: rgba(238,236,232,.15); }
.bpdf.is-single .bpdf-arrow { display: none; }
.bpdf.is-full { border-radius: 0; background: #141d1f; display: flex; align-items: center; justify-content: center; }
.bpdf.is-full .bpdf-stage { width: 100vw; height: 100vh; max-height: none; aspect-ratio: auto; }
@media (max-width: 767px) {
  .bpdf { border-radius: 14px; }
  .bpdf-arrow { width: 40px; height: 40px; margin-top: -20px; }
  .bpdf-arrow.is-prev { left: 8px; } .bpdf-arrow.is-next { right: 8px; }
  .bpdf-bar { left: 8px; bottom: 8px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .bpdf-page.is-in { animation: none; } }
