@charset "UTF-8";
/* CSS específico para a página Home */
/* Mobile adjustments for home banner */
@media (max-width: 767px) {
  .texto-banner {
    margin-left: 4px;
    font-size: 18px;
  }

  .banner.home .legenda .row {
    margin-top: 21%;
    margin-left: -6px;
    text-align: left;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    /* Ajustes específicos do texto no banner da home */
  }
  .banner.home .legenda .row .flex-btn-titulo {
    justify-content: flex-start;
    margin-top: 1.2rem;
    /* Botão com largura máxima para quebrar o texto em 2 linhas */
  }
  .banner.home .legenda .row .flex-btn-titulo .btn-blue {
    width: 160px;
    text-align: center;
    line-height: 1.3;
    white-space: normal;
    word-wrap: break-word;
  }
  .banner.home .legenda .row .col-9 {
    text-align: left;
  }

  /* Layout específico da seção portfolio no mobile */
  #portfolio {
    display: flex;
    flex-direction: row;
    height: 300px;
    background: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-size: auto 300px !important;
    background-position: -142px top, 100% bottom !important;
    /* Lado direito com o texto (50%) */
  }
  #portfolio .portfolio-container {
    display: flex;
    width: 100%;
    height: 100%;
    /* Lado esquerdo com a imagem (50%) */
    /* Sobrescrever regras conflitantes do CSS global */
  }
  #portfolio .portfolio-container::before {
    content: "";
    flex: 1;
    width: 50%;
    background-image: url("../images/bg-portolio-mobile.png");
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
  }
  #portfolio .portfolio-container .portfolio-legenda {
    font-size: 0.9rem !important;
    text-shadow: none !important;
    margin-right: 0 !important;
  }
  #portfolio .portfolio-container .portfolio-legenda .text-white {
    font-size: 0.9rem !important;
  }
  #portfolio .portfolio-legenda {
    flex: 1;
    width: 50%;
    height: 100%;
    background-color: #0F2A2C;
    color: white;
    padding: 1.5rem 0.8rem 1.5rem 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    box-sizing: border-box;
    margin-left: 0;
  }
  #portfolio .portfolio-legenda .text-green {
    color: #AAE85B !important;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
  }
  #portfolio .portfolio-legenda .text-white {
    color: white !important;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }

  /* Ajuste do título da seção diferenciais no mobile */
  #diferenciais .titulo {
    margin-top: 58px;
  }

  /* Slider arrows - ocultar no mobile */
  #produtos .slider-arrow {
    display: none !important;
  }

  /* Diminuir ícones das instituições no mobile */
  .icones.flex-wrap.instituicoes img {
    max-width: 80px !important;
    height: auto !important;
  }
  .icones.flex-wrap.instituicoes img.inter-branco {
    max-width: 60px !important;
  }
  .icones.flex-wrap.instituicoes img.itau-branco {
    width: 36px;
  }
  .icones.flex-wrap.instituicoes a {
    margin-right: 0.5rem !important;
  }
}
/* Tablet adjustments for home banner */
@media (min-width: 768px) and (max-width: 991px) {
  .banner.home .legenda .row {
    margin-top: 15%;
    text-align: center;
    padding-left: 0;
  }
  .banner.home .legenda .row .flex-btn-titulo {
    justify-content: center;
  }

  /* Mostrar slider arrows no tablet */
  #produtos .slider-arrow {
    display: block !important;
  }
}
/* Desktop adjustments for home banner */
@media (min-width: 992px) {
  .banner.home .legenda .row {
    margin-top: 12%;
    margin-left: 8%;
    text-align: center;
  }
  .banner.home .legenda .row .flex-btn-titulo {
    justify-content: center;
  }

  /* Mostrar slider arrows no desktop */
  #produtos .slider-arrow {
    display: block !important;
  }
}