/* ============================================================
   WeHelpU — design compartilhado das páginas de produto
   v2 · sistema "papel quente + coral" (era indigo/violeta/âmbar)

   Os nomes de classe são os mesmos da v1: nenhuma página de
   produto precisa ser reescrita. O que mudou foi o visual.

   Para rebrandar tudo, mexa só no bloco :root abaixo.

   NOTA DE PERFORMANCE: as fontes são carregadas via <link> no
   <head> de cada página (Bricolage Grotesque + Plus Jakarta Sans),
   por isso não há @import aqui — economiza ~150ms.
   ============================================================ */

:root {
  /* — ação — */
  --brand: #d2451f;       /* coral · texto e botões · 4.55 sobre branco (AA) */
  --brand-dark: #bc3a18;  /* hover / pressionado · 5.36 sobre papel (AA) */
  --brand-2: #ff8a5b;     /* coral claro · só fim de gradiente */
  --brand-soft: #ff6b4a;  /* coral vivo · SÓ decoração (grifo, brilho) */

  /* — apoio — */
  --accent: #9c6516;      /* dourado · texto e selos · 4.90 sobre branco (AA) */
  --accent-soft: #e2a03f; /* dourado claro · só ícone/estrela, nunca texto */
  --ok: #0a7e6a;          /* verde-menta · garantia, checks, progresso */

  /* — neutros — */
  --ink: #16233a;         /* texto principal e seções escuras */
  --ink-2: #2c3d5a;       /* texto de apoio em fundo claro */
  --muted: #63728a;       /* texto secundário · 4.67 sobre papel (AA) */
  --line: #efe3da;
  --bg: #ffffff;
  --bg-soft: #fff9f5;     /* papel quente (era cinza-azulado) */
  --bg-ink: #16233a;

  /* — tipografia — */
  --display: "Bricolage Grotesque", "Sora", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* — forma — */
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgba(22,35,58,.06), 0 8px 24px -12px rgba(22,35,58,.18);
  --shadow-lg: 0 2px 4px rgba(22,35,58,.06), 0 24px 48px -20px rgba(22,35,58,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
.font-display { font-family: var(--display); }

/* Acessibilidade — faltava na v1 */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* Barra de aviso */
.topbar {
  background: var(--ink);
  color: #f3e9e2; text-align: center; font-size: 13px; font-weight: 500;
  padding: 9px 16px; letter-spacing: .01em; line-height: 1.35;
}
.topbar strong { color: #ffb9a5; font-weight: 700; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,249,245,.9);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.logo .mark {
  width: 32px; height: 32px; border-radius: 9px; color: #fff; font-weight: 800;
  display: grid; place-items: center; background: var(--ink);
}
.logo .mark span { font-size: 15px; }

/* Botões — coral chapado com base sólida (era gradiente âmbar) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; font-family: var(--body);
  font-weight: 700; font-size: 16px; padding: 16px 26px; border-radius: var(--r);
  border: 0; cursor: pointer; text-align: center; line-height: 1.2; letter-spacing: -.01em;
  background: var(--brand); color: #fff;
  box-shadow: 0 2px 0 var(--brand-dark), 0 14px 28px -14px rgba(188,58,24,.7);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}
.btn:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 2px 0 #932c11, 0 20px 34px -14px rgba(188,58,24,.8); text-decoration: none; }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 #932c11; }
.btn.small { min-height: 44px; font-size: 14px; padding: 10px 18px; box-shadow: 0 2px 0 var(--brand-dark); }
.btn.ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); box-shadow: none; }
.btn.ghost:hover { background: #fff6f2; color: var(--brand-dark); box-shadow: none; }
.btn.block { display: flex; width: 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .55; pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(255,107,74,.18), transparent 58%),
    radial-gradient(ellipse at 92% 18%, rgba(10,126,106,.10), transparent 55%);
}
.hero .wrap { position: relative; z-index: 1; padding: 30px 20px 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .13em; color: var(--brand-dark);
  background: rgba(255,107,74,.1); border: 1px solid rgba(255,107,74,.22);
  padding: 7px 13px; border-radius: 999px;
}
h1.hero-title {
  font-family: var(--display); font-weight: 800; letter-spacing: -.022em;
  font-size: clamp(32px, 4.2vw, 45px); line-height: 1.07; margin: 13px 0 12px;
}
/* .hl agora é grifo, não troca de cor — mantém a headline legível */
.hero-title .hl {
  color: inherit;
  background: linear-gradient(transparent 62%, rgba(255,107,74,.28) 62%);
  padding: 0 .06em;
}
.hero-sub { font-size: clamp(16px, 2.2vw, 18px); color: var(--ink-2); max-width: 54ch; }
/* split do hero: copy à esquerda, prova visual do produto à direita */
.hero-split { align-items: center; gap: 44px; }
@media (min-width: 980px) { .hero-split { grid-template-columns: 1.12fr .88fr; } }

/* Bloco de preço */
.price-card {
  margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--shadow-lg); max-width: 460px;
}
.price-old { color: var(--muted); text-decoration: line-through; font-weight: 600; }
.price-now { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.03em; margin: 4px 0 2px; }
.price-now small { font-size: 17px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.price-parc { color: var(--muted); font-weight: 500; }
.price-tag {
  display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--ok);
  background: rgba(10,126,106,.12); border: 1px solid rgba(10,126,106,.24);
  padding: 5px 12px; border-radius: 999px;
}

/* Seções */
section.block { padding: 60px 0; }
section.block.soft { background: var(--bg-soft); }
section.block.ink { background: var(--bg-ink); color: #eaf0f7; }
section.block.ink .muted, section.block.ink p { color: #9fb1c9; }
h2.sec {
  font-family: var(--display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; margin: 0 0 16px;
}
section.block.ink h2.sec { color: #fff; }
h2.sec .hl {
  color: inherit;
  background: linear-gradient(transparent 62%, rgba(255,107,74,.28) 62%);
  padding: 0 .06em;
}
section.block.ink h2.sec .hl { background: linear-gradient(transparent 62%, rgba(255,107,74,.34) 62%); }
.lead p { margin: 0 0 14px; font-size: 17px; }
.muted { color: var(--muted); }

/* Kicker de seção — novo, opcional */
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-dark); margin: 0 0 12px;
}
section.block.ink .kicker { color: #ffb9a5; }

/* Listas de features */
.checks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 32px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 6px;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.results { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.results li { padding-left: 32px; position: relative; font-weight: 500; }
/* era o emoji 🎯 — leitor de tela lia "acerto direto" antes de cada item */
.results li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(255,107,74,.16);
}
section.block.ink .results li::before { background: var(--brand-2); }

/* Cards genéricos */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: 1fr 1fr; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
section.block.ink .card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.12); box-shadow: none; }
.card h3 { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; margin: 0 0 6px; }
section.block.ink .card h3 { color: #fff; }
.card__ic {
  width: 40px; height: 40px; border-radius: 11px; background: rgba(255,107,74,.12);
  color: var(--brand-dark); display: grid; place-items: center; margin-bottom: 14px;
  font-family: var(--display); font-weight: 800;
}
section.block.ink .card__ic { background: rgba(255,185,165,.14); color: #ffb9a5; }

/* Criadoras */
.creator { display: flex; gap: 16px; align-items: flex-start; }
.creator .avatar {
  width: 60px; height: 60px; border-radius: 18px; flex: 0 0 60px; color: #fff; font-weight: 800;
  display: grid; place-items: center; font-family: var(--display); font-size: 19px;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
}
.creator h3 { margin: 0 0 4px; font-size: 18px; font-family: var(--display); letter-spacing: -.01em; }

/* Depoimentos */
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.testi .stars { color: var(--accent-soft); letter-spacing: 2px; margin-bottom: 10px; }
.testi p { color: var(--ink-2); }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi .who .pic { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; flex: none; }

/* Garantia */
.guarantee {
  display: flex; gap: 22px; align-items: center; background: #fff;
  border: 2px solid var(--ok); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow);
}
.guarantee .seal {
  width: 92px; height: 92px; flex: 0 0 92px; border-radius: 50%; background: var(--ok); color: #fff;
  display: grid; place-content: center; font-family: var(--display); font-weight: 800;
  font-size: 26px; text-align: center; line-height: .95;
}
.guarantee .seal small { display: block; font-size: 10px; letter-spacing: .14em; font-weight: 700; margin-top: 5px; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--brand); font-weight: 700; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }

/* CTA final */
.cta-final { text-align: center; }
.cta-final .price-card { margin-left: auto; margin-right: auto; }

/* ===== NOVO: barra de compra fixa no mobile =====
   Entra só quando o botão do hero sai da tela — não cobre o CTA
   principal e evita dois botões disputando atenção.
   Marcação sugerida:
   <div class="stickybuy">
     <div class="stickybuy__p"><b>R$ 597</b><span>ou 12× de R$ 49,75</span></div>
     <a class="btn small" href="#">Quero agora</a>
   </div>                                                        */
.stickybuy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,249,245,.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px;
  transform: translateY(105%); opacity: 0; pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
}
.stickybuy.is-on { transform: none; opacity: 1; pointer-events: auto; }
.stickybuy__p { flex: 1; min-width: 0; line-height: 1.2; }
.stickybuy__p b { display: block; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.stickybuy__p span { font-size: 12px; color: var(--muted); }
.stickybuy .btn { white-space: nowrap; }
@media (min-width: 900px) { .stickybuy { display: none; } }

/* ===== NOVO: cartão "anatomia da aula" =====
   Mostra o produto em vez de foto de banco de imagem.          */
.lesson { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.lesson__tab { position: absolute; top: 16px; right: -34px; transform: rotate(38deg); background: var(--ok); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 40px; }
.lesson__head { padding: 20px 22px 16px; border-bottom: 1px dashed var(--line); }
.lesson__head .eyebrow { background: none; border: 0; padding: 0; color: var(--muted); }
.lesson__title { font-family: var(--display); font-weight: 800; font-size: 21px; margin-top: 5px; letter-spacing: -.02em; }
.lesson__body { padding: 8px 22px 22px; }
.lesson .step { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.lesson .step:last-child { border-bottom: 0; }
.lesson .step b { display: block; font-size: 15px; line-height: 1.3; }
.lesson .step span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.lesson .step i {
  width: 30px; height: 30px; border-radius: 9px; background: rgba(255,107,74,.12); color: var(--brand-dark);
  display: grid; place-items: center; font-family: var(--display); font-style: normal; font-size: 12px; font-weight: 700;
}
.lesson__foot { background: #fbf4ef; border-top: 1px solid var(--line); padding: 13px 22px; font-size: 14px; color: var(--ink-2); font-weight: 600; }

/* Footer */
.site-footer { background: var(--bg-ink); color: #8fa2bc; padding: 40px 20px 34px; text-align: center; font-size: 13px; }
.site-footer a { color: #cdd2ea; }
.site-footer .brand-row { color: #fff; font-family: var(--display); font-weight: 800; font-size: 19px; margin-bottom: 8px; }

/* espaçamentos utilitários */
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }

@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  section.block { padding: 44px 0; }
  .guarantee { flex-direction: column; text-align: center; gap: 18px; }
  body:has(.stickybuy) { padding-bottom: 78px; }
}
@media (max-width: 400px) {
  .hero .wrap { padding: 20px 20px 40px; }
  h1.hero-title { font-size: 30px; margin: 10px 0 10px; }
  .hero-sub { font-size: 16px; }
  .price-card { padding: 20px; margin-top: 18px; }
  .price-now { font-size: 38px; }
}

/* ===== arte do produto no hero (vitrine v2) ===== */
.hero-media { display: grid; place-items: center; }
.prod-art { width: 100%; max-width: 400px; height: auto; aspect-ratio: 4 / 5; object-fit: contain; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); display: block; }
@media (max-width: 979px){ .prod-art { max-width: 340px; margin: 6px auto 0; } }
