/* Nexus — só correções. Não redesenha o tema. */

html,
body {
  overflow-x: hidden;
}

.loader-wrap {
  display: none !important;
}

body.loaded {
  overflow: visible !important;
  height: auto !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.navbar .logo img,
footer .logo img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.navbar .search-form {
  display: none;
}

.navbar-toggler {
  min-width: 44px;
  min-height: 44px;
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .cursor {
    display: none !important;
  }

  .navbar.nav-crev {
    top: 8px;
    left: 20px;
    width: calc(100% - 40px);
    min-height: 72px;
    padding: 0;
  }

  .navbar.nav-crev .container {
    padding: 0 18px;
    min-height: 72px;
    display: flex;
    align-items: center;
  }

  .navbar .logo {
    margin-left: 0 !important;
    max-width: none !important;
  }

  .navbar .logo img {
    height: 30px;
  }

  .navbar .navbar-toggler {
    margin-right: 0;
  }

  .navbar.nav-crev .navbar-collapse {
    margin-top: 0;
    width: 100%;
  }

  .navbar .navbar-nav .nav-link {
    min-height: 48px;
    padding: 14px 4px;
  }

  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .header-main .circle-button {
    transform: scale(0.72);
    transform-origin: right bottom;
  }
}

/* ---------- Hero animado ---------- */

.header-main.nexus-hero {
  position: relative;
  background-color: #111;
  background-image: none !important;
  overflow: hidden;
}

.nexus-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.nexus-hero > .container {
  position: relative;
  z-index: 1;
}

.header-main .caption h1 {
  font-size: clamp(1.85rem, 4.6vw, 3.4rem) !important;
  line-height: 1.15;
}

.header-main .caption p {
  max-width: 40rem;
}

.header-main .sub-title a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Produto Prisma ---------- */

.nexus-product-logo {
  max-width: 380px;
  width: 100%;
  height: auto;
  background: #f4f4f4;
  border-radius: 12px;
  padding: 28px 32px;
}

/* ---------- Projetos ---------- */

.nexus-work {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
  text-decoration: none;
}

.nexus-work:hover,
.nexus-work:focus-visible {
  color: inherit;
}

.nexus-work .sub-title {
  flex-shrink: 0;
  min-width: 2rem;
  padding-top: 0.2rem;
}

.nexus-work h6 {
  margin-bottom: 0.35rem;
  color: #c9f31d;
}

.nexus-work:hover h6,
.nexus-work:focus-visible h6 {
  color: #c9f31d;
}

.nexus-work-lead {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 500;
  opacity: 1;
}

.nexus-work-desc,
.nexus-work p:not(.nexus-work-lead) {
  display: block;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: 0.8;
  overflow: visible;
  max-height: none;
  -webkit-line-clamp: unset;
}

.nexus-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  margin: 0;
  padding: 0 0 0.5rem;
}

.nexus-clients a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  opacity: 0.72;
}

.nexus-clients a:hover,
.nexus-clients a:focus-visible {
  opacity: 1;
}

.contact-crev input,
.contact-crev textarea,
.subscribe input {
  font-size: 16px;
}

.contact-crev button,
.butn {
  min-height: 44px;
}

.nexus-form-status[hidden] {
  display: none !important;
}

.nexus-form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
}

footer .nexus-legal,
footer .nexus-lgpd {
  font-size: 0.8rem;
  opacity: 0.75;
}

footer .nexus-lgpd {
  margin-top: 0.75rem;
}
