/* Páginas internas (Loja e Blog) — mesmo design system da home (style.css), com rolagem liberada. */

/* A home trava a rolagem (overflow hidden + overscroll-behavior none). Aqui: só o html rola; body e
   wrapper usam overflow-x: clip, que corta sem virar contêiner de rolagem (com "hidden" o corpo virava
   um contêiner vazio e, com overscroll-behavior none, a roda do mouse não chegava na página). */
html.page-scroll,
body.page-scroll,
.page-scroll .wrapper {
  height: auto !important;
  max-height: none !important;
  overscroll-behavior: auto !important;
}
html.page-scroll { overflow-x: hidden !important; overflow-y: auto !important; }
body.page-scroll,
.page-scroll .wrapper { overflow-x: clip !important; overflow-y: visible !important; }
.page-scroll .wrapper { min-height: 100vh; min-height: 100dvh; gap: 28px; }

.nav-item.is-active {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--cor-dinheiro);
}

/* Mesma largura do topo (o .wrapper da home: 1600px com 56px de respiro) */
.page-main { width: 100%; flex: 1; }

.pg-hero { padding: 28px 0 8px; }
.pg-title { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.pg-title em { font-family: var(--font-serif); font-weight: 600; color: var(--cor-dinheiro); }
.pg-sub { margin-top: 12px; max-width: 640px; color: var(--text-sub); font-size: 1.05rem; line-height: 1.6; }

.pg-tabs { display: flex; gap: 8px; margin: 26px 0 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.pg-tab {
  padding: 12px 4px; margin-right: 18px; color: rgba(255, 255, 255, 0.6); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s ease;
}
.pg-tab span { margin-left: 6px; font-size: .78rem; color: rgba(255, 255, 255, 0.4); }
.pg-tab:hover { color: #fff; }
.pg-tab.is-on { color: #fff; border-color: var(--cor-dinheiro); }

.pg-chips, .pg-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 22px; }
.pg-pager { justify-content: center; margin-top: 34px; }
.pg-chip {
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.75);
  font-size: .85rem; font-weight: 600; text-decoration: none; transition: all .2s ease;
}
.pg-chip:hover { border-color: rgba(166, 255, 0, 0.5); color: #fff; }
.pg-chip.is-on { background: var(--cor-dinheiro); border-color: var(--cor-dinheiro); color: #000; }
.pg-chip span { margin-left: 4px; font-size: .75rem; opacity: .6; }

.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.pg-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; color: inherit; text-decoration: none;
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pg-card:hover { transform: translateY(-3px); border-color: rgba(0, 210, 255, 0.35); box-shadow: 0 18px 40px -20px rgba(0, 210, 255, 0.35); }
.pg-cover { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, rgba(0, 210, 255, .18), rgba(255, 0, 127, .18)); }
.pg-cover { overflow: hidden; }
.pg-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Curso sem capa horizontal da Loja: mostra o pôster inteiro sobre fundo desfocado */
.pg-cover-fit img { object-fit: contain; }
/* (legado) grade de pôster */
.pg-grid-poster { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pg-grid-poster .pg-cover { aspect-ratio: 5 / 7; }
.pg-cover-ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-serif); font-style: italic; font-size: 3rem; color: rgba(255, 255, 255, .5); }
.pg-badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; background: var(--cor-liberdade); color: #fff;
}
.pg-badge-free { background: var(--cor-dinheiro); color: #000; }
.pg-badge-soon { background: rgba(5, 7, 12, .8); color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .2); }

.pg-card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; flex: 1; }
.pg-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cor-tempo); text-decoration: none; }
.pg-card-title { font-size: 1.12rem; font-weight: 800; line-height: 1.3; }
.pg-card-text { color: var(--text-sub); font-size: .92rem; line-height: 1.55; }
.pg-lessons { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: .86rem; color: rgba(255, 255, 255, .7); }
.pg-lessons li { padding-left: 16px; position: relative; }
.pg-lessons li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--cor-tempo); }
.pg-lessons .pg-more { color: rgba(255, 255, 255, .45); }
.pg-lessons .pg-more::before { display: none; }
.pg-note { font-size: .82rem; color: rgba(255, 255, 255, .55); }
.pg-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.pg-price { font-weight: 800; font-size: 1.05rem; }
.pg-btn {
  padding: 10px 18px; border-radius: 999px; background: var(--cor-cta); color: var(--cor-cta-text); font-weight: 800;
  font-size: .88rem; text-decoration: none; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease;
}
.pg-btn:hover { background: var(--cor-cta-hover); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(166, 255, 0, .6); }
.pg-meta { font-size: .82rem; color: rgba(255, 255, 255, .5); }
.pg-empty { padding: 48px 0; color: var(--text-sub); }
.pg-link { color: var(--cor-tempo); text-decoration: none; font-weight: 700; }
.pg-link:hover { text-decoration: underline; }

