/* Cabeçalho: barra fixa, menu, troca de tema/idioma e menu do celular. */
.bonsa-header a, .bonsa-header button, .bonsa-mobile-panel a, .bonsa-mobile-panel button, .bonsa-theme-toggle, .bonsa-theme-toggle span, .bonsa-lang button, [data-bonsa-logo], [data-bonsa-burger] {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}
.bonsa-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(var(--bonsa-bg-rgb), .70);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(15px) saturate(140%);
  border: 1px solid var(--bonsa-stroke);
  border-radius: 50px;
  padding: 8px 8px;
  font-family: "Poppins", Arial, sans-serif;
  transition: background .4s ease, border-color .4s ease;
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 9999;
  width: calc(100% - 48px);
  max-width: 1140px;
  box-sizing: border-box;
  overflow: hidden;
}
.bonsa-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(120px 120px at 15% 120%, var(--bonsa-gold) 0%, transparent 90%), radial-gradient(160px 160px at 85% -30%, var(--bonsa-gold) 0%, transparent 90%), radial-gradient(140px 140px at 55% 130%, var(--bonsa-gold) 0%, transparent 90%);
  opacity: .10;
  filter: blur(24px);
}
.bonsa-left, .bonsa-right, .bonsa-logo, .bonsa-burger {
  position: relative;
  z-index: 1;
}
.bonsa-left {
  display: flex;
  align-items: center;
  justify-self: stretch;
}
.bonsa-right {
  display: flex;
  align-items: center;
  justify-self: stretch;
  flex-direction: row-reverse;
}
.bonsa-left .bonsa-menu, .bonsa-right .bonsa-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 46px;
}
.bonsa-logo {
  justify-self: center;
  display: flex;
  align-items: center;
}
.bonsa-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  transform-origin: center;
}
.bonsa-logo a:hover {
  transform: scale(1.06);
}
.bonsa-logo a.is-clicked {
  transform: scale(.93);
}
.bonsa-logo svg {
  height: 26px;
  width: auto;
  display: block;
}
.bonsa-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.bonsa-menu a {
  text-decoration: none;
  color: var(--bonsa-text);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color .2s, opacity .2s, transform .25s ease;
  position: relative;
  white-space: nowrap;
  display: inline-block;
}
.bonsa-menu a.active {
  color: var(--bonsa-gold);
  font-weight: 600;
}
.bonsa-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1.5px;
  background: var(--bonsa-gold);
}
.bonsa-menu a:hover {
  opacity: .6;
}
.bonsa-menu a.is-clicked {
  transform: scale(.9);
  opacity: .5;
}
.bonsa-theme-toggle {
  display: flex;
  gap: 2px;
  cursor: pointer;
  background: var(--bonsa-toggle-bg);
  border-radius: 50px;
  padding: 3px;
  transition: background .4s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.bonsa-theme-toggle .bonsa-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bonsa-gold);
  transition: transform .55s cubic-bezier(.34,1.56,.64,1);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.bonsa-theme-toggle[data-active="dark"] .bonsa-toggle-thumb {
  transform: translateX(34px);
}
.bonsa-theme-toggle span {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.bonsa-theme-toggle span svg {
  width: 100%;
  height: 100%;
  display: block;
}
.bonsa-theme-toggle span svg path {
  transition: fill .4s ease;
}
.bonsa-theme-toggle span:not(.active) svg path {
  fill: var(--bonsa-svg-icon);
}
.bonsa-theme-toggle span.active svg path {
  fill: #eeece8;
}
.bonsa-lang {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bonsa-toggle-bg);
  border-radius: 50px;
  padding: 3px;
  transition: background .4s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.bonsa-lang button {
  border: none;
  background: transparent;
  color: var(--bonsa-text);
  font-family: "Poppins", Arial, sans-serif;
  width: 38px;
  height: 32px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .3s, color .3s, transform .2s ease;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bonsa-lang button.active {
  background: var(--bonsa-gold);
  color: #eeece8;
}
.bonsa-lang button.is-clicked {
  transform: scale(.88);
}
.bonsa-burger {
  display: none;
  border: none;
  background: transparent;
  width: 40px;
  height: 40px;
  cursor: pointer;
  justify-self: end;
  padding: 0;
  position: relative;
}
.bonsa-burger:focus, .bonsa-burger:active, .bonsa-burger:hover {
  outline: none;
  background: transparent;
}
.bonsa-burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2.5px;
  background: var(--bonsa-text);
  border-radius: 3px;
  transform: translate(-50%, -50%);
  transition: transform .4s cubic-bezier(.7,0,.2,1), opacity .3s ease, background .3s ease;
}
.bonsa-burger span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 7px));
}
.bonsa-burger span:nth-child(2) {
  transform: translate(-50%, -50%);
}
.bonsa-burger span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 7px));
}
.bonsa-burger.is-open span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.bonsa-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.bonsa-burger.is-open span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.bonsa-mobile-panel {
  display: none;
  flex-direction: column;
  background: rgba(var(--bonsa-bg-rgb), .75);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--bonsa-stroke);
  border-radius: 30px;
  padding: 26px 24px;
  font-family: "Poppins", Arial, sans-serif;
  position: fixed;
  top: 108px;
  left: 24px;
  right: 24px;
  z-index: 9998;
  box-sizing: border-box;
  transition: background .4s ease, border-color .4s ease;
  overflow: hidden;
  transform-origin: top center;
}
.bonsa-mobile-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(160px 160px at 10% 110%, var(--bonsa-gold) 0%, transparent 70%), radial-gradient(180px 180px at 90% -10%, var(--bonsa-gold) 0%, transparent 70%);
  opacity: .08;
  filter: blur(28px);
}
.bonsa-mobile-panel > * {
  position: relative;
  z-index: 1;
}
.bonsa-mobile-panel.open {
  display: flex;
  animation: bonsa-panel-open .5s cubic-bezier(.4,0,.2,1) forwards;
}
.bonsa-mobile-panel.closing {
  display: flex;
  animation: bonsa-panel-close .4s cubic-bezier(.7,0,.2,1) forwards;
}
.bonsa-mobile-panel a {
  text-decoration: none;
  color: var(--bonsa-text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 18px 0;
  text-transform: uppercase;
  border-bottom: 1px solid var(--bonsa-line);
  position: relative;
  transition: transform .25s ease, opacity .2s ease, color .3s ease;
}
.bonsa-mobile-panel a:last-of-type {
  border-bottom: none;
}
.bonsa-mobile-panel a.active {
  color: var(--bonsa-gold);
  font-weight: 700;
  padding-left: 20px;
  border-left: 3px solid var(--bonsa-gold);
  background: linear-gradient(90deg, rgba(159,131,104,.12), transparent);
}
.bonsa-mobile-panel a.is-clicked {
  transform: scale(.94);
  opacity: .5;
}
.bonsa-mobile-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}
.bonsa-mobile-panel.open a, .bonsa-mobile-panel.open .bonsa-mobile-footer {
  opacity: 0;
  animation: bonsa-item-in .5s cubic-bezier(.4,0,.2,1) forwards;
}
.bonsa-mobile-panel.open a:nth-of-type(1) {
  animation-delay: .18s;
}
.bonsa-mobile-panel.open a:nth-of-type(2) {
  animation-delay: .26s;
}
.bonsa-mobile-panel.open a:nth-of-type(3) {
  animation-delay: .34s;
}
.bonsa-mobile-panel.open a:nth-of-type(4) {
  animation-delay: .42s;
}
.bonsa-mobile-panel.open a:nth-of-type(5) {
  animation-delay: .50s;
}
.bonsa-mobile-panel.open .bonsa-mobile-footer {
  animation-delay: .58s;
}
.bonsa-mobile-panel.closing a, .bonsa-mobile-panel.closing .bonsa-mobile-footer {
  animation: bonsa-item-out .25s ease forwards;
}
@keyframes bonsa-panel-open {
    0%   { opacity: 0; transform: translateY(-14px); clip-path: inset(0 0 100% 0 round 30px); }
    100% { opacity: 1; transform: translateY(0);     clip-path: inset(0 0 0 0 round 30px); }
  }
