/* VNUK Música: guia de curso de guitarra.
   Tipografia inspirada no showroom KVELD: Archivo variável em largura expandida (títulos),
   Archivo normal (leitura) e IBM Plex Mono em caixa alta espaçada (rótulos). Fontes servidas pelo próprio site (OFL). */
@font-face { font-family: "Archivo"; src: url(fonts/archivo-var.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(fonts/plexmono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(fonts/plexmono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #0b0a09;
  --ink-2: #16130f;
  --text: #ede6da;
  --bone: #ece6da;
  --bone-2: #e2dace;
  --muted: #8c857a;
  --muted-ink: #6f675c;
  --line: rgba(237, 230, 218, .14);
  --line-ink: rgba(26, 22, 18, .16);
  --amp: #ff7a1a;        /* luz de válvula: só onde se compra */
  --amp-hi: #ff8f3d;
  --display: "Archivo", "Avenir Next", system-ui, sans-serif;
  --read: "Archivo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --tr: .14em;
  --t-label: clamp(10.5px, .7vw, 12px);
  --t-read: clamp(15px, 1vw, 16.5px);
  --pad: clamp(20px, 3.2vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 var(--t-read)/1.7 var(--read); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amp); outline-offset: 3px; border-radius: 4px; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Tipos de texto */
.label, .kicker, .top-link, .tabs button, .stats span, .promo, .trust, .buybar p, .foot nav a, .gift-note, .extras li, figcaption {
  font-family: var(--mono); font-weight: 400; letter-spacing: var(--tr); text-transform: uppercase; font-size: var(--t-label); line-height: 1.5;
}
h1, h2, .now, .gar-title, .stats b, .brand, .pname { font-family: var(--display); font-stretch: 125%; font-weight: 700; letter-spacing: -.01em; }

/* Topo */
.top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad); border-bottom: 1px solid var(--line); }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; text-decoration: none; text-transform: uppercase; letter-spacing: .02em; }
.mark { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--amp); }
.top-link { color: var(--muted); text-decoration: none; }
.top-link:hover { color: var(--text); }

