/*
 * Banfita Trading — brand override for the Nisoz template
 * Paleta oficial Trading: Azul-marinho #001937 + Azul-aço #415C6D + Branco
 * Carregue este arquivo DEPOIS de nisoz.css.
 */
:root {
  /* Cor de destaque da marca (substitui o verde-limão do template) */
  --nisoz-base: #415c6d;
  --nisoz-base-rgb: 65, 92, 109;

  /* Tons escuros viram azul-marinho da marca */
  --nisoz-black: #001937;
  --nisoz-black-rgb: 0, 25, 55;
  --nisoz-black2: #022845;
  --nisoz-black2-rgb: 2, 40, 69;
  --nisoz-black3: #001937;
  --nisoz-black3-rgb: 0, 25, 55;
  --nisoz-black5: #00112a;
  --nisoz-black5-rgb: 0, 17, 42;
}

/* Botões: texto branco para contraste sobre o azul-aço (e sobre o navy no hover) */
.nisoz-btn {
  color: var(--nisoz-white);
}
.nisoz-btn:hover {
  color: var(--nisoz-white);
}

.banfita-gold {
  color: #415c6d;
}

/* Faixa informativa no rodapé */
.banfita-disclaimer {
  border-top: 1px solid rgba(var(--nisoz-white-rgb), 0.12);
  margin-top: 40px;
  padding-top: 24px;
}
.banfita-disclaimer p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(var(--nisoz-white-rgb), 0.6);
  margin: 0;
}

/* Rodapé: menu de navegação com os links lado a lado */
.main-footer__navmenu--inline ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.main-footer__navmenu--inline ul li {
  display: inline-block;
  line-height: 1.6;
}

/* Logo — tamanho padrão */
.main-menu__logo img,
.main-footer__logo img,
.mobile-nav__content .logo-box img {
  width: auto;
  height: 50px;
}

/* Loader (logo vertical) ~3x maior */
.preloader__image {
  background-size: 180px auto;
}

/* Alternância de logo no header:
   - no topo (header transparente): logo com as cores normais
   - ao rolar (header fixo escuro): logo branca */
.banfita-logo--white {
  display: none;
}
.stricky-header .banfita-logo--color {
  display: none;
}
.stricky-header .banfita-logo--white {
  display: inline-block;
}