@keyframes bonsa-panel-close {
    0%   { opacity: 1; transform: translateY(0);     clip-path: inset(0 0 0 0 round 30px); }
    100% { opacity: 0; transform: translateY(-14px); clip-path: inset(0 0 100% 0 round 30px); }
  }
@keyframes bonsa-item-in {
    0%   { opacity: 0; transform: translateY(14px); filter: blur(6px); }
    100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
  }
@keyframes bonsa-item-out {
    0%   { opacity: 1; transform: translateY(0);    filter: blur(0); }
    100% { opacity: 0; transform: translateY(-8px); filter: blur(4px); }
  }
.bonsa-mobile-footer .bonsa-theme-toggle {
  padding: 4px;
  gap: 4px;
}
.bonsa-mobile-footer .bonsa-theme-toggle .bonsa-toggle-thumb {
  top: 4px;
  left: 4px;
  width: 42px;
  height: 42px;
}
.bonsa-mobile-footer .bonsa-theme-toggle[data-active="dark"] .bonsa-toggle-thumb {
  transform: translateX(46px);
}
.bonsa-mobile-footer .bonsa-theme-toggle span {
  width: 42px;
  height: 42px;
}
.bonsa-mobile-footer .bonsa-lang {
  padding: 4px;
  gap: 4px;
}
.bonsa-mobile-footer .bonsa-lang button {
  width: 50px;
  height: 42px;
  font-size: 14px;
}
@media (max-width: 1000px) {
  .bonsa-header {
    grid-template-columns: auto 1fr auto;
    padding: 10px 20px;
  }
  .bonsa-left .bonsa-menu, .bonsa-right .bonsa-menu, .bonsa-left .bonsa-theme-toggle, .bonsa-right .bonsa-lang {
    display: none;
  }
  .bonsa-logo {
    justify-self: start;
    grid-column: 1;
  }
  .bonsa-logo svg {
    height: 22px;
  }
  .bonsa-logo a {
    filter: none !important;
  }
  .bonsa-logo a:hover {
    transform: none;
  }
  .bonsa-logo a.is-clicked {
    transform: scale(.93);
  }
  .bonsa-burger {
    display: block;
    grid-column: 3;
  }
}
@keyframes bonsa-expand {
    0%   { clip-path: inset(0 50% 0 50% round 50px); opacity: 0; }
    15%  { opacity: 1; }
    100% { clip-path: inset(0 0 0 0 round 50px); opacity: 1; }
  }
