

/*--------------------------------------------------------------
# Home RI
--------------------------------------------------------------*/
.cotacoes-wrapper {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem 1.25rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.cotacao-item {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
}

.cotacao-codigo {
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.cotacao-valor {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.cotacao-badge {
    flex: 0 0 auto;
}

.cotacao-atualizacao {
    margin-left: auto;
    white-space: nowrap;
}


.form-home .bg-dark {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.form-home h1 {
    line-height: 1.2;
}


.form-home-wrapper {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 7px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.form-home .lead-ri {
    font-size: 1.05rem;
    line-height: 1.45;
}

@media (max-width: 991px) {
    .cotacoes-wrapper {
        gap: 0.75rem 1rem;
    }

    .cotacao-item {
        flex: 1 1 calc(50% - 0.75rem);
        justify-content: space-between;
    }

    .cotacao-atualizacao {
        order: 99;
        margin-left: 0;
        flex-basis: 100%;
    }
}

@media (max-width: 575px) {
    .cotacoes-wrapper {
        padding: 1rem 1rem !important;
    }

    .cotacao-item {
        flex-basis: 100%;
        justify-content: space-between;
    }

    .cotacao-codigo {
        min-width: 3.25rem;
    }

    .cotacao-badge {
        margin-left: auto;
    }
}


/*--------------------------------------------------------------
# Principal Home RI - 3 Cards Principais
--------------------------------------------------------------*/
.bg-principal-home{
  background-color: var(--cor-cinza-3);
}
.principal-home {
  padding: 0 0 30px 0;
  position: relative;
  z-index: 10;
  margin-top: -100px; /* Sobe por cima do vídeo */
}

.principal-home .card {
  transition: all 0.3s ease;
  border: none !important;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.principal-home .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25) !important;
}

@media (max-width: 991px) {
  .principal-home {
    margin-top: -60px; /* Menos sobreposição no mobile */
    padding: 0 0 40px 0;
  }
}

  /* Seção Principal */
    .atalhos-rapidos {
      background: url('../img/aerial-view-waikiki-wall-diamond-head-honolulu-usa.jpg') no-repeat center center;
      background-size: cover;
      position: relative;
      padding: 70px 0;
      margin-top: -100px;
      padding-top: 120px;
    }

    .atalhos-rapidos::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(100deg, rgba(0, 38, 98, 0.3), rgba(0, 26, 67, 0.95));
    }

    .atalhos-rapidos .container {
      position: relative;
      z-index: 2;
    }

    /* Coluna dos Atalhos */
    .coluna-atalhos {
      padding-right: 30px;
    }

    .atalho-item {
      position: relative;
      padding: 24px 20px;
      text-decoration: none;
      color: rgba(255, 255, 255, 0.95);
      display: flex;
      align-items: center;
      gap: 18px;
      transition: all 0.3s ease;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .atalho-item:last-child {
      border-bottom: none;
    }

    .atalho-item:hover {
      color: #ffffff;
      padding-left: 30px;
      background: rgba(255, 255, 255, 0.06);
    }

    .atalho-item i {
      font-size: 1.9rem;
      opacity: 0.9;
      min-width: 45px;
      transition: transform 0.3s ease;
    }

    .atalho-item:hover i {
      transform: translateX(6px);
    }

    .atalho-item .texto {
      flex: 1;
    }

    .atalho-item h5 {
      margin: 0 0 4px 0;
      font-size: 1.1rem;
      font-weight: 600;
    }

    .atalho-item p {
      margin: 0;
      font-size: 0.85rem;
      opacity: 0.75;
      line-height: 1.3;
    }

    .atalho-item .arrow {
      font-size: 1.3rem;
      opacity: 0;
      transform: translateX(-10px);
      transition: all 0.3s ease;
    }

    .atalho-item:hover .arrow {
      opacity: 0.8;
      transform: translateX(0);
    }

.b3-logos .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding:0 0 10px 0;
  min-width: 0;
  flex-shrink: 0;
}

.b3-logos .swiper {
  overflow: hidden;
  width: 100%;
}

.b3-logos .swiper-wrapper {
  align-items: center;
}

.b3-logos .swiper-slide img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  filter: invert(1) grayscale(100%) brightness(200%);
  transition: filter 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 575px) {
  .b3-logos .swiper-slide {
    padding: 0 6px 10px;
  }

  .b3-logos .swiper-slide img {
    max-height: 28px;
  }
}

.b3-logos .swiper-slide img:hover {
  opacity: 1;
  filter: invert(1) grayscale(0%) brightness(300%);
}



/*--------------------------------------------------------------
# Marcas
--------------------------------------------------------------*/
.marcas .swiper-pagination {
  margin-top: 10px;
  position: relative;
}

.marcas .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--cor-cinza-3);
  opacity: 1;
  border: 0;
}

.marcas .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--cor-sec-2);
}

.marcas .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.marcas .swiper-slide img {
  max-height: 200px;
  width: auto;
  object-fit: contain;

  opacity: 0.5;
  filter: grayscale(100%);
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  transform: scale(1);
}

.marcas .swiper-slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
