/* ================================================================
   VELO.LAW® — HEADER
   Topbar, navegação, logo, seletor de idioma
   ================================================================ */

/* ── Top bar: gradiente verde ── */
.header-top-area {
  background: linear-gradient(90deg, #0efa71 0%, #00b858 100%) !important;
}

/* ── Nav: underline no item ativo ── */
.main-nav-area ul li a::after {
  background: linear-gradient(90deg, #0efa71 0%, #00b858 100%);
}

/* ── Botão with-icon: gradiente + sombra ── */
.wpr-btn.with-icon .icon {
  background: linear-gradient(178.82deg, #1effa0 1.01%, #0efa71 60%, #00b858 105.12%);
  box-shadow: 4px 8px 2px rgba(0,0,0,.08), inset 0 -2px .5px #009948, inset 0 1px 0 #fff;
}

/* ── Logo: protege de distorções do tema ── */
.nav-logo-area .logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--color-heading-1);
}
.logo-area .logo img,
header .logo img,
.left-area .logo img {
  height: 30px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
}

/* ── Seletor de idioma (desktop) ── */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
}
.lang-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  background: none;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  color: inherit;
  line-height: 1.4;
  transition: all .2s;
}
.lang-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.lang-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #000 !important;
}
@media (max-width: 991.98px) {
  .lang-switcher { display: none; }
}

/* ── Header desktop: paddings + breathing room ── */
@media (min-width: 992px) {
  .header-style-one .header-style-one-wrapper .left-area {
    padding: 18px 32px !important;
  }
  .header-style-one .header-style-one-wrapper .button-area-start {
    padding: 12px 28px !important;
    gap: 12px !important;
  }
  .lang-switcher-desktop {
    gap: 6px !important;
    margin-right: 8px !important;
  }
  .lang-btn {
    padding: 5px 10px !important;
    font-size: 11.5px !important;
    letter-spacing: .02em !important;
  }
  .main-nav-area ul {
    gap: 28px !important;
  }
}

/* ── Seletor de idioma (mobile select) ── */
.lang-switcher-mobile {
  display: none;
}
@media (max-width: 991.98px) {
  .lang-switcher-desktop { display: none !important; }
  .lang-switcher-mobile {
    display: block;
    font-size: 13px;
    font-weight: 600;
    background: none;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 6px;
    padding: 5px 8px;
    cursor: pointer;
    color: inherit;
    margin-right: 8px;
    appearance: none;
    -webkit-appearance: none;
    min-width: 82px !important;
    width: auto !important;
  }
  /* Oculta botão CTA no header mobile (fica no sidebar) */
  .button-area-start .wpr-btn.btn-primary {
    display: none !important;
  }
  /* Logo menor para caber o select */
  .logo-area a.logo img {
    height: 26px !important;
  }
}

/* ── Header mobile: padding interno ── */
@media (max-width: 767.98px) {
  .header-style-one-wrapper {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