@keyframes bonsa-rise {
    0%   { opacity: 0; transform: translateY(12px); filter: blur(6px); }
    100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
  }
.bonsa-header.bonsa-anim {
  animation: bonsa-expand 1s cubic-bezier(.7,0,.2,1) forwards;
}
.bonsa-header.bonsa-anim .bonsa-logo, .bonsa-header.bonsa-anim .bonsa-menu, .bonsa-header.bonsa-anim .bonsa-theme-toggle, .bonsa-header.bonsa-anim .bonsa-lang, .bonsa-header.bonsa-anim .bonsa-burger {
  opacity: 0;
  animation: bonsa-rise .6s cubic-bezier(.4,0,.2,1) forwards;
}
.bonsa-header.bonsa-anim .bonsa-logo {
  animation-delay: .70s;
}
.bonsa-header.bonsa-anim .bonsa-left .bonsa-menu {
  animation-delay: .95s;
}
.bonsa-header.bonsa-anim .bonsa-right .bonsa-menu {
  animation-delay: 1.05s;
}
.bonsa-header.bonsa-anim .bonsa-theme-toggle {
  animation-delay: 1.30s;
}
.bonsa-header.bonsa-anim .bonsa-lang {
  animation-delay: 1.40s;
}
.bonsa-header.bonsa-anim .bonsa-burger {
  animation-delay: 1.10s;
}
@media (max-width: 1000px) {
  @keyframes bonsa-rise-mobile {
        0%   { opacity: 0; transform: translateY(12px); }
        100% { opacity: 1; transform: translateY(0); }
      }
  .bonsa-header.bonsa-anim .bonsa-logo {
    animation-name: bonsa-rise-mobile;
  }
}
@keyframes bonsa-collapse {
    0%   { clip-path: inset(0 0 0 0 round 50px);     opacity: 1; }
    85%  { opacity: 1; }
    100% { clip-path: inset(0 50% 0 50% round 50px); opacity: 0; }
  }
@keyframes bonsa-fall {
    0%   { opacity: 1; transform: translateY(0);    filter: blur(0); }
    100% { opacity: 0; transform: translateY(12px); filter: blur(6px); }
  }
