/* Correções estruturais isoladas para evitar conflito com regras legadas. */
.whatsapp-conversion {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 0;
  text-align: center;
}

.whatsapp-conversion h2,
.whatsapp-conversion .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.whatsapp-conversion .form-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 32px 0;
}

.whatsapp-conversion .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-conversion small {
  display: block;
  margin-top: 16px;
  color: #adbdcc;
}

.case-video {
  margin-bottom: 48px;
}

.video-facade {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 430px;
  overflow: hidden;
  padding: 48px;
  border: 1px solid #d7e0e8;
  background:
    linear-gradient(110deg, rgba(10, 37, 64, .98) 0%, rgba(16, 47, 83, .94) 55%, rgba(0, 168, 107, .72) 130%),
    #0a2540;
  color: #fff;
}

.video-facade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.video-facade-copy,
.video-facade-play {
  position: relative;
  z-index: 1;
}

.video-facade-copy span,
.video-facade-copy small,
.video-facade-copy strong {
  display: block;
}

.video-facade-copy span {
  margin-bottom: 14px;
  color: #7cf3bd;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.video-facade-copy strong {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.video-facade-copy small {
  margin-top: 16px;
  color: #adbdcc;
}

.video-facade-play {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border: 0;
  border-radius: 50%;
  background: #19e68c;
  color: #0a2540;
  font-size: 2rem;
}

.case-video video {
  display: block;
  width: 100%;
  max-height: 680px;
  background: #071027;
  object-fit: contain;
}

@media (min-width: 992px) {
  .income-section .income-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .income-section .income-grid > article:nth-child(-n + 3) {
    grid-column: span 2 !important;
  }

  .income-section .income-grid > article:nth-child(4) {
    grid-column: 1 / span 3 !important;
  }

  .income-section .income-grid > article:nth-child(5) {
    grid-column: 4 / span 3 !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .income-section .income-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .income-section .income-grid > article {
    grid-column: auto !important;
  }

  .income-section .income-grid > article:last-child {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 767.98px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  main,
  section,
  .container,
  .row,
  [class*="col-"] {
    min-width: 0;
  }

  .container {
    width: 100%;
    max-width: 100%;
  }

  h1,
  h2,
  h3,
  p,
  li,
  a,
  span {
    overflow-wrap: break-word;
  }

  .btn,
  .final-cta .btn-light {
    max-width: 100%;
    height: auto;
    white-space: normal;
    text-align: center;
  }

  .offcanvas {
    width: min(88vw, 360px) !important;
  }

  .navbar-brand {
    min-width: 0;
  }

  .navbar-brand img {
    max-width: min(174px, 58vw);
    height: auto;
  }

  .dashboard-card,
  .pricing-card,
  .fit-card,
  .testimonial-card,
  .whatsapp-conversion {
    width: 100%;
    max-width: 100%;
  }

  .dashboard-top,
  .revenue-total,
  .income-list > div {
    min-width: 0;
    gap: 10px;
  }

  .dashboard-top > *,
  .revenue-total > *,
  .income-list > div > * {
    min-width: 0;
  }

  .video-facade {
    gap: 24px;
  }

  .case-video {
    margin-bottom: 32px;
  }

  .video-facade {
    min-height: 360px;
    padding: 28px;
  }

  .video-facade-play {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    font-size: 1.55rem;
  }
  .whatsapp-conversion {
    padding: 24px 0;
    text-align: left;
  }

  .whatsapp-conversion h2,
  .whatsapp-conversion .section-lead {
    margin-left: 0;
  }

  .whatsapp-conversion .form-benefits {
    display: grid;
    justify-content: start;
  }

  .whatsapp-conversion .btn {
    width: 100%;
    justify-content: center;
  }

  .income-section .income-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .income-section .income-grid > article {
    grid-column: 1 !important;
  }
}

@media (max-width: 390px) {
  .video-facade {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-top,
  .revenue-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .revenue-total strong {
    align-items: flex-start;
  }

  .income-list span {
    min-width: 88px;
  }

  .whatsapp-conversion .btn,
  .mobile-nav .btn,
  .final-cta .btn {
    width: 100%;
  }
}

/* Demonstração ao vivo em mockup 3D de celular. */
.live-demo-section {
  overflow: hidden;
  background: #f6f9fc;
}

.live-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.live-demo-copy {
  position: relative;
  z-index: 2;
}

.live-demo-copy .section-lead {
  color: #526678;
}

.demo-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 16px;
  color: #526678;
  font-size: .78rem;
}

.demo-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #19c98a;
  box-shadow: 0 0 0 5px rgba(25, 201, 138, .13);
}

.demo-status strong {
  color: #0a2540;
}

.demo-external-link {
  color: #0a2540;
  font-size: .9rem;
}

.phone-stage {
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 35px 0;
  perspective: 1300px;
}

.phone-glow {
  position: absolute;
  inset: 11% 2% 17%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,91,255,.28), rgba(25,201,138,.16) 42%, transparent 72%);
  opacity: .7;
}

