.demo-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
/* Avoid applying native smooth scroll on top of Lenis interpolation. */
html.lenis {
  scroll-behavior: auto !important;
}
.view-buttons {
  display: flex;
  gap: 4px;
}
.demo-controls button {
  border: 1px solid #6b7f61;
  border-radius: 5px;
  background: transparent;
  color: #e8ecdf;
  padding: 10px 12px;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.demo-controls button[aria-pressed='true'] {
  background: #d5ee9a;
  color: #253a25;
  border-color: #d5ee9a;
}
.demo-controls button:focus-visible {
  outline: 3px solid #d5ee9a;
  outline-offset: 3px;
}
.product-stage {
  height: auto !important;
  padding: 32px 18px 35px;
  background:
    radial-gradient(ellipse at 30% 30%, #8ba76977, transparent 65%), #283d30;
  overflow: hidden;
  min-height: 440px;
}
.story {
  position: relative;
  isolation: isolate;
}
.story-inner {
  position: relative;
  z-index: 1;
}
.story > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
  z-index: 0;
}
.product-window {
  background: #f3f4ed;
  color: #263c32;
  border: 1px solid #a2b092;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 18px 40px #0003;
  position: relative;
}
.product-bar {
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #d8ddcf;
}
.mini-brand {
  font-size: 18px;
  letter-spacing: -0.7px;
  font-weight: 700;
}
.mini-brand span {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0;
}
.demo-badge,
.draft-badge {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border: 1px solid #c3ccba;
  padding: 5px 6px;
  border-radius: 4px;
}
.product-tabs {
  padding: 10px 16px;
  display: flex;
  gap: 20px;
  font-size: 9px;
  border-bottom: 1px solid #d8ddcf;
  color: #5b6953;
}
.selected-tool {
  color: #263c32;
  font-weight: 700;
}
.product-view {
  padding: 18px 14px 8px;
  min-height: 340px;
}
.product-view[hidden] {
  display: none;
}
.view-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.view-heading h3 {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 8px 0 0;
}
.view-heading .small-label {
  font-size: 8px;
  color: #52624a;
}
.mock-button {
  background: #2d4537;
  color: white;
  font-size: 8px;
  padding: 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.board-filter {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 8px;
  color: #58674f;
  border-bottom: 1px solid #d8ddcf;
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.board-filter span:last-child {
  margin-left: auto;
}
.board-filter b {
  font-weight: 500;
  background: #dbe5cd;
  border-radius: 4px;
  padding: 3px 5px;
}
.kanban-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.kanban-column {
  background: #e9ede2;
  border-radius: 5px;
  padding: 8px;
  min-width: 0;
}
.kanban-column h4 {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 8px;
  margin: 3px 0 12px;
  font-weight: 500;
  min-height: 18px;
}
.kanban-column h4 span {
  margin-left: auto;
  color: #5d6c52;
}
.kanban-column h4 i {
  width: 5px;
  height: 5px;
  background: #6587ad;
  border-radius: 50%;
  flex-shrink: 0;
}
.kanban-column:nth-child(2) h4 i {
  background: #ad934b;
}
.kanban-column:nth-child(3) h4 i {
  background: #9b725b;
}
.deal {
  padding: 10px 9px;
  background: #fafbf7;
  border: 1px solid #d5ddcc;
  border-left: 3px solid #738fae;
  border-radius: 6px;
  margin-bottom: 9px;
  min-height: 113px;
}
.kanban-column:nth-child(2) .deal {
  border-left-color: #b79d59;
}
.kanban-column:nth-child(3) .deal {
  border-left-color: #ac8466;
}
.deal-tag {
  display: inline-block;
  font-size: 7px;
  background: #dbe7d0;
  color: #3f5635;
  padding: 4px 5px;
  border-radius: 3px;
}
.neutral-tag {
  background: #e7e7df;
  color: #5e6357;
}
.deal > strong {
  display: block;
  font-size: 10px;
  line-height: 1.5;
  margin: 8px 0;
}
.deal-person {
  font-size: 8px;
  color: #59664f;
}
.deal-bottom {
  border-top: 1px solid #e0e5d9;
  margin-top: 10px;
  padding-top: 8px;
  font-size: 7px;
  display: flex;
  justify-content: space-between;
  gap: 3px;
  color: #5d6955;
}
.deal-bottom span:last-child {
  background: #e7ebdf;
  border-radius: 50%;
  padding: 3px;
}
.empty-slot {
  font:
    italic 15px/1.4 Georgia,
    serif;
  color: #68745f;
  padding: 25px 5px;
}
.view-note {
  font-size: 8px;
  line-height: 1.6;
  color: #5a684f;
  margin: 12px 0 5px;
}
.inbox-demo {
  display: grid;
  grid-template-columns: 24% 46% 30%;
  border: 1px solid #d5ddcc;
  min-height: 295px;
  border-radius: 5px;
  overflow: hidden;
}
.conversation-preview {
  background: #e7ecdf;
  padding: 12px 7px;
}
.conversation-preview .small-label {
  font-size: 7px;
}
.conversation-preview > div {
  padding: 13px 5px;
  border-bottom: 1px solid #d1dbc5;
}
.conversation-preview strong {
  font-size: 8px;
  display: block;
}
.conversation-preview div > span {
  display: block;
  font-size: 7px;
  line-height: 1.5;
  margin-top: 7px;
}
.conversation-active {
  background: #d1dfc0;
  border-radius: 4px;
}
.chat-demo {
  padding: 12px 9px;
  display: flex;
  flex-direction: column;
  background: #f0f2e9;
}
.chat-demo > strong {
  font-size: 9px;
  margin-bottom: 20px;
}
.chat-demo > strong span {
  display: block;
  font-size: 7px;
  font-weight: 400;
  margin-top: 5px;
}
.bubble {
  font-size: 9px;
  line-height: 1.6;
  background: #fff;
  border: 1px solid #dbe3d2;
  border-radius: 7px;
  padding: 10px;
  margin: 0 15px 12px 0;
}
.bubble.outgoing {
  background: #dbe8ca;
  margin: 0 0 12px 15px;
}
.mock-composer {
  margin-top: auto;
  padding: 12px 4px 0;
  font-size: 8px;
  color: #637256;
  border-top: 1px solid #d4deca;
  display: flex;
  justify-content: space-between;
}
.contact-demo {
  padding: 14px 10px;
  background: #fafbf6;
  border-left: 1px solid #d5ddcc;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.contact-demo .avatar {
  font-size: 9px;
  padding: 10px;
}
.contact-demo > strong {
  font-size: 10px;
}
.contact-demo .small-label {
  font-size: 7px;
  margin-top: 8px;
}
.contact-demo p {
  font-size: 8px;
  line-height: 1.7;
}
.flow-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 0;
  background-image: radial-gradient(#82956c55 1px, transparent 1px);
  background-size: 14px 14px;
}
.flow-node {
  background: #fafbf7;
  border: 1px solid #bfcdb3;
  border-radius: 6px;
  padding: 12px 18px;
  width: 78%;
  box-shadow: 0 4px 8px #24361c08;
}
.flow-node > span {
  font-size: 8px;
  color: #607451;
}
.flow-node strong {
  display: block;
  font-size: 11px;
  margin: 7px 0;
}
.flow-node p {
  font-size: 9px;
  line-height: 1.5;
  color: #58674f;
}
.flow-connector {
  color: #71845d;
  font-size: 22px;
  height: 27px;
}
.motion-caption {
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
  color: #bdcdb4;
  margin: 9px 0;
}
.product-stage.motion-frame .product-window {
  animation: product-enter 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
html[data-motion='on'] .product-stage.motion-frame .product-window {
  animation: product-enter 0.85s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}
@keyframes product-enter {
  from {
    transform: translate(32px, 20px) scale(0.97);
    opacity: 0.25;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 950px) {
  .story-grid {
    grid-template-columns: 32% 68%;
  }
  .stage-shell {
    margin-top: 35px;
  }
  .product-stage {
    padding: 25px 10px;
  }
  .product-view {
    padding-inline: 10px;
  }
  .view-heading h3 {
    font-size: 15px;
  }
  .kanban-column {
    padding: 5px;
  }
  .deal {
    padding: 8px 5px;
  }
  .board-filter span:last-child {
    display: none;
  }
  .product-tabs {
    gap: 14px;
  }
  .mock-button {
    display: none;
  }
}
@media (max-width: 650px) {
  .story-grid {
    display: flex;
  }
  .product-stage {
    padding: 22px 8px;
    min-height: 0;
  }
  .demo-controls {
    gap: 8px;
  }
  .demo-controls button {
    padding: 10px;
    font-size: 10px;
  }
  .product-bar {
    padding: 12px;
  }
  .product-view {
    padding: 14px 9px 8px;
    min-height: 350px;
  }
  .view-heading h3 {
    font-size: 16px;
  }
  .kanban-board {
    display: flex;
    overflow-x: auto;
    gap: 9px;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }
  .kanban-column {
    flex: 0 0 145px;
    padding: 8px;
    scroll-snap-align: start;
  }
  .kanban-column h4 {
    font-size: 9px;
  }
  .deal > strong {
    font-size: 11px;
  }
  .deal-person {
    font-size: 9px;
  }
  .deal-tag,
  .deal-bottom {
    font-size: 8px;
  }
  .deal {
    padding: 10px 8px;
  }
  .inbox-demo {
    grid-template-columns: 62% 38%;
    min-height: 310px;
  }
  .conversation-preview {
    display: none;
  }
  .chat-demo {
    padding: 12px 8px;
  }
  .bubble {
    font-size: 10px;
  }
  .contact-demo {
    padding: 13px 8px;
  }
  .flow-node {
    width: 92%;
  }
  .product-view[data-panel='0'] .view-note::after {
    content: ' · Deslize o quadro para ver as etapas';
  }
  .flow-node strong {
    font-size: 12px;
  }
  .flow-node p {
    font-size: 10px;
  }
  .demo-badge {
    font-size: 7px;
  }
  .draft-badge {
    font-size: 7px;
    max-width: 80px;
    line-height: 1.5;
  }
  .motion-caption {
    font-size: 9px;
  }
}
html[data-motion='off'] .motion-frame .product-window {
  animation: none !important;
}
html[data-motion='off'] .motion-in {
  animation: none !important;
}
.split-word {
  display: inline-block;
  will-change: transform, opacity;
}
.status-line {
  display: block;
  overflow: clip;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.status-reveal {
  display: block;
  will-change: transform, opacity;
}
.interest {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.interest::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse at 78% 40%, #f4ffe3cc, transparent 58%);
}
.interest-grid {
  position: relative;
  z-index: 1;
}
.interest-guidance {
  position: absolute;
  left: 18%;
  top: 12%;
  width: 65%;
  height: 78%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.interest-guidance path {
  fill: none;
  stroke-width: 1.7;
  vector-effect: non-scaling-stroke;
}
.guidance-track {
  stroke: #829b6330;
}
.guidance-beam {
  stroke: #657e41;
  stroke-dasharray: 90 1200;
  stroke-dashoffset: 1290;
  opacity: 0.7;
}
html[data-motion='on'] .interest.in-view .guidance-beam {
  animation: guide-to-form 4.5s ease-in-out infinite !important;
}
@keyframes guide-to-form {
  from {
    stroke-dashoffset: 1290;
    opacity: 0;
  }
  12% {
    opacity: 0.7;
  }
  78% {
    opacity: 0.7;
  }
  to {
    stroke-dashoffset: -120;
    opacity: 0;
  }
}
.interest .form-panel {
  position: relative;
  background: #f1f4e8f5;
  box-shadow: 0 16px 60px #354c2310;
}
.interest .form-panel::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid #8da56c;
  border-radius: 16px;
  pointer-events: none;
  opacity: 0;
}
html[data-motion='on'] .interest.in-view .form-panel::before {
  animation: form-invitation 3s ease-out 2 !important;
}
@keyframes form-invitation {
  0% {
    opacity: 0;
    transform: scale(0.99);
  }
  28% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: scale(1.035);
  }
}
.interest:has(form:focus-within) .guidance-beam,
.interest:has(form:focus-within) .form-panel::before {
  animation: none !important;
  opacity: 0 !important;
}
html[data-motion='off'] .interest .guidance-beam,
html[data-motion='off'] .interest .form-panel::before {
  animation: none !important;
  opacity: 0;
}
.integration-scroll {
  position: relative;
  min-height: 210vh;
  background: #e1e6d6;
}
.integration-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-block: 130px 45px;
}
.integration-sticky > .eyebrow {
  justify-content: center;
  text-align: center;
}
.integration-sticky h2 {
  margin-top: 25px;
  text-align: center;
  font-size: clamp(44px, 6.2vw, 92px);
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: -0.065em;
  perspective: 800px;
}
.scroll-character {
  display: inline-block;
  transform-origin: center bottom;
  will-change: transform, opacity;
}
.integration-intro {
  margin-top: 22px;
  text-align: center;
  color: #4c5e43;
  font-size: 15px;
  line-height: 1.7;
}
.integration-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  max-width: 990px;
  width: 100%;
  margin-top: 42px;
  perspective: 1000px;
}
.integration-card {
  background: #f2f4eb;
  border: 1px solid #b8c6a8;
  border-radius: 12px;
  padding: 24px;
  min-width: 0;
  box-shadow: 0 12px 30px #2a40220a;
  will-change: transform;
}
.integration-icon {
  width: 52px;
  height: 52px;
  padding: 7px;
  border-radius: 14px;
  margin-bottom: 18px;
}
.integration-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.whatsapp-icon {
  color: #28523b;
  background: #d6e8cd;
}
.calendar-icon {
  color: #36506e;
  background: #dbe4ec;
}
.drive-icon {
  color: #6c6135;
  background: #ece6cf;
}
.integration-card h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
.integration-status {
  display: inline-block;
  color: #405336;
  background: #dce6d0;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 9px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.integration-status.planned {
  background: #e8e3d7;
  color: #64583d;
}
.integration-card p {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: #506246;
}
.integration-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  max-width: 990px;
  border-top: 1px solid #b8c6a8;
  padding-top: 18px;
  margin-top: 26px;
  font-size: 10px;
  line-height: 1.6;
  color: #506246;
}
@media (max-height: 850px) and (min-width: 651px) {
  .integration-sticky {
    padding-top: 110px;
    padding-bottom: 24px;
  }
  .integration-sticky h2 {
    font-size: clamp(40px, 5vw, 68px);
    margin-top: 16px;
  }
  .integration-cards {
    margin-top: 24px;
  }
  .integration-card {
    padding: 18px;
  }
  .integration-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
  }
  .integration-intro {
    margin-top: 14px;
    font-size: 13px;
  }
  .integration-foot {
    margin-top: 18px;
  }
}
@media (max-width: 650px) {
  .integration-scroll {
    min-height: 0;
    overflow: clip;
  }
  .integration-sticky {
    position: relative;
    min-height: 0;
    padding-block: 65px;
  }
  .integration-sticky h2 {
    font-size: clamp(37px, 10vw, 60px);
  }
  .integration-intro {
    font-size: 13px;
  }
  .integration-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 14px;
    margin-top: 30px;
  }
  .integration-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 8px 15px;
    padding: 20px;
  }
  .integration-icon {
    width: 44px;
    height: 44px;
    grid-row: span 3;
    margin: 0;
  }
  .integration-card h3 {
    font-size: 19px;
    margin: 0;
  }
  .integration-card .integration-status {
    justify-self: start;
  }
  .integration-card p {
    grid-column: 2;
    margin: 0;
  }
  .integration-foot {
    max-width: 420px;
  }
  .scroll-indicator {
    display: none;
  }
}