.bonsa-header.bonsa-leave {
  animation: bonsa-collapse .8s cubic-bezier(.7,0,.2,1) forwards;
  animation-delay: .35s;
  pointer-events: none;
}
.bonsa-header.bonsa-leave .bonsa-logo, .bonsa-header.bonsa-leave .bonsa-menu, .bonsa-header.bonsa-leave .bonsa-theme-toggle, .bonsa-header.bonsa-leave .bonsa-lang, .bonsa-header.bonsa-leave .bonsa-burger {
  animation: bonsa-fall .4s cubic-bezier(.4,0,.2,1) forwards;
}
.bonsa-header.bonsa-leave .bonsa-lang {
  animation-delay: 0s;
}
.bonsa-header.bonsa-leave .bonsa-theme-toggle {
  animation-delay: .05s;
}
.bonsa-header.bonsa-leave .bonsa-right .bonsa-menu {
  animation-delay: .10s;
}
.bonsa-header.bonsa-leave .bonsa-left .bonsa-menu {
  animation-delay: .15s;
}
.bonsa-header.bonsa-leave .bonsa-burger {
  animation-delay: .10s;
}
.bonsa-header.bonsa-leave .bonsa-logo {
  animation-delay: .20s;
}
.bonsa-header.bonsa-swap-out {
  animation: bonsa-collapse .5s cubic-bezier(.7,0,.2,1) forwards;
  animation-delay: .12s;
  pointer-events: none;
}
.bonsa-header.bonsa-swap-out .bonsa-logo, .bonsa-header.bonsa-swap-out .bonsa-menu, .bonsa-header.bonsa-swap-out .bonsa-theme-toggle, .bonsa-header.bonsa-swap-out .bonsa-lang, .bonsa-header.bonsa-swap-out .bonsa-burger {
  animation: bonsa-fall .28s cubic-bezier(.4,0,.2,1) forwards;
}
.bonsa-header.bonsa-swap-out .bonsa-lang {
  animation-delay: 0s;
}
.bonsa-header.bonsa-swap-out .bonsa-theme-toggle {
  animation-delay: .03s;
}
.bonsa-header.bonsa-swap-out .bonsa-right .bonsa-menu {
  animation-delay: .06s;
}
.bonsa-header.bonsa-swap-out .bonsa-left .bonsa-menu {
  animation-delay: .09s;
}
.bonsa-header.bonsa-swap-out .bonsa-burger {
  animation-delay: .06s;
}
.bonsa-header.bonsa-swap-out .bonsa-logo {
  animation-delay: .12s;
}
.bonsa-header.bonsa-swap-in {
  animation: bonsa-expand .6s cubic-bezier(.7,0,.2,1) forwards;
  pointer-events: none;
}
.bonsa-header.bonsa-swap-in .bonsa-logo, .bonsa-header.bonsa-swap-in .bonsa-menu, .bonsa-header.bonsa-swap-in .bonsa-theme-toggle, .bonsa-header.bonsa-swap-in .bonsa-lang, .bonsa-header.bonsa-swap-in .bonsa-burger {
  opacity: 0;
  animation: bonsa-rise .42s cubic-bezier(.4,0,.2,1) forwards;
}
.bonsa-header.bonsa-swap-in .bonsa-logo {
  animation-delay: .30s;
}
.bonsa-header.bonsa-swap-in .bonsa-left .bonsa-menu {
  animation-delay: .40s;
}
.bonsa-header.bonsa-swap-in .bonsa-right .bonsa-menu {
  animation-delay: .45s;
}
.bonsa-header.bonsa-swap-in .bonsa-theme-toggle {
  animation-delay: .52s;
}
.bonsa-header.bonsa-swap-in .bonsa-lang {
  animation-delay: .56s;
}
.bonsa-header.bonsa-swap-in .bonsa-burger {
  animation-delay: .45s;
}
.bonsa-header.bonsa-restore {
  animation: none !important;
  opacity: 1 !important;
  clip-path: none !important;
  pointer-events: auto !important;
}
.bonsa-header.bonsa-restore .bonsa-logo, .bonsa-header.bonsa-restore .bonsa-menu, .bonsa-header.bonsa-restore .bonsa-theme-toggle, .bonsa-header.bonsa-restore .bonsa-lang, .bonsa-header.bonsa-restore .bonsa-burger {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
@media (max-width: 1000px) {
  @keyframes bonsa-fall-mobile {
        0%   { opacity: 1; transform: translateY(0); }
        100% { opacity: 0; transform: translateY(12px); }
      }
  .bonsa-header.bonsa-leave .bonsa-logo, .bonsa-header.bonsa-swap-out .bonsa-logo {
    animation-name: bonsa-fall-mobile;
  }
  .bonsa-header.bonsa-swap-in .bonsa-logo {
    animation-name: bonsa-rise-mobile;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bonsa-header.bonsa-anim, .bonsa-header.bonsa-anim *, .bonsa-header.bonsa-leave, .bonsa-header.bonsa-leave *, .bonsa-header.bonsa-swap-out, .bonsa-header.bonsa-swap-out *, .bonsa-header.bonsa-swap-in, .bonsa-header.bonsa-swap-in *, .bonsa-mobile-panel.open, .bonsa-mobile-panel.open *, .bonsa-mobile-panel.closing, .bonsa-mobile-panel.closing * {
    animation: none !important;
    opacity: 1 !important;
  }
  .bonsa-theme-toggle .bonsa-toggle-thumb {
    transition: none !important;
  }
  .bonsa-logo a {
    transition: none !important;
  }
}

/* Logo personalizado (Configurações › Identidade do site) */
.bonsa-logo img { height: 26px; width: auto; max-width: 200px; display: block; }
@media (max-width: 1000px) { .bonsa-logo img { height: 22px; } }
