:root {
  --roxo: #3B1E8F;
  --roxo2: #5B3FD0;
  --lima: #C6F432;
  --creme: #FFF8EC;
  --grafite: #1C1B22;
  --lilas: #E9E1FF;
  --coral: #FF8A6B;
  --cinza: #6b6873;
  --borda: #e6e1d6;
  --branco: #fff;
  --raio: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--grafite); font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; font-size: 17px; line-height: 1.6; }
h1, h2, h3 { font-family: 'Bricolage Grotesque', Inter, sans-serif; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
a { color: var(--roxo2); }
img, svg { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.logo { font-family: 'Bricolage Grotesque', Inter, sans-serif; font-weight: 800; font-size: 1.5rem; text-decoration: none; color: var(--grafite); letter-spacing: -0.02em; }
.logo span { background: var(--lima); padding: 0 .18em; border-radius: .18em; display: inline-block; transform: rotate(-3deg); }
.topbar { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; gap: 12px; }
.topbar nav a { margin-left: 16px; text-decoration: none; color: var(--grafite); font-weight: 600; font-size: .95rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--roxo); color: var(--branco); border: 0; border-radius: 12px; padding: 16px 26px; font: 700 1.05rem Inter, sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 var(--grafite); transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--grafite); }
.btn.lima { background: var(--lima); color: var(--grafite); }
.btn.ghost { background: transparent; color: var(--grafite); border: 2px solid var(--grafite); box-shadow: none; }
.btn.small { padding: 10px 16px; font-size: .95rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.card { background: var(--branco); border: 1.5px solid var(--borda); border-radius: var(--raio); padding: 22px; }
.card.roxo { background: var(--lilas); border-color: var(--lilas); }
.card.dark { background: var(--grafite); color: var(--creme); border-color: var(--grafite); }
.pill { display: inline-block; background: var(--branco); border: 1.5px solid var(--grafite); border-radius: 99px; padding: 4px 14px; font-size: .85rem; font-weight: 700; }
.pill.lima { background: var(--lima); }
.kicker { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--roxo2); margin-bottom: 8px; }
.muted { color: var(--cinza); }
.small { font-size: .88rem; }
.hl { background: linear-gradient(transparent 55%, var(--lima) 55%); padding: 0 .1em; }
.grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } }
section { padding: 56px 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }
ul.clean { list-style: none; padding: 0; margin: 0; }
ul.clean li { padding: 8px 0 8px 30px; position: relative; }
ul.clean li::before { content: '✓'; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 6px; background: var(--lima); color: var(--grafite); font-weight: 900; text-align: center; line-height: 22px; font-size: .8rem; }
ul.x li::before { content: '✕'; background: #FFD9CF; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--roxo); color: #fff; font-weight: 800; font-size: 1.2rem; flex: none; }
.prompt { background: #F7F4FF; border-left: 4px solid var(--roxo2); border-radius: 10px; padding: 12px 14px; white-space: pre-wrap; font-size: .95rem; }

/* forms */
label { display: block; font-weight: 600; margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; padding: 14px; border: 1.5px solid #cfc9bd; border-radius: 12px; font: inherit; background: #fff; color: var(--grafite); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--lima); border-color: var(--grafite); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 10px 0; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--roxo); }
.opts { display: grid; gap: 10px; }
.opt { display: flex; gap: 12px; align-items: center; background: #fff; border: 2px solid var(--borda); border-radius: 14px; padding: 14px 16px; cursor: pointer; font-weight: 600; text-align: left; font: inherit; color: inherit; width: 100%; }
.opt:hover { border-color: var(--roxo2); }
.opt.sel { border-color: var(--roxo); background: var(--lilas); }
.err { color: #b3261e; font-weight: 600; }

/* quiz */
.quiz { max-width: 640px; margin: 0 auto; }
.progress { height: 10px; background: #fff; border-radius: 99px; border: 1.5px solid var(--grafite); overflow: hidden; margin: 18px 0 24px; }
.progress div { height: 100%; background: var(--lima); width: 0; transition: width .3s; }

/* sales */
.hero { padding: 24px 0 48px; }
.hero h1 { max-width: 15ch; }
.hero .sub { font-size: 1.2rem; max-width: 46ch; }
.priceBox { border: 3px solid var(--grafite); border-radius: 22px; background: #fff; padding: 28px 22px; box-shadow: 8px 8px 0 var(--lima); }
.price { font-family: 'Bricolage Grotesque', Inter, sans-serif; font-size: clamp(2.6rem, 9vw, 3.6rem); font-weight: 800; line-height: 1; }
.strike { text-decoration: line-through; color: var(--cinza); }
details { background: #fff; border: 1.5px solid var(--borda); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
details summary { font-weight: 700; cursor: pointer; }
.guarantee { display: flex; gap: 18px; align-items: center; }
.seal { flex: none; width: 96px; height: 96px; border-radius: 50%; background: var(--lima); border: 3px solid var(--grafite); display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 900; line-height: 1.05; font-family: 'Bricolage Grotesque', sans-serif; }
.preview { width: 100%; height: 520px; border: 3px solid var(--grafite); border-radius: 18px; background: #fff; }

/* checkout */
.tabs { display: flex; gap: 8px; margin: 16px 0; }
.tabs button { flex: 1; }
.qr { width: 240px; height: 240px; margin: 0 auto; display: block; border-radius: 12px; border: 2px solid var(--grafite); background: #fff; }
.copybox { display: flex; gap: 8px; }
.copybox input { font-size: .8rem; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.bump { border: 2.5px dashed var(--roxo2); background: #F7F4FF; border-radius: 14px; padding: 14px 16px; }

/* members */
.lesson-list a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--grafite); background: #fff; border: 1.5px solid var(--borda); margin-bottom: 8px; }
.lesson-list a.done { background: #F3FFE0; }
.lesson-body { background: #fff; border-radius: var(--raio); padding: 24px; border: 1.5px solid var(--borda); }
.lesson-body table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.lesson-body th, .lesson-body td { border: 1px solid var(--borda); padding: 8px; text-align: left; vertical-align: top; }
.lesson-body blockquote { margin: 12px 0; background: #F7F4FF; border-left: 4px solid var(--roxo2); padding: 10px 14px; border-radius: 8px; }
.video { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: #000; margin-bottom: 16px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* admin */
table.data { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; }
table.data th, table.data td { padding: 8px 10px; border-bottom: 1px solid var(--borda); text-align: left; }
.table-wrap { overflow-x: auto; }
.kpi { font-family: 'Bricolage Grotesque', sans-serif; font-size: 2rem; font-weight: 800; }

/* consent */
#consent { position: fixed; left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin: 0 auto; background: var(--grafite); color: var(--creme); border-radius: 16px; padding: 16px; display: none; z-index: 50; font-size: .92rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
#consent a { color: var(--lima); }
#consent .row { display: flex; gap: 8px; margin-top: 10px; }
footer { padding: 40px 0; font-size: .85rem; color: var(--cinza); border-top: 1.5px solid var(--borda); margin-top: 40px; }
footer a { color: var(--cinza); margin-right: 14px; }
