/**
 * Baxi Baxi — Widget 01 Brasil v0.1.1
 * Tokens, tipografia fluida, rota dual, gráficos mobile, animações
 */

.bbx-brasil {
  --bbx-red: #c8102e;
  --bbx-red2: #e81239;
  --bbx-navy: #152a5c;
  --bbx-gold: #f5d76e;
  --bbx-green: #00964a;
  --bbx-white: #fff;
  --bbx-font: Poppins, "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --bbx-font-body: Roboto, "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --bbx-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --s1: 8px;
  --s2: 12px;
  --s3: 16px;
  --s4: 24px;
  --s5: 32px;
  --s6: 40px;
  --s7: 56px;
  --s8: 72px;

  --fs-hero: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  --fs-title: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  --fs-num: clamp(3.25rem, 2rem + 5vw, 6.5rem);
  --fs-buyn: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  --fs-counter: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --fs-putt: clamp(1.35rem, 1.1rem + 1.2vw, 1.875rem);
  --fs-body: clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem);

  box-sizing: border-box;
  padding: 0;
  margin: 0;
  color: var(--bbx-white);
  font-family: var(--bbx-font-body);
  line-height: 1.65;
  font-size: var(--fs-body);
}

.bbx-brasil *,
.bbx-brasil *::before,
.bbx-brasil *::after {
  box-sizing: border-box;
}

.bbx-brasil a {
  color: inherit;
  text-decoration: none;
}

.bbx-brasil h2 {
  margin: 0;
  line-height: 1.2;
  font-family: var(--bbx-font);
  color: var(--bbx-white);
}

/* —— Fundo —— */
.bbx-brasil .bigbr {
  margin-top: 0;
  padding: var(--s8) 0;
  overflow: hidden;
  color: var(--bbx-white);
  background:
    radial-gradient(900px 520px at 100% 100%, rgba(0, 150, 74, 0.32), transparent 60%),
    linear-gradient(165deg, #d4122f 0%, #a60d26 55%, #7c0a1d 100%);
}

.bbx-brasil .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s4);
}

.bbx-brasil .wrap.bbx-wrap-blocks {
  display: flex;
  flex-direction: column;
}

.bbx-brasil .bbx-block {
  width: 100%;
}

.bbx-brasil .bbx-editor-route-note {
  margin: 0 0 8px;
  font-size: 12px;
  opacity: 0.75;
}

/* —— Cabeçalho —— */
.bbx-brasil .bkhead {
  margin-bottom: var(--s5);
}

.bbx-brasil .bt2 {
  font-family: var(--bbx-font);
  font-weight: 800;
  font-size: var(--fs-hero);
  line-height: 1.15;
  color: var(--bbx-white);
  margin: 0;
  max-width: none;
}

.bbx-brasil .bsub {
  margin: var(--s2) 0 0;
  color: #f3d9de;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
}

/* —— Rota —— */
.bbx-brasil .route {
  margin: 0 0 var(--s5);
  border-radius: 14px;
  padding: var(--s3) var(--s4);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: border-color 0.3s var(--bbx-ease), background 0.3s var(--bbx-ease), box-shadow 0.3s var(--bbx-ease);
}

.bbx-brasil .route:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.bbx-brasil .route-desktop {
  width: 100%;
  height: auto;
  display: block;
}

.bbx-brasil .route-mobile {
  display: none;
}

.bbx-brasil .rl {
  font: 700 18px var(--bbx-font);
}

.bbx-brasil .rcn {
  fill: #ffc2cb;
}

.bbx-brasil .rbr {
  fill: #a9f2c7;
}

.bbx-brasil .rmid {
  font: 700 17px var(--bbx-font);
  fill: #fff;
  letter-spacing: 0.04em;
}

.bbx-brasil .rline {
  opacity: 0.85;
  animation: bbx-rdash 1.6s linear infinite;
}

.bbx-brasil .plane {
  pointer-events: none;
}

.bbx-brasil .cnt {
  font-variant-numeric: tabular-nums;
}

@keyframes bbx-rdash {
  to {
    stroke-dashoffset: -38;
  }
}

/* Rota mobile — jornada vertical */
.bbx-brasil .route-mobile-title {
  margin: 0 0 var(--s4);
  text-align: center;
  font: 700 clamp(1rem, 0.95rem + 0.4vw, 1.15rem) / 1.3 var(--bbx-font);
  letter-spacing: 0.04em;
}

