:root {
  --tile: #EEF1F4;
  --grout: #D5DDE5;
  --ink: #14202B;
  --muted: #5B6B7A;
  --mark: #FFD23F;
  --rec: #F0433A;
  --money: #0F6B5C;
  --white: #FFFFFF;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--tile);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 5vw, 48px); line-height: 1.05; font-weight: 800; max-width: 18ch; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, .vsl:focus-visible {
  outline: 3px solid var(--mark); outline-offset: 3px;
}

main > section, .top, .foot { padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2)); }
main > section { padding-block: clamp(56px, 9vw, 112px); }

/* ---------- Topo ---------- */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 24px var(--display); color: var(--ink); text-decoration: none; letter-spacing: -.03em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--mark); position: relative; flex: none;
}
.brand-mark::after {
  content: ""; position: absolute; left: 11px; top: 8px;
  border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.brand-mark.small { display: inline-block; width: 20px; height: 20px; border-radius: 6px; vertical-align: -4px; }
.brand-mark.small::after { left: 7px; top: 5px; border-left-width: 7px; border-top-width: 5px; border-bottom-width: 5px; }
.top-link { font-weight: 700; color: var(--ink); text-decoration: none; padding: 8px 4px; }

/* ---------- Hero ---------- */
.hero {
  display: grid; gap: 40px; align-items: center;
  padding-top: clamp(12px, 3vw, 40px) !important;
}
.hero h1 {
  font-size: clamp(36px, 6.2vw, 68px); line-height: 1; font-weight: 800; letter-spacing: -.035em;
  max-width: 16ch; text-wrap: balance;
}
.lead { font-size: clamp(18px, 2vw, 21px); color: #33414E; margin: 24px 0 32px; max-width: 46ch; }
.lead strong { color: var(--ink); background: linear-gradient(transparent 60%, var(--mark) 60%); }
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mark); color: var(--ink); text-decoration: none;
  font: 800 19px var(--body); padding: 20px 30px; border-radius: 14px;
  box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 0 var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.cta:hover { transform: translate(-2px, -2px); box-shadow: 0 0 0 2px var(--ink), 8px 8px 0 0 var(--ink); }
.cta:active { transform: translate(4px, 4px); box-shadow: 0 0 0 2px var(--ink), 2px 2px 0 0 var(--ink); }
.fine { font-size: 14px; color: var(--muted); margin-top: 16px; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}
/* No celular o vídeo vem logo depois do título */
@media (max-width: 899px) {
  .hero { gap: 0; }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; }
  .hero .vsl { order: 2; margin-top: 24px; }
  .hero .lead { order: 3; }
  .hero .cta { order: 4; width: 100%; }
  .hero .fine { order: 5; }
}

