.velora-header,
.velora-header * {
  box-sizing: border-box;
}

body > header.nav[data-replaced-by-velora-header] { display: none !important; }

.velora-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid transparent;
  color: #f0f2f5;
  background: rgba(8, 10, 14, .82);
  transform: translateY(0);
  transition: transform 260ms cubic-bezier(.22, 1, .36, 1), border-color 220ms ease, background-color 220ms ease, backdrop-filter 220ms ease;
  will-change: transform;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.velora-header.is-scrolled {
  border-bottom-color: rgba(143, 165, 184, .18);
  background: rgba(8, 10, 14, .9);
}

.velora-header.is-hidden {
  transform: translateY(calc(-100% - 2px));
}

.velora-header.is-hidden.is-pointer-revealed {
  transform: translateY(0);
}

.velora-header a {
  color: inherit;
  text-decoration: none;
}

.velora-header-shell {
  display: flex;
  width: min(1024px, calc(100% - 32px));
  height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}

.velora-header-left,
.velora-header-nav,
.velora-header-actions {
  display: flex;
  align-items: center;
}

.velora-header-left { min-width: 0; gap: 22px; }
.velora-header-nav { gap: 2px; }
.velora-header-actions { gap: 8px; }

.velora-header-brand {
  display: flex;
  width: 108px;
  height: 42px;
  align-items: center;
  padding: 8px;
  border-radius: 7px;
  transition: background-color 180ms ease;
}

.velora-header-brand:hover { background: rgba(255, 255, 255, .07); }
.velora-header-brand img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }
.velora-header-menu { position: relative; }
.velora-header-menu::after { position: absolute; top: 100%; left: -8px; width: calc(100% + 16px); height: 12px; content: ""; }

.velora-header-trigger,
.velora-header-link {
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  color: rgba(240, 242, 245, .68);
  background: transparent;
  cursor: pointer;
  font: 500 14px/1 "Inter", Arial, sans-serif;
  transition: color 180ms ease, background-color 180ms ease;
}

.velora-header-trigger svg { width: 13px; height: 13px; transition: transform 180ms ease; }
.velora-header-menu:hover .velora-header-trigger svg,
.velora-header-menu:focus-within .velora-header-trigger svg { transform: rotate(180deg); }
.velora-header-trigger:hover,
.velora-header-trigger:focus-visible,
.velora-header-link:hover,
.velora-header-link:focus-visible,
.velora-header-menu:hover .velora-header-trigger,
.velora-header-menu:focus-within .velora-header-trigger { color: #f0f2f5; background: rgba(255, 255, 255, .07); outline: 0; }

.velora-header-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 590px;
  padding: 12px;
  border: 1px solid rgba(143, 165, 184, .2);
  border-radius: 10px;
  background: rgba(8, 13, 19, .97);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .46);
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px) scale(.985);
  transform-origin: top left;
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.velora-header-menu:hover .velora-header-dropdown,
.velora-header-menu:focus-within .velora-header-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.velora-header-dropdown-grid { display: grid; gap: 4px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.velora-header-dropdown.company { width: 320px; }
.velora-header-dropdown.company .velora-header-dropdown-grid { grid-template-columns: 1fr; }

.velora-header-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 7px;
  transition: color 160ms ease, background-color 160ms ease;
}