/* Dobra 1 */
.hero { background: var(--ink); }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 10; max-height: 30vh; object-fit: cover; object-position: 35% 40%; }
.hero-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to bottom, rgba(11,10,9,0), var(--ink)); pointer-events: none; }
.hero-photo figcaption { position: absolute; right: 12px; top: 10px; z-index: 1; color: rgba(237,230,218,.6); font-size: 9.5px; }
.hero-body { padding: 0 var(--pad) 26px; max-width: 640px; }
.kicker { color: var(--muted); }
h1 { margin-top: 10px; font-size: clamp(30px, 8.4vw, 54px); line-height: 1.04; }
.sub { margin-top: 12px; color: #a59c8f; font-size: var(--t-read); line-height: 1.65; }
.pname { color: var(--text); font-size: .9em; text-transform: uppercase; }
.price { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--ink-2); }
.price .label { color: var(--muted); }
.now { margin-top: 4px; font-size: clamp(34px, 9vw, 46px); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.now small { font: 400 var(--t-label) var(--mono); letter-spacing: var(--tr); text-transform: uppercase; color: var(--muted); }
.was { font: 400 15px var(--mono); color: var(--muted); text-decoration: line-through; margin-right: 8px; vertical-align: 8px; letter-spacing: 0; }
.inst { margin-top: 6px; font-weight: 600; color: var(--text); }
.promo { margin-top: 10px; display: flex; gap: 10px; color: var(--muted); }
.dot { width: 7px; height: 7px; margin-top: 4px; flex: none; border-radius: 50%; background: var(--amp); box-shadow: 0 0 0 4px rgba(255,122,26,.2); }
.cta { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 15px 24px 14px; margin-top: 16px; border-radius: 999px; background: var(--amp); color: #160a00; font: 700 15px/1.2 var(--display); font-stretch: 125%; letter-spacing: -.01em; text-transform: uppercase; text-align: center; text-decoration: none; transition: background .4s var(--ease), translate .4s var(--ease); }
.cta:hover { background: var(--amp-hi); translate: 0 -1px; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pay img { width: 40px; height: 25px; border-radius: 4px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .i { color: var(--amp); }

/* Dobra 2: papel claro, como as seções de desenho do KVELD */
.tour { background: var(--bone); color: #1a1612; padding: 30px 0 30px; }
.tour-head, .panel, .close { padding-inline: var(--pad); }
.tour .label { color: var(--muted-ink); }
h2 { margin-top: 8px; font-size: clamp(26px, 7vw, 46px); line-height: 1.02; }
.tabs { display: flex; gap: 0; margin-top: 16px; border-bottom: 1px solid var(--line-ink); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; padding: 10px 14px 9px; border: 0; background: none; color: var(--muted-ink); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .3s var(--ease); }
.tabs button[aria-selected="true"] { color: #1a1612; border-bottom-color: #1a1612; }
.panel { margin-top: 14px; min-height: 280px; }
.panel[hidden] { display: none; }
.lede { font-size: var(--t-read); color: #4a433b; max-width: 56ch; line-height: 1.7; }

.rail-wrap { position: relative; margin: 14px calc(var(--pad) * -1) 0; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 64%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 4px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail li { scroll-snap-align: start; }
.rail img { border-radius: 4px; aspect-ratio: 380 / 290; object-fit: cover; }
.nav { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(11,10,9,.82); color: var(--text); cursor: pointer; transition: opacity .3s; }
.nav.prev { left: 10px; } .nav.next { right: 10px; }
.nav:disabled { opacity: 0; pointer-events: none; }

.gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.gifts button { padding: 8px; border: 1px solid var(--line-ink); border-radius: 6px; background: #f8f4ec; cursor: pointer; transition: border-color .3s var(--ease), translate .3s var(--ease); }
.gifts button[aria-checked="true"] { border-color: #1a1612; box-shadow: inset 0 0 0 1px #1a1612; translate: 0 -2px; }
.gifts img { aspect-ratio: 400 / 222; object-fit: contain; }
.gift-note { margin-top: 10px; min-height: 36px; color: #4a433b; text-transform: none; letter-spacing: .02em; font-size: 12.5px; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.extras li { display: grid; gap: 6px; justify-items: center; text-align: center; color: var(--muted-ink); font-size: 10px; }
.extras img { width: 76px; height: 76px; object-fit: contain; }

.prof { display: grid; gap: 10px; margin-top: 14px; }
.video { position: relative; display: block; padding: 0; border: 0; border-radius: 4px; overflow: hidden; cursor: pointer; background: var(--ink); }
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: scale .6s var(--ease); }
.video:hover img { scale: 1.03; }
.play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--amp); color: #160a00; }
.play .i { width: 26px; height: 26px; fill: currentColor; stroke: none; margin-left: 4px; }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 4px; }
.stage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stage img { border-radius: 4px; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.9); }
@media (min-width: 960px) { .stage img { aspect-ratio: 1; } }

.gar { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: start; }
.gar > div:nth-child(2) { min-width: 0; }
.gar-img { display: none; }
.seal { width: 72px; height: 72px; display: grid; place-content: center; text-align: center; border-radius: 50%; border: 1px solid #1a1612; }
.seal b { font: 700 38px/.9 var(--display); font-stretch: 125%; }
.seal span { font: 400 10px var(--mono); letter-spacing: var(--tr); text-transform: uppercase; }
.gar-title { font-size: clamp(22px, 5vw, 30px); line-height: 1.05; }
.gar p { color: #4a433b; }
.gar .gar-title { color: #1a1612; }
.gar-title + p { margin-top: 8px; }
.ticks { display: grid; gap: 6px; margin-top: 12px; }
.ticks li { display: flex; gap: 10px; color: #1a1612; }
.gar-img { border-radius: 4px; mix-blend-mode: multiply; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 20px var(--pad) 0; border-top: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink); }
.stats li { padding: 12px 4px; text-align: left; }
.stats li + li { border-left: 1px solid var(--line-ink); padding-left: 10px; }
.stats b { display: block; font-size: clamp(18px, 5vw, 28px); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.stats span { display: block; margin-top: 4px; color: var(--muted-ink); font-size: 9.5px; line-height: 1.3; }
.close .cta { margin-top: 18px; }
.fine { margin-top: 12px; font-size: 12.5px; line-height: 1.55; color: var(--muted-ink); }

/* Barra fixa no celular */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: rgba(11,10,9,.96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
.buybar.show { transform: none; }
.buybar p { color: var(--muted); }
.buybar b { display: block; font: 700 20px/1 var(--display); font-stretch: 125%; color: var(--text); letter-spacing: -.01em; }
.buybar .cta { margin: 0; min-height: 44px; padding: 10px 18px 9px; font-size: 13px; }

/* Rodapé curto */
.foot { padding: 20px var(--pad) 92px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.foot nav a { text-decoration: none; color: var(--text); }

/* Telas largas: cada dobra cabe em uma tela */
@media (min-width: 960px) {
  .hero { display: grid; grid-template-columns: 56% 44%; height: calc(100vh - 52px); min-height: 600px; max-height: 860px; }
  .hero-photo img { height: 100%; max-height: none; aspect-ratio: auto; object-position: 40% 40%; }
  .hero-photo::after { inset: 0 0 0 auto; width: 45%; height: auto; background: linear-gradient(to right, rgba(11,10,9,0), var(--ink)); }
  .hero-body { align-self: center; padding: 20px var(--pad) 20px 0; }
  .cta { max-width: 440px; }
  .tour { display: grid; grid-template-columns: minmax(0, 1fr) 330px; grid-template-rows: auto auto auto; column-gap: 48px; padding: 44px max(var(--pad), calc((100vw - 1280px) / 2)); min-height: 100vh; max-height: 900px; align-content: center; }
  .tour-head, .panel, .close { padding: 0; }
  .tour-head, .panel { grid-column: 1; }
  .stats { grid-column: 2; grid-row: 1; align-self: end; margin: 0; grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; padding-left: 4px; border-top: 1px solid var(--line-ink); }
  .stats li:nth-child(4) { border-top: 1px solid var(--line-ink); }
  .close { grid-column: 2; grid-row: 2 / span 2; align-self: start; }
  .close .cta { max-width: none; }
  .rail-wrap { margin-inline: 0; }
  .rail { grid-auto-columns: calc((100% - 20px) / 3); padding-inline: 0; }
  .prof { grid-template-columns: 1.7fr 1fr; align-items: start; }
  .stage { grid-template-columns: 1fr 1fr; }
  .gar { grid-template-columns: auto 1fr 1fr; align-items: center; gap: 28px; }
  .gar-img { display: block; }
  .buybar { display: none; }
  .foot { padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Páginas legais */
.legal { max-width: 720px; margin: 0 auto; padding: 36px var(--pad) 56px; }
.legal h1 { font-size: 34px; }
.legal h2 { font-size: 22px; margin-top: 26px; }
.legal p { margin-top: 12px; color: #c9c1b4; }
.legal .meta { font: 400 var(--t-label) var(--mono); letter-spacing: var(--tr); text-transform: uppercase; color: var(--muted); }
