:root {
  --bg: #fbfaf5;
  --paper: #fff;
  --ink: #1a1823;
  --muted: #575368;
  --line: #dbd7e4;
  --blue: #3929bd;
  --pale: #eeebff;
  --lilac: #dcd3ff;
  --lime: #def983;
  --peach: #ffd6bd;
  --radius: 18px;
}

.header { background: #faf8ff; }
.header nav a { display: inline-flex; align-items: center; gap: 7px; }
.header nav [aria-current=page], .pills a[aria-current=page], .pills button[aria-pressed=true] {
  color: var(--ink);
  background: var(--lime);
  border-color: #b9cf7b;
}
.mark { background: radial-gradient(circle, #f5f1ff 0 2px, var(--lime) 2.5px 5px, var(--ink) 5.5px 7.5px, #78718d 8px 9px, var(--ink) 9.5px); }
.primary { background: var(--blue); color: white; }
.primary:hover { background: #27208e; }
.eyebrow, .label { color: var(--blue); }

.home-hero { gap: clamp(24px, 3vw, 47px); }
.home-copy h1 em {
  display: inline-block;
  position: relative;
  isolation: isolate;
  padding: 0 .12em 0 .03em;
}
.home-copy h1 em::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 59% -3% 6% -1%;
  background: var(--lime);
  transform: rotate(-5deg);
  border-radius: 5px;
}
.hero-art { border-radius: 24px 24px 88px 24px; background: var(--lilac); }
.hero-art img { mix-blend-mode: multiply; }
.editorial-card { border-radius: 16px; border-color: #dcd6ed; }
.editorial-card:nth-child(1)>div { background: #ecf5d8; }
.editorial-card:nth-child(2)>div { background: #ece6ff; }
.editorial-card:nth-child(3)>div { background: #ffecdf; }
.basics { border-top-color: #dcd6ed; }

.market-heading {
  min-height: 235px;
  display: grid;
  grid-template-columns: minmax(0, 1.33fr) minmax(235px, 1fr);
  gap: 13px;
  margin: 23px 0 15px;
  padding: 23px 31px;
  overflow: hidden;
  border-radius: 23px;
  background: #efe8ff;
  border: 1px solid #e0d6fa;
  position: relative;
  isolation: isolate;
}
.market-heading>.label, .market-heading>div>.label { margin-top: 0; }
.market-heading h1 { font-size: clamp(3rem, 5.2vw, 5.5rem); }
.market-heading p:last-child { max-width: 26rem; margin-top: 12px; color: #514760; }
.market-break { display: none; }
.market-art { position: absolute; inset: 0 0 0 62%; z-index: -1; pointer-events: none; }
.market-art::before {
  content: "";
  position: absolute;
  inset: 0 -10% 0 0;
  background-image: radial-gradient(#b9a7e6 1px, transparent 1px);
  background-size: 12px 12px;
  mask-image: linear-gradient(90deg, transparent, black 20%);
}
.market-art img {
  position: absolute;
  object-fit: cover;
  width: clamp(128px, 15vw, 190px);
  aspect-ratio: 1;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 6px 22px #231b3860;
}
.market-art img:first-child { right: 43%; top: 29%; transform: rotate(-14deg); }
.market-art img:nth-child(2) { right: 18%; top: 14%; transform: rotate(10deg); }
.market-art>span {
  position: absolute;
  top: 13%;
  right: 12%;
  width: 43px;
  aspect-ratio: 1;
  background: var(--lime);
  clip-path: polygon(50% 0,61% 34%,96% 17%,78% 48%,100% 61%,70% 65%,78% 100%,49% 77%,22% 100%,31% 64%,0 56%,27% 43%,11% 16%,40% 32%);
}
.tracking-bar { background: #fff; border-color: #ded6ed; }
.tracking-copy { display: flex; gap: 9px; align-items: center; }
.market-icon { display: grid; place-items: center; width: 37px; aspect-ratio: 1; border-radius: 50%; background: var(--lime); flex: none; }
#refresh { gap: 8px; }
.price-controls { border-bottom: 1px solid var(--line); padding-block: 6px 12px; }
.price-categories a { display: flex; align-items: center; gap: 7px; color: var(--ink); }
.price-count { margin: 10px 0 7px; font-size: .85rem; font-weight: 700; color: var(--muted); }

.price-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.price-card { padding: 0; gap: 0; overflow: hidden; }
.card-visual { position: relative; isolation: isolate; background: #e8e3fb; border-bottom: 1px solid #e4dcef; }
[data-group=caixas] .card-visual { background: #eaf1d7; }
[data-group=equipamentos] .card-visual { background: #fce5d6; }
[data-group=discos] .card-visual { background: #e9e3f3; }
.card-visual>a { display: grid; place-items: center; aspect-ratio: 1.34; overflow: hidden; width: 100%; }
.card-visual img { width: 79%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform .18s ease; }
.card-visual a:hover img { transform: scale(1.05); }
[data-group=discos] .card-visual img { width: 76%; height: 77%; object-fit: contain; mix-blend-mode: normal; }
.product-type { display: flex; align-items: center; gap: 5px; position: absolute; pointer-events: none; top: 8px; left: 8px; background: #fffffff0; padding: 4px 8px; border-radius: 99px; color: var(--blue); font-size: .72rem; font-weight: 800; }
.price-card .save { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; padding: 0; background: white; border-color: #dad4ea; color: var(--blue); }
.price-card .save:hover { border-color: var(--blue); }
.price-card .save[aria-pressed=true] { background: var(--lime); border-color: #b4c972; color: var(--ink); }
.price-card .save[aria-pressed=true] .symbol-bookmark::before { background: var(--blue); }
.card-content { display: flex; flex-direction: column; gap: 6px; padding: 12px; flex: 1; min-width: 0; }
.card-content h3 { font-size: 1.09rem; overflow-wrap: anywhere; }
.item-detail { margin-top: 3px; min-height: 2.6em; }
.price-line { margin-top: 1px; }
.card-price { font-size: 1.66rem; letter-spacing: -.058em; }
.price-line .drop { font-size: .73rem; color: #255833; background: #edfad9; padding: 3px 6px; border-radius: 6px; white-space: nowrap; }
.reading { font-size: .77rem; }
.price-target { display: flex; align-items: center; gap: 5px; }
.price-target .symbol { color: var(--blue); }
.card-content details { margin-top: 1px; border-bottom: 1px solid var(--line); padding-bottom: 7px; }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 10px; margin-top: auto; }
.shop-link { display: inline-flex; align-items: center; min-height: 33px; padding: 5px 10px; border-radius: 99px; background: var(--pale); color: var(--blue); text-decoration: none; font-size: .82rem; font-weight: 800; }
.shop-link:hover { background: var(--blue); color: white; }
.card-actions .text-link, .spec-link { font-size: .79rem; }
.spec-link { color: var(--muted); align-self: start; text-underline-offset: 3px; }

.builder-panel, .system-summary { border-color: #ded9ea; }
.step { background: var(--lime); color: var(--ink); }
.speaker-option { align-items: center; min-height: 86px; background: #faf8fe; border-color: #ded9ea; }
.speaker-option .choice-dot { align-self: flex-start; margin-top: 8px; }
.speaker-thumb { width: 53px; height: 53px; object-fit: contain; mix-blend-mode: multiply; flex: none; }

.symbol { display: inline-block; width: 15px; height: 15px; flex: none; position: relative; vertical-align: -.12em; color: inherit; }
.symbol::before, .symbol::after { content: ""; position: absolute; box-sizing: border-box; }
.symbol-disc::before { inset: 1px; border: 1.5px solid currentColor; border-radius: 50%; }
.symbol-disc::after { inset: 5px; border: 1px solid currentColor; border-radius: 50%; }
.symbol-turntable::before { inset: 2px 0; border: 1.5px solid currentColor; border-radius: 3px; }
.symbol-turntable::after { left: 2px; top: 4px; width: 7px; height: 7px; border: 1.5px solid currentColor; border-radius: 50%; box-shadow: 6px 1px 0 -2.8px currentColor; }
.symbol-speaker::before { inset: 0 2px; border: 1.5px solid currentColor; border-radius: 3px; }
.symbol-speaker::after { left: 5px; top: 7px; width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 50%; box-shadow: 0 -4px 0 -1px currentColor; }
.symbol-setup::before { left: 1px; top: 4px; width: 13px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor; }
.symbol-setup::after { left: 4px; top: 2px; width: 3px; height: 6px; background: currentColor; box-shadow: 5px 5px currentColor; }
.symbol-tag::before { width: 11px; height: 9px; border: 1.5px solid currentColor; top: 3px; left: 2px; border-radius: 2px; transform: rotate(-38deg); }
.symbol-tag::after { top: 6px; left: 4px; width: 2px; height: 2px; border-radius: 50%; background: currentColor; }
.symbol-history::before, .symbol-target::before { inset: 1px; border: 1.5px solid currentColor; border-radius: 50%; }
.symbol-history::after { left: 7px; top: 4px; width: 4px; height: 4px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; }
.symbol-target::after { inset: 5px; border: 1.5px solid currentColor; border-radius: 50%; }
.symbol-refresh::before { inset: 1px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.symbol-refresh::after { right: 0; top: 2px; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; }
.symbol-bookmark::before { inset: 1px 3px; background: currentColor; clip-path: polygon(0 0,100% 0,100% 100%,50% 70%,0 100%); }
.symbol-bookmark::after { inset: 2.5px 4.5px 4px; background: white; clip-path: polygon(0 0,100% 0,100% 100%,50% 72%,0 100%); }
[aria-pressed=true] .symbol-bookmark::after { display: none; }

@media (max-width:1100px) {
  .price-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width:790px) {
  .price-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .market-heading h1 { font-size: clamp(3rem,8.3vw,5rem); }
  .market-break { display: block; }
  .market-art { left: 53%; }
}
@media (max-width:520px) {
  .market-heading { min-height: 178px; padding: 16px 12px; grid-template-columns: minmax(0,1fr) 23%; margin-top: 13px; }
  .market-heading h1 { font-size: clamp(2.6rem,11.8vw,3.7rem); }
  .market-heading p:last-child { font-size: .86rem; }
  .market-art { left: 71%; }
  .market-art img { width: 86px; }
  .market-art img:first-child { right: 33%; top: 25%; }
  .market-art img:nth-child(2) { right: -25%; top: 12%; }
  .market-art>span { width: 25px; right: 8%; top: 10%; }
  .tracking-copy .market-icon { width: 26px; }
  .tracking-bar { padding: 10px; }
  #refresh { gap: 3px; }
  .hero-art { border-radius: 15px 15px 47px 15px; }
  .price-grid { gap: 8px; }
  .card-content { padding: 8px; }
  .card-content h3 { font-size: 1rem; }
  .product-type { font-size: .67rem; padding-inline: 4px; }
  .product-type .symbol { transform: scale(.77); }
  [data-group=equipamentos] .product-type { max-width: calc(100% - 44px); line-height: 1.06; }
  .price-card .save { width: 31px; height: 31px; right: 5px; top: 5px; }
  .card-visual>a { aspect-ratio: 1; }
  .card-visual img { margin-top: 10px; }
  .card-actions { gap: 5px 7px; }
}
@media (max-width:345px) { .price-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion:reduce) { .card-visual img { transition: none; } }

.home-hero {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  min-height: clamp(460px, 48vw, 610px);
  padding-block: clamp(22px, 4vw, 55px);
}
.home-copy { padding-block: 8px 16px; }
.home-copy h1 { font-size: clamp(4rem, 8.1vw, 8.9rem); }
.hero-description { max-width: 33rem; font-size: clamp(1rem, 1.5vw, 1.21rem); }
.hero-art img { mix-blend-mode: normal; object-position: 55% center; }
.hero-actions .primary { min-height: 46px; }
.price-card .product-type.genre { background: var(--lilac); color: var(--ink); }
.compare-toggle { width: 100%; margin-top: auto; text-align: center; font-size: .84rem; min-height: 37px; }
.compare-toggle[aria-pressed=true] { background: var(--lime); border-color: #a4b95c; }
.compare-toggle[aria-disabled=true] { color: var(--muted); }
.compare-toggle:hover { border-color: var(--blue); }
.more-prices { display: block; margin: 24px auto 0; }
.compare-tray {
  position: sticky; bottom: 12px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0; padding: 12px 14px;
  color: var(--ink); background: var(--lilac); border: 1px solid #9986c8; border-radius: 14px;
  box-shadow: 0 5px 20px #2f204834;
}
.compare-tray div { flex: 1; }
.compare-tray p { color: var(--muted); font-size: .8rem; }
.compare-tray button:disabled { opacity: .58; }
#compare-dialog {
  width: min(960px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  margin: auto; padding: clamp(12px, 2.8vw, 26px);
  color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 18px;
}
#compare-dialog::backdrop { background: #241738b0; }
.compare-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.compare-heading h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
.compare-heading p { color: var(--muted); font-size: .9rem; max-width: 34rem; margin-top: 5px; }
.compare-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
#compare-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .88rem; }
#compare-table th, #compare-table td { min-width: 145px; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
#compare-table th:first-child { position: sticky; left: 0; background: var(--bg); min-width: 94px; max-width: 120px; }
#compare-table thead th { background: #eae3fa; vertical-align: bottom; }
#compare-table tbody tr:last-child>* { border-bottom: 0; }
#compare-table img { display: block; width: 74px; height: 74px; object-fit: contain; margin-bottom: 8px; }
#compare-table a { display: block; margin-bottom: 5px; }
#compare-table td strong { color: var(--blue); }
#speaker-more { margin-top: 12px; }
@media (max-width:790px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 20px 26px; }
  .home-copy h1 { font-size: clamp(4.35rem, 13vw, 7rem); }
  .home-copy h1 br { display: none; }
  .hero-art { height: clamp(233px, 62vw, 435px); min-height: 0; }
  .hero-art img { object-position: 50% 52%; }
}
@media (max-width:520px) {
  #genre { width: auto; max-width: 170px; }
  .compare-tray { padding: 8px; gap: 6px; bottom: 6px; }
  .compare-tray .button { padding: 7px 8px; font-size: .73rem; }
  .compare-tray strong { font-size: .82rem; }
  .compare-tray p { font-size: .73rem; }
  #compare-table th, #compare-table td { min-width: 127px; padding: 7px; }
  #compare-table th:first-child { min-width: 78px; max-width: 88px; }
}

:root { --nav-guide:#e5d7fa; --nav-builder:#d7ef8d; --nav-prices:#d7e3ff; --nav-vintage:#f8e28c; }
.header nav a:nth-child(1) { --tab:var(--nav-guide); }
.header nav a:nth-child(2) { --tab:var(--nav-builder); }
.header nav a:nth-child(3) { --tab:var(--nav-prices); }
.header nav a:nth-child(4) { --tab:var(--nav-vintage); }
.header nav a { background:var(--tab); color:#211a31; border-color:transparent; }
.header nav a[aria-current=page] { border-color:#211a31; box-shadow:inset 0 0 0 1px #211a31; font-weight:800; background:var(--tab); color:#211a31; }
@media(min-width:1040px) {
  body { padding-left:183px; }
  .header { position:fixed; z-index:10; inset:0 auto 0 0; width:183px; border-right:1px solid var(--line); border-bottom:0; }
  .header-inner { width:auto; padding:26px 14px; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:30px; }
  .header nav { display:grid; gap:8px; }
  .header nav a { font-size:.92rem; padding:11px 14px; }
  main.container, footer.container { width:min(1240px, calc(100% - 52px)); }
}
@media(max-width:1039px) {
  .header-inner { display:flex; flex-wrap:wrap; gap:8px; padding:9px 0; }
  .header nav { flex-wrap:wrap; gap:4px; }
  .header nav a { padding:6px 8px; font-size:.8rem; }
}
.deck-feature { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.2fr); align-items:center; gap:14px; padding:16px; margin-top:14px; color:#fff; background:#242034; border-radius:15px; }
.deck-feature img { width:100%; height:150px; object-fit:contain; background:#fff; border-radius:10px; }
.deck-feature p { margin:6px 0; color:#e9e2f4; font-size:.91rem; }
.deck-feature a { color:#e3f69a; }
.deck-feature:has(img[hidden]) { grid-template-columns:1fr; }
.model-upgrades { padding:13px; margin-bottom:14px; border-radius:10px; background:#e5d7fa; }
.model-upgrades ul { margin:5px 0 0; padding-left:20px; font-size:.92rem; }
.home-extra { padding:24px 0; }
.home-extra .editorial-card img { aspect-ratio:1.7; object-fit:contain; background:#eae3fa; }
.home-extra .editorial-card h3 { margin-bottom:4px; }
.vintage-head,.vintage-invite,.vintage-guide { background:#fff5cf; padding:clamp(16px,3vw,34px); border-radius:19px; margin:20px 0; }
.vintage-head p,.vintage-guide p,.vintage-invite p { max-width:67ch; margin:8px 0; }
.vintage-invite { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; }
.vintage-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:16px 0; }
.vintage-card { display:grid; align-content:start; gap:8px; padding:16px; }
.vintage-card small { font-weight:750; color:#57431b; }
@media(max-width:750px) { .vintage-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:480px) { .vintage-list { grid-template-columns:1fr; } .deck-feature img { height:110px; } }

.header nav .symbol { flex:none; }
.header nav a { transform-origin:left center; }
.header nav a:focus-visible { outline-offset:4px; }
@media (prefers-reduced-motion:no-preference) {
  .header nav a { transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease; }
  .header nav .symbol { transition:transform .19s ease; }
  .header nav a:focus-visible { transform:translateX(2px); }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .header nav a:hover { transform:translateX(3px); box-shadow:0 3px 0 #241a3428; }
  .header nav a:hover .symbol,.header nav a:focus-visible .symbol { transform:rotate(-10deg) scale(1.12); }
  .price-categories a,#vintage-filters button { transition:background-color .16s ease,border-color .16s ease; }
  .price-categories a:hover:not([aria-current=page]) { background:var(--nav-prices); }
  .vintage-card { transition:border-color .18s ease,box-shadow .18s ease; }
  .vintage-card:hover { border-color:#b8a36c; box-shadow:0 6px 20px #2c213110; }
}

.start-cards img { aspect-ratio:1.45; object-position:center 48%; }
.start-cards>a:nth-child(1) img { object-position:center 55%; }
.start-cards>a:nth-child(3) img { object-position:center 41%; }
.start-cards>a:nth-child(3)>div,.home-extra .editorial-card:nth-child(3)>div { background:#e4ecff; }
.section-intro { color:var(--muted); margin:-4px 0 14px; }
#home-picks { grid-template-columns:repeat(4,minmax(0, 1fr)); }
#home-picks a:nth-child(4)>div { background:#fff3ce; }

.vintage-head { background:#f9e89e; border:1px solid #e5ce72; }
.vintage-head h1 span { color:#8a5a1b; }
.vintage-pairings { margin:22px 0 32px; }
#pairing-choices { margin-bottom:12px; }
#vintage-filters button[aria-pressed=true],#pairing-choices button[aria-pressed=true] { background:#f8e28c; border-color:#baa144; }
.vintage-card { padding:0; gap:0; border-color:#ddd5c4; overflow:hidden; }
.vintage-visual { margin:0; aspect-ratio:1.45; background:#ebe5d7; overflow:hidden; }
.vintage-visual img { width:100%; height:100%; object-fit:contain; }
.vintage-card-body { padding:15px; display:grid; align-content:start; gap:7px; }
.vintage-card h3 { font-size:1.2rem; line-height:1.2; letter-spacing:-.025em; }
.vintage-card p,.pairing-panel p { color:var(--muted); }
.vintage-card-actions { display:flex; gap:10px; flex-wrap:wrap; align-items:baseline; }
.vintage-card-actions>a:last-child { color:var(--muted); font-size:.83rem; }
.pairing-panel { display:grid; grid-template-columns:minmax(0,1fr) minmax(230px,.8fr); gap:18px; padding:clamp(15px,3vw,28px); border-radius:17px; background:#f1eafe; border:1px solid var(--line); }
.pairing-panel p { margin:7px 0 10px; }
.pairing-panel h3 { font-size:1.4rem; }
.pairing-panel .flow-list { margin:0; display:grid; align-content:start; padding:0; gap:12px; }
.pairing-panel .flow-list li { position:relative; background:#fff; margin:0; padding:8px 12px; }
.pairing-panel .flow-list li:not(:last-child)::after {
  position:absolute; left:18px; bottom:-13px; width:1px; height:12px; border:0; background:#8066ad;
  margin:0; transform:none;
}
#vintage-checklist { margin:14px 0 9px; border:0; padding:0; display:grid; gap:7px; }
#vintage-checklist label { display:flex; align-items:start; gap:8px; cursor:pointer; }
#vintage-checklist input { margin-top:.35em; accent-color:#4530b6; }
#vintage-progress { color:#5f4b25; font-size:.88rem; }
@media(max-width:790px) { #home-picks { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:590px) { .pairing-panel { grid-template-columns:1fr; gap:8px; } }
@media(max-width:480px) {
  .header nav a { gap:3px; padding-inline:6px; }
  .header nav .symbol { width:13px; }
  .start-cards img { aspect-ratio:2.05; }
}
.radar-category { display:block; color:#50436e; font-size:.84rem; font-weight:700; margin-bottom:4px; }