/* Minimal integration strip: keep operational status visible, details optional. */
.integration-scroll {
  min-height: 155vh;
  background: #eeeee7;
}
.integration-sticky {
  padding-block: 125px 65px;
}
.integration-sticky h2 {
  font-size: clamp(42px, 5vw, 74px);
}
.integration-cards {
  gap: 0;
  margin-top: 50px;
  padding-block: 26px;
  border-block: 1px solid #c9cec3;
}
.integration-cards .integration-card {
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 8px 28px;
}
.integration-cards .integration-card + .integration-card {
  border-left: 1px solid #c9cec3;
}
.integration-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
}
.integration-cards .integration-icon {
  width: 38px;
  height: 38px;
  padding: 2px;
  margin: 0;
  border-radius: 0;
  color: #3c5143;
  background: transparent;
  flex-shrink: 0;
}
.integration-cards h3 {
  font-size: 19px;
  margin: 0;
  line-height: 1.3;
}
.integration-cards .integration-status {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  font-size: 9px;
  letter-spacing: 0.4px;
  background: none;
  padding: 8px 0 6px;
  color: #53644b;
}
.integration-cards .integration-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #738462;
}
.integration-cards .planned::before {
  background: #9d8e6d;
}
.integration-detail {
  margin-top: 7px;
}
.integration-detail summary {
  padding: 6px 0;
  font-size: 11px;
  justify-content: flex-start;
  gap: 9px;
  color: #53644b;
}
.integration-detail summary span {
  font-size: 14px;
}
.integration-cards .integration-detail p {
  font-size: 12px;
  margin-top: 10px;
  padding: 0 0 10px;
  line-height: 1.7;
}
.integration-foot {
  border-top: 0;
  margin-top: 14px;
  padding-top: 0;
}
html[data-motion='on'] .interest.in-view:has(form:focus-within) .guidance-beam,
html[data-motion='on']
  .interest.in-view:has(form:focus-within)
  .form-panel::before {
  animation: none !important;
  opacity: 0 !important;
}
@media (max-width: 950px) {
  .integration-cards .integration-card {
    padding-inline: 15px;
  }
  .integration-cards h3 {
    font-size: 17px;
  }
  .integration-identity {
    gap: 8px;
  }
}
@media (max-width: 650px) {
  .integration-scroll {
    min-height: 0;
  }
  .integration-sticky {
    padding-block: 65px;
  }
  .integration-cards {
    margin-top: 30px;
    padding-block: 0;
  }
  .integration-cards .integration-card {
    padding: 20px 5px;
  }
  .integration-cards .integration-card + .integration-card {
    border-left: 0;
    border-top: 1px solid #c9cec3;
  }
  .integration-identity {
    min-height: 40px;
    gap: 12px;
  }
  .integration-cards h3 {
    font-size: 20px;
  }
  .integration-cards .integration-status {
    margin-left: 50px;
  }
  .integration-detail {
    margin-left: 50px;
  }
  .integration-cards .integration-detail p {
    margin-top: 8px;
  }
  .integration-foot {
    padding-top: 10px;
  }
  .interest-guidance {
    display: none;
  }
}