/* ---------- VSL ---------- */
.vsl {
  position: relative; margin: 0; border-radius: 22px; overflow: hidden;
  background: var(--ink); aspect-ratio: 4 / 5; width: 100%; max-width: 520px; justify-self: center;
  box-shadow: 0 30px 60px -30px rgba(20, 32, 43, .5);
}
.vsl canvas { display: block; width: 100%; height: 100%; cursor: pointer; }
.vsl-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--mark); box-shadow: 0 0 0 10px rgba(255, 210, 63, .35);
  transition: opacity .2s, transform .2s;
}
.vsl-play span {
  position: absolute; left: 38px; top: 30px;
  border-left: 30px solid var(--ink); border-top: 18px solid transparent; border-bottom: 18px solid transparent;
}
.vsl.is-playing .vsl-play { opacity: 0; transform: translate(-50%, -50%) scale(.8); pointer-events: none; }
.vsl.is-playing:hover .vsl-play, .vsl.is-playing:focus-within .vsl-play { opacity: 0; }
.vsl.has-started:not(.is-playing) .vsl-play span { left: 36px; }
.vsl-hint {
  position: absolute; left: 16px; right: 16px; bottom: 20px; text-align: center;
  color: var(--white); font-weight: 700; font-size: 15px;
  background: rgba(20, 32, 43, .78); padding: 10px 14px; border-radius: 12px;
}
.vsl.has-started .vsl-hint { display: none; }
.vsl-controls {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 18px 16px 12px; background: linear-gradient(transparent, rgba(20, 32, 43, .6));
  opacity: 0; transition: opacity .2s;
}
.vsl.has-started .vsl-controls { opacity: 1; }
.vsl-bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .3); cursor: pointer; position: relative; }
.vsl-bar::before { content: ""; position: absolute; inset: -10px 0; }
.vsl-bar i { display: block; height: 100%; width: 0; background: var(--mark); border-radius: 3px; }
.vsl-time { color: var(--white); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Por quê ---------- */
.why { background: var(--ink); color: var(--white); display: grid; gap: 32px; }
.why h2 { max-width: 14ch; }
.why-body { display: grid; gap: 20px; max-width: 62ch; font-size: 19px; color: #C9D3DC; }
.why-body p:last-child { color: var(--white); font-weight: 600; }
@media (min-width: 900px) {
  .why { grid-template-columns: 1fr 1.2fr; gap: 64px; }
}

/* ---------- Na TV ---------- */
.news { display: grid; gap: 32px; align-items: center; background: var(--white); }
.news h2 { max-width: 16ch; }
.news-copy { display: grid; gap: 16px; }
.news-copy p { color: #33414E; max-width: 46ch; font-size: 18px; }
.news-copy .news-credit { font-size: 14px; color: var(--muted); }
.news-player { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--ink); box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 0 var(--ink); }
.news-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.news-facade { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: var(--ink); }
.news-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: var(--mark); box-shadow: 0 0 0 8px rgba(255, 210, 63, .35);
}
.news-play::after {
  content: ""; position: absolute; left: 30px; top: 23px;
  border-left: 24px solid var(--ink); border-top: 15px solid transparent; border-bottom: 15px solid transparent;
}
@media (min-width: 900px) {
  .news { grid-template-columns: .8fr 1.2fr; gap: 64px; }
}

/* ---------- Pessoas gravando ---------- */
.people { background: var(--tile); border-top: 2px solid var(--grout); }
.people h2 { max-width: 20ch; }
.people-lead { color: #33414E; max-width: 52ch; font-size: 18px; margin-top: 16px; }
.people-videos {
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; margin-top: 32px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
}
.people-videos::-webkit-scrollbar { display: none; }
.people-videos figure { margin: 0; display: grid; gap: 10px; align-content: start; scroll-snap-align: start; }
.people-videos video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; background: var(--ink);
  border-radius: 16px; box-shadow: 0 0 0 2px var(--ink);
}
.people-videos figcaption { font-weight: 700; font-size: 15px; line-height: 1.3; }
.people-hint { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 8px; }
.people-credit { font-size: 14px; color: var(--muted); max-width: 64ch; margin-top: 20px; }
@media (min-width: 700px) {
  .people-videos { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding: 2px; max-width: 900px; }
  .people-hint { display: none; }
}

/* ---------- Como funciona ---------- */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 36px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 4px 20px; align-content: start; }
.steps li::before {
  content: counter(step); grid-row: span 2;
  font: 800 56px/1 var(--display); color: var(--ink);
  -webkit-text-stroke: 0; background: var(--mark); border-radius: 12px;
  width: 64px; height: 64px; display: grid; place-items: center; font-size: 34px;
}
.steps p { color: var(--muted); max-width: 40ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps li { grid-template-columns: 1fr; }
  .steps li::before { grid-row: auto; margin-bottom: 14px; }
}

