/* ==========================================================================
   VARIÁVEIS GLOBAIS — JPB Pagamentos
   ========================================================================== */
:root {
  /* Cores */
  --color-bg:            #000000;
  --color-surface:       #0a0a0a;
  --color-surface-2:     #e4e4e4;
  --color-surface-3:     #e7ecef;
  --color-primary:       #ec5f08;
  --color-primary-dark:  #d9481a;
  --color-primary-hover: #a03716;
  --color-text:          #ffffff;
  --color-text-muted:    rgba(255, 255, 255, 0.6);
  --color-text-dark:     #333333;
  --color-border:        rgba(255, 255, 255, 0.1);
  --color-border-light:  rgba(255, 255, 255, 0.15);

  /* Tipografia */
  --font-heading: 'Prompt', sans-serif;
  --font-body:    'Work Sans', sans-serif;

  /* Espaçamentos */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   40px;
  --space-xl:   56px;
  --space-2xl:  80px;
  --space-3xl:  100px;

  /* Raios */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;
}

.w-layout-blockcontainer {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.w-layout-grid {
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.w-layout-vflex {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.w-layout-hflex {
  flex-direction: row;
  align-items: flex-start;
  display: flex;
}

@media screen and (max-width: 991px) {
  .w-layout-blockcontainer {
    max-width: 728px;
  }
}

@media screen and (max-width: 767px) {
  .w-layout-blockcontainer {
    max-width: none;
  }
}


/* ==========================================================================
   NAVBAR / HEADER
   ========================================================================== */
.navbar {
  opacity: 1;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  background-color: #000000b3;
  border: 1px solid #ffffff26;
  justify-content: center;
  align-items: center;
  height: 80px;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
  padding-left: 60px;
  padding-right: 60px;
  display: flex;
  position: fixed;
  inset: 0% 0% auto;
}

/* CTA "Abra sua conta" inline no navbar mobile */
.mobile-cta-navbar {
  display: none;
}

@media screen and (max-width: 479px) {
  .mobile-cta-navbar {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 0;
    padding: 8px 16px;
    background-color: #ec5f08;
    color: #fff !important;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 6px;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
  }
  .mobile-cta-navbar:hover {
    background-color: #d9481a;
    color: #fff !important;
  }
}

/* Garante visibilidade do nav no desktop independente do webflow.js */
@media screen and (min-width: 992px) {
  .w-nav[data-collapse='medium'] .w-nav-menu {
    display: block !important;
  }
  .w-nav[data-collapse='medium'] .w-nav-button {
    display: none !important;
  }
}

.nav-menu {
  float: left;
  color: #fff;
  margin-left: 24px;
  display: block;
}


/* ==========================================================================
   BASE / BODY
   ========================================================================== */
.body {
  background-color: #000;
  font-family: Work Sans, sans-serif;
}

.container {
  aspect-ratio: auto;
  text-align: left;
  vertical-align: baseline;
  flex-flow: row;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  min-width: 0;          /* era 1300px — causava overflow abaixo de 1300px */
  max-width: 1300px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
  display: flex;
  overflow: visible;
}

.nav-link {
  color: #fff;
  padding-top: 16px;
  padding-bottom: 16px;
  transition: all .2s;
}

.nav-link:hover {
  color: #d9481a;
  font-weight: 500;
  transform: translate(0, -4px);
}

.nav-link.active {
  color: #d9481a;
  font-weight: 600;
  text-decoration: underline;
}

.nav-link-2, .nav-link-3 {
  color: #fff;
  padding-top: 16px;
  padding-bottom: 16px;
}

.outline-btn {
  -webkit-text-fill-color: inherit;
  mix-blend-mode: normal;
  background-color: #d9481a00;
  background-clip: border-box;
  border: 2px solid #d9481a;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  transition: all .6s;
}

.outline-btn:hover {
  background-color: #d9481a;
  font-weight: 500;
}

.secondary-button {
  color: #d9481a;
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  margin-left: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  transition: all .4s;
  display: block;
}

.secondary-button:hover {
  color: #fff;
  background-color: #d9481a;
  border-color: #d9481a;
  font-weight: 500;
}

.block-center {
  margin-left: auto;
  margin-right: auto;
}

.nav-cta-group {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  justify-content: flex-end;
  align-items: center;
  display: flex;
}


/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  grid-column-gap: 3.5rem;
  grid-row-gap: 3.5rem;
  color: #fff;
  background-color: #000;
  background-image: url('../images/jpb-bg.png');
  background-position: 50% 100%;
  background-size: cover;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 80px;
  font-weight: 700;
  display: flex;
  position: relative;
  overflow: hidden;
}

.hero.no-bg {
  background-image: none;
  background-position: 0 0;
  background-size: auto;
}

.hero.left {
  justify-content: space-between;
  align-items: center;
}

.hero.bg-antecipa {
  background-image: url('../images/businessman.png');
  background-position: 100%;
  background-repeat: no-repeat;
  background-size: auto;
}

.hero.bg-globalpay {
  background-image: url('../images/global-pay.png');
  background-position: 100%;
  background-repeat: no-repeat;
  background-size: auto;
}

.hero.bg-credit {
  background-image: url('../images/bg-credit.avif');
  background-position: 100%;
  background-repeat: no-repeat;
  background-size: contain;
}

.primary-btn {
  text-align: center;
  -webkit-text-fill-color: inherit;
  mix-blend-mode: normal;
  background-color: #d9481a;
  background-clip: border-box;
  border: 2px solid #d9481a;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  transition: all .4s;
}

.primary-btn:hover {
  background-color: #a03716;
  border-color: #a03716;
}

.primary-btn.bg-l {
  padding-left: 40px;
  padding-right: 40px;
}

.quick-stack {
  padding-left: 0;
  padding-right: 0;
}

.solution-card {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  text-align: center;
  background-color: #fff;
  border-radius: 16px;
  flex-flow: column;
  padding: 40px;
  transition: all .3s;
  display: flex;
}

.solution-card:hover {
  transform: translate(0, -20px);
}

.col-spacious {
  padding: 56px;
}

.container-xl {
  max-width: 1300px;
}

.container-col {
  z-index: 2;
  grid-column-gap: 56px;
  grid-row-gap: 56px;
  color: #fff;
  text-align: center;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  max-width: 1300px;
  padding-top: 0;
  display: flex;
  position: static;
}

.container-col.gap-m {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  justify-content: center;
  align-items: flex-start;
}

.container-col.col-2 {
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.container-institucional {
  max-width: 1300px;
}

.container-institucional.flex {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.columns {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  justify-content: space-between;
  align-items: stretch;
  max-width: 1440px;
  margin-left: 0;
  margin-right: 0;
  display: flex;
}


/* ==========================================================================
   SEÇÃO: SOLUÇÕES
   ========================================================================== */
.solucoes {
  background-color: #000;
  background-image: url('../images/background-dots.jpg');
  background-position: 50% 30%;
  background-size: cover;
  padding-top: 0;
  padding-bottom: 80px;
}

.solucoes.no-bg {
  background-image: none;
  background-size: auto;
  padding-top: 80px;
}

.titulo2 {
  color: #ec5f08;
  text-align: center;
  margin-bottom: 32px;
  font-size: 40px;
  font-weight: 400;
  line-height: 72px;
}

.titulo2.left {
  text-align: left;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 48px;
}


/* ==========================================================================
   TIPOGRAFIA: HEADINGS
   ========================================================================== */
.hd-card-sm {
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 500;
}


/* ==========================================================================
   TIPOGRAFIA: PARÁGRAFOS / TEXTOS
   ========================================================================== */
.text-center-base {
  text-align: center;
}

.text-service-tag {
  color: #d9481a;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.hd-card-lg {
  text-align: center;
  padding-left: 40px;
  padding-right: 40px;
  font-weight: 500;
}

.hd-card-base {
  text-align: center;
  font-weight: 500;
}

.text-service-tag {
  color: #d9481a;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.text-solution-body, .text-solution-body {
  text-align: center;
}

.text-stat-bold {
  color: #d9481a;
  text-align: center;
  font-weight: 700;
}

.hd-eyebrow {
  color: #d9481a;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}


/* ==========================================================================
   SEÇÃO: INSTITUCIONAL / SOBRE
   ========================================================================== */
.institucional {
  -webkit-text-fill-color: inherit;
  background-color: #e4e4e4;
  background-image: url('../images/square-pattern.png');
  background-position: 0 0;
  background-size: 100px;
  background-clip: border-box;
  padding-top: 100px;
  padding-bottom: 100px;
}

.hd-hero-sub {
  text-align: center;
  object-fit: contain;
  width: auto;
  margin-bottom: 56px;
  padding-left: 180px;
  padding-right: 180px;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.hd-hero-sub.m-b {
  align-self: center;
  margin-top: 0;
  margin-bottom: 0;
}

.hd-hero-sub.m-b.left {
  text-align: left;
  align-self: flex-start;
  padding-left: 0;
  padding-right: 0;
}

.hd-hero-sub.primary-color {
  color: #d9481a;
  margin-top: 0;
  margin-bottom: 0;
}

.hd-hero-sub.left {
  text-align: left;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.text-note-italic {
  text-align: center;
  margin-top: 24px;
  font-style: italic;
  font-weight: 400;
}

.text-note-italic.left {
  text-align: left;
}

/* Animação de entrada do hero (reproduz o efeito IX3 original do Webflow) */
@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .badge {
  animation: hero-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.hd-hero-main {
  animation: hero-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hd-hero-sub {
  animation: hero-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

.hero-cta {
  animation: hero-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}


.hd-hero-main {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 64px;
  font-weight: 400;
  line-height: 72px;
}

.hd-hero-main.left {
  text-align: left;
}

.text-section-intro {
  text-align: center;
  margin-bottom: 24px;
  overflow: visible;
}

.block-centered {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.badge {
  text-transform: uppercase;
  border: 1px solid #d9481a;
  border-radius: 20px;
  justify-content: center;
  align-self: center;
  align-items: center;
  padding: .25rem 1.5rem;
  font-weight: 500;
  display: block;
}

.badge.left {
  align-self: flex-start;
  font-weight: 500;
}

.nav-buttons {
  float: right;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex: 1;
  justify-content: flex-end;
  align-items: stretch;
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
}

.btn-group {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  justify-content: center;
  display: flex;
}

.btn-group.vertical {
  flex-flow: column;
  width: 100%;
}

.brand {
  clear: none;
}


/* ==========================================================================
   OVERLAY (efeito de blur decorativo)
   ========================================================================== */
.orverlay {
  filter: blur(200px);
  background-color: #d9481a;
  border-radius: 9999px;
  width: 1454px;
  height: 765px;
  position: absolute;
  inset: 0% 0% auto auto;
}

.orverlay.o-left {
  filter: blur(5px) blur(200px);
  display: block;
  overflow: hidden;
  transform: translate(800px, -550px)rotate(-45deg);
}

.orverlay.o-left.op-5 {
  opacity: .39;
}

.orverlay.o-right {
  filter: blur(250px);
  background-color: #d9481a99;
  transform: translate(-1500px, -500px)rotate(60deg);
}

.orverlay.center {
  z-index: auto;
  opacity: .47;
  position: static;
  transform: translate(0, -300px);
}

.text-about-body {
  margin-top: 32px;
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 24px;
}

.hd-about-main {
  font-size: 40px;
  font-weight: 500;
  line-height: 48px;
}

.col-about-text {
  padding-right: 40px;
}

.menu-button {
  display: none;
}

/* ==========================================================================
   MOBILE NAV — hamburguer animado → X + bloco de CTAs
   ========================================================================== */

/* Bloco de CTAs dentro do nav-menu — oculto no desktop */
.mobile-nav-ctas {
  display: none;
}

@media screen and (max-width: 991px) {
  /* Container do botão — sem borda, sem padding, tamanho fixo */
  .menu-button {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    flex-shrink: 0;
    cursor: pointer;
  }

  .menu-button.w--open {
    background: transparent !important;
  }

  /* Esconde o caractere do icon-font do Webflow,
     reutiliza o elemento como barra do meio */
  .w-icon-nav-menu {
    font-size: 0 !important;
    display: block;
    width: 22px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  /* Esconde também o pseudo-elemento do icon-font */
  .w-icon-nav-menu:before {
    content: '' !important;
    display: none !important;
  }

  /* Barra superior e inferior via pseudo-elementos */
  .menu-button::before,
  .menu-button::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: transform 0.32s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .menu-button::before { transform: translate(-50%, -8px); }
  .menu-button::after  { transform: translate(-50%,  8px); }

  /* Estado ABERTO → X */
  .menu-button.w--open .w-icon-nav-menu {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu-button.w--open::before {
    transform: translate(-50%, 0) rotate(45deg);
  }

  .menu-button.w--open::after {
    transform: translate(-50%, 0) rotate(-45deg);
  }

  /* Linha divisória antes dos CTAs */
  .mobile-nav-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 20px 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 4px;
  }

  .mobile-nav-ib {
    display: block;
    text-align: center;
    padding: 13px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    color: #fff;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s;
  }

  .mobile-nav-ib:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
  }

  .mobile-nav-primary {
    display: block;
    text-align: center;
    padding: 14px 20px;
    background-color: #fff;
    border-radius: 6px;
    color: #0a0a0a;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
  }

  .mobile-nav-primary:hover {
    background-color: #e5e5e5;
    color: #0a0a0a;
  }

  .mobile-nav-secondary {
    display: block;
    text-align: center;
    padding: 14px 20px;
    background-color: #d9481a;
    border-radius: 6px;
    color: #fff;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
  }

  .mobile-nav-secondary:hover {
    background-color: #a03716;
    color: #fff;
  }
}

/* ==========================================================================
   MOBILE NAV — fullscreen glassmorphism overlay (menu aberto)
   ========================================================================== */

@keyframes overlay-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes overlay-links-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 991px) {
  /* Remove backdrop-filter da navbar no mobile — sem isso o overlay
     fica preso no "backdrop root" da navbar e não enxerga a página atrás */
  .navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* ── Overlay: fullscreen, glassmorphism ── */
  #w-nav-overlay-0 {
    position: fixed !important;
    inset: 0 !important;
    height: 100dvh !important;
    width: 100% !important;
    background: rgba(5, 4, 3, 0.60) !important;
    backdrop-filter: blur(80px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(80px) saturate(200%) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    animation: overlay-fade-in 0.28s ease both !important;
  }

  /* Garante que o logo + botão ✕ fiquem acima do overlay */
  .navbar > .container {
    position: relative;
    z-index: 2;
  }

  /* Nav-menu preenche o overlay, coluna centralizada */
  #w-nav-overlay-0 .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 100dvh !important;
    padding-top: 100px !important;
    padding-bottom: 0 !important;
    background: transparent !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    animation: overlay-links-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both !important;
  }

  /* Links de navegação: Prompt, grandes, centralizados */
  #w-nav-overlay-0 .nav-link,
  #w-nav-overlay-0 .nav-link-2,
  #w-nav-overlay-0 .nav-link-3 {
    font-family: 'Prompt', sans-serif !important;
    font-size: clamp(1.5rem, 7vw, 2.25rem) !important;
    font-weight: 500 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.82) !important;
    padding: 14px 24px !important;
    width: 100% !important;
    border-bottom: none !important;
    transition: color 0.2s ease !important;
  }

  #w-nav-overlay-0 .nav-link:hover,
  #w-nav-overlay-0 .nav-link-2:hover,
  #w-nav-overlay-0 .nav-link-3:hover {
    color: #ec5f08 !important;
  }

  #w-nav-overlay-0 .nav-link.active,
  #w-nav-overlay-0 .nav-link-2.active,
  #w-nav-overlay-0 .nav-link-3.active {
    color: #ec5f08 !important;
  }

  /* Bloco de CTAs: ancorado no fundo via margin-top: auto */
  #w-nav-overlay-0 .mobile-nav-ctas {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 24px 24px 56px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-top: auto !important;
    background: transparent !important;
  }
}


/* ==========================================================================
   SEÇÃO: INFRAESTRUTURA / DARK
   ========================================================================== */
.section {
  color: #d9481a;
  background-color: #000;
  background-image: radial-gradient(circle at 50% 166%, #ec5f0854, #0000001a), radial-gradient(circle at 65% 0, #d9481a80, #000 46%);
  padding-top: 60px;
  padding-bottom: 80px;
}

.section.bg-home {
  background-image: radial-gradient(circle at 65% 0, #d9481a80, #000 46%);
}

.section.globalpay-bg {
  background-image: radial-gradient(circle at 50% 166%, #ec5f0854, #0000001a), url('../images/global-pay-bg.jpg');
  background-repeat: repeat, no-repeat;
  background-size: auto, contain;
}

.container-dark {
  color: #fff;
  text-align: center;
  max-width: 1300px;
}

.cols-institucional {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.grid {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  grid-template-rows: auto;
  grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr) minmax(200px, 1fr) repeat(auto-fit, minmax(200px, 1fr));
  grid-template-areas: "Area";
  width: 100%;
  max-width: 1300px;
}

.feature-card {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background-color: #ffffff1a;
  border: 1px solid #ffffff1a;
  border-radius: 1rem;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 332px;
  padding: 2rem 2.5rem;
  display: flex;
  box-shadow: 0 10px 14px 8px #ff562117;
}

.feature-card.grid {
  width: auto;
}

.hd-section-desc {
  max-width: 730px;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.hd-section-desc.tamanh-livre {
  text-align: center;
  max-width: none;
}

.hd-section-desc.large {
  max-width: 900px;
}

.hd-section-title {
  color: #fff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 56px;
  font-size: 40px;
  font-weight: 400;
  line-height: 48px;
}

.hd-section-title.large {
  max-width: 800px;
}

.hd-section-title.small {
  width: 600px;
}

.title-card {
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.title-card.p-1 {
  padding-left: 10px;
  padding-right: 10px;
}

.p-card {
  padding-left: 0;
  padding-right: 0;
  font-size: 16px;
  line-height: 24px;
}

.p-card.p-1 {
  padding-left: 10px;
  padding-right: 10px;
}


/* ==========================================================================
   SEÇÃO: PERFIL DO CLIENTE
   ========================================================================== */
.section-perfil {
  background-color: #e4e4e4;
  padding-top: 140px;
  padding-bottom: 140px;
}

.img-institutional {
  float: right;
  max-width: 80%;
}

.container-perfil {
  max-width: 1300px;
}

.col-perfil-content {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  flex-flow: column;
  padding-left: 60px;
  padding-right: 0;
  display: block;
  position: static;
}

.cols-service-detail {
  grid-column-gap: 56px;
  grid-row-gap: 56px;
  display: flex;
}

.profile-card {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  background-color: #fff;
  border-radius: 16px;
  flex-flow: column;
  align-items: flex-start;
  width: 400px;
  padding: 32px;
  transition: all .4s;
  display: flex;
}

.profile-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 20px -4px #00000026;
}

.profile-cards-row {
  grid-column-gap: 56px;
  grid-row-gap: 56px;
  margin-top: 56px;
  margin-bottom: 56px;
  display: flex;
}

.list, .list-2 {
  padding-left: 20px;
}

.img-profile-negative {
  align-self: flex-start;
  max-width: 319px;
}

.bold-text {
  display: inline;
}

.img-profile-positive {
  align-self: flex-start;
}

.profile-intro {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  flex-flow: column;
  max-width: 550px;
  display: flex;
}

.text-platform-desc {
  text-align: left;
  width: 100%;
  max-width: 1500px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 24px;
}

.platform-content {
  grid-column-gap: 56px;
  grid-row-gap: 56px;
  flex-flow: row;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1250px;
  display: flex;
  overflow: visible;
}

.text-span, .text-span-2 {
  color: #fff;
  font-weight: 500;
}

.text-span-3 {
  color: #d9481a;
}

.bold-text-2 {
  font-weight: 700;
}


/* ==========================================================================
   COMPONENTE: CTA BOX
   ========================================================================== */
.cta-box {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  opacity: 1;
  background-image: url('../images/square-pattern-alfa-5.png'), linear-gradient(315deg, #1a0803 17%, #43190c 40%, #5a2211 50%, #43190c 59%, #1a0803 82%);
  background-position: 0 0, 0 0;
  background-repeat: repeat, repeat;
  background-size: 100px, auto;
  border: 1px solid #c1c1c133;
  border-radius: 24px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  padding-top: 80px;
  padding-bottom: 80px;
  box-shadow: 0 30px 50px #d9481a26, 0 42px 90px 3px #d9481a33;
}


/* ==========================================================================
   SEÇÃO: CTA / CONVERSÃO
   ========================================================================== */
.section-cta-wrapper {
  padding-top: 0;
  padding-bottom: 40px;
}


/* ==========================================================================
   SEÇÃO: PLATAFORMA / CORE BANCÁRIO
   ========================================================================== */
.section-plataforma {
  padding-top: 60px;
  padding-bottom: 60px;
}


/* ==========================================================================
   TIPOGRAFIA: TEXT BLOCKS
   ========================================================================== */
.marquee-text-xl {
  color: #d9481a;
  white-space: nowrap;
  margin-left: 80px;
  font-family: Prompt, sans-serif;
  font-size: 208px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}


/* ==========================================================================
   COMPONENTE: MARQUEE INFINITO
   ========================================================================== */
.infinite-marquee {
  width: 100%;
  overflow: hidden;
}


/* ==========================================================================
   SEÇÃO: FOOTER
   ========================================================================== */
.section-footer {
  color: #fff;
  padding-top: 60px;
}

.divider-line {
  line-height: 1px;
}

.marquee-text-sm {
  text-align: right;
  white-space: nowrap;
  margin-left: 10px;
  font-size: 24px;
  flex-shrink: 0;
}

.text-disclaimer {
  text-align: justify;
  line-height: 24px;
}

.text-address {
  text-align: left;
}


/* ==========================================================================
   FOOTER: COMPONENTES
   ========================================================================== */
.footer-light {
  color: #fff;
  border-bottom: 1px solid #e4ebf3;
  width: 100%;
  max-width: 1300px;
  padding: 80px 30px 40px;
  position: relative;
}

.container-footer-inner {
  width: 100%;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.footer-wrapper-two {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.footer-colum {
  grid-column-gap: 36px;
  grid-row-gap: 36px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 400px;
  display: flex;
}

.footer-title {
  color: #d9481a;
  font-size: 12px;
  font-weight: 500;
  line-height: 24px;
}

.footer-link-two {
  color: #fff;
  text-align: left;
  margin-top: 0;
  font-size: 16px;
  text-decoration: none;
}

.footer-link-two:hover {
  color: #d9481a;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.footer-social-link:hover {
  color: #ec5f08;
  border-color: #ec5f08;
  background-color: rgba(236, 95, 8, 0.08);
}

.footer-form {
  width: 315px;
  max-width: 100%;
  margin-bottom: 0;
}

.footer-form-block {
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  display: flex;
}

.footer-form-field {
  border: 1px solid #a6b1bf;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  height: 48px;
  margin-bottom: 0;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 22px;
  transition: all .2s;
}

.footer-form-field:hover, .footer-form-field:focus {
  border-color: #76879d;
}

.footer-form-field::placeholder {
  color: #1a1b1fcc;
  font-size: 14px;
  line-height: 22px;
}

.footer-form-submit {
  background-color: #1a1b1f;
  background-image: url('../images/');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: auto;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  width: 50px;
  height: 48px;
  transition: all .2s;
}

.footer-form-submit:hover {
  background-color: #3a4554;
}

.footer-divider-two {
  background-color: #e4ebf333;
  width: 100%;
  height: 1px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.footer-bottom {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.footer-copyright {
  color: #3a4554;
}

.footer-social-block-two {
  justify-content: flex-start;
  align-items: center;
  margin-top: 0;
  margin-left: -12px;
  display: flex;
}

.footer-social-link {
  margin-left: 12px;
}

.text-footer-block {
  text-align: left;
  width: 100%;
  font-size: 16px;
  line-height: 24px;
}

.footer-grid {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1300px;
  display: flex;
}

.footer-container {
  z-index: 2;
  grid-column-gap: 36px;
  grid-row-gap: 36px;
  color: #fff;
  text-align: center;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  max-width: 1300px;
  padding-top: 60px;
  display: flex;
  position: static;
}

/* Keyframes do marquee infinito
   translateX(%) é relativo à largura DO PRÓPRIO ELEMENTO.
   Com width:max-content nos rows, -50% = exatamente 1 item (2 cópias)
   e -33.333% = exatamente 1 item (3 cópias). Loop perfeito sem salto. */
@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-33.333%); }
  to   { transform: translateX(0); }
}

.marquee-row {
  flex-flow: row;
  display: flex;
  width: max-content;          /* largura = 2 × item → -50% bate certo */
  animation: marquee-left 25s linear infinite;
}

.marquee-item {
  text-align: right;
  white-space: nowrap;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  overflow: visible;
}

.marquee-row-pt {
  text-align: left;
  flex-flow: row;
  justify-content: flex-start;
  align-items: stretch;
  display: flex;
  width: max-content;          /* largura = 3 × item → -33.333% bate certo */
  animation: marquee-right 35s linear infinite;
}

.cols-perfil {
  margin-left: 0;
  margin-right: 0;
}

.img-port {
  vertical-align: baseline;
  display: block;
}

.col-perfil-image {
  padding-left: 0;
  padding-right: 0;
}

.bold-text-3 {
  font-size: 18px;
}


/* ==========================================================================
   PÁGINA: QUEM SOMOS
   ========================================================================== */
.container-quem-somos {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  text-align: center;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  display: flex;
}

.hd-about-section {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 40px;
  font-weight: 500;
  line-height: 48px;
}

.hd-value-label {
  color: #d9481a;
  font-weight: 500;
}

.values-card {
  background-color: #fff;
  color: #0a0a0a;
  border-radius: 16px;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  display: flex;
}

.values-card.vertical {
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  height: 284px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.text-platform-label {
  font-size: 16px;
}

.values-layout {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  justify-content: space-between;
  align-self: stretch;
  align-items: center;
  display: flex;
}

.values-col-left {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 360px;
  display: flex;
}

.values-col-right {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex-flow: column;
  flex: 1;
  display: flex;
}

.text-mission-body, .text-vision-body {
  text-align: left;
  font-size: 16px;
}

.text-value-body, .text-value-body, .text-value-body, .text-value-body, .text-value-body, .text-value-body, .text-sm {
  font-size: 16px;
}

.text-service-tag {
  color: #d9481a;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.text-card-body {
  text-align: center;
}

.text-card-tag {
  color: #d9481a;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.text-card-tag.primary-color-invert {
  color: #fff;
}

.hd-pillar-title {
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 500;
}

.hd-pillar-title.primary-color-invert {
  font-size: 32px;
  font-weight: 700;
}

.cols-solutions-alt {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  justify-content: space-between;
  align-items: stretch;
  max-width: 1440px;
  margin-left: 0;
  margin-right: 0;
  display: block;
}

.text-col-body {
  text-align: center;
}

.col-card {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  text-align: center;
  background-color: #fff;
  color: #0a0a0a;
  border-radius: 16px;
  flex-flow: column;
  flex: 1;
  padding: 40px;
  transition: all .3s;
  display: flex;
}

.col-card:hover {
  transform: translate(0, -20px);
}

.col-card.primary-color {
  color: #fff;
  background-color: #d9481a;
}

.hd-feature-title {
  text-align: center;
  padding-left: 40px;
  padding-right: 40px;
  font-weight: 500;
}

.cards-row {
  grid-column-gap: 36px;
  grid-row-gap: 36px;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.hero-text {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 580px;
  display: flex;
}

.hero-content {
  grid-column-gap: 26px;
  grid-row-gap: 26px;
  flex-flow: column;
  justify-content: center;
  align-self: flex-start;
  align-items: flex-start;
  width: 580px;
  display: flex;
}

.hd-comparison-main {
  color: #d9481a;
  text-align: center;
  width: 780px;
  font-weight: 600;
}

.text-comparison-body {
  text-align: center;
  font-size: 18px;
  line-height: 32px;
}


/* ==========================================================================
   PÁGINA: ANTECIPAÇÃO DE RECEBÍVEIS
   ========================================================================== */
.comparison-section {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  flex-flow: column;
  align-items: center;
  display: flex;
}

.hd-comparison-sub {
  text-align: center;
  font-weight: 600;
}

.hd-comparison-sub.white {
  color: #fff;
}

.text-comparison-list {
  text-align: center;
  font-size: 16px;
  line-height: 32px;
}

.text-comparison-list.white {
  color: #fff;
}

.comparison-card {
  grid-column-gap: 15px;
  grid-row-gap: 15px;
  background-color: #e7ecef;
  border-radius: 24px;
  flex-flow: column;
  justify-content: center;
  width: 600px;
  padding: 56px;
  display: flex;
}

.comparison-icons {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.comparison-cards {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  justify-content: center;
  align-items: center;
  display: flex;
}


/* ==========================================================================
   COMPONENTE: MODELO JPB (comparação)
   ========================================================================== */
.modelo-jpb {
  grid-column-gap: 15px;
  grid-row-gap: 15px;
  background-color: #d9481a;
  border-radius: 24px;
  flex-flow: column;
  justify-content: center;
  padding: 56px;
  display: flex;
}

.steps-row {
  grid-column-gap: 46px;
  grid-row-gap: 46px;
  justify-content: center;
  display: flex;
}

.slug {
  letter-spacing: 5px;
}

.info-card {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  color: #333;
  background-color: #e7ecef;
  border-radius: 16px;
  flex-flow: column;
  align-items: center;
  width: 301px;
  padding: 32px 24px;
  font-size: 16px;
  line-height: 24px;
  display: flex;
}

.img-icon-sm {
  max-width: 48px;
}

.text-card-desc {
  font-size: 16px;
  line-height: 32px;
}

.info-cards-row {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  padding-top: 60px;
  padding-bottom: 60px;
  display: flex;
}

.section-cta-block {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin-top: 60px;
  display: flex;
}

.section-cta-block.large {
  color: #fff;
  text-align: center;
  max-width: 900px;
}

.text-card-title-sm {
  color: #d9481a;
  font-weight: 600;
}

.container-service-page {
  grid-column-gap: 80px;
  grid-row-gap: 80px;
  max-width: 1300px;
  display: block;
}

.hd-service-page {
  color: #d9481a;
  width: auto;
  font-size: 38px;
  font-weight: 600;
  line-height: 48px;
}


/* ==========================================================================
   SEÇÃO: DIVISOR (barra branca)
   ========================================================================== */
.section-divider {
  background-color: #fff;
  height: 48px;
}

/* ==========================================================================
   SEÇÃO: VISOR DE COTAÇÃO (TICKER)
   ========================================================================== */
.section-ticker {
  background-color: #060606;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.ticker-inner {
  display: flex;
  align-items: stretch;
}

.ticker-label {
  background-color: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.ticker-label::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  bottom: 0;
  width: 10px;
  background-color: var(--color-primary);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.8;
  animation: ticker-blink 1.4s ease-in-out infinite;
}

@keyframes ticker-blink {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.2; }
}

.ticker-track-wrapper {
  overflow: hidden;
  flex: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0px, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0px, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 55s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  cursor: default;
  transition: background 0.2s ease;
}

.ticker-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.ticker-item-symbol {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
}

.ticker-item-icon {
  flex-shrink: 0;
  display: block;
}

.ticker-item-flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
}

.ticker-item-crypto {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.ticker-item-name {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.ticker-item-price {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.ticker-item-change {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 3px;
}

.ticker-item-change.up {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
}

.ticker-item-change.down {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

.ticker-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 4px;
  flex-shrink: 0;
}

.ticker-loading {
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
}

.ticker-error {
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(248, 113, 113, 0.6);
}

.hd-feature-label {
  color: #d9481a;
  font-weight: 600;
}

.feature-item {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  flex-flow: row;
  align-items: center;
  width: auto;
  font-size: 16px;
  line-height: 24px;
  display: flex;
}

.feature-item.how-to-work {
  color: #333;
  background-color: #e7ecef;
  border-radius: 16px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 700px;
  padding: 32px;
}

.feature-item-text {
  text-align: left;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.service-features {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  width: 580px;
}

.side-card {
  background-color: #fff;
  border-radius: 16px;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  width: 600px;
  padding: 24px;
  display: flex;
}


/* ==========================================================================
   SIMULADOR DE CÂMBIO
   ========================================================================== */

/* Card wrapper */
.simulador-card {
  padding: 0 !important;
  overflow: hidden;
  align-items: stretch !important;
  justify-content: flex-start !important;
  min-height: 520px;
}

/* Header */
.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 14px;
  border-bottom: 1px solid #f0f0f0;
}

.sim-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.sim-badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(236, 95, 8, 0.08);
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Tabs */
.sim-tabs {
  display: flex;
  background: #f2f2f2;
  border-radius: 8px;
  margin: 14px 24px;
  padding: 3px;
  gap: 2px;
}

.sim-tab {
  flex: 1;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: #888;
  background: none;
  border: none;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.2;
}

.sim-tab-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.55;
  font-style: normal;
}

.sim-tab.active {
  background: #fff;
  color: #1a1a1a;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Panels */
.sim-panel {
  display: none;
  flex-direction: column;
  gap: 11px;
  padding: 0 24px 24px;
}

.sim-panel.active {
  display: flex;
}

/* --- ESPÉCIE --- */
.sim-panel-desc {
  font-family: var(--font-body);
  font-size: 12px;
  color: #999;
  margin: 0;
}

.sim-currency-tabs {
  display: flex;
  gap: 8px;
}

.sim-currency-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 8px;
  border: 1.5px solid #e8e8e8;
  border-radius: 9px;
  background: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.15s;
}

.sim-currency-tab.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(236, 95, 8, 0.04);
}

.sim-currency-tab img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

.sim-rates-grid {
  display: flex;
  align-items: stretch;
  background: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.sim-rate-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  gap: 3px;
}

.sim-rate-divider {
  width: 1px;
  background: #e8e8e8;
  flex-shrink: 0;
  margin: 16px 0;
}

.sim-rate-label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sim-rate-sub {
  font-family: var(--font-body);
  font-size: 10px;
  color: #bbb;
}

.sim-rate-value {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-top: 6px;
}

.sim-rate-note {
  font-family: var(--font-body);
  font-size: 11px;
  color: #bbb;
  text-align: center;
  line-height: 1.5;
}

/* Toggle Comprar / Vender */
.sim-toggle {
  display: flex;
  border: 1.5px solid #e4e4e4;
  border-radius: 9px;
  overflow: hidden;
}

.sim-toggle-btn {
  flex: 1;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #888;
  background: #fff;
  border: none;
  padding: 10px 0;
  cursor: pointer;
  transition: all 0.18s;
}

.sim-toggle-btn:first-child {
  border-right: 1.5px solid #e4e4e4;
}

.sim-toggle-btn.active {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

/* Display de moeda fixo (espécie sem dropdown) */
.sim-currency-display {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

/* Bandeira do BRL no indicador */
.sim-brl-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-brl-flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

/* --- ENVIAR / RECEBER --- */
.sim-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #555;
  margin: 0;
}

.sim-input-row {
  display: flex;
  align-items: center;
  border: 1.5px solid #e4e4e4;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s;
}

.sim-input-row:focus-within {
  border-color: var(--color-primary);
}

.sim-input {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: #111;
  border: none;
  outline: none;
  padding: 13px 16px;
  width: 0;
  min-width: 0;
  background: transparent;
  text-align: right;
  letter-spacing: 0.01em;
}

.sim-select-wrapper {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-left: 1.5px solid #e4e4e4;
  height: 52px;
  flex-shrink: 0;
}

.sim-select-flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.sim-select {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #111;
  border: none;
  outline: none;
  background: transparent url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0 center;
  padding-right: 14px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.sim-brl-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid #e4e4e4;
  border-radius: 10px;
  padding: 13px 16px;
  background: #fafafa;
  font-family: var(--font-body);
  font-size: 14px;
  color: #555;
}

.sim-brl-code {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.sim-breakdown {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #f0f0f0;
  padding-top: 2px;
}

.sim-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: #666;
  border-bottom: 1px solid #f5f5f5;
}

.sim-breakdown-row:last-child {
  border-bottom: none;
}

.sim-breakdown-val {
  font-weight: 500;
  color: #333;
}

.sim-total-box {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 1px solid #eee;
}

.sim-total-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sim-total-value {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

.sim-vet {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--color-primary);
  text-align: center;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sim-cta {
  width: 100% !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.sim-disclaimer {
  font-family: var(--font-body);
  font-size: 10px;
  color: #bbb;
  text-align: center;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   PÁGINA: PAGAMENTOS GLOBAIS / CRÉDITO
   ========================================================================== */
.service-layout {
  grid-column-gap: 80px;
  grid-row-gap: 80px;
  display: flex;
}

.container-detail {
  width: 0;
  max-width: 1300px;
}

.steps-list {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  flex-flow: column;
  justify-content: center;
  display: flex;
}

.image-steps-layout {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  display: flex;
}

.img-service-main {
  width: 50%;
  max-width: none;
  height: auto;
}

.container-faq {
  color: #333;
  max-width: 1300px;
  font-size: 16px;
}

.faq-grid {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex-flow: column;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  grid-auto-flow: row dense;
  align-content: flex-start;
  height: 100%;
  display: grid;
}

.faq-item {
  background-color: #e7ecef;
  border-radius: 8px;
  flex-flow: column;
  width: 634px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.18s;
}
.faq-item:hover {
  background-color: #dde3e8;
}

/* Linha clicável: pergunta + ícone */
.faq-question-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px;
  width: 100%;
  box-sizing: border-box;
}

.hd-faq-question {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.img-faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Área de resposta — colapsada por padrão */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease, padding 0.32s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 24px;
}


.text-faq-answer {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}


/* ==========================================================================
   SIMULADOR DE EMPRÉSTIMO BTC  (tema light)
   ========================================================================== */
.emp-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: visible;
  width: 100%;
  min-width: 320px;
  max-width: 420px;
  font-family: var(--font-body);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  position: relative;
}

.emp-header {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 16px 16px 0 0;
  padding: 18px 24px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.emp-header-icon {
  width: 34px;
  height: 34px;
}

.emp-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.emp-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1;
}

.emp-subtitle {
  font-size: 11px;
  color: #9ca3af;
  margin: 0;
}

.emp-btc-price {
  margin-left: auto;
  text-align: right;
}

.emp-btc-price-val {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #f7931a;
}

.emp-btc-price-label {
  font-size: 10px;
  color: #9ca3af;
}

.emp-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.emp-field-label {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.emp-prefix-row {
  display: flex;
  align-items: center;
  background: #f9fafb;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.15s;
}

.emp-prefix-row:focus-within {
  border-color: #ec5f08;
}

.emp-currency-prefix {
  background: #f3f4f6;
  border-right: 1.5px solid #d1d5db;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
}

.emp-loan-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  width: 0;
  min-width: 0;
  text-align: right;
  letter-spacing: 0.01em;
}

.emp-loan-input::placeholder {
  color: #d1d5db;
}

/* Chips de sugestão de valor */
.emp-loan-suggestions {
  display: none;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.emp-loan-suggestions.visible {
  display: flex;
}
.emp-loan-chip {
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #374151;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.emp-loan-chip:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Prazo tabs */
.emp-prazo-tabs {
  display: flex;
  gap: 8px;
}

.emp-prazo-tab {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid #d1d5db;
  background: #f9fafb;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  line-height: 1.2;
}

.emp-prazo-tab.active {
  border-color: #ec5f08;
  background: rgba(236,95,8,0.06);
  color: #ec5f08;
  font-weight: 600;
}

.emp-prazo-tab.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.emp-prazo-soon {
  display: block;
  font-size: 9px;
  color: #9ca3af;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 1px;
}

/* LTV slider section */
.emp-ltv-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.emp-ltv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.emp-ltv-display {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.emp-ltv-display > span:last-child {
  font-size: 13px;
  color: #9ca3af;
  font-weight: 400;
}

.emp-ltv-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.emp-risk-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.emp-risk-badge.conservador {
  background: rgba(22,163,74,0.1);
  color: #16a34a;
  border: 1px solid rgba(22,163,74,0.25);
}

.emp-risk-badge.moderado {
  background: rgba(217,119,6,0.1);
  color: #d97706;
  border: 1px solid rgba(217,119,6,0.25);
}

/* LTV help button */
.emp-ltv-help {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1.5px solid #d1d5db;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.15s;
}

.emp-ltv-help:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

/* LTV popup */
.emp-ltv-popup {
  display: none;
  position: absolute;
  right: 0;
  top: 36px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  z-index: 200;
  width: 260px;
  font-size: 12px;
  color: #374151;
  line-height: 1.6;
}

.emp-ltv-popup.open {
  display: block;
}

.emp-ltv-popup-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.emp-ltv-popup p {
  margin: 0 0 7px;
}

.emp-ltv-popup-close {
  display: block;
  width: 100%;
  padding: 7px;
  background: #f3f4f6;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  color: #6b7280;
  cursor: pointer;
  font-family: var(--font-body);
  margin-top: 6px;
}

.emp-ltv-popup-close:hover {
  background: #e5e7eb;
}

/* Custom range slider */
.emp-slider-wrapper {
  position: relative;
}

.emp-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #16a34a 0%, #eab308 50%, #d97706 100%);
  outline: none;
  cursor: pointer;
}

.emp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #ec5f08;
  box-shadow: 0 0 0 3px rgba(236,95,8,0.2), 0 2px 4px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: box-shadow 0.15s;
}

.emp-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 5px rgba(236,95,8,0.25), 0 2px 4px rgba(0,0,0,0.12);
}

.emp-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #ec5f08;
  cursor: pointer;
}

.emp-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}

.emp-slider-labels span {
  font-size: 10px;
  color: #9ca3af;
}

/* Results breakdown */
.emp-breakdown {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.emp-result-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.emp-result-label {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

.emp-result-label.strong {
  font-weight: 600;
  color: #111827;
}

.emp-result-val {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  text-align: right;
  flex-shrink: 0;
}

.emp-result-val.danger {
  color: #dc2626;
}

.emp-result-val.highlight {
  font-size: 13px;
  color: #111827;
}

.emp-divider-thin {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2px 0;
}

/* BTC total box */
.emp-total-box {
  background: rgba(247,147,26,0.07);
  border: 1px solid rgba(247,147,26,0.3);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.emp-total-label {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.emp-total-btc {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #ea580c;
}

.emp-total-btc-sub {
  font-size: 11px;
  color: #9ca3af;
  text-align: right;
}

/* CTA */
.emp-cta {
  display: block;
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  box-sizing: border-box;
}

.emp-cta:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.emp-disclaimer {
  font-size: 10px;
  color: #9ca3af;
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

/* Badge de promoção na taxa de serviço */
.sim-promo-badge {
  display: inline-block;
  background: rgba(236,95,8,0.1);
  color: var(--color-primary);
  border: 1px solid rgba(236,95,8,0.3);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1px 5px;
  vertical-align: middle;
  margin-left: 5px;
  text-transform: uppercase;
  font-family: var(--font-body);
}

/* Indicador de cotação em cache (câmbio e empréstimo) */
.api-cache-badge {
  display: none;
  font-family: var(--font-body);
  font-size: 10px;
  color: #b45309;
  background: rgba(217,119,6,0.08);
  border: 1px solid rgba(217,119,6,0.2);
  border-radius: 6px;
  padding: 4px 10px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.api-cache-badge.visible {
  display: block;
}

/* ==========================================================================
   PÁGINA: 404
   ========================================================================== */
.utility-page-wrap {
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  max-height: 100%;
  display: flex;
}

.utility-page-content {
  text-align: center;
  flex-direction: column;
  width: 260px;
  display: flex;
}

.utility-page-form {
  flex-direction: column;
  align-items: stretch;
  display: flex;
}

/* ==========================================================================
   BREAKPOINT INTERMEDIÁRIO — iPad landscape / laptop pequeno (992–1280px)
   Cobre o "dead zone" entre o desktop e o mobile (991px)
   ========================================================================== */
@media screen and (min-width: 992px) and (max-width: 1280px) {
  /* Safety net: impede overflow horizontal na página toda */
  .body {
    overflow-x: hidden;
  }

  /* Navbar: reduz padding lateral */
  .navbar {
    padding-left: 32px;
    padding-right: 32px;
  }

  /* Hero: título menor + padding lateral reduzido */
  .hd-hero-main {
    font-size: 52px;
    line-height: 60px;
  }

  .hero {
    padding-left: 40px;
    padding-right: 40px;
  }

  /* Hero sub: padding lateral excessivo (180px) reduzido */
  .hd-hero-sub {
    padding-left: 60px;
    padding-right: 60px;
  }

  /* Todos os grandes containers: forçar width 100% + padding seguro */
  .container-xl,
  .container-institucional,
  .cols-institucional,
  .container-perfil,
  .container-dark,
  .cols-cta {
    width: 100%;
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
  }

  /* Layouts flex/grid de duas colunas que podem estourar */
  .platform-content,
  .cols-institucional,
  .service-layout,
  .image-steps-layout,
  .cols-solutions-alt {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Footer: garantir que não estoure */
  .footer-light,
  .footer-grid,
  .footer-container,
  .footer-wrapper-two {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 40px;
    padding-right: 40px;
  }

  .footer-grid {
    flex-wrap: wrap;
    gap: 32px;
  }

  /* Cards com width fixo: deixar o flex pai decidir o tamanho */
  .comparison-card,
  .feature-item.how-to-work,
  .service-features,
  .side-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Info-cards: 4 cards × 301px + gaps = 1300px > viewport. Distribuir proporcionalmente */
  .info-cards-row {
    gap: 20px;
  }

  .info-card {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  /* Título de seção com width fixo */
  .hd-section-title.small,
  .hd-comparison-main {
    width: 100%;
    max-width: 100%;
  }

  /* FAQ: itens com width: 634px fixo estouram as colunas 1fr do grid */
  .faq-grid {
    width: 100%;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
  }

  .faq-item {
    width: auto;
    min-width: 0;
  }
}

@media screen and (max-width: 991px) {
  .navbar {
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
  }

  .nav-menu {
    background-color: #1a1a1a;
  }

  .container {
    grid-column-gap: 8px;
    grid-row-gap: 8px;
    flex-flow: row;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    min-width: auto;
    padding-top: 0;
    display: flex;
  }

  .secondary-button {
    width: auto;
  }

  .hero {
    padding-top: 140px;
    padding-bottom: 40px;
  }

  .hero.bg-credit {
    background-position: -30%;
    background-size: cover;
  }

  .primary-btn {
    width: auto;
    font-size: 16px;
  }

  .primary-btn.bg-l {
    font-size: 16px;
  }

  .solution-card {
    justify-content: space-between;
    align-items: center;
  }

  .container-xl {
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding-left: 60px;
    padding-right: 60px;
    display: flex;
  }

  .container-col {
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    justify-content: center;
    align-items: center;
    padding-left: 40px;
    padding-right: 40px;
  }

  .columns {
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    flex-flow: column;
    justify-content: center;
    align-items: stretch;
    max-width: 100%;
  }

  .titulo2.left {
    text-align: center;
  }

  .hd-card-sm {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 24px;
    line-height: 24px;
  }

  .text-service-tag {
    display: block;
  }

  .hd-card-lg {
    font-size: 24px;
    line-height: 24px;
  }

  .hd-card-base {
    font-size: 18px;
    line-height: 24px;
  }

  .text-service-tag {
    display: block;
    overflow: visible;
  }

  .text-stat-bold {
    display: block;
  }

  .institucional {
    padding-left: 60px;
    padding-right: 60px;
  }

  .hd-hero-sub {
    padding-left: 80px;
    padding-right: 80px;
    font-size: 18px;
    line-height: 32px;
  }

  .hd-hero-sub.left {
    text-align: center;
  }

  .hd-hero-main {
    font-size: 48px;
    line-height: 56px;
  }

  .hd-hero-main.left {
    text-align: center;
  }

  .badge.left {
    text-align: center;
    align-self: center;
  }

  .nav-buttons {
    flex: 1;
    order: 0;
    justify-content: flex-end;
    align-items: center;
  }

  .btn-group {
    flex-flow: row;
    justify-content: space-between;
    align-items: stretch;
    width: auto;
  }

  .brand {
    order: -9999;
  }

  .orverlay.o-left {
    transform: translate(900px, -700px)rotate(-45deg);
  }

  .text-about-body {
    padding-left: 100px;
    padding-right: 100px;
    font-size: 14px;
  }

  .hd-about-main {
    padding-left: 60px;
    padding-right: 60px;
    font-size: 32px;
    line-height: 40px;
  }

  .col-about-text {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }

  .menu-button {
    order: 9999;
    display: flex !important;
  }

  .section {
    padding-bottom: 0;
  }

  .cols-institucional {
    flex-flow: column;
    align-items: center;
    width: auto;
    max-width: none;
    display: block;
  }

  .grid {
    grid-template-rows: auto auto;
    grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr);
    width: 100%;
  }

  .feature-card {
    width: auto;
  }

  .hd-section-desc {
    padding-left: 60px;
    padding-right: 60px;
    font-size: 18px;
  }

  .hd-section-desc.tamanh-livre {
    text-align: center;
  }

  .hd-section-title {
    padding-left: 60px;
    padding-right: 60px;
    font-size: 32px;
    line-height: 40px;
  }

  .title-card {
    font-size: 18px;
  }

  .section-perfil {
    width: 100%;
    padding: 100px 20px;
  }

  .img-institutional {
    float: none;
    max-width: 70%;
    display: block;
  }

  .container-perfil {
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    display: flex;
  }

  .col-perfil-content {
    text-align: center;
    justify-content: space-between;
    align-items: center;
    padding-top: 56px;
    padding-left: 0;
    display: flex;
  }

  .profile-cards-row {
    width: 100%;
    display: flex;
  }

  .text-platform-desc {
    text-align: center;
    width: auto;
    padding-left: 80px;
    padding-right: 80px;
  }

  .platform-content {
    flex-flow: column;
    width: 100%;
  }

  .bold-text-2 {
    color: #ec5f08;
    font-size: 24px;
    font-weight: 500;
  }

  .cta-box {
    width: auto;
    padding-left: 60px;
    padding-right: 60px;
  }

  .text-disclaimer {
    margin-bottom: 32px;
  }

  .text-address {
    text-align: center;
  }

  .container-footer-inner {
    max-width: 728px;
  }

  .footer-wrapper-two {
    flex-wrap: wrap;
  }

  .footer-colum {
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding-left: 80px;
    padding-right: 80px;
  }

  .footer-form {
    width: 100%;
    margin-top: 40px;
  }

  .footer-form-container {
    max-width: 350px;
  }

  .text-footer-block {
    text-align: center;
    width: auto;
  }

  .footer-grid {
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    flex-flow: column;
    width: 100%;
  }

  .footer-container {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    padding-bottom: 60px;
    padding-left: 60px;
    padding-right: 60px;
  }

  .col-about-image {
    justify-content: center;
    align-self: center;
    align-items: center;
    margin-top: 100px;
    padding-left: 0;
    padding-right: 0;
    display: flex;
  }

  .cols-perfil {
    flex-flow: column;
    align-items: center;
    width: 100%;
    display: block;
  }

  .img-port {
    width: 100%;
    overflow: clip;
  }

  .hero-cta {
    flex-flow: column;
    order: 0;
    justify-content: space-between;
    align-self: auto;
    align-items: center;
    width: auto;
    display: flex;
  }

  .cta-actions {
    flex-flow: column;
    align-items: center;
    width: auto;
    display: flex;
  }

  .img-footer-logo {
    width: 120px;
  }

  .hd-value-label {
    margin-top: 10px;
  }

  .values-card.vertical {
    height: auto;
  }

  .values-layout {
    flex-flow: column;
    align-items: stretch;
  }

  .values-col-left {
    align-items: stretch;
    width: auto;
  }

  .text-service-tag {
    display: block;
    overflow: visible;
  }

  .text-card-tag {
    display: block;
  }

  .hd-pillar-title {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 24px;
    line-height: 24px;
  }

  .cols-solutions-alt {
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    flex-flow: column;
    justify-content: center;
    align-items: stretch;
    max-width: 100%;
  }

  .col-card {
    justify-content: space-between;
    align-items: center;
  }

  .hd-feature-title {
    font-size: 24px;
    line-height: 24px;
  }

  .cards-row {
    flex-flow: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-content {
    justify-content: center;
    align-items: center;
    width: auto;
  }

  .hd-comparison-main {
    width: auto;
  }

  .text-comparison-body {
    width: 90%;
  }

  .text-comparison-list {
    font-size: 16px;
    line-height: 32px;
  }

  .comparison-card {
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .comparison-cards {
    flex-flow: column;
  }

  .modelo-jpb {
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .steps-row {
    flex-flow: column;
  }

  .info-card {
    width: 354px;
  }

  .info-cards-row {
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
    width: auto;
  }

  .feature-item.how-to-work, .service-features, .side-card {
    width: auto;
  }

  .service-layout, .image-steps-layout {
    flex-flow: column;
  }

  .img-service-main {
    margin-left: auto;
    margin-right: auto;
  }

  .faq-grid {
    padding-bottom: 100px;
    padding-left: 32px;
    padding-right: 32px;
    display: flex;
  }

  .faq-item {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .navbar {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero.bg-credit {
    background-position: 50%;
  }

  .container-col {
    padding-top: 0;
  }

  .titulo2, .titulo2.left {
    font-size: 32px;
    line-height: 40px;
  }

  .hd-hero-sub {
    padding-left: 0;
    padding-right: 0;
    line-height: 32px;
  }

  .hd-hero-main {
    font-size: 40px;
    line-height: 48px;
  }

  .text-about-body, .hd-about-main {
    padding-left: 0;
    padding-right: 0;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .hd-section-desc {
    padding-left: 0;
    padding-right: 0;
  }

  .hd-section-desc.tamanh-livre {
    text-align: center;
  }

  .hd-section-title {
    padding-left: 0;
    padding-right: 0;
  }

  .section-perfil {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .profile-cards-row {
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    flex-flow: column;
    align-items: center;
  }

  .text-profile-body {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 24px;
  }

  .text-platform-desc {
    padding-left: 0;
    padding-right: 0;
  }

  .marquee-text-xl {
    margin-left: 20px;
    font-size: 130px;
  }

  .text-disclaimer {
    margin-bottom: 32px;
  }

  .footer-light {
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-copyright {
    font-size: 14px;
    line-height: 20px;
  }

  .footer-social-block-two {
    margin-top: 20px;
  }

  .footer-social-link {
    margin-left: 20px;
  }

  .footer-container {
    padding-top: 60px;
  }

  .hd-about-section {
    font-size: 28px;
    line-height: 36px;
  }

  .values-card {
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
  }

  .info-card {
    width: 277px;
  }
}

@media screen and (max-width: 479px) {
  .container {
    justify-content: space-between;
    align-items: center;
  }

  .hero {
    grid-column-gap: 0rem;
    grid-row-gap: 0rem;
    height: auto;
    padding-top: 100px;
  }

  .hero.bg-antecipa {
    background-image: url('../images/businessman.png');
    background-position: 70%;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .hero.bg-globalpay {
    background-position: 85%;
  }

  .primary-btn {
    width: 100%;
    font-size: 16px;
  }

  .solution-card {
    padding: 20px;
  }

  .container-xl {
    padding-left: 20px;
    padding-right: 20px;
  }

  .container-col {
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    justify-content: center;
    align-self: auto;
    align-items: center;
    padding-top: 0;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
  }

  .columns {
    flex-flow: column;
  }

  .solucoes.no-bg {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .titulo2, .titulo2.left {
    font-size: 24px;
    line-height: 32px;
  }

  .hd-card-sm {
    font-size: 20px;
  }

  .text-center-base {
    font-size: 16px;
    line-height: 24px;
  }

  .hd-card-lg {
    font-size: 20px;
  }

  .text-solution-body {
    font-size: 16px;
    line-height: 24px;
  }

  .institucional {
    padding: 40px 20px;
  }

  .hd-hero-sub {
    font-size: 16px;
    line-height: 24px;
  }

  .hd-hero-main {
    font-size: 32px;
    line-height: 40px;
  }

  .badge {
    border-radius: 999px;
    font-size: 13px;
    line-height: 20px;
  }

  .nav-buttons {
    display: none;
  }

  .btn-group {
    flex-flow: column;
    align-items: stretch;
    width: 100%;
  }

  .orverlay.o-left {
    transform: translate(1110px, -700px)rotate(-45deg);
  }

  .text-about-body {
    font-size: 16px;
  }

  .hd-about-main {
    font-size: 26px;
    line-height: 40px;
  }

  .grid {
    grid-template-rows: auto auto auto auto;
    grid-template-columns: 1fr;
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .hd-section-desc {
    font-size: 16px;
    line-height: 24px;
  }

  .hd-section-title {
    font-size: 28px;
    line-height: 36px;
  }

  .hd-section-title.small {
    width: auto;
  }

  .section-perfil {
    justify-content: center;
    padding: 80px 10px;
    display: flex;
  }

  .img-institutional {
    max-width: 100%;
  }

  .container-perfil {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .col-perfil-content {
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
  }

  .profile-card {
    text-align: left;
    width: 100%;
    padding: 28px;
  }

  .list, .list-2, .text-profile-body {
    font-size: 16px;
    line-height: 24px;
  }

  .text-platform-desc {
    font-size: 16px;
  }

  .bold-text-2 {
    font-size: 18px;
  }

  .cta-box {
    padding: 20px;
  }

  .section-plataforma {
    padding-bottom: 10px;
  }

  .marquee-text-xl {
    margin-left: 20px;
    margin-right: 20px;
  }

  .text-disclaimer {
    margin-bottom: 32px;
  }

  .container-footer-inner {
    max-width: none;
  }

  .footer-wrapper-two {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-colum {
    margin-top: 40px;
    padding-left: 0;
    padding-right: 0;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-social-block-two {
    margin-top: 20px;
  }

  .footer-grid {
    padding-top: 40px;
  }

  .footer-container {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    align-self: auto;
    align-items: center;
    padding-top: 0;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
  }

  .col-about-image {
    margin-top: 60px;
  }

  .cols-perfil {
    align-self: center;
  }

  .img-footer-logo {
    width: 100px;
  }

  /* Crop da imagem do porto no mobile: container com altura fixa */
  .col-perfil-image {
    padding-left: 0;
    padding-right: 0;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
  }

  .img-port {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
  }

  .hd-about-section {
    font-size: 28px;
    line-height: 36px;
  }

  .text-value-body, .text-value-body, .text-value-body, .text-value-body, .text-value-body {
    text-align: left;
  }

  .text-card-body {
    font-size: 16px;
    line-height: 24px;
  }

  .hd-pillar-title {
    font-size: 20px;
  }

  .cols-solutions-alt {
    flex-flow: column;
  }

  .text-col-body {
    font-size: 16px;
    line-height: 24px;
  }

  .col-card {
    padding: 20px;
  }

  .hd-feature-title {
    font-size: 20px;
  }

  .hero-text {
    width: auto;
  }

  .hero-content {
    width: 100%;
  }

  .text-comparison-body {
    width: auto;
  }

  .comparison-card {
    width: auto;
    padding-left: 30px;
    padding-right: 30px;
  }

  .comparison-card.modelo-jpb {
    padding-left: 30px;
    padding-right: 30px;
  }

  .info-card {
    width: auto;
  }

  .feature-item.how-to-work {
    flex-flow: column;
  }

  .img-service-main {
    width: 100%;
  }

  .hd-faq-question, .hd-faq-question, .hd-faq-question, .hd-faq-question, .hd-faq-question, .hd-faq-question, .hd-faq-question, .hd-faq-question, .hd-faq-question {
    font-size: 16px;
  }

  .img-faq-icon {
    align-self: flex-start;
  }

  .text-faq-answer {
    width: 100%;
  }
}

#w-node-e41d95e1-e3f6-efc6-00fe-a6db1bca5420-27e2afff, #w-node-_250327eb-1436-14be-1f4c-303b63ae3bea-27e2afff, #w-node-_238a3149-b4df-e3c7-1794-e2678ba509e2-27e2afff {
  grid-area: Area;
}

#w-node-be636b63-6ea3-fbb0-b770-4e104fbcea9e-27e2afff {
  grid-area: span 1 / span 1 / span 1 / span 1;
}

#w-node-be636b63-6ea3-fbb0-b770-4e104fbcea9f-27e2afff, #w-node-be636b63-6ea3-fbb0-b770-4e104fbceaa1-27e2afff {
  grid-area: Area;
}

#w-node-_5fe2bc11-65be-9640-bc88-b152e6d16f6a-27e2afff {
  grid-area: span 1 / span 1 / span 1 / span 1;
}

#w-node-_5fe2bc11-65be-9640-bc88-b152e6d16f6b-27e2afff, #w-node-_5fe2bc11-65be-9640-bc88-b152e6d16f6d-27e2afff {
  grid-area: Area;
}

#w-node-e5db60a6-d380-e82b-1f8a-8201cf585fdb-27e2afff {
  grid-area: span 1 / span 1 / span 1 / span 1;
}

#w-node-e5db60a6-d380-e82b-1f8a-8201cf585fdc-27e2afff, #w-node-e5db60a6-d380-e82b-1f8a-8201cf585fde-27e2afff, #w-node-be636b63-6ea3-fbb0-b770-4e104fbcea9f-a33e3d0e, #w-node-be636b63-6ea3-fbb0-b770-4e104fbceaa1-a33e3d0e, #w-node-_5fe2bc11-65be-9640-bc88-b152e6d16f6b-a33e3d0e, #w-node-_5fe2bc11-65be-9640-bc88-b152e6d16f6d-a33e3d0e, #w-node-_250327eb-1436-14be-1f4c-303b63ae3bea-a33e3d0e, #w-node-_238a3149-b4df-e3c7-1794-e2678ba509e2-a33e3d0e {
  grid-area: Area;
}

/* ==========================================================================
   Language Switcher — Dropdown (Desktop) + Mobile
   ========================================================================== */

/* --- Desktop dropdown trigger --- */
.lang-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 8px;
}
.lang-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  transition: border-color 0.2s, color 0.2s;
  line-height: 1;
  white-space: nowrap;
}
.lang-dropdown-trigger:hover { border-color: #ec5f08; color: #ec5f08; }
.lang-chevron { font-size: 0.55rem; transition: transform 0.2s; display: inline-block; }
.lang-dropdown.open .lang-chevron { transform: rotate(180deg); }

/* --- Dropdown menu --- */
.lang-dropdown-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  overflow: hidden;
  min-width: 160px;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.lang-dropdown.open .lang-dropdown-menu { display: flex; }
.lang-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  padding: 10px 16px;
  text-align: left;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.lang-opt:hover { background: rgba(255,255,255,0.07); color: #fff; }
.lang-opt.active { color: #ec5f08; background: rgba(236,95,8,0.08); }

/* Flag icon sizing inside buttons */
.lang-opt .fi,
.lang-btn-mobile .fi,
.lang-dropdown-trigger .fi {
  width: 1.1em;
  height: 1.1em;
  border-radius: 2px;
  flex-shrink: 0;
}

/* --- Mobile lang switcher (inside mobile nav panel) --- */
.mobile-lang-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 16px 0 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
}
.lang-btn-mobile {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  line-height: 1;
}
.lang-btn-mobile:hover { border-color: #ec5f08; color: #ec5f08; }
.lang-btn-mobile.active { background: #ec5f08; border-color: #ec5f08; color: #fff; }

/* Hide desktop dropdown on mobile, keep mobile switcher visible */
@media (max-width: 991px) { .lang-dropdown { display: none; } }