/* Marca "B" da Banfita no lugar do triângulo decorativo dos títulos de seção */
.section-title__triangle {
  width: 32px;
  height: 32px;
  margin: 0 0 14px;
  background-image: url(../images/banfita-b-icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}
.section-title.text-center .section-title__triangle {
  margin-left: auto;
  margin-right: auto;
  background-position: center center;
}
.section-title.text-end .section-title__triangle {
  margin-left: auto;
  margin-right: 0;
  background-position: right center;
}
.section-title__triangle-left,
.section-title__triangle-right {
  display: none;
}
/* Seções com fundo escuro/steel usam o "B" em branco */
.cta-one .section-title__triangle,
.choose-one .section-title__triangle {
  background-image: url(../images/banfita-b-white.png);
}

/* Seção Diferencial (.choose-one): fundo steel exige texto branco */
.choose-one__content .section-title__tagline,
.choose-one__content .section-title__title,
.choose-one__content__text,
.choose-one__content__list li,
.choose-one__content__list li span,
.choose-one__fact__icon,
.choose-one__fact__title {
  color: var(--nisoz-white);
}
.choose-one__content__list li {
  border-color: rgba(var(--nisoz-white-rgb), 0.3);
}

/* =========================================================
   Utilitárias de font-size (px) — sobrescrevem o template
   Uso: <h2 class="fs-40">...</h2>  |  responsivo: fs-md-*, fs-sm-*
   ========================================================= */
.fs-12 { font-size: 12px !important; }
.fs-13 { font-size: 13px !important; }
.fs-14 { font-size: 14px !important; }
.fs-15 { font-size: 15px !important; }
.fs-16 { font-size: 16px !important; }
.fs-18 { font-size: 18px !important; }
.fs-20 { font-size: 20px !important; }
.fs-22 { font-size: 22px !important; }
.fs-24 { font-size: 24px !important; }
.fs-28 { font-size: 28px !important; }
.fs-32 { font-size: 32px !important; }
.fs-36 { font-size: 36px !important; }
.fs-40 { font-size: 40px !important; }
.fs-44 { font-size: 44px !important; }
.fs-48 { font-size: 48px !important; }
.fs-56 { font-size: 56px !important; }
.fs-64 { font-size: 64px !important; }
.fs-72 { font-size: 72px !important; }
.fs-80 { font-size: 80px !important; }

/* Ajustes por breakpoint (<= 991px = tablet) */
@media (max-width: 991px) {
  .fs-md-12 { font-size: 12px !important; }
  .fs-md-14 { font-size: 14px !important; }
  .fs-md-16 { font-size: 16px !important; }
  .fs-md-18 { font-size: 18px !important; }
  .fs-md-20 { font-size: 20px !important; }
  .fs-md-24 { font-size: 24px !important; }
  .fs-md-28 { font-size: 28px !important; }
  .fs-md-32 { font-size: 32px !important; }
  .fs-md-36 { font-size: 36px !important; }
  .fs-md-40 { font-size: 40px !important; }
  .fs-md-48 { font-size: 48px !important; }
}

/* Ajustes por breakpoint (<= 767px = celular) */
@media (max-width: 767px) {
  .fs-sm-12 { font-size: 12px !important; }
  .fs-sm-14 { font-size: 14px !important; }
  .fs-sm-16 { font-size: 16px !important; }
  .fs-sm-18 { font-size: 18px !important; }
  .fs-sm-20 { font-size: 20px !important; }
  .fs-sm-24 { font-size: 24px !important; }
  .fs-sm-28 { font-size: 28px !important; }
  .fs-sm-32 { font-size: 32px !important; }
  .fs-sm-36 { font-size: 36px !important; }
  .fs-sm-40 { font-size: 40px !important; }
}

/* Banner: remover o movimento contínuo (bounce) das shapes após aparecerem.
   A entrada (slide-in/fade) é mantida; só o loop infinito é desligado. */
.main-slider__shape-2 img,
.main-slider__shape-4 img {
  animation: none !important;
}

/* Topbar: endereço e e-mail em branco */
.topbar__list li,
.topbar__list li a,
.topbar__list li span {
  color: var(--nisoz-white);
}
.topbar__list li a:hover {
  color: var(--nisoz-base);
}

/* About: fact-wrapper tem fundo steel — textos/ícones em branco */
.about-one__fact-wrapper .about-one__fact__icon,
.about-one__fact-wrapper .about-one__fact__count,
.about-one__fact-wrapper .about-one__fact__title {
  color: var(--nisoz-white);
}

/* =========================================================
   Utilitárias de MARGIN e PADDING (px)
   Escala: 0,5,10,15,20,25,30,40,50,60,80,100
   Direções: (all) | t=top r=right b=bottom l=left | x=left+right y=top+bottom
   Ex.: <div class="mt-40 pb-20 px-15">  |  centralizar: mx-auto
   ========================================================= */

/* ---- MARGIN (todos os lados) ---- */
.m-0 { margin: 0 !important; }
.m-5 { margin: 5px !important; }
.m-10 { margin: 10px !important; }
.m-15 { margin: 15px !important; }
.m-20 { margin: 20px !important; }
.m-25 { margin: 25px !important; }
.m-30 { margin: 30px !important; }
.m-40 { margin: 40px !important; }
.m-50 { margin: 50px !important; }
.m-60 { margin: 60px !important; }
.m-80 { margin: 80px !important; }
.m-100 { margin: 100px !important; }

/* ---- MARGIN TOP ---- */
.mt-0 { margin-top: 0 !important; }
.mt-5 { margin-top: 5px !important; }
.mt-10 { margin-top: 10px !important; }
.mt-15 { margin-top: 15px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-25 { margin-top: 25px !important; }
.mt-30 { margin-top: 30px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-50 { margin-top: 50px !important; }
.mt-60 { margin-top: 60px !important; }
.mt-80 { margin-top: 80px !important; }
.mt-100 { margin-top: 100px !important; }

/* ---- MARGIN BOTTOM ---- */
.mb-0 { margin-bottom: 0 !important; }
.mb-5 { margin-bottom: 5px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-15 { margin-bottom: 15px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-25 { margin-bottom: 25px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-50 { margin-bottom: 50px !important; }
.mb-60 { margin-bottom: 60px !important; }
.mb-80 { margin-bottom: 80px !important; }
.mb-100 { margin-bottom: 100px !important; }

/* ---- MARGIN LEFT ---- */
.ml-0 { margin-left: 0 !important; }
.ml-5 { margin-left: 5px !important; }
.ml-10 { margin-left: 10px !important; }
.ml-15 { margin-left: 15px !important; }
.ml-20 { margin-left: 20px !important; }
.ml-25 { margin-left: 25px !important; }
.ml-30 { margin-left: 30px !important; }
.ml-40 { margin-left: 40px !important; }
.ml-50 { margin-left: 50px !important; }
.ml-60 { margin-left: 60px !important; }
.ml-80 { margin-left: 80px !important; }
.ml-100 { margin-left: 100px !important; }

/* ---- MARGIN RIGHT ---- */
.mr-0 { margin-right: 0 !important; }
.mr-5 { margin-right: 5px !important; }
.mr-10 { margin-right: 10px !important; }
.mr-15 { margin-right: 15px !important; }
.mr-20 { margin-right: 20px !important; }
.mr-25 { margin-right: 25px !important; }
.mr-30 { margin-right: 30px !important; }
.mr-40 { margin-right: 40px !important; }
.mr-50 { margin-right: 50px !important; }
.mr-60 { margin-right: 60px !important; }
.mr-80 { margin-right: 80px !important; }
.mr-100 { margin-right: 100px !important; }

/* ---- MARGIN X (left + right) ---- */
.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-5 { margin-left: 5px !important; margin-right: 5px !important; }
.mx-10 { margin-left: 10px !important; margin-right: 10px !important; }
.mx-15 { margin-left: 15px !important; margin-right: 15px !important; }
.mx-20 { margin-left: 20px !important; margin-right: 20px !important; }
.mx-25 { margin-left: 25px !important; margin-right: 25px !important; }
.mx-30 { margin-left: 30px !important; margin-right: 30px !important; }
.mx-40 { margin-left: 40px !important; margin-right: 40px !important; }
.mx-50 { margin-left: 50px !important; margin-right: 50px !important; }
.mx-60 { margin-left: 60px !important; margin-right: 60px !important; }
.mx-80 { margin-left: 80px !important; margin-right: 80px !important; }
.mx-100 { margin-left: 100px !important; margin-right: 100px !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.ml-auto { margin-left: auto !important; }
.mr-auto { margin-right: auto !important; }

/* ---- MARGIN Y (top + bottom) ---- */
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-5 { margin-top: 5px !important; margin-bottom: 5px !important; }
.my-10 { margin-top: 10px !important; margin-bottom: 10px !important; }
.my-15 { margin-top: 15px !important; margin-bottom: 15px !important; }
.my-20 { margin-top: 20px !important; margin-bottom: 20px !important; }
.my-25 { margin-top: 25px !important; margin-bottom: 25px !important; }
.my-30 { margin-top: 30px !important; margin-bottom: 30px !important; }
.my-40 { margin-top: 40px !important; margin-bottom: 40px !important; }
.my-50 { margin-top: 50px !important; margin-bottom: 50px !important; }
.my-60 { margin-top: 60px !important; margin-bottom: 60px !important; }
.my-80 { margin-top: 80px !important; margin-bottom: 80px !important; }
.my-100 { margin-top: 100px !important; margin-bottom: 100px !important; }

/* ---- PADDING (todos os lados) ---- */
.p-0 { padding: 0 !important; }
.p-5 { padding: 5px !important; }
.p-10 { padding: 10px !important; }
.p-15 { padding: 15px !important; }
.p-20 { padding: 20px !important; }
.p-25 { padding: 25px !important; }
.p-30 { padding: 30px !important; }
.p-40 { padding: 40px !important; }
.p-50 { padding: 50px !important; }
.p-60 { padding: 60px !important; }
.p-80 { padding: 80px !important; }
.p-100 { padding: 100px !important; }

/* ---- PADDING TOP ---- */
.pt-0 { padding-top: 0 !important; }
.pt-5 { padding-top: 5px !important; }
.pt-10 { padding-top: 10px !important; }
.pt-15 { padding-top: 15px !important; }
.pt-20 { padding-top: 20px !important; }
.pt-25 { padding-top: 25px !important; }
.pt-30 { padding-top: 30px !important; }
.pt-40 { padding-top: 40px !important; }
.pt-50 { padding-top: 50px !important; }
.pt-60 { padding-top: 60px !important; }
.pt-80 { padding-top: 80px !important; }
.pt-100 { padding-top: 100px !important; }

/* ---- PADDING BOTTOM ---- */
.pb-0 { padding-bottom: 0 !important; }
.pb-5 { padding-bottom: 5px !important; }
.pb-10 { padding-bottom: 10px !important; }
.pb-15 { padding-bottom: 15px !important; }
.pb-20 { padding-bottom: 20px !important; }
.pb-25 { padding-bottom: 25px !important; }
.pb-30 { padding-bottom: 30px !important; }
.pb-40 { padding-bottom: 40px !important; }
.pb-50 { padding-bottom: 50px !important; }
.pb-60 { padding-bottom: 60px !important; }
.pb-80 { padding-bottom: 80px !important; }
.pb-100 { padding-bottom: 100px !important; }

/* ---- PADDING LEFT ---- */
.pl-0 { padding-left: 0 !important; }
.pl-5 { padding-left: 5px !important; }
.pl-10 { padding-left: 10px !important; }
.pl-15 { padding-left: 15px !important; }
.pl-20 { padding-left: 20px !important; }
.pl-25 { padding-left: 25px !important; }
.pl-30 { padding-left: 30px !important; }
.pl-40 { padding-left: 40px !important; }
.pl-50 { padding-left: 50px !important; }
.pl-60 { padding-left: 60px !important; }
.pl-80 { padding-left: 80px !important; }
.pl-100 { padding-left: 100px !important; }

/* ---- PADDING RIGHT ---- */
.pr-0 { padding-right: 0 !important; }
.pr-5 { padding-right: 5px !important; }
.pr-10 { padding-right: 10px !important; }
.pr-15 { padding-right: 15px !important; }
.pr-20 { padding-right: 20px !important; }
.pr-25 { padding-right: 25px !important; }
.pr-30 { padding-right: 30px !important; }
.pr-40 { padding-right: 40px !important; }
.pr-50 { padding-right: 50px !important; }
.pr-60 { padding-right: 60px !important; }
.pr-80 { padding-right: 80px !important; }
.pr-100 { padding-right: 100px !important; }

/* ---- PADDING X (left + right) ---- */
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-5 { padding-left: 5px !important; padding-right: 5px !important; }
.px-10 { padding-left: 10px !important; padding-right: 10px !important; }
.px-15 { padding-left: 15px !important; padding-right: 15px !important; }
.px-20 { padding-left: 20px !important; padding-right: 20px !important; }
.px-25 { padding-left: 25px !important; padding-right: 25px !important; }
.px-30 { padding-left: 30px !important; padding-right: 30px !important; }
.px-40 { padding-left: 40px !important; padding-right: 40px !important; }
.px-50 { padding-left: 50px !important; padding-right: 50px !important; }
.px-60 { padding-left: 60px !important; padding-right: 60px !important; }
.px-80 { padding-left: 80px !important; padding-right: 80px !important; }
.px-100 { padding-left: 100px !important; padding-right: 100px !important; }

/* ---- PADDING Y (top + bottom) ---- */
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-5 { padding-top: 5px !important; padding-bottom: 5px !important; }
.py-10 { padding-top: 10px !important; padding-bottom: 10px !important; }
.py-15 { padding-top: 15px !important; padding-bottom: 15px !important; }
.py-20 { padding-top: 20px !important; padding-bottom: 20px !important; }
.py-25 { padding-top: 25px !important; padding-bottom: 25px !important; }
.py-30 { padding-top: 30px !important; padding-bottom: 30px !important; }
.py-40 { padding-top: 40px !important; padding-bottom: 40px !important; }
.py-50 { padding-top: 50px !important; padding-bottom: 50px !important; }
.py-60 { padding-top: 60px !important; padding-bottom: 60px !important; }
.py-80 { padding-top: 80px !important; padding-bottom: 80px !important; }
.py-100 { padding-top: 100px !important; padding-bottom: 100px !important; }

/* Depoimentos: avatares de marca com cor real (sem o blend luminosity do template) */
.testimonial-one__author img {
  mix-blend-mode: normal;
}

/* CTA "Pronto para importar": box steel — título e ícone em branco */
.cta-two__info-top .section-title__title,
.cta-two__icon {
  color: var(--nisoz-white) !important;
}

/* Back-to-top: seta e traço da animação em branco (fundo navy permanece) */
.scroll-top::after {
  color: var(--nisoz-white);
}
.scroll-top__circle path {
  stroke: var(--nisoz-white);
}

/* Acessibilidade/SEO: conteúdo visível só para leitores de tela e buscadores */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Botão flutuante de WhatsApp */
.banfita-whatsapp {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 99;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease;
  animation: banfita-wa-pulse 2s infinite;
}
.banfita-whatsapp:hover {
  color: #fff;
  transform: translateY(-4px);
}

/* Pulse (ondas) ao redor do botão do WhatsApp */
@keyframes banfita-wa-pulse {
  0% {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45),
                0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45),
                0 0 0 22px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45),
                0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Briefing Diário — cotações (AwesomeAPI) e notícias (Google Notícias) ao vivo */
.briefing {
  position: relative;
  padding: 130px 0 100px;
}

@media (max-width: 767px) {
  .briefing {
    padding: 80px 0 60px;
  }
}

.briefing__date {
  text-align: center;
  font-size: 14px;
  color: var(--nisoz-color);
  margin: -30px 0 40px;
}
.briefing__date strong {
  color: var(--nisoz-black2);
  font-weight: 600;
}

/* Cartões de cotação — mesma linguagem do ícone circular do bloco "A Trading" */
.briefing__rates {
  margin-bottom: 40px;
  row-gap: 30px;
}
.briefing__rate {
  height: 100%;
  background-color: #f7f9fc;
  border-radius: 10px;
  padding: 28px 30px;
}
.briefing__rate__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.briefing__rate__label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--nisoz-black2);
  margin: 0;
}
.briefing__rate__icon {
  flex-shrink: 0;
  width: 49px;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--nisoz-black);
  border-radius: 50%;
  color: var(--nisoz-base);
  font-size: 19px;
}
.briefing__rate__value {
  font-family: var(--heading-font);
  font-size: 36px;
  font-weight: 600;
  color: var(--nisoz-black2);
  line-height: 1.1;
}
.briefing__rate__range {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--nisoz-color);
}

/* Destaque do dia — manchetes de comércio exterior */
.briefing__news {
  max-width: 850px;
  margin: 0 auto;
}
.briefing__news__title {
  font-family: var(--nisoz-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--nisoz-black2);
  margin: 0 0 20px;
}
.briefing__news__title i {
  color: var(--nisoz-base);
  margin-right: 8px;
}
.briefing__news__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.briefing__news__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: #fff;
  border: 1px solid rgba(var(--nisoz-black-rgb), 0.08);
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 10px 30px rgba(0, 25, 55, 0.05);
  transition: box-shadow 300ms ease, border-color 300ms ease;
}
.briefing__news__item:hover {
  border-color: rgba(var(--nisoz-black-rgb), 0.16);
  box-shadow: 0 14px 34px rgba(0, 25, 55, 0.09);
}
.briefing__news__item--highlight {
  background-color: rgba(var(--nisoz-black-rgb), 0.03);
  border-color: rgba(var(--nisoz-black-rgb), 0.14);
}
.briefing__news__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--nisoz-black);
  color: var(--nisoz-base);
  border-radius: 50%;
  font-size: 15px;
}
.briefing__news__item--highlight .briefing__news__icon {
  background-color: var(--nisoz-base);
  color: var(--nisoz-white);
}
.briefing__news__body {
  min-width: 0;
}
.briefing__news__badge {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--nisoz-base);
  margin-bottom: 6px;
}
.briefing__news__headline {
  display: block;
  font-family: var(--heading-font);
  font-size: 19px;
  font-weight: 600;
  color: var(--nisoz-black2);
  text-decoration: none;
  line-height: 1.3;
}
.briefing__news__headline:hover {
  color: var(--nisoz-base);
  text-decoration: underline;
}
.briefing__news__meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--nisoz-color);
}
.briefing__disclaimer {
  max-width: 850px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(var(--nisoz-black-rgb), 0.08);
  font-size: 13px;
  color: var(--nisoz-color);
  text-align: center;
}
.briefing__loading,
.briefing__error {
  font-size: 14px;
  color: var(--nisoz-color);
}
