:root {
  --green: #14b87a;
  --green-dark: #087b53;
  --cyan: #14aeea;
  --yellow: #ffe04c;
  --red: #ef3d37;
  --ink: #202124;
  --muted: #68707a;
  --line: #dce6df;
  --page: #f7fbf7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(90deg, #eef7ef 0, #fbfffb 12%, #ffffff 50%, #fbfffb 88%, #eef7ef 100%);
}

button, input { font: inherit; }

.top-strip {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 11px 16px;
  background: #111827;
  color: #fff;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

main {
  max-width: 1060px;
  margin: 0 auto;
  padding: 26px 18px 110px;
}

.hero {
  text-align: center;
  padding: 10px 0 22px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eaf8ff;
  color: #0779a7;
  font-weight: 800;
}

h1 {
  max-width: 820px;
  margin: 12px auto 8px;
  font-family: Nunito, Inter, sans-serif;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: .96;
  letter-spacing: 0;
}

.hero h2 {
  margin: 0 auto 12px;
  max-width: 760px;
  color: #178a63;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
}

.hero p:last-child {
  color: var(--muted);
  font-weight: 600;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.sample-panel {
  position: relative;
  min-width: 0;
}

.viewer-actions {
  position: absolute;
  inset: 44% -14px auto -14px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.nav-btn, .mini-btn, .test-controls button {
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dfe5ea;
  color: #1f2937;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .17);
  cursor: pointer;
  pointer-events: auto;
}

.page-view {
  display: grid;
  place-items: center;
  min-height: 720px;
  padding: 22px;
  border: 1px solid #e5ece7;
  background: #fff;
  box-shadow: 0 16px 50px rgba(25, 71, 43, .12);
}

.sample-page {
  display: block;
  width: min(100%, 560px);
  max-height: 720px;
  object-fit: contain;
  border: 1px solid #d5ddd8;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--cyan);
  font-weight: 900;
}

.thumb-list {
  display: flex;
  gap: 8px;
  max-width: 320px;
  overflow: hidden;
}

.thumb {
  width: 54px;
  height: 72px;
  border: 2px solid #d5e1da;
  background: #fff center / cover no-repeat;
  cursor: pointer;
  border-radius: 4px;
}

.thumb.active {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(20, 174, 234, .2);
}

.mini-btn {
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
}

.offer-card {
  position: sticky;
  top: 70px;
  padding: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 48px rgba(31, 89, 55, .15);
  border: 1px solid #e1ebe5;
}

.timer-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 auto 16px;
}

.timer-box span {
  display: grid;
  place-items: center;
  width: 68px;
  height: 62px;
  border-radius: 8px;
  color: #fff;
  background: #111827;
  font-size: 2rem;
  font-weight: 900;
}

.offer-title {
  text-align: center;
  font-weight: 900;
  color: #d12922;
}

.price-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.price-line span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #e93b32;
  color: #fff;
  font-weight: 900;
}

.price {
  text-align: center;
  color: var(--green);
  font-size: 5.2rem;
  font-weight: 900;
  line-height: 1;
}

.price small { font-size: 1.8rem; }

.rating {
  text-align: center;
  margin: 8px 0 16px;
}

.rating span, .stars { color: #ffb300; letter-spacing: 0; }
.rating p { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }

.buy-btn {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #24d881, #0aa765);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 0 #087b53, 0 18px 28px rgba(10, 167, 101, .25);
}

.buy-btn:active {
  transform: translateY(3px);
  box-shadow: 0 7px 0 #087b53, 0 14px 20px rgba(10, 167, 101, .22);
}

.secure, .guarantee {
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}

.secure {
  margin: 15px 0 8px;
  padding: 8px;
  border-radius: 6px;
  background: #f3f6f5;
  font-weight: 700;
}

.bonus-box, .testimonial {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #e1e8e4;
  border-radius: 8px;
  background: #fff;
}

.bonus-box h3, .testimonial h3 {
  margin: 0 0 10px;
}

.bonus-box ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.bonus-box li {
  margin: 8px 0;
}

.bonus-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.bonus-images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid #e2ebe6;
}

.bonus-box li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green-dark);
  font-weight: 900;
}