/* Post */
.pg-post { padding-top: 10px; }
.pg-post-head, .pg-prose, .pg-post-cover { max-width: 900px; }
.pg-back { display: inline-block; margin-bottom: 22px; }
.pg-post-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.pg-post-title { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
.pg-post-cover { width: 100%; border-radius: 18px; margin-bottom: 30px; display: block; }
.pg-prose { color: var(--text-sub); font-size: 1.07rem; line-height: 1.8; }
.pg-prose > * + * { margin-top: 1.1em; }
.pg-prose h2 { margin-top: 1.9em; color: #fff; font-size: 1.55rem; line-height: 1.3; font-weight: 800; }
.pg-prose h3 { margin-top: 1.5em; color: #fff; font-size: 1.22rem; font-weight: 700; }
.pg-prose a { color: var(--cor-tempo); }
.pg-prose strong { color: #fff; }
.pg-prose ul, .pg-prose ol { padding-left: 1.4em; }
.pg-prose li + li { margin-top: .4em; }
.pg-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.pg-prose blockquote { border-left: 3px solid var(--cor-dinheiro); padding-left: 1em; font-style: italic; }
.pg-prose code { background: rgba(255, 255, 255, .08); padding: .15em .4em; border-radius: 6px; font-size: .9em; }
.pg-prose pre { overflow-x: auto; background: rgba(255, 255, 255, .05); padding: 1em; border-radius: 12px; }
.pg-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.pg-prose th, .pg-prose td { border: 1px solid rgba(255, 255, 255, .1); padding: .5em .7em; text-align: left; }

@media (max-width: 900px) {
  .page-scroll .wrapper { padding: 18px 16px 14px; }
  .pg-grid { grid-template-columns: 1fr; }
  .pg-grid-poster { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pg-grid-poster .pg-card-body { padding: 12px; }
  .pg-grid-poster .pg-card-foot { flex-direction: column; align-items: stretch; text-align: center; }
}

/* Sobre e Como posso te ajudar (anexado ao pages.css no deploy). */

/* ===== Animação de entrada (site-anim.js) ===== */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1) var(--d, 0s), transform .7s cubic-bezier(.2,.8,.2,1) var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ===== Sobre ===== */
.ab-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding: 20px 0 40px; }
.ab-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 14px 0 18px; }
.ab-title em { font-family: var(--font-serif); font-weight: 600; color: var(--cor-tempo); }
.ab-money { color: var(--cor-dinheiro); text-shadow: 0 0 28px rgba(166, 255, 0, .35); white-space: nowrap; }
.ab-lead { font-size: 1.2rem; line-height: 1.6; color: var(--text-sub); }
.ab-lead strong { color: #fff; }
.ab-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: center; }
.ab-btn { padding: 14px 26px; font-size: 1rem; }
.ab-btn-ghost { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.ab-btn-ghost:hover { color: var(--cor-dinheiro); border-color: var(--cor-dinheiro); }

.ab-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 420px; }
.ab-photo { position: relative; z-index: 2; width: 100%; max-width: 560px; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); animation: abBreath 6s ease-in-out infinite; }
.ab-glow { position: absolute; inset: 10% 8% 0; z-index: 0; border-radius: 50%; background: radial-gradient(circle at 30% 40%, rgba(0,210,255,.35), transparent 60%), radial-gradient(circle at 70% 60%, rgba(255,0,127,.35), transparent 60%); filter: blur(40px); animation: abPulse 5s ease-in-out infinite; }
.ab-ring { position: absolute; z-index: 1; width: 78%; aspect-ratio: 1; top: 4%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); animation: abSpin 40s linear infinite; }
.ab-badge { position: absolute; z-index: 3; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(10,14,24,.75); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); animation: abFloat 5s ease-in-out infinite; }
.ab-badge img { width: 70%; height: 70%; object-fit: contain; }
.ab-badge.b1 { top: 8%; left: 6%; }
.ab-badge.b2 { top: 18%; right: 4%; animation-delay: -1.2s; }
.ab-badge.b3 { bottom: 34%; left: 0; animation-delay: -2.4s; }
.ab-badge.b4 { bottom: 26%; right: 2%; animation-delay: -3.4s; }
.ab-chip { position: absolute; z-index: 4; padding: 10px 16px; border-radius: 14px; font-weight: 800; background: rgba(10,14,24,.85); border: 1px solid rgba(166,255,0,.35); color: var(--cor-dinheiro); box-shadow: 0 16px 40px -14px rgba(166,255,0,.45); }
.ab-chip small { display: block; font-size: .7rem; font-weight: 600; color: rgba(255,255,255,.65); }
.ab-chip b { color: var(--cor-tempo); }
.ab-chip.c1 { bottom: 10%; left: 4%; }
.ab-chip.c2 { top: 2%; right: 16%; border-color: rgba(0,210,255,.4); color: #fff; box-shadow: 0 16px 40px -14px rgba(0,210,255,.45); }

.ab-section { padding: 46px 0 10px; }
.ab-h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 22px; }
.ab-h2 em { font-family: var(--font-serif); font-weight: 600; color: var(--cor-liberdade); }
.ab-story { max-width: 900px; display: flex; flex-direction: column; gap: 16px; color: var(--text-sub); font-size: 1.08rem; line-height: 1.8; }
.ab-story strong { color: #fff; }
.ab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.ab-card { padding: 24px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); transition: transform .3s, border-color .3s; }
.ab-card:hover { transform: translateY(-4px); border-color: rgba(0,210,255,.35); }
.ab-card img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 14px; }
.ab-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.ab-card p { color: var(--text-sub); font-size: .95rem; line-height: 1.6; }
.ab-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ab-path { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 22px; text-decoration: none; color: #fff; background: linear-gradient(140deg, rgba(166,255,0,.14), rgba(166,255,0,.02)); border: 1px solid rgba(166,255,0,.3); transition: transform .3s, box-shadow .3s; }
.ab-path-alt { background: linear-gradient(140deg, rgba(255,0,127,.16), rgba(255,0,127,.02)); border-color: rgba(255,0,127,.35); }
.ab-path:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.ab-path-num { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; letter-spacing: .14em; color: rgba(255,255,255,.5); }
.ab-path h3 { font-size: 1.4rem; font-weight: 800; }
.ab-path p { color: var(--text-sub); line-height: 1.6; }
.ab-path-cta { margin-top: auto; font-weight: 800; color: var(--cor-dinheiro); }
.ab-path-alt .ab-path-cta { color: var(--cor-liberdade); }
.ab-final { margin: 56px 0 20px; padding: 44px 24px; text-align: center; border-radius: 24px; background: radial-gradient(circle at 50% 0%, rgba(0,210,255,.16), transparent 70%), rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.ab-final p { color: var(--text-sub); margin: -8px 0 22px; }

@keyframes abFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes abBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.015); } }
@keyframes abPulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes abSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ab-photo, .ab-glow, .ab-ring, .ab-badge { animation: none; } }

