/* Guia do Guitarrista — estilos */
:root {
  --bg: #faf6ef;
  --surface: #ffffff;
  --ink: #1f1a14;
  --muted: #62584d;
  --line: #e7ddcf;
  --accent: #c2410c;
  --accent-dark: #9a3412;
  --amber: #fbbf24;
  --amber-dark: #f59e0b;
  --wood: #3b2414;
  --green: #15803d;
  --red: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31, 26, 20, .06), 0 8px 24px rgba(31, 26, 20, .08);
  --serif: Georgia, "Times New Roman", ui-serif, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--amber-dark); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 246, 239, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 19px/1 var(--serif); }
.logo svg { width: 28px; height: 28px; }
.header-cta { font-size: 15px; padding: 9px 16px; white-space: nowrap; }
@media (max-width: 420px) {
  .logo { font-size: 17px; gap: 8px; }
  .logo svg { width: 24px; height: 24px; }
  .header-cta { font-size: 14px; padding: 8px 13px; box-shadow: none; }
  .hero { padding-top: 36px; }
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 0;
  font: 700 17px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(194, 65, 12, .28); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 6px 22px rgba(0, 0, 0, .28); }
.btn-amber:hover { background: var(--amber-dark); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-small { padding: 9px 16px; font-size: 15px; }

/* Topo (hero) com acabamento "sunburst" */
.hero {
  color: #fff;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(251, 191, 36, .55) 0%, rgba(234, 88, 12, .45) 30%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(160deg, #6b2a0c 0%, #2a160b 70%);
  padding: 56px 0 40px;
  overflow: hidden;
}
.eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.hero h1 {
  margin: 0 0 16px; max-width: 760px;
  font: 700 clamp(30px, 6vw, 48px)/1.12 var(--serif);
  letter-spacing: -.01em;
}
.hero .lead { margin: 0 0 26px; max-width: 640px; font-size: 18.5px; color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.trust { margin: 16px 0 0; font-size: 14px; color: rgba(255, 255, 255, .78); }
.hero-alt { color: #fde68a; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-alt:hover { color: #fff; }
.cta-alt { color: #fde68a; font-weight: 600; }
.cta-alt:hover { color: #fff; }

/* Quadro de preço */
.price-card {
  margin: 20px 0 0; padding: 20px 22px; border-radius: var(--radius);
  background: var(--surface); border: 2px solid var(--accent); box-shadow: var(--shadow);
}
.price-kicker { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.price-line { margin: 0 0 6px; font-size: 18px; }
.price-line s { color: var(--muted); }
.price-line strong { font: 700 30px/1.1 var(--serif); color: var(--ink); }
.price-line span { display: block; font-size: 15px; color: var(--muted); }
.price-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.trust span { white-space: nowrap; }
.disclosure-inline { margin: 14px 0 0; font-size: 13px; color: rgba(255, 255, 255, .62); }
.hero-grid { display: grid; gap: 4px; align-items: end; }
.hero-photo { margin: 24px 0 0; }
.hero-photo img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 62% center;
  border-radius: 16px; border: 3px solid rgba(251, 191, 36, .35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
}
.hero-photo figcaption { margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, .6); text-align: center; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; }
  .hero-photo { margin: 0; }
  .hero-photo img { aspect-ratio: 4 / 5; transform: rotate(1.5deg); }
}

/* Resumo em números */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: -26px auto 0; position: relative; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.stat strong { display: block; font: 700 26px/1.1 var(--serif); color: var(--accent); }
.stat span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.stat .stars { display: inline; margin: 0; color: var(--amber-dark); letter-spacing: 1px; font-size: 16px; vertical-align: 3px; }

/* Seções de conteúdo */
section.block { padding: 48px 0 8px; }
h2 { margin: 0 0 14px; font: 700 clamp(25px, 4.4vw, 32px)/1.2 var(--serif); letter-spacing: -.01em; }
h3 { margin: 22px 0 8px; font: 700 20px/1.3 var(--serif); }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.verdict {
  margin: 36px 0 0; padding: 20px 22px; border-radius: var(--radius);
  background: #fff7e6; border: 1px solid #f6d58e;
}
.verdict h2 { font-size: 22px; margin-bottom: 8px; }
.verdict p:last-child { margin-bottom: 0; }

.checklist { list-style: none; margin: 0 0 14px; padding: 0; }
.checklist li { position: relative; padding: 6px 0 6px 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.checklist.no li::before {
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

.tips { display: grid; gap: 12px; margin: 18px 0 8px; padding: 0; list-style: none; counter-reset: tip; }
.tips li {
  counter-increment: tip; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 16px 16px 60px;
}
.tips li::before {
  content: counter(tip); position: absolute; left: 16px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wood); color: var(--amber); font: 700 15px/1 var(--sans);
}
.tips strong { display: block; }

/* Trilha de módulos */
.path { list-style: none; margin: 18px 0 0; padding: 0; position: relative; }
.path::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.path li { position: relative; padding: 0 0 20px 48px; }
.path li::before {
  content: ""; position: absolute; left: 7px; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--amber); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--accent);
}
.path h3 { margin: 0 0 4px; font-size: 18px; }
.path p { margin: 0; color: var(--muted); }

.cards { display: grid; gap: 12px; margin: 16px 0 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card h3 { margin-top: 0; }
.card ul { margin: 0; padding-left: 20px; }
.card li { margin: 4px 0; }

.proscons { display: grid; gap: 12px; margin-top: 16px; }
.proscons .card h3 { display: flex; align-items: center; gap: 8px; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font: 700 12px/1.6 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.tag-green { background: #dcfce7; color: #14532d; }
.tag-red { background: #fee2e2; color: #7f1d1d; }

.steps { display: grid; gap: 12px; margin: 16px 0 6px; padding: 0; list-style: none; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.steps b { color: var(--accent); }

/* Chamada para ação no meio/fim */
.cta-box {
  margin: 36px 0 8px; padding: 26px 22px; border-radius: 18px; text-align: center; color: #fff;
  background:
    radial-gradient(110% 120% at 90% 0%, rgba(251, 191, 36, .45) 0%, rgba(0, 0, 0, 0) 55%),
    linear-gradient(160deg, #7a2f0d, #2a160b);
}
.cta-box h2 { color: #fff; margin-bottom: 8px; }
.cta-box p { color: rgba(255, 255, 255, .85); max-width: 560px; margin: 0 auto 18px; }
.cta-box .small { margin: 14px auto 0; color: rgba(255, 255, 255, .65); }

/* Perguntas frequentes */
.faq { margin-top: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 0 0 10px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 15px 44px 15px 16px; position: relative;
  font-weight: 700; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font: 400 24px/1 var(--sans); color: var(--accent);
}
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding: 0 16px 14px; margin: 0; color: var(--muted); }

/* Rodapé */
.site-footer { margin-top: 56px; padding: 32px 0 110px; border-top: 1px solid var(--line); background: #f3ece1; font-size: 14px; color: var(--muted); }
.site-footer p { margin: 0 0 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0; }
.link-button { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }

/* Barra fixa de chamada (celular) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(31, 26, 20, .96); color: #fff;
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta p { margin: 0; font-size: 14px; line-height: 1.3; }
.sticky-cta p b { display: block; font-size: 15px; }

/* Aviso de cookies */
.cookie {
  position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 40;
  max-width: 560px; margin: 0 auto; padding: 10px 12px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18); font-size: 13.5px; line-height: 1.4;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1 1 200px; }
.cookie .row { display: flex; gap: 8px; }
.cookie .btn-small { padding: 7px 14px; font-size: 14px; }

/* Página de texto (política) */
.doc { padding: 40px 0 0; }
.doc h1 { font: 700 clamp(28px, 5vw, 38px)/1.2 var(--serif); margin: 0 0 8px; }
.doc h2 { font-size: 22px; margin-top: 30px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }

@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .cards.two, .proscons { grid-template-columns: 1fr 1fr; }
  .tips { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 72px 0 52px; }
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky-cta { transition: none; }
}