.phone-shell {
  position: relative;
  z-index: 1;
  width: min(360px, 84vw);
  aspect-ratio: 9 / 18.8;
  padding: 11px;
  border: 2px solid #424956;
  border-radius: 52px;
  background: linear-gradient(145deg, #3b424d, #090c11 38%, #252b34 70%, #080a0d);
  box-shadow: 28px 34px 48px rgba(10,37,64,.2), inset 0 0 0 1px rgba(255,255,255,.2);
  transform: rotateY(-13deg) rotateX(4deg) rotateZ(1deg);
  transform-style: preserve-3d;
  contain: layout paint;
  transition: transform .35s ease;
}

.phone-stage:hover .phone-shell,
.phone-stage:focus-within .phone-shell {
  transform: rotateY(-4deg) rotateX(1deg) rotateZ(0);
}

.phone-buttons {
  position: absolute;
  inset: 95px auto auto -5px;
  display: grid;
  gap: 14px;
}

.phone-buttons i {
  display: block;
  width: 4px;
  height: 46px;
  border-radius: 3px 0 0 3px;
  background: #252b34;
}

.phone-buttons i:first-child {
  height: 25px;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 40px;
  background: #050608;
  transform: translateZ(3px);
}

.phone-screen iframe {
  position: absolute;
  top: 43px;
  left: 0;
  display: block;
  width: calc(100% + 18px);
  height: calc(100% - 43px);
  border: 0;
  background: #fff;
}

.phone-island {
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 25px;
  border-radius: 99px;
  background: #050608;
  transform: translateX(-50%);
  pointer-events: none;
}

.phone-loading {
  position: absolute;
  z-index: 3;
  inset: 43px 0 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 13px;
  background: #f6f9fc;
  color: #526678;
  transition: opacity .3s ease, visibility .3s ease;
}

.phone-loading.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.phone-loading span {
  width: 30px;
  height: 30px;
  border: 3px solid #d7e0e8;
  border-top-color: #635bff;
  border-radius: 50%;
  animation: phoneSpin .8s linear infinite;
}

.phone-loading small {
  font-size: .72rem;
}

.phone-hint {
  position: relative;
  z-index: 2;
  margin: 28px 0 0;
  color: #596b7c;
  font-size: .78rem;
}

.phone-hint i {
  margin-right: 6px;
  color: #635bff;
}

@keyframes phoneSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 991.98px) {
  .live-demo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .live-demo-copy {
    max-width: 650px;
  }
}

@media (max-width: 575.98px) {
  .phone-stage {
    padding-top: 20px;
  }

  .phone-shell {
    width: min(330px, 88vw);
    border-radius: 45px;
    transform: none;
  }

  .phone-stage:hover .phone-shell,
  .phone-stage:focus-within .phone-shell {
    transform: none;
  }

  .phone-screen {
    border-radius: 34px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .phone-loading span {
    animation: none;
  }
}

.site-footer .footer-contact-link {
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-footer .footer-contact-link i {
  width: 18px;
  flex: 0 0 18px;
  color: #19e68c;
  font-size: 1rem;
  text-align: center;
}

.site-footer .footer-contact-link span {
  overflow-wrap: anywhere;
}