/* ===== Como posso te ajudar ===== */
.hl-c, .hl-g, .hl-p { font-family: var(--font-serif); font-style: italic; font-weight: 600; }
.hl-c { color: var(--cor-tempo); }
.hl-g { color: var(--cor-dinheiro); }
.hl-p { color: var(--cor-liberdade); }
.hp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 26px; }
.hp-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 20px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); transition: transform .3s, border-color .3s, box-shadow .3s; }
.hp-card:hover { transform: translateY(-4px); border-color: rgba(166,255,0,.4); box-shadow: 0 20px 44px -24px rgba(166,255,0,.5); }
.hp-emoji { font-size: 2rem; }
.hp-title { font-size: 1.2rem; font-weight: 800; }
.hp-text { color: var(--text-sub); line-height: 1.6; flex: 1; }
.hp-card .pg-btn { align-self: flex-start; }
.hp-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hp-step { position: relative; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.hp-step-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--cor-dinheiro); color: #000; font-weight: 900; margin-bottom: 12px; }
.hp-step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.hp-step p { color: var(--text-sub); font-size: .93rem; line-height: 1.55; }

@media (max-width: 900px) {
  .ab-hero { grid-template-columns: 1fr; gap: 10px; }
  .ab-visual { order: -1; min-height: 0; }
  .ab-photo { max-width: 360px; }
  .ab-badge { width: 48px; height: 48px; border-radius: 14px; }
  .ab-paths, .hp-steps { grid-template-columns: 1fr; }
}