/* ---------- Calculadora ---------- */
.calc { background: var(--money); color: var(--white); display: grid; gap: 32px; align-items: center; }
.calc p { color: #CDE7DF; max-width: 40ch; margin-top: 14px; }
.calc-box { background: rgba(0, 0, 0, .16); border-radius: 20px; padding: clamp(22px, 4vw, 36px); }
.calc-box label { font-weight: 700; font-size: 18px; }
.calc-box input { width: 100%; margin: 18px 0 8px; accent-color: var(--mark); height: 28px; }
.calc-total { display: grid; margin-top: 12px !important; color: var(--white) !important; }
.calc-total output { font: 800 clamp(56px, 10vw, 88px)/1 var(--display); color: var(--mark); letter-spacing: -.04em; }
.calc-total span { font-weight: 600; color: #CDE7DF; }
.calc .fine { color: #A9D2C6; }
@media (min-width: 900px) {
  .calc { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ---------- Tarefas: grade de azulejos ---------- */
.task-list {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 6px; background: var(--grout); border: 6px solid var(--grout); border-radius: 14px;
}
.task-list li { background: var(--white); padding: 22px 16px; font-weight: 700; font-size: 16px; }

/* ---------- Regras ---------- */
.rules { background: var(--white); }
.rules-grid { display: grid; gap: 40px; margin-top: 40px; }
.rules ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.rules li { padding-left: 34px; position: relative; max-width: 44ch; }
.rules-grid > div:first-child li::before {
  content: ""; position: absolute; left: 4px; top: 7px; width: 16px; height: 9px;
  border-left: 3px solid var(--money); border-bottom: 3px solid var(--money); transform: rotate(-45deg);
}
.rules-grid > div:last-child li::before,
.rules-grid > div:last-child li::after {
  content: ""; position: absolute; left: 3px; top: 13px; width: 20px; height: 3px; background: var(--rec); transform: rotate(45deg);
}
.rules-grid > div:last-child li::after { transform: rotate(-45deg); }
@media (min-width: 900px) {
  .rules-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 32px; }
.faq details { border-top: 2px solid var(--ink); max-width: 760px; }
.faq details:last-of-type { border-bottom: 2px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 700 20px/1.3 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 500 32px/1 var(--body); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: #33414E; max-width: 62ch; }

/* ---------- Final ---------- */
.final { background: var(--mark); display: grid; gap: 32px; justify-items: start; }
.final h2 { max-width: 20ch; }
.final .cta { background: var(--ink); color: var(--white); box-shadow: 6px 6px 0 0 rgba(20, 32, 43, .35); }
.final .cta:hover { box-shadow: 8px 8px 0 0 rgba(20, 32, 43, .35); }

.foot { padding-block: 40px 56px; display: grid; gap: 12px; font-size: 14px; color: var(--muted); }
.foot p:first-child { font: 800 18px var(--display); color: var(--ink); }
.foot p:last-child { max-width: 70ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta, .vsl-play, .faq summary::after { transition: none; }
}

/* ---------- Treinamento ---------- */
.training { display: grid; gap: 40px; }
.training-lead { color: #33414E; max-width: 46ch; margin-top: 18px; font-size: 18px; }
.modules { list-style: none; padding: 0; margin: 0; counter-reset: mod; border-left: 4px solid var(--ink); }
.modules li { counter-increment: mod; position: relative; padding: 4px 0 26px 56px; }
.modules li:last-child { padding-bottom: 4px; }
.modules li::before {
  content: counter(mod); position: absolute; left: -18px; top: 0;
  width: 32px; height: 32px; border-radius: 50%; background: var(--mark); border: 3px solid var(--ink);
  display: grid; place-items: center; font: 800 15px/1 var(--display);
}
.modules p { color: var(--muted); max-width: 48ch; }
@media (min-width: 900px) {
  .training { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
}

/* ---------- Oferta ---------- */
.offer { background: var(--ink); color: var(--white); display: grid; gap: 40px; align-items: start; }
.offer-why { display: grid; gap: 18px; }
.offer-why h2 { max-width: 12ch; margin-bottom: 6px; }
.offer-why p { color: #C9D3DC; max-width: 46ch; font-size: 18px; }
.offer-why p:last-child { color: var(--white); font-weight: 600; }
.offer-card {
  background: var(--white); color: var(--ink); border-radius: 22px; padding: clamp(22px, 4vw, 36px);
  box-shadow: 10px 10px 0 0 var(--mark); display: grid; gap: 22px; max-width: 520px;
}
.offer-card h3 { font-size: 26px; }
.offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.offer-list li { display: grid; padding-left: 34px; position: relative; }
.offer-list li::before {
  content: ""; position: absolute; left: 4px; top: 7px; width: 16px; height: 9px;
  border-left: 3px solid var(--money); border-bottom: 3px solid var(--money); transform: rotate(-45deg);
}
.offer-list span { color: var(--muted); font-size: 15px; }
.offer-price { display: grid; justify-items: center; text-align: center; padding: 18px 0 4px; border-top: 2px dashed var(--grout); }
.offer-price b { font: 800 clamp(64px, 14vw, 88px)/1 var(--display); letter-spacing: -.04em; margin: 4px 0; }
.offer-price span { color: var(--muted); font-weight: 600; font-size: 15px; }
.offer-card .cta { width: 100%; }
.offer-anchor { text-align: center; font-weight: 700; color: var(--money); margin-top: -8px; }
.guarantee { display: flex; gap: 16px; align-items: center; background: var(--tile); border-radius: 14px; padding: 16px; font-size: 15px; }
.seal {
  flex: none; width: 64px; height: 64px; border-radius: 50%; border: 3px dashed var(--money); color: var(--money);
  display: grid; place-content: center; text-align: center; font: 800 26px/1 var(--display);
}
.seal small { font: 700 11px/1 var(--body); }
@media (min-width: 900px) {
  .offer { grid-template-columns: 1fr 1fr; gap: 64px; }
  .offer-card { justify-self: end; width: 100%; }
}
.final .fine { margin-top: -16px; color: var(--ink); }

/* ---------- Obrigado ---------- */
.thanks h1 { font-size: clamp(34px, 5.6vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; max-width: 18ch; }
.thanks .steps { margin-top: 40px; }
@media (min-width: 900px) { .thanks .steps { grid-template-columns: repeat(3, 1fr); } }
.thanks-cta { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 48px; }
.thanks .fine { max-width: 60ch; }

/* ---------- Celular ---------- */
.sticky-cta { display: none; }
@media (max-width: 899px) {
  main > section { padding-block: 52px; }
  .hero { padding-bottom: 44px !important; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); line-height: 1.04; }
  .hero .vsl { margin-top: 20px; }
  .lead { font-size: 17px; margin: 20px 0 24px; }
  .cta { font-size: 18px; padding: 18px 22px; }

  .steps { margin-top: 32px; gap: 28px; }
  .steps li { grid-template-columns: 44px 1fr; gap: 2px 16px; }
  .steps li::before { width: 44px; height: 44px; font-size: 22px; border-radius: 10px; }

  /* Tarefas em duas colunas, emoji em cima */
  .task-list { grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .task-list li { padding: 16px 12px; font-size: 15px; line-height: 1.3; }
  .task-list li:last-child:nth-child(odd) { grid-column: span 2; }

  .modules li { padding-left: 40px; }
  .rules-grid { margin-top: 28px; gap: 32px; }

  .offer-card { box-shadow: 6px 6px 0 0 var(--mark); margin-right: 6px; }
  .guarantee { align-items: flex-start; }
  .seal { width: 56px; height: 56px; font-size: 22px; }

  .faq summary { font-size: 18px; padding-block: 18px; }
  .final .cta { width: 100%; }

  /* Botão fixo de compra */
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(238, 241, 244, .94); backdrop-filter: blur(8px);
    border-top: 1px solid var(--grout);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .cta { width: 100%; padding: 15px 20px; font-size: 17px; box-shadow: 0 0 0 2px var(--ink), 4px 4px 0 0 var(--ink); }
  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .task-list li { font-size: 14px; padding: 14px 10px; }
  .offer-price b { font-size: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

/* ---------- Ordem para tráfego de anúncio ---------- */
.calc-box .cta { width: 100%; margin-top: 22px; }
.how + .tasks { padding-top: 0; }
.news-player { position: relative; }
.news-unmute {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: none; z-index: 2; border: 0; cursor: pointer; white-space: nowrap;
  background: var(--mark); color: var(--ink); font: 800 16px var(--body);
  padding: 12px 20px; border-radius: 999px; box-shadow: 0 0 0 2px var(--ink), 3px 3px 0 0 var(--ink);
}
.news-player.is-muted .news-unmute { display: block; }

/* ---------- Status do pagamento (obrigado) ---------- */
.pay-status { display: inline-block; font-weight: 700; padding: 10px 16px; border-radius: 12px; margin-bottom: 20px; }
.pay-status.ok { background: #DFF3E8; color: #0F6B5C; }
.pay-status.wait { background: #FFF1C9; color: #6B4A00; }
.pay-status.bad { background: #FBE6E4; color: #A8302A; }
