/* CHORD CODE LP v32: player de timbres, cadeados, oferta com 2 cards */
:root { --mc-grad: linear-gradient(100deg, #2ee6c5 0%, #4fb8e8 45%, #7c5cff 100%); }
.demo-heading.center, .demo-heading { margin-inline: auto; }

/* player */
.cc-player { max-width: 980px; margin: 0 auto; padding: 18px; border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(160deg, #181a1b, #0a0b0b 60%); box-shadow: 0 34px 90px rgba(0,0,0,.5), 0 0 80px rgba(255,90,20,.07); }
.ccp-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.ccp-logo { display: inline-flex; align-items: center; gap: 9px; font: 700 15px "Space Grotesk"; letter-spacing: .04em; }
.ccp-logo i { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, var(--orange-2), var(--orange)); box-shadow: 0 0 18px rgba(255,90,20,.4); }
.ccp-logo b { color: var(--orange); }
.ccp-info { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: #a9aca8; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; }
.ccp-modes { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 11px; background: #0d0e0e; }
.ccp-modes button { padding: 9px 16px; border: 0; border-radius: 8px; background: none; color: #a9aca8; font: 800 11px "Manrope"; letter-spacing: .1em; cursor: pointer; }
.ccp-modes button small { margin-left: 4px; opacity: .65; }
.ccp-modes button.on { color: #160904; background: linear-gradient(135deg, var(--orange-2), var(--orange)); }
.ccp-tabs { display: flex; gap: 6px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.ccp-tabs::-webkit-scrollbar { display: none; }
.ccp-tab { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--line-strong); border-radius: 9px; background: #121414; color: #c4c7c3; font: 700 12px "Manrope"; cursor: pointer; transition: all .2s; }
.ccp-tab:hover { border-color: #5a5e5b; color: #fff; }
.ccp-tab.on { border-color: var(--orange); color: #fff; background: rgba(255,90,20,.12); }
.ccp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; min-height: 180px; }
.ccp-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px 18px; border: 1px solid var(--line); border-radius: 16px; background: #111313; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ccp-card small { align-self: flex-start; color: #6f736f; font-size: 11px; font-weight: 700; }
.ccp-card strong { font: 700 clamp(22px, 3.2vw, 38px) "Space Grotesk"; letter-spacing: -.02em; }
.ccp-card em { font-style: normal; color: #8f938f; font-size: 11.5px; text-align: center; }
.ccp-wave { display: flex; align-items: center; gap: 4px; height: 30px; margin-top: 4px; }
.ccp-wave i { width: 4px; height: 30%; border-radius: 4px; background: #3a3e3c; transition: background .2s; }
.ccp-wave i:nth-child(2), .ccp-wave i:nth-child(8) { height: 50%; }
.ccp-wave i:nth-child(3), .ccp-wave i:nth-child(7) { height: 70%; }
.ccp-wave i:nth-child(4), .ccp-wave i:nth-child(6) { height: 90%; }
.ccp-wave i:nth-child(5) { height: 100%; }
.ccp-card.on { border-color: var(--orange); box-shadow: 0 0 0 1px rgba(255,90,20,.35), 0 0 40px rgba(255,90,20,.18); transform: translateY(-2px); }
.ccp-card.on .ccp-wave i { background: linear-gradient(var(--orange-2), var(--orange)); box-shadow: 0 0 10px rgba(255,90,20,.7); animation: ccwave .55s ease-in-out infinite alternate; }
.ccp-card.on .ccp-wave i:nth-child(odd) { animation-delay: -.25s; }
@keyframes ccwave { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
.ccp-bottom { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.ccp-play { display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border: 1px solid var(--line-strong); border-radius: 11px; background: #151717; color: #fff; font: 800 12px "Manrope"; letter-spacing: .1em; cursor: pointer; }
.ccp-play .i-pause, .cc-player.playing .ccp-play .i-play { display: none; }
.cc-player.playing .ccp-play .i-pause { display: block; }
.cc-player.playing .ccp-play { border-color: var(--orange); color: var(--orange); }
.ccp-now { color: #a9aca8; font-size: 13px; }

/* cadeados */
.v32-checks { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #c4c7c3; font-size: 15px; line-height: 1.55; }
.v32-checks li { padding-left: 22px; position: relative; }
.v32-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.v32-fig img + img { margin-top: 10px; }
.chips.v32-small li { padding: 5px 8px; font-size: 11px; }

/* oferta */
.v32-offer .demo-heading { text-align: center; }
.v32-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 980px; align-items: stretch; }
.v32-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 28px 30px; border: 1px solid var(--line-strong); border-radius: 24px; background: #0d0f0f; }
.v32-card.best { padding-bottom: 54px; border: 1.5px solid transparent; background: linear-gradient(#0d0f0f, #0d0f0f) padding-box, linear-gradient(135deg, #ff7a2f, #ff5a14 45%, #7c5cff 80%, #2ee6c5) border-box; box-shadow: 0 40px 120px rgba(0,0,0,.55), 0 0 90px rgba(255,90,20,.16); }
.v32-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 7px 16px; border-radius: 999px; background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #160904; font-size: 10px; font-weight: 800; letter-spacing: .16em; white-space: nowrap; }
.v32-shot { width: 100%; aspect-ratio: 16 / 8; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: #090a0a; }
.v32-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.v32-shot.duo { position: relative; }
.v32-shot.duo img { position: absolute; width: 64%; height: auto; border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.v32-shot.duo .cc { left: 5%; top: 12%; transform: rotate(-4deg); border: 1px solid rgba(255,90,20,.6); }
.v32-shot.duo .mc { right: 5%; top: 18%; transform: rotate(3deg); border: 1px solid rgba(46,230,197,.6); }
.v32-tag { margin-top: 18px; padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px; color: #c4c7c3; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.v32-tag.grad { border: 0; color: #160904; background: linear-gradient(135deg, var(--orange-2), var(--orange)); }
.v32-card h3 { margin: 14px 0 0; font: 700 21px "Space Grotesk"; letter-spacing: .06em; }
.v32-card h3 .o { color: var(--orange); font-weight: inherit; }
.v32-card h3 .t { background: var(--mc-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: inherit; }
.v32-sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.v32-card .old-price { margin-top: 18px; justify-content: center; }
.v32-card .old-price s { font-size: 20px; text-decoration-thickness: 3px; }
.v32-card .price { justify-content: center; }
.v32-card .price strong { font-size: clamp(76px, 8vw, 104px); }
.v32-sum { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; margin-top: 16px; padding: 8px 12px; border: 1px dashed var(--line-strong); border-radius: 10px; color: #a9aca8; font-size: 12px; }
.v32-sum s { color: #fff; text-decoration-color: var(--orange); }
.v32-sum .tot s { font-weight: 800; }
.v32-pay { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.v32-pay b { color: var(--orange); }
.v32-list { width: 100%; margin: 20px 0 22px; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 9px; text-align: left; color: #d0d2ce; font-size: 14px; }
.v32-list li { position: relative; padding-left: 22px; }
.v32-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.v32-btn { width: 100%; margin-top: auto; }
.v32-store { position: absolute; bottom: 14px; right: 16px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(13,15,15,.85); color: #b5b8b4; font-size: 11px; font-weight: 700; text-decoration: none; transition: color .2s, border-color .2s; }
.v32-store:hover { color: #fff; border-color: var(--orange); }
.v32-store span { color: var(--orange); }
.v32-secure { justify-content: center !important; }

@media (max-width: 860px) {
  .v32-cards { grid-template-columns: 1fr; }
  .ccp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cc-player { padding: 12px; }
  .ccp-info { display: none; }
  .ccp-card { padding: 12px 8px 14px; }
  .v32-card { padding: 22px 16px 26px; }
  .v32-card.best { padding-bottom: 54px; }
  .v32-store { right: 50%; transform: translateX(50%); white-space: nowrap; }
}

/* v33: seção essencial */
.ess-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ess-grid article { padding: 22px 20px; border: 1px solid var(--line-strong); border-radius: 18px; background: #0d0f0f; }
.ess-grid b { color: var(--orange); font: 700 12px "Space Grotesk"; letter-spacing: .1em; }
.ess-grid h3 { margin: 10px 0 8px; font: 700 20px "Space Grotesk"; }
.ess-grid p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 980px) { .ess-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ess-grid { grid-template-columns: 1fr; } }

/* v36: teclado MIDI + batida */
.keys-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.beat-chips { margin-top: 18px; }
.keys-visual { padding: 18px; border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(160deg, #181a1b, #0a0b0b 60%); box-shadow: 0 34px 90px rgba(0,0,0,.5), 0 0 70px rgba(255,90,20,.08); }
.kv-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.kv-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 10px; color: #c4c7c3; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; }
.kv-pill.on { border-color: rgba(255,90,20,.6); color: #fff; background: rgba(255,90,20,.08); }
.kv-ico { width: 14px; height: 10px; border: 1.6px solid var(--orange); border-radius: 3px; }
.kv-ico.dr { border-radius: 50%; width: 12px; height: 12px; }
.kv-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kv-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 12px; min-height: 104px; border: 1px solid var(--line); border-radius: 13px; background: #111313; }
.kv-card small { align-self: flex-start; color: #6f736f; font-size: 10px; font-weight: 700; }
.kv-card strong { font: 700 clamp(18px, 2.3vw, 26px) "Space Grotesk"; }
.kv-card.ghost { border-style: dashed; color: #5d615e; justify-content: center; }
.kv-card.rec { border-color: #e5484d; box-shadow: 0 0 0 1px rgba(229,72,77,.3), 0 0 30px rgba(229,72,77,.15); }
.kv-recdot { position: absolute; top: 9px; right: 9px; color: #ff6369; font-size: 8.5px; font-weight: 800; letter-spacing: .1em; animation: kvblink 1s steps(2) infinite; }
@keyframes kvblink { 50% { opacity: .3; } }
.kv-card.rec.pulse strong { animation: kvpop .35s ease-out; }
@keyframes kvpop { from { transform: scale(1.25); color: var(--orange); } to { transform: scale(1); } }
.kv-wave { display: flex; align-items: center; gap: 3px; height: 18px; }
.kv-wave i { width: 3px; height: 50%; border-radius: 3px; background: #3a3e3c; }
.kv-wave i:nth-child(3), .kv-wave i:nth-child(5) { height: 80%; } .kv-wave i:nth-child(4) { height: 100%; }
.kv-card.rec .kv-wave i { background: var(--orange); }
.kv-beat { display: grid; grid-template-columns: auto repeat(16, 1fr); gap: 4px; align-items: center; margin: 14px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #0d0e0e; }
.kv-beat span { margin-right: 8px; color: #8f938f; font-size: 9.5px; font-weight: 800; letter-spacing: .12em; }
.kv-beat i { height: 14px; border-radius: 3px; background: #1d1f1f; }
.kv-beat i.k { background: var(--orange); } .kv-beat i.s { background: #c4c7c3; } .kv-beat i.h { background: #3a3e3c; height: 8px; }
.kv-keyboard { position: relative; display: grid; grid-template-columns: repeat(14, 1fr); height: 150px; border-radius: 10px; overflow: hidden; border: 1px solid #2a2c2c; }
.kv-keyboard .wk { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 1px; padding-bottom: 8px; background: linear-gradient(#f1f1ec, #d9dad5); border-right: 1px solid #b9bab5; color: #1a1a1a; transition: background .15s; }
.kv-keyboard .wk b { font: 700 11px "Space Grotesk"; }
.kv-keyboard .wk small { font-size: 8.5px; color: #7a2a08; font-weight: 800; }
.kv-keyboard .wk em { font-style: normal; font-size: 8px; color: #8a8b86; }
.kv-keyboard .wk.down { background: linear-gradient(#ff9a5a, #ff5a14); color: #160904; }
.kv-keyboard .wk.down small, .kv-keyboard .wk.down em { color: #3a1203; }
.kv-keyboard .bk { position: absolute; top: 0; left: calc(var(--p) * (100% / 14) - (100% / 14) * .3); width: calc((100% / 14) * .6); height: 52%; border-radius: 0 0 4px 4px; background: linear-gradient(#2a2c2c, #0b0c0c); box-shadow: 0 2px 4px rgba(0,0,0,.5); }
.kv-hint { margin: 10px 0 0; color: #8f938f; font-size: 12px; text-align: center; }
@media (max-width: 980px) { .keys-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .keys-visual { padding: 12px; }
  .kv-keyboard { grid-template-columns: repeat(7, 1fr); height: 130px; }
  .kv-keyboard .wk:nth-child(n+8) { display: none; }
  .kv-keyboard .bk:nth-child(n+20) { display: none; }
  .kv-keyboard .bk { left: calc(var(--p) * (100% / 7) - (100% / 7) * .3); width: calc((100% / 7) * .6); }
  .kv-beat { gap: 2px; }
  .kv-rt { display: none; }
}
