:root {
  --wk-icon-filter-light: brightness(0) saturate(100%) invert(99%) sepia(4%) saturate(407%) hue-rotate(184deg) brightness(98%) contrast(96%);
  --wk-icon-filter-dark: brightness(0) saturate(100%) invert(11%) sepia(21%) saturate(1322%) hue-rotate(191deg) brightness(96%) contrast(94%);
  --wk-anchor-offset: 88px;
}

html {
  scroll-padding-top: var(--wk-anchor-offset);
}

#topo-form {
  scroll-margin-top: var(--wk-anchor-offset);
}

.wk-icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  object-fit: contain;
  vertical-align: middle;
}

.wk-chat {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(248deg) brightness(103%) contrast(103%);
}

.logo-badge {
  width: 22px;
  height: 22px;
  vertical-align: -4px;
  margin-right: 8px;
}

.logo {
  line-height: 0;
}

.wk-logo {
  width: auto;
  height: 52px;
  display: block;
}

footer .wk-logo {
  height: 58px;
}

@media (max-width: 980px) {
  .wk-logo {
    height: 46px;
  }

  footer .wk-logo {
    height: 50px;
  }
}

@media (max-width: 560px) {
  .wk-logo {
    height: 42px;
  }

  footer .wk-logo {
    height: 46px;
  }
}

.photo svg,
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member .role {
  min-height: 38px;
}

.light .wk-icon,
.serv-card .wk-icon,
.serv-mini .wk-icon,
.sol-card .wk-icon,
.member .wk-icon,
.lk .wk-icon,
.chip .wk-icon,
.val .wk-icon {
  filter: var(--wk-icon-filter-dark);
}

.duo-card .wk-icon,
.diff .wk-icon,
.case .wk-icon,
.hero .wk-icon,
header .wk-icon,
footer .wk-icon,
.tagline .wk-icon,
.auth .wk-icon,
.why-item .wk-icon,
.compare .wk-icon,
.ch .wk-icon,
.pain .wk-icon {
  filter: var(--wk-icon-filter-light);
}

/* Shared CTA utilities for public pages */
.wk-cta-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
}

.wk-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.wk-cases-cta {
  margin-top: clamp(24px, 3vw, 40px);
  text-align: center;
}

.wk-cases-cta .wk-cta-copy {
  max-width: 700px;
  margin-inline: auto;
  color: var(--text-dim);
}

/* Camadas visuais decorativas nao devem bloquear interacoes. */
.hero::before,
.hero::after,
.final::before,
main::before,
main::after {
  pointer-events: none;
}

/* Seletor global de idioma (PT/ES/EN) */
.wk-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 14, 26, 0.55);
}

.wk-lang-link {
  display: grid;
  place-items: center;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  color: var(--text-dim, #9aa3bb);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wk-lang-link:hover {
  color: #eef1f8;
  background: rgba(255, 255, 255, 0.08);
}

.wk-lang-link.is-active {
  color: #eef1f8;
  background: rgba(59, 123, 255, 0.36);
  box-shadow: inset 0 0 0 1px rgba(110, 155, 255, 0.55);
}

.wk-lang-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(10, 14, 26, 0.95), 0 0 0 4px rgba(110, 155, 255, 0.95);
}

.wk-lang-link:active {
  transform: translateY(1px);
}

.wk-lang-flag {
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 900px) {
  .wk-lang-link {
    width: 32px;
    height: 32px;
  }
}