.velora-header-card:hover,
.velora-header-card:focus-visible { color: #f0f2f5; background: rgba(255, 255, 255, .07); outline: 0; }
.velora-header-card.is-active {
  color: #f0f2f5;
  background: rgba(45, 157, 207, .11);
  box-shadow: inset 0 0 0 1px rgba(70, 177, 224, .1);
  cursor: default;
}
.velora-header-card.is-active .velora-header-card-icon {
  border-color: rgba(74, 181, 228, .28);
  color: #7cccf0;
  background: rgba(45, 157, 207, .09);
}
.velora-header-card-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid rgba(143, 165, 184, .18); border-radius: 7px; background: rgba(255, 255, 255, .03); }
.velora-header-card-icon svg { width: 18px; height: 18px; }
.velora-header-card-copy { display: grid; min-width: 0; gap: 3px; }
.velora-header-card-copy strong { overflow: hidden; color: rgba(240, 242, 245, .92); font: 600 13.5px/1.2 "Inter", Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.velora-header-card-copy small { overflow: hidden; color: rgba(201, 211, 221, .56); font: 400 11.5px/1.35 "Inter", Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }

.velora-header-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: 600 14px/1 "Inter", Arial, sans-serif;
  white-space: nowrap;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.velora-header-button:hover { transform: translateY(-1px); }
.velora-header-button.outline { border-color: rgba(143, 165, 184, .24); color: rgba(240, 242, 245, .9); background: rgba(8, 10, 14, .16); }
.velora-header-button.outline:hover { border-color: rgba(240, 242, 245, .3); background: rgba(255, 255, 255, .08); }
.velora-header-button.primary { color: #07111d; background: #f2f5f7; }
.velora-header-button.primary:hover { background: #fff; }

.velora-header-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(143, 165, 184, .24);
  border-radius: 7px;
  color: #f0f2f5;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.velora-header-toggle svg { width: 21px; height: 21px; }
.velora-header-mobile {
  position: fixed;
  inset: 64px 0 0;
  z-index: 999;
  display: none;
  overflow-y: auto;
  padding: 16px 16px 24px;
  color: #f0f2f5;
  background: rgba(8, 10, 14, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.velora-header-mobile.is-open { display: flex; flex-direction: column; animation: velora-header-menu-in 220ms ease-out; }
.velora-header-mobile a { text-decoration: none; }
.velora-header-mobile-nav { display: grid; }
.velora-header-mobile-section { border-bottom: 1px solid rgba(143, 165, 184, .16); }
.velora-header-mobile-section-toggle {
  display: flex; width: 100%; min-height: 58px; align-items: center; justify-content: space-between; padding: 0 6px; border: 0;
  color: #f0f2f5; background: transparent; cursor: pointer; font: 600 17px/1.2 "Inter", Arial, sans-serif; text-align: left;
}
.velora-header-mobile-section-toggle svg { width: 18px; height: 18px; color: rgba(201, 211, 221, .68); transition: transform 180ms ease; }
.velora-header-mobile-section.is-open > .velora-header-mobile-section-toggle svg { transform: rotate(180deg); }
.velora-header-mobile-panel { padding: 0 0 12px; animation: velora-header-panel-in 180ms ease-out; }
.velora-header-mobile-list { display: grid; gap: 4px; }
.velora-header-mobile .velora-header-card { border: 1px solid rgba(143, 165, 184, .12); background: rgba(255, 255, 255, .02); }
.velora-header-mobile-actions { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; }
.velora-header-mobile-actions .velora-header-button { width: 100%; min-height: 46px; }

.velora-whatsapp-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .34), 0 0 0 0 rgba(37, 211, 102, .34);
  transition: transform 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.velora-whatsapp-floating:hover,
.velora-whatsapp-floating:focus-visible {
  color: #fff;
  background: #20bd5a;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .4), 0 0 0 7px rgba(37, 211, 102, .16);
  outline: 0;
  transform: translateY(-3px) scale(1.04);
}

.velora-whatsapp-floating svg { width: 31px; height: 31px; }

@keyframes velora-header-menu-in {
  from { opacity: 0; transform: scale(.98); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes velora-header-panel-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  .velora-header-shell { width: calc(100% - 24px); }
  .velora-header-nav,
  .velora-header-actions { display: none; }
  .velora-header-toggle { display: grid; }
  .velora-header-brand { width: 102px; margin-left: -6px; padding-inline: 6px; }
  .velora-whatsapp-floating {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }
  .velora-whatsapp-floating svg { width: 29px; height: 29px; }
}
