/* Hotfix visual e de contraste da home GaveBlue — 2026-08-12 */

/* PARCEIROS */
.partner-logo-wrap {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%) !important;
  border-color: #d7e5f5 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 10px 24px rgba(15,23,42,.06) !important;
}

.partner-logo-wrap img {
  filter: brightness(0) saturate(100%) invert(17%) sepia(34%) saturate(1420%) hue-rotate(181deg) brightness(88%) contrast(96%) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#main-content section:nth-of-type(3) > div.grid > a:nth-child(3) > div:first-child {
  background: #ffffff !important;
  border-color: #a7f3d0 !important;
}

/* HERO */
#main-content section:first-of-type {
  margin-top: 0.75rem !important;
}

@media (min-width: 640px) {
  #main-content section:first-of-type {
    margin-top: 1rem !important;
  }
}

#main-content section:first-of-type > div:first-child > span:first-child::after {
  content: "?";
}

#hero-title {
  line-height: 1.18 !important;
  overflow: visible !important;
  padding-bottom: 0.12em;
}

#hero-title > span {
  display: block;
  line-height: 1.18 !important;
  padding-bottom: 0.08em;
  overflow: visible !important;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (min-width: 1024px) {
  #main-content section:first-of-type > div:first-child {
    max-width: 79rem !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr) !important;
    column-gap: 2.35rem !important;
    align-items: center !important;
    text-align: left !important;
    margin-bottom: 2rem !important;
  }

  #main-content section:first-of-type > div:first-child > * {
    grid-column: 1 !important;
  }

  #main-content section:first-of-type > div:first-child > span:first-child {
    justify-self: start !important;
  }

  #main-content section:first-of-type > div:first-child > div {
    justify-content: flex-start !important;
  }

  #hero-subtitle {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 42rem !important;
  }

  #main-content section:first-of-type > div:first-child::after {
    content: "";
    display: block;
    grid-column: 2 !important;
    grid-row: 1 / span 5 !important;
    width: 500px !important;
    max-width: 100% !important;
    height: 425px !important;
    justify-self: end;
    align-self: center;
    background-image: url("https://i.imgur.com/dsL7K82.png?v=20260812-0033");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 18px 25px rgba(37, 99, 235, .11));
  }
}

@media (max-width: 1023px) {
  #main-content section:first-of-type > div:first-child {
    display: block !important;
    text-align: center !important;
  }

  #main-content section:first-of-type > div:first-child > div {
    justify-content: center !important;
  }

  #hero-subtitle {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #main-content section:first-of-type > div:first-child::after {
    content: "";
    display: block;
    width: min(88vw, 385px) !important;
    height: 320px !important;
    margin: 1.25rem auto 0;
    background-image: url("https://i.imgur.com/dsL7K82.png?v=20260812-0033");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 15px 21px rgba(37, 99, 235, .10));
  }
}

/* MÓDULOS BLOQUEADOS — WeTime e OPF */
#main-content section:first-of-type > div.grid > a:nth-child(6),
#main-content section:first-of-type > div.grid > a:nth-child(7) {
  position: relative;
  pointer-events: none !important;
  cursor: not-allowed !important;
  background: #fffbeb !important;
  border-color: #fde68a !important;
  box-shadow: 0 12px 30px rgba(161, 98, 7, 0.06) !important;
}

#main-content section:first-of-type > div.grid > a:nth-child(6)::after,
#main-content section:first-of-type > div.grid > a:nth-child(7)::after {
  content: "Bloqueado";
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #fde68a;
  color: #a16207;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15,23,42,0.08);
}

#main-content section:first-of-type > div.grid > a:nth-child(6) > div:first-of-type,
#main-content section:first-of-type > div.grid > a:nth-child(7) > div:first-of-type {
  background: #fffbeb !important;
  border-color: #fde68a !important;
}

#main-content section:first-of-type > div.grid > a:nth-child(6) svg,
#main-content section:first-of-type > div.grid > a:nth-child(7) svg {
  color: #d97706 !important;
}

footer a.module-blocked-link {
  pointer-events: none !important;
  cursor: not-allowed !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
}
