:root {
  --green: #18b873;
  --green-dark: #08784e;
  --blue: #1f7ae0;
  --red: #df2f29;
  --yellow: #f7b928;
  --ink: #17202a;
  --muted: #65717d;
  --line: #dde6e2;
  --soft: #f5faf7;
  --paper: #ffffff;
  --orange: #ff9f0a;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 68px; }
body.checkout-open { position: fixed; width: 100%; overflow: hidden; }
body.checkout-open .floating-cta { visibility: hidden; }
button:disabled { opacity: .65; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fbfdfb;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

img {
  display: block;
  max-width: 100%;
}

.top-strip {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 8px 14px;
  background: linear-gradient(180deg, #ffad1d, #f28a00);
  color: #fff;
  text-align: center;
  font-size: .92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.top-strip span {
  color: #1f1400;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
}

main {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 18px 16px 132px;
}

.hero {
  display: block;
  padding: 22px 0 0;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow,
.section-head span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff4da;
  color: #8a4d00;
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 14px 0 12px;
  max-width: 800px;
  font-family: Nunito, Inter, sans-serif;
  font-size: 3.75rem;
  line-height: .94;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  color: #3f4b54;
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 0;
}

.desire-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.desire-strip span {
  padding: 8px 10px;
  border: 1px solid #ffe0a1;
  border-radius: 999px;
  background: #fffaf0;
  color: #774600;
  font-size: .86rem;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-actions a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.primary-btn,
.plan-card button,
.floating-cta button,
.pix-box button {
  border: 0;
  border-radius: 8px;
  min-height: 52px;
  padding: 13px 18px;
  background: linear-gradient(180deg, #25d984, #0fa667);
  color: #fff;
  font-weight: 900;
  line-height: 1.15;
  box-shadow: 0 8px 0 var(--green-dark);
}

.primary-btn:active,
.plan-card button:active,
.floating-cta button:active {
  transform: translateY(2px);
  box-shadow: 0 6px 0 var(--green-dark);
}

.hero-product {
  display: none;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(22, 58, 42, .12);
}

.hero-product img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 6px;
}

.section {
  margin-top: 32px;
}

.viewer-section {
  margin-top: 14px;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.section-head h2,
.faq h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0;
}

.sample-scroller,
.horizontal-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 310px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 2px 2px 14px;
  -webkit-overflow-scrolling: touch;
}

.sample-viewer {
  display: grid;
  gap: 12px;
  width: min(720px, 100%);
}

.viewer-stage {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(23, 32, 42, .08);
}

.viewer-stage img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  border: 1px solid #e3ebe6;
  border-radius: 6px;
  background: #fff;
}

.viewer-stage span {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(16, 24, 32, .88);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.viewer-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.viewer-controls button {
  min-height: 46px;
  border: 1px solid #d5e1db;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.viewer-controls button:last-child {
  background: #101820;
  color: #fff;
  border-color: #101820;
}

.viewer-controls span {
  font-size: 1.1rem;
  line-height: 0;
}

.viewer-controls strong {
  min-width: 92px;
  text-align: center;
  color: #3f4b54;
}

.sample-card,
.bonus-card,
.testimonial-card,
.plan-card,
.tool-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(23, 32, 42, .06);
}

.sample-card {
  scroll-snap-align: start;
  padding: 6px;
  cursor: pointer;
}

.sample-card.active {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(24, 184, 115, .18), 0 10px 28px rgba(23, 32, 42, .08);
}

.sample-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border: 1px solid #e3ebe6;
  border-radius: 6px;
  background: #fff;
}

.sample-card strong {
  display: block;
  margin-top: 7px;
  text-align: center;
  font-size: .88rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.plan-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.plan-card.selected {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(24, 184, 115, .16), 0 14px 34px rgba(23, 32, 42, .08);
}

.plan-card > span {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff5d8;
  color: #8a5a00;
  font-size: .76rem;
  font-weight: 900;
}

.plan-card h3 {
  margin: 0;
  font-size: 1.16rem;
}

.plan-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.plan-price {
  display: grid;
  gap: 2px;
}

.plan-price s {
  color: #9aa4ad;
}

.plan-price strong {
  color: var(--green-dark);
  font-size: 2rem;
  line-height: 1;
}

.plan-card ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.plan-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
}

.bonus-card,
.testimonial-card {
  scroll-snap-align: start;
  padding: 14px;
}

.bonus-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.bonus-card h3,
.testimonial-card strong {
  margin: 12px 0 6px;
  font-size: 1rem;
}

.bonus-card p,
.testimonial-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.testimonial-card img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-card div {
  display: grid;
}

.testimonial-card span {
  color: var(--muted);
  font-size: .86rem;
}

.testimonial-card p::before {
  content: "★★★★★";
  display: block;
  color: var(--yellow);
  font-size: .9rem;
  margin: 8px 0 4px;
}

.offer-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--soft);
}

.tool-card strong {
  color: var(--green-dark);
}

.tool-card span {
  color: #4e5b65;
  line-height: 1.45;
}

.faq details {
  margin-top: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 900;
}

.faq p {
  margin: 0 0 16px;
  color: var(--muted);
}

.floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  margin-inline: auto;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(calc(100% - 24px), 620px);
  padding: 10px 10px 18px;
  border-radius: 8px;
  background: #101820;
  color: #fff;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .28);
}

.floating-cta div {
  display: grid;
  gap: 2px;
  min-width: 132px;
  flex: 0 1 46%;
  overflow-wrap: anywhere;
}

.floating-cta small {
  color: #a7f0ca;
  font-weight: 800;
  line-height: 1.2;
}

.floating-cta small b {
  color: #fff;
}

.floating-cta strong {
  color: #4cffab;
  font-size: 1.35rem;
}

.floating-cta button {
  flex: 1;
  min-width: 0;
  min-height: 48px;
}

.checkout {
  width: min(94vw, 480px);
  max-height: min(92dvh, 760px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
}

.checkout::backdrop {
  background: rgba(5, 16, 10, .62);
}

.checkout form {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 20px;
}

.checkout h2 {
  margin: 0 42px 0 0;
  color: var(--red);
  font-size: 1.35rem;
  line-height: 1.1;
}

.checkout h2 + p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #eef2f1;
  font-size: 1.35rem;
}

.checkout label:not(.bump) {
  display: grid;
  gap: 5px;
  font-weight: 800;
}

.checkout input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #ced9d3;
  border-radius: 7px;
  padding: 0 12px;
  font-size: 16px;
}

.bump {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d9efe4;
  border-radius: 8px;
  background: #f6fff9;
}

.bump input {
  flex: 0 0 20px;
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}

.bump span {
  display: grid;
  gap: 3px;
}

.bump small {
  color: var(--muted);
  line-height: 1.35;
}

.payment,
.summary {
  padding: 12px;
  border-radius: 7px;
  background: #f6faf8;
}

.payment,
.summary p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.payment span {
  color: var(--green-dark);
  font-weight: 900;
}

.summary {
  display: grid;
  gap: 6px;
}

.summary p {
  margin: 0;
}

.summary p:last-child {
  font-size: 1.08rem;
}

.checkout-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 7px;
  background: #fff1f0;
  color: #ba1a1a;
  font-weight: 800;
}

.pix-box {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px dashed var(--green);
  border-radius: 7px;
  background: #f5fff9;
}

.pix-box[hidden] {
  display: none;
}

.pix-box h3,
.pix-box p {
  margin: 0;
}

.pix-box code {
  display: block;
  max-width: 100%;
  padding: 10px;
  overflow-wrap: anywhere;
  border-radius: 6px;
  background: #fff;
  font-size: .75rem;
}

.pix-box button {
  background: #17202a;
  box-shadow: none;
}

@media (max-width: 860px) {
  main {
    padding-inline: 12px;
  }

  .hero,
  .plans-grid,
  .offer-tools {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 18px;
    padding-bottom: 4px;
  }

  .hero-product {
    max-width: 360px;
  }
}

@media (max-width: 560px) {
  .top-strip {
    min-height: 48px;
    gap: 8px;
    padding: 7px 8px;
    font-size: .76rem;
  }

  main {
    padding-top: 10px;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.04;
  }

  .section-head h2, .faq h2 { font-size: 1.5rem; }
  .hero-product { max-width: 240px; padding: 8px; }
  .hero-actions a { padding-block: 12px; text-align: center; }
  .top-strip { flex-wrap: wrap; }
  main { padding-bottom: calc(124px + env(safe-area-inset-bottom)); }

  .lead {
    font-size: .98rem;
    line-height: 1.42;
  }

  .desire-strip {
    gap: 7px;
    margin-top: 12px;
  }

  .desire-strip span {
    flex: 1 1 auto;
    text-align: center;
    font-size: .78rem;
    padding: 7px 8px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions,
  .hero-actions .primary-btn {
    width: 100%;
  }

  .sample-scroller,
  .horizontal-list {
    grid-auto-columns: 31vw;
    margin-inline: -12px;
    padding-inline: 12px;
  }

  .horizontal-list {
    grid-auto-columns: 78vw;
  }

  .viewer-section {
    margin-top: 10px;
  }

  .sample-viewer {
    gap: 10px;
  }

  .viewer-stage {
    padding: 8px;
  }

  .viewer-stage img {
    max-height: 52vh;
  }

  .viewer-controls {
    grid-template-columns: 1fr 1fr;
  }

  .viewer-controls strong {
    grid-column: 1 / -1;
    grid-row: 1;
    min-width: 0;
  }

  .viewer-controls button {
    grid-row: 2;
  }

  .sample-card strong {
    font-size: .72rem;
  }
  }

  .plans-grid {
    gap: 12px;
  }

  .plan-card {
    padding: 16px;
  }

  .floating-cta {
    bottom: max(8px, env(safe-area-inset-bottom));
    gap: 8px;
    padding: 8px 8px 16px;
  }

  .floating-cta div {
    min-width: 110px;
  }

  .floating-cta strong {
    font-size: 1.12rem;
  }

  .floating-cta button {
    padding-inline: 10px;
  }

  .checkout {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px - env(safe-area-inset-bottom));
  }

  .checkout form {
    padding: 16px 16px 24px;
  }
}