.bbx-brasil .route-mobile-card {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.bbx-brasil .route-dot {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.bbx-brasil .route-mobile-card.cn .route-dot {
  background: #fff;
  box-shadow:
    0 0 0 4px #c8102e,
    0 0 0 8px rgba(255, 255, 255, 0.35);
}

.bbx-brasil .route-mobile-card.br .route-dot {
  background: var(--bbx-green);
  box-shadow: 0 0 0 6px rgba(0, 150, 74, 0.35);
}

.bbx-brasil .route-label {
  font: 700 1.35rem / 1.2 var(--bbx-font);
}

.bbx-brasil .route-mobile-track {
  position: relative;
  height: 88px;
  margin: 6px 0 6px 29px;
  width: 4px;
  overflow: visible;
}

.bbx-brasil .route-mobile-line {
  position: absolute;
  inset: 0;
  width: 3px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.4;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 0 7px,
    transparent 7px 14px
  );
  border-radius: 2px;
  animation: bbx-vdash 1.1s linear infinite;
}

.bbx-brasil .route-mobile-plane {
  position: absolute;
  left: 50%;
  top: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  animation: bbx-plane-y 3.6s var(--bbx-ease) infinite;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
  z-index: 3;
}

.bbx-brasil .route-mobile-plane svg {
  display: block;
}

@keyframes bbx-vdash {
  to {
    background-position: 0 14px;
  }
}

@keyframes bbx-plane-y {
  0% {
    top: 0;
    opacity: 0.55;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 28px);
    opacity: 0.55;
  }
}

/* —— Indicadores —— */
.bbx-brasil .counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  margin-top: var(--s2);
}

.bbx-brasil .counter {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 3px solid var(--bbx-gold);
  border-radius: 10px;
  padding: var(--s5) var(--s4);
  backdrop-filter: blur(2px);
  transition:
    transform 0.35s var(--bbx-ease),
    background 0.35s var(--bbx-ease),
    box-shadow 0.35s var(--bbx-ease),
    border-color 0.35s var(--bbx-ease);
  transition-delay: calc(var(--stagger, 0) * 70ms);
}

.bbx-brasil .counters.is-inview .counter {
  animation: bbx-card-in 0.7s var(--bbx-ease) both;
  animation-delay: calc(var(--stagger, 0) * 80ms);
}

.bbx-brasil .counter:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  border-color: rgba(245, 215, 110, 0.45);
}

.bbx-brasil .counter:focus-within {
  outline: 2px solid var(--bbx-gold);
  outline-offset: 3px;
}

.bbx-brasil .counter .n {
  font-family: var(--bbx-font);
  font-weight: 700;
  color: var(--bbx-white);
  font-size: var(--fs-counter);
  line-height: 1.1;
}

.bbx-brasil .counter .n > span:last-child {
  color: var(--bbx-gold);
}

.bbx-brasil .counter .t,
.bbx-brasil .counter .t cite {
  margin-top: var(--s2);
  font-size: 0.95rem;
  font-weight: 500;
  color: #eef1f5;
  font-style: normal;
  line-height: 1.45;
}

.bbx-brasil .counter .t cite {
  font-weight: 400;
  opacity: 0.9;
}

@keyframes bbx-card-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Divisor / mercado —— */
.bbx-brasil .bdiv {
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: var(--s7) 0 var(--s6);
}

.bbx-brasil .bk {
  font: 700 0.8rem var(--bbx-font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

.bbx-brasil .bt {
  font-family: var(--bbx-font);
  font-weight: 700;
  font-size: var(--fs-title);
  line-height: 1.2;
  margin: var(--s2) 0 var(--s6);
  max-width: 22ch;
}

.bbx-brasil .bhero {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--s6);
  align-items: center;
}

.bbx-brasil .bnum {
  font-family: var(--bbx-font);
  font-weight: 800;
  font-size: var(--fs-num);
  line-height: 1;
  letter-spacing: -0.03em;
}

.bbx-brasil .bnum small {
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0;
}

.bbx-brasil .bcmp {
  margin-top: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  max-width: 560px;
}

.bbx-brasil .bar2 {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.bbx-brasil .bar2 i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bbx-bar-w, 100%);
  background: rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  transform-origin: left;
  transform: scaleX(0);
}

.bbx-brasil .bar2.br2 i {
  background: var(--bbx-white);
}

.bbx-brasil .bar2.br2 span {
  color: #7a0a1c;
}

.bbx-brasil .bar2 span {
  position: relative;
  display: block;
  line-height: 1.2;
  padding: 0 var(--s3);
  font: 600 0.9rem var(--bbx-font);
  z-index: 1;
}

/* Estado final: sem re-disparar grow/rise (anti-glitch Elementor) */
.bbx-brasil.bbx-anim-settled .bar2 i,
.bbx-brasil.bbx-anim-settled .col i {
  animation: none !important;
  transform: none;
}

