/* 7acordes — página de apresentação (preto e laranja) */
:root {
  --bg: #0b0b0d; --bg2: #141418; --card: #18181d; --line: #2a2a31; --txt: #f4f1ec; --mut: #a5a29b;
  --or: #ff7a1a; --or2: #ff9a3c; --orD: #e8590c;
  /* usados pelos desenhos de acordes (chords.js) */
  --text: #f4f1ec; --muted: #a5a29b; --surface: #18181d; --surface-2: #24242b;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--txt);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding: env(safe-area-inset-top, 0) 0 env(safe-area-inset-bottom, 0);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
b { font-weight: 800; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
h2 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 900; text-align: center; margin-bottom: 14px; }
h2 span, h1 span { color: var(--or); }
section { padding: 0 20px; }

/* ---- navegação ---- */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px clamp(16px, 4vw, 40px); background: rgb(11 11 13 / 0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.2rem; letter-spacing: -0.02em; }
.logo img { border-radius: 9px; }
.logo i, .foot i { color: var(--or); font-style: normal; }
.nav nav { display: flex; align-items: center; gap: 18px; }
.nav-link { text-decoration: none; color: var(--mut); font-weight: 600; font-size: 0.95rem; }
.nav-link:hover { color: var(--txt); }
.btn-ghost { text-decoration: none; font-weight: 800; border: 2px solid var(--or); color: var(--or); padding: 7px 16px; border-radius: 999px; }
.btn-ghost:hover { background: var(--or); color: #111; }
@media (max-width: 640px) { .nav-link { display: none; } }

/* ---- botões ---- */
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
  background: linear-gradient(135deg, var(--or2), var(--orD)); color: #111; font-weight: 900; font-size: 1.15rem;
  padding: 18px 30px; border-radius: 16px; letter-spacing: -0.01em;
  box-shadow: 0 10px 34px rgb(255 122 26 / 0.38), inset 0 -3px 0 rgb(0 0 0 / 0.18);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgb(255 122 26 / 0.5), inset 0 -3px 0 rgb(0 0 0 / 0.18); }
.btn-cta span { transition: transform 0.15s; }
.btn-cta:hover span { transform: translateX(4px); }
.btn-cta.full { width: 100%; }
.cta-note { color: var(--mut); font-size: 0.95rem; margin: 12px 0 0; }

/* ---- hero ---- */
.hero {
  max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
  padding-top: clamp(40px, 8vw, 90px); padding-bottom: clamp(40px, 8vw, 80px);
}
.kicker { display: inline-block; color: var(--or); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; margin: 0 0 14px; }
h1 { font-size: clamp(3.6rem, 13vw, 7.6rem); font-weight: 950; letter-spacing: -0.055em; line-height: 0.88; }
h1 span { background: linear-gradient(135deg, var(--or2), var(--orD)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.1rem, 2.6vw, 1.35rem); color: #d9d5ce; max-width: 34ch; margin: 22px 0 28px; }
.lead b { color: var(--txt); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
}

/* ---- celular de demonstração ---- */
.phone-wrap { position: relative; display: grid; place-items: center; }
.glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(255 122 26 / 0.45), transparent 65%); filter: blur(30px); }
.phone {
  position: relative; width: min(330px, 86vw); border-radius: 42px; padding: 16px 14px 14px; background: #f4f1ec; color: #1d1d1f;
  border: 9px solid #1c1c21; box-shadow: 0 40px 80px rgb(0 0 0 / 0.6), 0 0 0 1px #33333b;
  transform: rotate(-3deg); animation: flutua 6s ease-in-out infinite;
  --text: #1d1d1f; --muted: #6b6a66; --surface: #ffffff; --surface-2: #ece9e1; --bg: #f4f1ec;
}
@keyframes flutua { 50% { transform: rotate(-3deg) translateY(-10px); } }
.ph-top { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; margin-bottom: 8px; }
.ph-back { width: 30px; height: 30px; border-radius: 50%; background: var(--or); display: grid; place-items: center; font-weight: 900; color: #111; }
.ph-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 8px; }
.ph-tools span { background: #fff; border: 1px solid #d9d5cb; border-radius: 8px; font-size: 0.62rem; font-weight: 800; text-align: center; padding: 5px 0; color: #6b6a66; }
.ph-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ph-card { background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 2px #1d1d1f; padding: 8px 6px 4px; text-align: center; min-height: 236px; transition: transform 0.4s; }
.ph-card small { display: block; text-align: right; font-size: 0.6rem; color: #6b6a66; }
.ph-card small i { font-style: normal; }
.ph-card b { display: block; text-align: left; font-size: 1.9rem; font-weight: 900; letter-spacing: -0.03em; margin: 2px 4px 4px; }
.ph-card.cur b { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 5px; }
.ph-card .diagram { width: 100%; height: auto; }
.ph-bar { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 4px 2px; border-top: 1px solid #d9d5cb; }
.ph-play { width: 38px; height: 38px; border-radius: 50%; background: var(--or); display: grid; place-items: center; color: #fff; font-size: 0.8rem; font-weight: 900; flex: none; }
.ph-prog { flex: 1; height: 6px; border-radius: 9px; background: #d9d5cb; overflow: hidden; }
.ph-prog i { display: block; height: 100%; width: 30%; background: var(--or); transition: width 0.5s linear; }
.ph-trocou { animation: troca 0.45s ease; }
@keyframes troca { from { transform: translateX(20px); opacity: 0.3; } to { transform: none; opacity: 1; } }

/* ---- faixa de números ---- */
.strip {
  max-width: 1180px; margin: 0 auto 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; padding: 0;
}
.strip div { background: var(--bg2); padding: 22px 18px; text-align: center; }
.strip b { display: block; font-size: 2rem; font-weight: 900; color: var(--or); letter-spacing: -0.03em; }
.strip span { color: var(--mut); font-size: 0.9rem; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); margin: 0 20px 30px; } }

/* ---- seções ---- */
.sec { max-width: 1180px; margin: 0 auto; padding-top: clamp(60px, 10vw, 110px); padding-bottom: 10px; }
.sec-lead { text-align: center; color: var(--mut); font-size: 1.1rem; max-width: 52ch; margin: 0 auto 34px; }
.sec.dark { max-width: none; background: linear-gradient(180deg, var(--bg), #121216 30%, #121216 70%, var(--bg)); padding-bottom: 60px; }
.sec.dark > * { max-width: 1180px; margin-left: auto; margin-right: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.steps article, .feats article {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px;
}
.num {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; font-size: 1.5rem; color: #111;
  background: linear-gradient(135deg, var(--or2), var(--orD)); margin-bottom: 16px;
}
.steps h3, .feats h3 { font-size: 1.3rem; font-weight: 850; margin-bottom: 8px; }
.steps p, .feats p { color: var(--mut); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.instr { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.instr figure {
  margin: 0; background: #f4f1ec; color: #1d1d1f; border-radius: 22px; padding: 24px 18px 20px; text-align: center;
  --text: #1d1d1f; --muted: #6b6a66; --surface: #ffffff; --surface-2: #ece9e1; --bg: #f4f1ec;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: 0 0 0 4px rgb(255 122 26 / 0.0); transition: box-shadow 0.2s, transform 0.2s;
}
.instr figure:hover { transform: translateY(-4px); box-shadow: 0 0 0 4px var(--or); }
.instr figure > div { min-height: 170px; display: grid; place-items: center; width: 100%; }
.instr .diagram { max-width: 100%; height: auto; }
.instr figcaption { color: #6b6a66; font-size: 0.95rem; }
.instr figcaption b { display: block; color: #1d1d1f; font-size: 1.35rem; font-weight: 900; }
@media (max-width: 860px) { .instr { grid-template-columns: 1fr; max-width: 420px !important; } }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.feats i { font-style: normal; font-size: 2rem; display: block; margin-bottom: 10px; }
@media (max-width: 860px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .feats { grid-template-columns: 1fr; } }

/* ---- preço ---- */
.price-card {
  max-width: 460px; margin: 30px auto 0; background: linear-gradient(180deg, #1d1d23, #141418); border-radius: 28px; padding: 32px 28px;
  border: 2px solid var(--or); box-shadow: 0 30px 80px rgb(255 122 26 / 0.18); text-align: center;
}
.pc-tag { margin: 0; color: var(--or); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; }
.pc-val { margin: 8px 0 0; font-size: clamp(3rem, 12vw, 4.4rem); font-weight: 950; letter-spacing: -0.05em; line-height: 1; }
.pc-val small { font-size: 1.1rem; color: var(--mut); font-weight: 700; letter-spacing: 0; }
.pc-mes { color: var(--mut); margin: 6px 0 20px; }
.pc-mes b { color: var(--txt); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; }
.price-card li { padding: 9px 0 9px 34px; position: relative; border-bottom: 1px solid var(--line); }
.price-card li::before { content: "✓"; position: absolute; left: 4px; color: var(--or); font-weight: 900; }

/* ---- perguntas ---- */
.faq { max-width: 820px; }
.faq h2 { margin-bottom: 26px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.08rem; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::after { content: "+"; color: var(--or); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--mut); margin: 0 0 18px; }

/* ---- final ---- */
.final { text-align: center; padding-top: clamp(70px, 12vw, 130px); padding-bottom: clamp(60px, 10vw, 100px); }
.final h2 { margin-bottom: 30px; }
.foot {
  border-top: 1px solid var(--line); padding: 26px clamp(16px, 4vw, 40px) calc(26px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; color: var(--mut); font-size: 0.92rem;
}
.foot a { color: var(--or); text-decoration: none; font-weight: 700; }

@media (prefers-reduced-motion: reduce) { .phone { animation: none; } * { transition: none !important; } }

/* desenhos dos acordes (mesmos estilos do app) */
.bass-nota { fill: var(--surface); stroke: var(--text); stroke-width: 1.4; }
.bass-nota-txt { fill: var(--text); font-size: 6.4px; font-weight: 800; pointer-events: none; }
.bass-raiz { fill: var(--text); }
.bass-raiz-txt { fill: var(--bg); font-size: 6.4px; font-weight: 800; pointer-events: none; }
.bass-string { stroke-width: 1.6; }
.dg-base { fill: var(--muted); font-size: 10px; }
.dg-casa-base { fill: var(--text); font-weight: 800; }
.dg-casa { fill: var(--muted); font-size: 7.5px; font-weight: 600; }
.dg-dedo { fill: var(--bg); font-size: 7.6px; font-weight: 800; pointer-events: none; }
.dg-dot { fill: var(--text); }
.dg-fret { stroke: var(--muted); stroke-width: 1; }
.dg-mark { fill: var(--muted); font-size: 11px; }
.dg-none { fill: var(--muted); font-size: 10px; }
.dg-nut { stroke: var(--text); stroke-width: 4; }
.dg-open { fill: none; stroke: var(--text); stroke-width: 1.4; }
.dg-string { stroke: var(--muted); stroke-width: 1; }
.diagram { display: block; }
.diagram.kb .dg-dedo { fill: #fff; }
.kb-black { fill: #1b1b1b; }
.kb-black.kb-on { fill: #c4520a; }
.kb-black.kb-on + .kb-dot { fill: #fff; }
.kb-dot { fill: #111; }
.kb-nome { fill: var(--text); font-size: 9px; font-weight: 800; }
.kb-white { fill: #fdfcf9; stroke: #2b2b2b; stroke-width: 1; }
.kb-white.kb-on { fill: #ffd2a8; }
