@media (max-width: 640px) {
  main,
  #inicio,
  #inicio > .relative.mx-auto.grid {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  #inicio > .relative.mx-auto.grid {
    min-height: auto !important;
    gap: 2.25rem !important;
    padding-top: 6.5rem !important;
    padding-bottom: 3rem !important;
  }

  #inicio .relative.z-10,
  #inicio .hero-enter,
  #inicio .hero-enter > p,
  #inicio .hero-enter > div,
  #inicio .mt-12.grid,
  #inicio .hero-visual {
    width: 100% !important;
    max-width: calc(100vw - 2.5rem) !important;
  }

  #inicio .hero-enter > p:first-child {
    display: block !important;
    font-size: 0.55rem !important;
    letter-spacing: 0.105em !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
  }

  #inicio .hero-enter > p:first-child span {
    display: block !important;
    width: 2.2rem !important;
    margin-bottom: 0.65rem !important;
  }

  .hero-title {
    max-width: calc(100vw - 2.5rem) !important;
    font-size: clamp(2.28rem, 9.8vw, 2.85rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.025em !important;
  }

  .hero-title > span {
    white-space: nowrap !important;
  }

  .hero-title .mt-2 {
    margin-top: 0.28rem !important;
  }

  #inicio .hero-enter > h1 + p {
    max-width: calc(100vw - 2.5rem) !important;
    font-size: 0.94rem !important;
    line-height: 1.62 !important;
    letter-spacing: 0 !important;
  }

  #inicio .hero-enter > div {
    flex-direction: column !important;
  }

  #inicio .hero-enter > div button {
    width: 100% !important;
  }

  #inicio .mt-12.grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  #inicio .mt-12.grid strong {
    font-size: 1rem !important;
    line-height: 1.05 !important;
    overflow-wrap: anywhere !important;
  }

  #inicio .mt-12.grid span {
    font-size: 0.48rem !important;
    letter-spacing: 0.055em !important;
  }

  #inicio .hero-photo-frame > .absolute.right-5.bottom-5.left-5 {
    right: 0.75rem !important;
    bottom: 0.75rem !important;
    left: 0.75rem !important;
    gap: 0.75rem !important;
    align-items: flex-start !important;
    padding: 0.85rem !important;
  }

  #inicio .hero-photo-frame > .absolute.right-5.bottom-5.left-5 p:last-child {
    font-size: 1rem !important;
    line-height: 1.12 !important;
  }

  #inicio .hero-photo-frame > .absolute.right-5.bottom-5.left-5 span {
    width: 2.2rem !important;
    height: 2.2rem !important;
    font-size: 0.82rem !important;
  }

  #inicio .hero-visual > div[class*="-bottom-6"] {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0.75rem auto 0 !important;
    width: min(100%, 15rem) !important;
    padding: 0.85rem 1rem !important;
    text-align: center !important;
  }

  #inicio .hero-visual > div[class*="top-10"] {
    top: 0.75rem !important;
    left: 0.75rem !important;
    padding: 0.75rem 0.9rem !important;
  }

  #inicio .hero-visual > div[class*="top-10"] strong {
    font-size: 1.35rem !important;
  }

  section h2 {
    max-width: 100% !important;
    font-size: clamp(2.25rem, 9.2vw, 3.15rem) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.025em !important;
  }

  #processo h2 {
    max-width: 13.5ch !important;
    font-size: clamp(2.15rem, 8.7vw, 2.85rem) !important;
    line-height: 0.95 !important;
  }

  #processo h2 span {
    margin-top: 0.2rem !important;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  #inicio .hero-visual > div[class*="-bottom-6"] {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    margin: 1rem auto 0 !important;
    width: min(100%, 18rem) !important;
    padding: 0.95rem 1.1rem !important;
    text-align: center !important;
  }
}

header.fixed {
  background: rgba(8, 10, 13, 0.68) !important;
  backdrop-filter: blur(18px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24) !important;
}

button.js-whatsapp,
a.js-whatsapp {
  border-color: rgba(20, 140, 77, 0.78) !important;
  background: #148c4d !important;
  color: #ffffff !important;
  box-shadow: 0 16px 38px rgba(20, 140, 77, 0.2) !important;
  text-decoration: none !important;
}

button.js-whatsapp:hover,
a.js-whatsapp:hover {
  border-color: rgba(16, 117, 64, 0.9) !important;
  background: #107540 !important;
  color: #ffffff !important;
}

button.js-open[class*="rounded-full"],
button.js-scroll[class*="rounded-full"] {
  border-color: rgba(255, 255, 255, 0.62) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #080a0d !important;
  box-shadow: 0 16px 38px rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(12px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(130%) !important;
}

button.js-open[class*="rounded-full"]:hover,
button.js-scroll[class*="rounded-full"]:hover {
  border-color: rgba(255, 255, 255, 0.82) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  color: #080a0d !important;
}

@media (min-width: 1024px) and (max-width: 1500px) {
  .hero-title {
    max-width: 11.5ch !important;
    font-size: clamp(4.2rem, 6.3vw, 7.4rem) !important;
    line-height: 0.9 !important;
  }

  .hero-title .lg\:whitespace-nowrap {
    white-space: normal !important;
  }
}
