/* Mobile enhancements are limited to this authorized sales-page copy. */
html { scroll-padding-bottom: calc(8rem + env(safe-area-inset-bottom, 0px)); }
body[data-page="sales"] { --mobile-green: #008138; }
body[data-page="sales"] #comprar-depoimentos { scroll-margin-top:1rem; }
body[data-page="sales"] picture { display: contents; }
body[data-page="sales"] img,
body[data-page="sales"] video { max-width: 100%; }
body[data-page="sales"] h1,
body[data-page="sales"] h2,
body[data-page="sales"] h3,
body[data-page="sales"] p { overflow-wrap: anywhere; }
body[data-page="sales"] [data-primary-cta],
body[data-page="sales"] #mobile-checkout a {
  min-height: 3rem;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  background-color: var(--mobile-green);
  color: #fff;
  touch-action: manipulation;
}
body[data-page="sales"] [data-primary-cta] > span { min-width: 0; }
body[data-page="sales"] [data-primary-cta] svg,
body[data-page="sales"] #mobile-checkout svg { flex-shrink: 0; }
body[data-page="sales"] :is(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--bordeaux, #6b1d26);
  outline-offset: 4px;
}
body[data-page="sales"] [data-mobile-scroller] {
  touch-action: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #b87980 transparent;
  -webkit-overflow-scrolling: touch;
}
body[data-page="sales"] [data-mobile-scroller] p { color: #60514f; }
body[data-page="sales"] [data-mobile-scroller] p.text-bordeaux { color: var(--bordeaux); }
body[data-page="sales"] [data-mobile-scroller] p[class*="text-[10px]"],
body[data-page="sales"] [data-mobile-scroller] p[class*="text-[11px]"] { font-size: .75rem; line-height: 1.5; }
body[data-page="sales"] #faq button {
  min-height: 3rem;
  padding-block: 1rem;
  gap: .75rem;
  white-space: normal;
  text-align: left;
  touch-action: manipulation;
}
body[data-page="sales"] #faq button svg { flex-shrink: 0; }
/* Grid's automatic minimum otherwise clips the offer at large text/zoom. */
body[data-page="sales"] .grid > * { min-width: 0; }
body[data-page="sales"] #oferta li { flex-wrap: wrap; }
body[data-page="sales"] #oferta li > div { min-width: 0; flex: 1 1 12rem; }
body[data-page="sales"] #oferta li > div > span:last-child { min-width: 0; overflow-wrap: anywhere; }
body[data-page="sales"] .mobile-video-player { position: relative; aspect-ratio: 1; }
body[data-page="sales"] .mobile-video-player video { width: 100%; height: auto; aspect-ratio: 1; }
body[data-page="sales"] .mobile-video-toggle {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  min-height: 3rem;
  max-width: calc(100% - 1.5rem);
  padding: .625rem 1rem;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #6b1d26;
  color: #fff;
  font: 600 .875rem/1.4 Inter, system-ui, sans-serif;
  cursor: pointer;
}
/* Keep local-only tools accessible, but out of the purchase button's way. */
body[data-page="sales"] #preview-tools {
  position: relative;
  inset: auto;
  z-index: auto;
  width: fit-content;
  max-width: calc(100% - 1.5rem);
  margin: .75rem;
  padding: .75rem;
  flex-wrap: wrap;
  gap: .5rem .75rem;
}
body[data-page="sales"] #preview-tools a,
body[data-page="sales"] #preview-tools button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  padding: .5rem;
}
body[data-page="sales"] #preview-tools span { font-size: .75rem; }
body[data-page="sales"] footer span.font-display { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 767px) {
  body[data-page="sales"] {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    padding-bottom: calc(8rem + env(safe-area-inset-bottom, 0px));
  }
  body[data-page="sales"] #mobile-checkout {
    padding-left: max(.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(.75rem, env(safe-area-inset-right, 0px));
    padding-bottom: calc(.625rem + env(safe-area-inset-bottom, 0px));
  }
  body[data-page="sales"] #mobile-checkout a {
    padding: .875rem 1rem;
    font-size: .875rem;
    line-height: 1.4;
  }
  body[data-page="sales"] #mobile-checkout p { font-size: .75rem; line-height: 1.5; }
  body[data-page="sales"] #hero h1 { font-size: clamp(1.75rem, 5vw + .5rem, 2.25rem); }
  body[data-page="sales"] [data-primary-cta] { padding-inline: 1rem; line-height: 1.45; }
  body[data-page="sales"] #oferta .grid > div { padding: clamp(1rem, 4vw, 2rem); }
  body[data-page="sales"] [class*="rounded-full"][class*="tracking-"] {
    max-width: 100%;
    text-align: center;
    overflow-wrap: anywhere;
  }
  body[data-page="sales"] #hero .absolute.-bottom-3 { max-width: 100%; width: max-content; }
  body[data-page="sales"] footer [class*="text-[11px]"] { font-size: .75rem; }
}
@media (pointer: coarse) {
  body[data-page="sales"] [data-primary-cta]:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body[data-page="sales"] *,
  body[data-page="sales"] *::before,
  body[data-page="sales"] *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