.testimonial p {
  min-height: 72px;
  color: #4d5660;
}

.test-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.test-controls button {
  width: 42px;
  height: 42px;
  font-size: 1rem;
}

[data-dots] {
  color: #b9c6d0;
  font-weight: 900;
}

.urgency, .upsell {
  margin: 44px auto 0;
  padding: 28px;
  border-radius: 8px;
  text-align: center;
  background: #fff4f4;
  border: 1px solid #ffd3d0;
}

.urgency h2, .related h2, .upsell h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.compact {
  max-width: 430px;
  margin: 12px auto 0;
}

.related {
  margin-top: 44px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related article {
  padding: 14px;
  border: 1px solid #e1e8e4;
  border-radius: 8px;
  background: #fff;
}

.product-art {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.related h3 {
  min-height: 48px;
  margin: 12px 0 8px;
  font-size: 1rem;
}

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

.related article button {
  width: 100%;
  border: 0;
  border-radius: 7px;
  padding: 11px;
  background: #17202b;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.upsell {
  background: #fff;
  border-color: #d9efe4;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.trust-band div {
  padding: 18px;
  border: 1px solid #dcebe3;
  border-radius: 8px;
  background: #f7fffa;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  color: var(--green-dark);
  font-size: 1.05rem;
}

.trust-band span {
  margin-top: 6px;
  color: #59646d;
  line-height: 1.45;
}

.faq {
  margin-top: 38px;
}

.faq details {
  border: 1px solid #dde7e1;
  border-radius: 8px;
  background: #fff;
  margin-top: 10px;
  padding: 0 18px;
}

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

.faq p {
  margin: 0 0 16px;
  color: #55606a;
}

.text-btn {
  display: block;
  border: 0;
  background: transparent;
  color: #4c5965;
  text-decoration: underline;
  font-weight: 800;
  margin: 18px auto 0;
  cursor: pointer;
}

.floating-cta {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(94vw, 520px);
  padding: 10px 12px;
  border-radius: 8px;
  background: #101820;
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .25);
}

.floating-cta div {
  display: grid;
}

.floating-cta small { color: #a7f0ca; font-weight: 700; }
.floating-cta strong { font-size: 1.35rem; }

.floating-cta button {
  flex: 1;
  border: 0;
  border-radius: 7px;
  padding: 14px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.checkout {
  width: min(94vw, 520px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 24px 80px rgba(0,0,0,.32);
}

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

.checkout form {
  padding: 26px;
}

.checkout h2 {
  margin: 0 36px 8px 0;
  color: #d12922;
  font-size: 1.4rem;
}

.close {
  position: absolute;
  right: 16px;
  top: 14px;
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef2f1;
  font-size: 1.4rem;
}

.checkout label {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  font-weight: 800;
}

.checkout input {
  height: 48px;
  border: 1px solid #ced9d3;
  border-radius: 7px;
  padding: 0 12px;
}

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

.payment, .summary {
  margin: 16px 0;
  padding: 14px;
  border-radius: 7px;
  background: #f6faf8;
}

.payment {
  display: flex;
  justify-content: space-between;
}

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

.summary p {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
}

.pix-box {
  margin-top: 18px;
  padding: 14px;
  border: 1px dashed var(--green);
  border-radius: 7px;
  background: #f5fff9;
}

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

.pix-box button {
  margin-top: 10px;
  border: 0;
  border-radius: 7px;
  padding: 11px 14px;
  background: #18202a;
  color: #fff;
  font-weight: 800;
}

.pix-box .whatsapp-btn {
  width: 100%;
  background: #21b861;
}

@media (max-width: 920px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .offer-card {
    position: static;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  main { padding-inline: 12px; }
  .page-view { min-height: 540px; padding: 10px; }
  .sample-page { max-height: 540px; }
  .viewer-actions { inset-inline: -4px; }
  .top-strip { font-size: .85rem; }
  .floating-cta { bottom: 8px; }
}