.bbx-brasil.bbx-anim-settled .bar2 i {
  transform: scaleX(1);
}

.bbx-brasil.bbx-anim-settled .col i {
  transform: scaleY(1);
}

.bbx-brasil .bhero.is-inview .bar2 i {
  animation: bbx-grow 2.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bbx-brasil .bhero.is-inview .bar2:nth-child(1) i {
  animation-delay: 0.1s;
}

.bbx-brasil .bhero.is-inview .bar2:nth-child(2) i {
  animation-delay: 0.35s;
}

@keyframes bbx-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.bbx-brasil .bnote {
  margin: var(--s3) 0 0;
  font: 500 clamp(1.05rem, 1rem + 0.4vw, 1.25rem) var(--bbx-font);
}

.bbx-brasil .bside {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.bbx-brasil .bs {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: var(--s4) var(--s5);
  transition:
    transform 0.35s var(--bbx-ease),
    background 0.35s var(--bbx-ease),
    border-color 0.35s var(--bbx-ease),
    box-shadow 0.35s var(--bbx-ease);
}

.bbx-brasil .bs:hover {
  transform: translateY(-4px);
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(245, 215, 110, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.bbx-brasil .bs b {
  display: block;
  font: 700 clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem) / 1.1 var(--bbx-font);
}

.bbx-brasil .bs > span {
  font-size: 0.95rem;
  opacity: 0.92;
  display: block;
  margin-top: var(--s1);
  line-height: 1.45;
}

/* —— Compras / gráfico —— */
.bbx-brasil .buy {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--s6);
  align-items: end;
  margin-top: var(--s7);
  padding-top: var(--s6);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.bbx-brasil .buyn {
  font-family: var(--bbx-font);
  font-weight: 800;
  font-size: var(--fs-buyn);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: var(--s2);
}

.bbx-brasil .buyl p {
  margin: var(--s2) 0 0;
  font-size: 1.05rem;
}

.bbx-brasil .buyl .proj {
  font-size: 0.95rem;
  opacity: 0.92;
}

.bbx-brasil .bars {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: var(--s3);
  height: 260px;
  padding-bottom: 48px;
}

.bbx-brasil .bars3 .col {
  flex: 1;
  min-width: 0;
}

.bbx-brasil .col {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.bbx-brasil .col i {
  width: 100%;
  height: var(--bbx-bar-h, 100%);
  background: rgba(255, 255, 255, 0.4);
  border-radius: 8px 8px 0 0;
  transform-origin: bottom;
  transform: scaleY(0);
}

.bbx-brasil .col.now i {
  background: var(--bbx-white);
}

.bbx-brasil .col b {
  order: -1;
  position: static;
  font: 700 1rem var(--bbx-font);
  margin-bottom: var(--s1);
}

.bbx-brasil .col .col-year {
  position: absolute;
  bottom: -30px;
  font-size: 0.9rem;
  opacity: 0.92;
  font-weight: 600;
}

.bbx-brasil .bars.is-inview .col i {
  animation: bbx-rise 2.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--stagger, 0) * 220ms);
}

@keyframes bbx-rise {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.bbx-brasil .h26 {
  flex: 1.25;
  align-self: center;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: var(--s4);
  text-align: center;
  margin-left: var(--s2);
  transition:
    transform 0.35s var(--bbx-ease),
    border-color 0.35s var(--bbx-ease),
    box-shadow 0.35s var(--bbx-ease);
}

.bbx-brasil .h26:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 215, 110, 0.6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.bbx-brasil .h26k {
  font: 600 0.75rem var(--bbx-font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.bbx-brasil .h26n {
  font: 800 25px/1.1 var(--bbx-font);
  margin: var(--s1) 0;
}

.bbx-brasil .h26t {
  font-size: 0.875rem;
  opacity: 0.9;
}

.bbx-brasil .bleg {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 0.75rem;
  opacity: 0.85;
}

/* —— CTA —— */
.bbx-brasil .put {
  margin-top: var(--s7);
  background: var(--bbx-white);
  color: var(--bbx-navy);
  border-radius: 14px;
  padding: var(--s5) var(--s6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.bbx-brasil .putt {
  font-family: var(--bbx-font);
  font-weight: 700;
  font-size: var(--fs-putt);
  line-height: 1.25;
  flex: 1 1 240px;
}

.bbx-brasil .btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--bbx-red), var(--bbx-red2));
  color: var(--bbx-white);
  font-family: var(--bbx-font);
  font-weight: 700;
  /* Padding default — sobrescrito pelo controle Elementor "Padding do botão" */
  padding: 15px 28px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.25s var(--bbx-ease),
    box-shadow 0.25s var(--bbx-ease),
    filter 0.25s var(--bbx-ease);
}

/* —— Case Animate (entrance por bloco) —— */
.bbx-brasil .bbx-enter {
  --bbx-enter-delay: 0ms;
  --bbx-enter-duration: 700ms;
}

.bbx-brasil .bbx-enter:not(.is-inview) {
  opacity: 0;
}

.bbx-brasil .bbx-enter.is-inview {
  opacity: 1;
  animation-duration: var(--bbx-enter-duration);
  animation-delay: var(--bbx-enter-delay);
  animation-fill-mode: both;
  animation-timing-function: var(--bbx-ease);
}

.bbx-brasil .bbx-enter--fade.is-inview {
  animation-name: bbx-enter-fade;
}

.bbx-brasil .bbx-enter--fadeUp.is-inview {
  animation-name: bbx-enter-fade-up;
}

.bbx-brasil .bbx-enter--fadeDown.is-inview {
  animation-name: bbx-enter-fade-down;
}

.bbx-brasil .bbx-enter--fadeLeft.is-inview {
  animation-name: bbx-enter-fade-left;
}

.bbx-brasil .bbx-enter--fadeRight.is-inview {
  animation-name: bbx-enter-fade-right;
}

.bbx-brasil .bbx-enter--zoomIn.is-inview {
  animation-name: bbx-enter-zoom;
}

.bbx-brasil .bbx-enter--slipFade.is-inview {
  animation-name: bbx-enter-slip;
}

@keyframes bbx-enter-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bbx-enter-fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bbx-enter-fade-down {
  from {
    opacity: 0;
    transform: translateY(-28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bbx-enter-fade-left {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bbx-enter-fade-right {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bbx-enter-zoom {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bbx-enter-slip {
  from {
    opacity: 0;
    transform: translateY(16px) skewY(1.5deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.bbx-brasil .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(200, 16, 46, 0.4);
  filter: brightness(1.06);
}

.bbx-brasil .btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.bbx-brasil .btn:focus-visible {
  outline: 3px solid var(--bbx-gold);
  outline-offset: 3px;
}

.bbx-brasil .putb {
  white-space: nowrap;
}

/* —— Fontes —— */
.bbx-brasil .src,
.bbx-brasil .bsrc {
  font-size: 0.8125rem;
  margin-top: var(--s5);
  color: #f1dde1;
  line-height: 1.55;
  opacity: 0.95;
}

/* —— Reveal —— */
.bbx-brasil .bbx-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s var(--bbx-ease),
    transform 0.75s var(--bbx-ease);
}

.bbx-brasil .bbx-reveal.is-inview {
  opacity: 1;
  transform: none;
}

/* Counters: cards animam via keyframes quando o grupo entra */
.bbx-brasil .counters.bbx-reveal {
  opacity: 1;
  transform: none;
}

.bbx-brasil .counters.bbx-reveal:not(.is-inview) .counter {
  opacity: 0;
  transform: translateY(20px);
}

/* —— Tablet —— */
@media (max-width: 900px) {
  .bbx-brasil .bigbr {
    padding: var(--s7) 0;
  }

  .bbx-brasil .counters {
    grid-template-columns: 1fr 1fr;
  }

  .bbx-brasil .bhero,
  .bbx-brasil .buy {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }

  .bbx-brasil .buy {
    align-items: stretch;
  }

  .bbx-brasil .bt {
    max-width: none;
  }
}

/* —— Mobile: rota dual + gráficos horizontais —— */
@media (max-width: 700px) {
  .bbx-brasil {
    --s4: 20px;
    --s5: 28px;
    --s6: 32px;
    --s7: 40px;
    --s8: 48px;
  }

  .bbx-brasil .bigbr {
    padding: var(--s7) 0;
  }

  .bbx-brasil .wrap {
    padding: 0 var(--s3);
  }

  .bbx-brasil .route {
    padding: var(--s4);
  }

  .bbx-brasil .route-desktop {
    display: none;
  }

  .bbx-brasil .route-mobile {
    display: block;
  }

  .bbx-brasil .counters {
    grid-template-columns: 1fr;
    gap: var(--s3);
  }

  .bbx-brasil .counter {
    padding: var(--s4);
  }

  .bbx-brasil .bdiv {
    margin: var(--s6) 0 var(--s5);
  }

  .bbx-brasil .bar2 {
    height: 48px;
  }

  .bbx-brasil .bar2 span {
    font-size: 0.85rem;
  }

  /* Gráfico anual → linhas horizontais */
  .bbx-brasil .bars {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding-bottom: 0;
    gap: var(--s3);
  }

  .bbx-brasil .bars3 .col {
    flex: none;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 52px 1fr 48px;
    align-items: center;
    gap: var(--s2);
  }

  .bbx-brasil .col .col-year {
    position: static;
    bottom: auto;
    font-size: 0.95rem;
    font-weight: 700;
    opacity: 1;
    order: 0;
  }

  .bbx-brasil .col i {
    order: 1;
    width: var(--bbx-bar-h, 100%);
    max-width: 100%;
    height: 18px;
    border-radius: 6px;
    transform-origin: left;
    transform: scaleX(0);
    justify-self: start;
  }

  .bbx-brasil .col.now i {
    background: var(--bbx-white);
  }

  .bbx-brasil .col b {
    order: 2;
    margin: 0;
    text-align: right;
    font-size: 1rem;
  }

  .bbx-brasil .bars.is-inview .col i {
    animation: bbx-grow 2.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--stagger, 0) * 220ms);
  }

  .bbx-brasil .h26 {
    flex: none;
    width: 100%;
    margin: var(--s2) 0 0;
    padding: var(--s4) var(--s5);
    text-align: left;
  }

  .bbx-brasil .bleg {
    position: static;
    margin-top: var(--s1);
    text-align: left;
  }

  .bbx-brasil .put {
    flex-direction: column;
    align-items: stretch;
    padding: var(--s5) var(--s4);
    gap: var(--s4);
  }

  .bbx-brasil .putt {
    flex: none;
  }

  .bbx-brasil .putb {
    white-space: normal;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .bbx-brasil .bt2 {
    font-size: clamp(1.5rem, 1.3rem + 1.5vw, 1.85rem);
  }

  .bbx-brasil .route-label {
    font-size: 1.2rem;
  }

  .bbx-brasil .route-mobile-track {
    height: 80px;
  }
}

/* —— Reduced motion: pausa movimento, mas mantém o avião visível —— */
@media (prefers-reduced-motion: reduce) {
  .bbx-brasil:not(.bbx-force-motion) .rline,
  .bbx-brasil:not(.bbx-force-motion) .route-mobile-line,
  .bbx-brasil:not(.bbx-force-motion) .route-mobile-plane {
    animation: none;
  }

  /* Desktop: posição estática do avião é definida em JS (user units do SVG) */
  .bbx-brasil:not(.bbx-force-motion) .plane {
    pointer-events: none;
  }

  /* Mobile: avião parado no meio do conector */
  .bbx-brasil:not(.bbx-force-motion) .route-mobile-plane {
    display: grid;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: none;
  }

  .bbx-brasil:not(.bbx-force-motion) .bbx-enter {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }

  .bbx-brasil:not(.bbx-force-motion) .bar2 i,
  .bbx-brasil:not(.bbx-force-motion) .col i {
    transform: none !important;
    animation: none !important;
  }

  .bbx-brasil:not(.bbx-force-motion) .bbx-reveal,
  .bbx-brasil:not(.bbx-force-motion) .counters.bbx-reveal:not(.is-inview) .counter {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bbx-brasil:not(.bbx-force-motion) .counters.is-inview .counter {
    animation: none;
  }

  .bbx-brasil .counter,
  .bbx-brasil .bs,
  .bbx-brasil .h26,
  .bbx-brasil .btn,
  .bbx-brasil .route {
    transition: none;
  }

  .bbx-brasil .counter:hover,
  .bbx-brasil .bs:hover,
  .bbx-brasil .h26:hover,
  .bbx-brasil .btn:hover {
    transform: none;
  }
}

/* Editor: a rota não repinta em loop. O site publicado não tem estas classes. */
.bbx-brasil.bbx-is-editor .rline,
.bbx-brasil.bbx-is-editor .route-mobile-line,
.bbx-brasil.bbx-is-editor .route-mobile-plane,
body.elementor-editor-active .bbx-brasil .rline,
body.elementor-editor-active .bbx-brasil .route-mobile-line,
body.elementor-editor-active .bbx-brasil .route-mobile-plane,
body.elementor-editor-preview .bbx-brasil .rline,
body.elementor-editor-preview .bbx-brasil .route-mobile-line,
body.elementor-editor-preview .bbx-brasil .route-mobile-plane {
  animation: none;
}

.bbx-brasil.bbx-is-editor .route-mobile-plane,
body.elementor-editor-active .bbx-brasil .route-mobile-plane,
body.elementor-editor-preview .bbx-brasil .route-mobile-plane {
  top: 50%;
  transform: translate(-50%, -50%);
}
