.case-bar-actions { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2rem); }
.collection-nav { color: var(--paper); font-size: .86rem; text-decoration: none; }
.collection-nav:hover { color: var(--gold); }
.investigation:is(:fullscreen, .is-expanded) .collection-nav { display: none; }
.investigation { --dock-width: clamp(320px, 33vw, 465px); }
.case-frame { scroll-margin-top: calc(var(--bar-height) + .65rem); }
.case-image { overflow: hidden; }
.investigation .dock-panel[open] {
  position: fixed;
  z-index: 4;
  inset: calc(var(--bar-height) + 12px) 14px auto auto;
  width: var(--dock-width);
  height: auto;
  max-height: calc(100dvh - var(--bar-height) - 26px);
  margin: 0;
  overscroll-behavior: contain;
}
.investigation .study-dialog[open] { animation-name: dock-open; }
.study-reading { font-size: 1.13rem; }
.study-header h2 { font-size: clamp(1.48rem, 2.8vw, 2.18rem); }
.study-portrait img { width: 110px; height: 130px; }
.study-content { font-size: 1.14rem; }
.study-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@keyframes dock-open {
  from { opacity: 0; transform: translateX(9px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (min-width: 900px) {
  .investigation[data-panel] .case-layout { width: calc(100% - var(--dock-width) - 26px); }
  .investigation[data-panel] .case-exhibit {
    width: min(100%, var(--frame-width));
  }
  .investigation[data-panel] .study-plaque { visibility: hidden; }
}
@media (max-width: 899px) {
  .investigation .dock-panel[open] {
    inset: auto 0 0;
    width: min(100%, 590px);
    max-height: min(46dvh, 450px);
    margin-inline: auto;
  }
  .investigation .dock-panel[open].study-dialog { max-height: min(50dvh, 540px); }
  .investigation[data-panel="study-dialog"] .case-layout { padding-bottom: max(24px, 46dvh); }
  .investigation .dock-panel[open].case-dossier {
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  body:has(.case-dossier[open]),
  .investigation:is(:fullscreen, .is-expanded):has(.case-dossier[open]) { overflow: hidden; }
  .case-dossier .dossier-top { flex: none; }
  .case-dossier .dossier-close { width: 44px; height: 44px; }
  .case-dossier .dossier-scroll {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .study-reading { padding-top: 20px; }
  .study-portrait img { width: 78px; height: 92px; }
}

.collection {
  scroll-margin-top: 1rem;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 7vw, 7rem) 2rem;
  border-top: 1px solid #55422d;
  background: radial-gradient(ellipse at 50% 0%, #251c13, #0d0a08 70%);
  color: var(--paper);
}
.collection-heading { text-align: center; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.collection-heading h2 { margin: .35rem 0 .5rem; font: 600 clamp(2.05rem, 5vw, 4rem)/1.03 var(--display); }
.collection-heading p:last-child { color: #c8bca9; }
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 3vw, 2rem);
  max-width: 1050px;
  margin-inline: auto;
}
.collection-card {
  display: grid;
  align-content: stretch;
  grid-template-rows: auto 1fr;
  min-width: 0;
  padding: .65rem;
  border: 1px solid rgb(181 140 89 / .30);
  background: #17110d;
  text-align: left;
}
.collection-card:hover { border-color: rgb(181 140 89 / .58); background: #251b12; }
.collection-art {
  overflow: hidden;
  aspect-ratio: 5 / 4;
  display: block;
  border: 6px solid #9f6b28;
  border-image: url("assets/moldura-cenario-a.webp") 58 59 55 60 stretch;
}
.collection-art img { width: 100%; height: 100%; object-fit: cover; }
.collection-art-perola img { object-position: center 28%; }
.collection-art-saturno img { object-position: center 26%; }
.collection-label { display: grid; align-content: center; gap: .18rem; padding: .9rem .2rem .25rem; }
.collection-label small { color: var(--gold); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.collection-label strong { font: 600 clamp(1.35rem, 2.7vw, 2.05rem)/1 var(--display); }
.collection-label > span { margin-top: .45rem; font-size: .76rem; color: #d1b58e; }
@media (max-width: 570px) {
  .collection-grid { grid-template-columns: minmax(0, 1fr); max-width: 370px; }
}
.product-dialog {
  width: min(540px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: clamp(1.5rem, 5vw, 2.7rem);
  border: 1px solid #ba9c6e;
  background: #f1eeea;
  color: #30251b;
  box-shadow: 0 20px 70px #000b;
}
.product-dialog::backdrop { background: #0b0806ad; }
.product-close { position: absolute; top: .65rem; right: .65rem; }
.product-logo { margin: 0 auto .6rem; }
.product-eyebrow { text-align: center; color: #75572f; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.product-dialog h2 { margin: .45rem 0 1.25rem; text-align: center; font: 600 clamp(2rem, 5vw, 3rem)/.95 var(--display); }
.product-dialog h2 span { display: block; margin-top: .48rem; font: 600 .75rem/1.4 var(--text); letter-spacing: .12em; text-transform: uppercase; }
.product-dialog p + p { margin-top: .7rem; }
.collection-art-davi img { object-position: center 33%; }
.collection-veiled {
  position: relative;
  isolation: isolate;
  max-width: 1050px;
  margin: clamp(.9rem, 3vw, 2rem) auto 0;
}
.collection-veiled-grid {
  opacity: .7;
  filter: saturate(.68);
}
.collection-veiled .collection-art { width: 100%; height: clamp(100px, 14vw, 184px); }
.collection-veiled-action {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-inline: 10px;
  background: linear-gradient(180deg, #0d0a0824, #0d0a08c9 40%, #0d0a08 94%);
}
.collection-veiled-action .case-primary {
  padding-inline: 1.35rem;
  box-shadow: 0 6px 24px #0009;
}
@media (max-width: 570px) {
  .collection-veiled { max-width: 370px; }
  .collection-veiled-grid { grid-template-columns: minmax(0, 1fr); }
  .collection-veiled-grid .collection-art + .collection-art { display: none; }
  .collection-veiled .collection-art { border-width: 4px; }
}

.case-plaque .case-sample {
  margin-top: .45rem;
  color: #e2c69f;
  font-size: .83rem;
  letter-spacing: normal;
  text-transform: none;
}
.collection-label .collection-question { font-size: .86rem; line-height: 1.35; }
.product-question { color: #76562f; font: 600 1.55rem/1.08 var(--display); }
.product-contents { margin: .7rem 0 1rem; padding-left: 1.2rem; }
.presale { border-top: 1px solid #c7b394; padding-top: 1rem; }
.presale-price {
  padding: clamp(.85rem, 4vw, 1.2rem);
  border: 1px solid #c7b394;
  border-inline-start: 3px solid #8d392c;
  background: #faf4e8;
}
.presale-price h3 {
  margin: 0 0 .6rem;
  color: #763329;
  font: 700 .77rem/1.4 var(--text);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.presale-price p { display: grid; gap: .25rem; }
.presale-price p span { color: #6d5746; }
.presale-price strong { color: #38241a; font: 700 clamp(2.3rem, 7vw, 3.5rem)/.95 var(--display); }
.presale-steps { margin: 1rem 0; padding-left: 1.2rem; }
.presale-steps li + li { margin-top: .5rem; }
.pix-key { white-space: nowrap; }
.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 48px;
  padding: .65rem .85rem;
  border: 1px solid #087143;
  background: #087143;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.whatsapp-button svg { flex: none; }
.whatsapp-button:hover { background: #075b37; }
.whatsapp-button:focus-visible { outline: 2px solid #075b37; outline-offset: 3px; }

.purchase-faq {
  padding: clamp(3rem, 8vw, 7rem) clamp(1.15rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
  background: var(--ground);
  color: var(--paper);
}
.purchase-faq-inner { max-width: 58rem; margin-inline: auto; }
.purchase-faq h2 {
  margin: 0 0 clamp(2rem, 6vw, 4rem);
  color: var(--paper);
  font: 900 clamp(2.5rem, 8vw, 6rem)/.88 "DM Sans", sans-serif;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.purchase-faq h2 span { display: block; color: var(--gold); }
.purchase-faq details { border-bottom: 1px solid var(--line); }
.purchase-faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  cursor: pointer;
  list-style: none;
}
.purchase-faq summary::-webkit-details-marker { display: none; }
.purchase-faq summary::after { content: "+" / ""; color: var(--gold); }
.purchase-faq details[open] summary::after { content: "−" / ""; }
.purchase-faq details p {
  margin: 0;
  padding-bottom: 1.2rem;
  color: #d6c7b5;
  line-height: 1.55;
}
.museum-footer {
  padding: 1.7rem 1.15rem;
  border-top: 1px solid #3d2e24;
  background: #0d0a08;
  color: #d3c3b2;
  text-align: center;
  font-size: .88rem;
}
.museum-footer p { margin: 0; }
.museum-footer p + p { margin-top: .35rem; }

.collection-sales {
  padding: clamp(2.75rem, 7vw, 6rem) clamp(1.15rem, 7vw, 5rem);
  border-top: 1px solid #48382a;
  background: radial-gradient(ellipse at 50% 5%, #2c2117, #100d0b 65%);
}
.collection-sales > * { max-width: 58rem; margin-inline: auto; }
.sales-intro {
  position: relative;
  isolation: isolate;
  padding: clamp(2.8rem, 8vw, 6rem) clamp(1.15rem, 7vw, 5rem);
  background: var(--ground);
  text-align: center;
}
.sales-intro::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, #100d0b18, #100d0b00 55%, #100d0ba0),
    url("assets/juizo-final-colecao.webp") center 36% / cover no-repeat;
  opacity: .35;
  filter: brightness(.56);
}
.sales-intro h1 {
  max-width: 61rem;
  margin-inline: auto;
  color: var(--paper);
  font: 700 clamp(1.9rem, 5.8vw, 5rem)/.95 var(--text);
  letter-spacing: -.06em;
  text-transform: uppercase;
  text-wrap: balance;
}
.sales-intro h1 span { display: block; color: var(--gold); }
.sales-intro p,
.sales-offer > p:not(.sales-offer-price) { max-width: 36rem; margin: 1rem auto 0; }
.sales-intro p, .collection-sales p { color: #d6c7b5; }
.sales-intro button, .collection-sales button { max-width: 100%; margin-top: 1.15rem; white-space: normal; }
.sales-section + .sales-section,
.sales-offer { margin-top: clamp(2.3rem, 6vw, 4rem); }
.collection-sales h2 {
  margin: 0 0 .85rem;
  font: 600 clamp(1.8rem, 4.5vw, 2.8rem)/1.05 var(--display);
  text-wrap: balance;
}
.sales-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #604a35;
}
.sales-grid li,
.sales-steps li { padding: 1rem 0; border-bottom: 1px solid #604a35; }
.sales-grid li { padding-inline-end: 1rem; }
.sales-grid li:nth-child(even) { padding-inline: 1rem 0; border-inline-start: 1px solid #604a35; }
.sales-grid strong { color: #ecd5b4; }
.sales-grid p { margin: .3rem 0 0; }
.sales-steps { margin: 0; padding-inline-start: 1.6rem; }
.sales-steps li { padding-inline-start: .45rem; color: #d6c7b5; }
.sales-steps li::marker { color: var(--gold); font-weight: 700; }
.sales-steps strong { color: var(--paper); }
.sales-offer {
  text-align: center;
  padding: clamp(1.3rem, 5vw, 2.8rem) clamp(.9rem, 5vw, 2rem);
  background: #251b13;
  border-block: 1px solid #8a6944;
}
.sales-offer-price strong { color: var(--gold); font: 600 2rem/1 var(--display); white-space: nowrap; }
.case-continuation-title { margin: 1.15rem 0 .35rem; font: 600 1.45rem/1.05 var(--display); }
@media (max-width: 600px) {
  .sales-grid { grid-template-columns: minmax(0, 1fr); }
  .sales-grid li:nth-child(n) { padding-inline: 0; border-inline-start: 0; }
}

.case-link { display: inline-block; text-decoration: none; text-align: center; }
