/* Abertura da página inicial: título, imagens em órbita e painel que sobe com a rolagem. */
html, body {
  overflow-x: hidden;
}
.bonsa-panel-bg-full, .bonsa-panel-fade, .bonsa-tags span, .bonsa-sq {
  transition-property: background, background-color, color, opacity, transform, filter;
}
.bonsa-page {
  font-family:"Borna", "Poppins", sans-serif;
  color:var(--text);
  box-sizing:border-box;
  position: relative;
  z-index: 0;
  transition: color .9s ease, opacity .55s ease;
}
.bonsa-page.bonsa-exiting {
  opacity: 0;
  pointer-events: none;
}
.bonsa-exit-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .55s ease, visibility 0s linear .55s, background-color .9s ease;
}
.bonsa-exit-overlay.on {
  opacity: 1;
  visibility: visible;
  transition: opacity .55s ease, visibility 0s, background-color .9s ease;
}
.bonsa-page.bonsa-swap-out {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity .5s ease;
}
.bonsa-page.bonsa-swap-in {
  opacity: 1;
  transition: opacity .6s ease;
}
.bonsa-pin-wrap {
  position: relative;
  overflow: visible;
  width: auto;
  max-width: none;
  margin-left: calc(50% - 50vw + var(--sbw, 0px) / 2);
  margin-right: calc(50% - 50vw + var(--sbw, 0px) / 2);
  margin-bottom: -1px;
}
.bonsa-pin-sticky {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bonsa-pin-sticky.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
.bonsa-pin-sticky.is-bottom {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
}
.bonsa-hero {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 2;
  text-align: center;
  will-change: transform, opacity, filter;
}
.bonsa-hero.bonsa-hidden {
  visibility: hidden;
}
.bonsa-hero-sub {
  font-size:14px;
  color:var(--text-sub);
  margin:0 0 20px;
  font-weight:400;
  letter-spacing:.2px;
  line-height:1.5;
}
.bonsa-hero-title {
  font-size:clamp(40px,6vw,72px);
  font-weight:700;
  letter-spacing:-1px;
  line-height:1.05;
  margin:0 0 30px;
  color:var(--text);
}
.bonsa-tags {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
}
.bonsa-tags span {
  background:var(--tag-bg);
  color:var(--text);
  border-radius:20px;
  padding:8px 18px;
  font-size:14px;
  font-weight:500;
  letter-spacing:1.5px;
  text-transform:uppercase;
  line-height:1.4;
  opacity: 0;
  transform: translateY(14px) scale(.9);
  transition: opacity .5s ease, transform .55s cubic-bezier(.2,.7,.2,1), background .9s ease, color .9s ease;
}
.bonsa-tags span.on {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.bonsa-anim-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity .5s ease, transform .55s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}
.bonsa-anim-word.on {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.bonsa-panel-bg-full {
  position: absolute;
  left: 0;
  bottom: -1px;
  transform: translateY(100%);
  width: 100%;
  height: 101vh;
  background: var(--panel-bg);
  z-index: 5;
  will-change: transform;
  transition: background .9s ease;
}
.bonsa-panel {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateY(100%);
  width: 100%;
  height: 100vh;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  background: transparent;
  overflow: hidden;
}
.bonsa-panel-media {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1 !important;
  overflow: hidden;
  pointer-events: none;
  background: var(--panel-bg);
  transition: background .9s ease;
}
.bonsa-panel-media picture {
  display: block;
  position: absolute;
  inset: 0;
}
.bonsa-panel-media img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100% !important;
  height: 100% !important;
  min-width: 100%;
  min-height: 100%;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  display: block !important;
  transform: translate(-50%,-50%) scale(1.04);
  will-change: transform, filter, opacity;
  pointer-events: none;
  background: var(--panel-bg);
  user-select: none;
  -webkit-user-drag: none;
}
.bonsa-panel-veil {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 55%, rgba(var(--panel-bg-rgb), .55) 0%, rgba(var(--panel-bg-rgb), .88) 100%);
  transition: background .9s ease;
}
.bonsa-panel-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 220px;
  z-index: 7;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient( to bottom, rgba(var(--panel-bg-rgb), 0.9) 0%, rgba(var(--panel-bg-rgb), 0.55) 45%, rgba(var(--panel-bg-rgb), 0) 100% );
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 100%);
  will-change: opacity, backdrop-filter;
}
.bonsa-intro {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  color: var(--panel-text);
}
.bonsa-intro-bar {
  flex: 0 0 4px;
  align-self: stretch;
  min-height: 0;
  background: var(--bar-grad);
  border-radius: 4px;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .9s cubic-bezier(.2,.7,.2,1), background .9s ease;
}
.bonsa-intro-bar.on {
  transform: scaleY(1);
}
.bonsa-intro-content {
  flex: 1;
}
.bonsa-intro-content h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
  color: var(--panel-text);
  transition: color .9s ease;
  text-shadow: 0 2px 26px rgba(var(--panel-bg-rgb), .45);
}
.bonsa-intro-content .accent {
  color: var(--panel-accent);
}
.bonsa-intro-content p {
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 1.6;
  margin: 0 0 16px;
  color: var(--panel-sub);
  opacity: .9;
  font-weight: 400;
  max-width: 68ch;
  transition: color .9s ease;
  text-shadow: 0 2px 20px rgba(var(--panel-bg-rgb), .4);
}
.bonsa-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(5px);
  transition: opacity .45s ease, transform .5s cubic-bezier(.2,.7,.2,1), filter .45s ease;
}
.bonsa-word.on {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
@media (max-width: 768px) {
  .bonsa-hero-title .br-desktop {
    display: inline;
    content: " ";
    white-space: pre;
    font-size: 0;
  }
  .bonsa-hero-title .br-desktop::before {
    content: " ";
    font-size: 1rem;
  }
  .bonsa-intro-content .br-desktop {
    display: none;
  }
  .bonsa-hero {
    padding: 0 22px;
    top: 54%;
  }
  .bonsa-hero-sub {
    font-size: 14px;
    margin: 0 0 18px;
  }
  .bonsa-hero-title {
    font-size: clamp(34px, 10vw, 60px);
    letter-spacing: -0.5px;
    line-height: 1.08;
    margin: 0 0 30px;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
    max-width: 100%;
    text-wrap: balance;
  }
  .bonsa-page .bonsa-tags, .bonsa-tags {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100%;
  }
  html[data-lang="en"] .bonsa-page [data-lang-pt].bonsa-tags, html[data-lang="pt"] .bonsa-page [data-lang-en].bonsa-tags {
    display: none !important;
  }
  .bonsa-page .bonsa-tags span, .bonsa-tags span {
    width: auto !important;
    max-width: 300px;
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
    padding: 10px 20px;
    letter-spacing: 1px;
  }
  .bonsa-intro {
    gap: 16px;
    padding: 0 24px;
  }
  .bonsa-intro-bar {
    flex: 0 0 3px;
  }
  .bonsa-intro-content h2 {
    font-size: clamp(24px, 6.5vw, 34px);
    line-height: 1.2;
    margin: 0 0 18px;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .bonsa-intro-content p {
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 14px;
  }
  .bonsa-panel-fade {
    height: 150px;
  }
}
@media (max-width: 640px) and (min-width: 481px) {
  .bonsa-hero-title {
    font-size: clamp(40px, 11vw, 58px);
  }
}
@media (max-width: 480px) {
  .bonsa-hero {
    top: 53%;
  }
  .bonsa-hero-title {
    font-size: clamp(30px, 9.5vw, 46px);
    line-height: 1.1;
    margin: 0 0 26px;
  }
  .bonsa-hero-sub {
    font-size: 13px;
    margin: 0 0 16px;
  }
  .bonsa-page .bonsa-tags span, .bonsa-tags span {
    max-width: 270px;
    font-size: 12.5px;
  }
}
@media (max-width: 380px) {
  .bonsa-hero {
    top: 52%;
  }
  .bonsa-hero-title {
    font-size: clamp(26px, 9vw, 40px);
    line-height: 1.12;
    margin: 0 0 22px;
  }
  .bonsa-page .bonsa-tags, .bonsa-tags {
    gap: 8px !important;
  }
  .bonsa-page .bonsa-tags span, .bonsa-tags span {
    max-width: 240px;
    font-size: 12px;
    padding: 9px 16px;
  }
  .bonsa-intro-content h2 {
    font-size: 22px;
  }
}
@media (max-width: 768px) and (max-height: 680px) {
  .bonsa-hero {
    top: 54%;
  }
  .bonsa-hero-title {
    margin: 0 0 20px;
  }
  .bonsa-hero-sub {
    margin: 0 0 12px;
  }
  .bonsa-page .bonsa-tags, .bonsa-tags {
    gap: 8px !important;
  }
}
.bonsa-float-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bonsa-float-layer.bonsa-hidden {
  visibility: hidden;
}
.bonsa-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  will-change: transform;
}
.bonsa-sq {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--card-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  overflow: hidden;
  will-change: transform, opacity;
  transition: background-color .9s ease;
}
.bonsa-sq::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--panel-bg-rgb), .18);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .bonsa-page {
    transition: opacity .3s ease !important;
  }
  .bonsa-panel-media img {
    filter: blur(4px) !important;
    opacity: .35 !important;
  }
  .bonsa-panel-veil {
    opacity: .8 !important;
  }
}
