    body {
      background: #f7f7f7;
      font-family: 'Josefin Sans', sans-serif;
    }


    /* ------------- Sidebar ------------- */
    .espacoBanner {
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
      overflow-x: hidden;
      background-color: #ffffff;
      color: #2584c6 !important;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0;
      position: sticky;
      top: 0;
      height: 100vh;
      overflow-y: auto;
    }

    .divImg {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }


    .indicador {
      display: flex;
      flex-direction: column;
      width: 100%;
    }

    .circle {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: transparent;
      border: 1.5px solid #2584c6;
      color: #2584c6 !important;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
    }

    .step {
      width: 100%;
      padding: 10px;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .step-title {
      color: #2584c6;
    }


    .step.ativo .step-title {
      color: #2584c6 !important;
    }


    .step.ativo .circle {
      background: #2584c6;
      color: #fff !important;
      border-color: #2584c6;
      transition: background 0.2s;
    }




    .step.ativo {
      position: relative;
      background-color: #e3edf685;
      z-index: 1;
      right: 0;
    }

    .step:first-child .circle {
      background: #2584c6;
      color: #fff !important;
      border-color: #2584c6;
    }

    .circle.circle-azul {
      background: #2584c6 !important;
      color: #fff !important;
      border-color: #2584c6 !important;
    }

    @media (min-width: 992px) {
      .step.ativo::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-right: 15px solid #2584c6 !important;
        z-index: 2;
      }
    }

    @media (max-width: 991.98px) {
      .step.ativo::after {
        display: none;
      }
    }

    .step.ativo::after {
      content: '';
      position: absolute;
      right: -1%;
      top: 50%;
      transform: translateY(-50%);
      width: 0;
      height: 0;
      border-top: 15px solid transparent;
      border-bottom: 15px solid transparent;
      border-right: 15px solid white;
    }

    .link {
      margin-top: 50% !important;
      width: 100%;
      justify-content: center;
      align-items: center;
      display: flex;
    }

    .link a {
      border: 1px solid #2584c6;
      background-color: #fff;
      color: #2584c6;
      padding: 5%;
      border-radius: 10px;
      text-decoration: none;
      margin: 0 5%;
      text-align: center;
      font-size: 100%;
    }



    /*  Responsividade Sidebar */
    @media (max-width: 990px) {
      .espacoBanner {
        height: auto;
        position: initial;
      }
      

      .divImg {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0rem !important;
      }

      .divImg img {
        width: 28.5% !important;
        margin-bottom: 0rem !important;
      }

      .indicador {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        margin-top: 0 !important;
        top: 0 !important;
        font-size: 15px;
      }

      .circle {
        width: 27px !important;
        height: 27px !important
      }

      .step {
        flex: 1 1 0;
        min-width: 0;
        max-width: 33%;
        width: 33%;
        padding: 4px 2px;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        text-align: center;
      }

      .step.ativo {
        position: relative;
        border-radius: 10px;
        z-index: 1;
        right: 0;
      }

      .link {
        margin-top: 5% !important;
        margin-bottom: 5%;
        width: 100%;
        justify-content: center;
        align-items: center;
        display: flex;
      }

      .link a {
        border: 1px solid #2584c6;
        background-color: #fff;
        color: #2584c6;
        padding: 10px 8%;
        font-size: 15px;
        border-radius: 10px;
        text-decoration: none;
        margin: 0 5%;
        text-align: center;
        font-size: 100%;
      }

      label {
        margin-top: 5%;
      }
    }

    /* ------------- Conteúdo -------------*/
    .msg-erro {
      font-size: 0.75em !important;
      color: red;
      margin-top: 4px;
    }

    .espacoConteudo {
      max-width: 100%;
      width: 100%;
    }

    .conteudo {
      padding: 3rem 3rem;
    }

    .tituloTopo {
      width: 100%;
      height: auto;
      padding: 3% 0% 2.5% 0%;
      background: linear-gradient(500deg, #2584c6 0%, #2e8dd1 90%);
      text-align: center;
      color: #fff;
    }

    .tituloTopo h4 {
      text-align: center !important;
      color: #fff !important;
      font-size: 28px;
      font-weight: 700;
      line-height: 1.2;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    }

    .tituloTopo p {
      font-size: 0.9rem;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    }







    .colTexto {
      background-color: #2583c61a;
      border-left: 5px solid #2584c6;
      border-radius: 5px;
      text-align: left;
      margin: 0% 0% 3% 0%;
      padding: 3% 4.5%;
      color: #3f3f3f;
      font-size: 15px;
    }

    .colTexto h4 {
      font-size: 18px;
      color: #2584c6;
      font-weight: bold;
    }

    .colResultado {
      background-color: #fff;
      border-left: 5px solid #2584c6;
      border-radius: 5px;
      text-align: left;
      margin: 0% 0% 3% 0%;
      padding: 3% 5%;
      color: #3f3f3f;
      font-size: 15px;
    }

    .colResultado h4 {
      font-size: 22px;
      color: #2583c6;
    }

    .colTitulo-card h5 {
      color: #2584c6;
      font-size: 1.15rem;
    }

    .linha {
      padding: 3% 2.5% 5% 2.5%;
      background-color: #fff;
      border-radius: 5px;
      margin-bottom: 3%;
    }

    .linhaDois {
      padding: 3% 2.5% 5% 2.5%;
      background-color: #fff;
      border-radius: 5px;
      margin-bottom: 2.5%;
    }

    /* tooltips */
    .tooltip.bs-tooltip-auto[x-placement^=top],
    .tooltip.bs-tooltip-top {
      --bs-tooltip-bg: #2584c6;
      --bs-tooltip-color: #fff;
    }

    .tooltip-inner {
      background-color: #2584c6 !important;
      color: #fff !important;
      border-radius: 6px;
      font-size: 1rem;
      padding: 0.5rem 1rem;
    }

    .tela {
      display: none;
    }

    .tela.mostrar {
      display: block;
    }


    hr {
      color: #2584c6;
    }

    .btn-direita {
      display: block;
      margin-left: auto;
    }

    .btn-primary {
      background-color: #2584c6;
    }

    .btn-primary:hover {
      background-color: #2583c6f1;
    }

    .btnVoltar {
      border: none;
      background-color: transparent;
      color: #2584c6;
    }

    .btnVoltar:active {
      border: none;
      background-color: transparent !important;
      color: #0e5b92 !important;
    }

    .btnVoltar:hover {
      border: none;
      background-color: transparent;
      color: #0e5b92;
    }



    .modal-content {
      border-left: 10px solid #2584c6 !important;
    }


    .modal-header {
      color: #2584c6;
    }

    .modal-header .close {
      border: none;
      background: transparent;
      color: #2584c6;
      font-size: 1.5rem;
    }



    /* ------------ TELA 3 --------------- */

    .cardTotal {
      box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
      justify-content: center;
      display: flex;
      align-items: center;
      background-color: #fff;
      border-radius: 5px 5px 0px 0px !important;
      width: 100%;
      margin: auto;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    
    .cardResultado-Um {
      border-right: 1px solid #2583c65e;
      padding: 2rem 24px 1.5rem 1.5rem;
      transition: box-shadow 0.2s, transform 0.2s;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: stretch;
    }

    .cardResultado-Dois {
      padding: 2rem 1.5rem 1.5rem 24px;
      transition: box-shadow 0.2s, transform 0.2s;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: stretch;
    }


    .cardConteudo p,
    .cardLinha-Um,
    .cardLinha-Dois,
    .cardLinha-Tres {
      padding: 0.6rem 1.5rem !important;
    }



    .cardTitulo {
      font-size: 1.25rem;
      color: #2584c6 !important;
      background: transparent;
      margin-bottom: 1.2rem;
      letter-spacing: 0.5px;
      padding-left: 12px;
      display: flex;
      align-items: center;
      min-height: 48px;
    }

    .left i,
    .cardLinha-Um i {
      color: #2584c6;
      margin-right: 8px;
    }

    .cardConteudo {
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
    }

    .cardConteudo p {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 1.05rem;
      border-radius: 12px;
      padding: 0.6rem 1rem;
      margin-bottom: 0.5rem;
      transition: background 0.2s;
    }


    .cardLinha-Um {
      background: #2583c621 !important;
      color: #2584c6;
    }

    .cardLinha-Dois,
    .cardLinha-Tres {
      background: #2584c6 !important;
      color: #ffffff;
      text-align: center !important;
      justify-content: center !important;
      align-items: center !important;
      display: flex !important;
    }

    @media (max-width: 990px) {

      .cardResultado-Um,
      .cardResultado-Dois {
        padding: 1rem 0.5rem;
        min-width: 0;
        min-height: 0;
      }

      .cardConteudo p {
        font-size: 0.98rem;
        padding: 0.4rem 0.5rem;
      }
    }

    .cardTitulo {
      font-size: 1.15rem;
      color: #2584c6;
      margin-bottom: 1.2rem;
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }


    .left {
      padding: 0px 6px !important;
    }

    .cardLinha-Um {
      background: #2583c61a;
      padding: 4px 6px;
    }

    .cardLinha-Dois {
      background: #2583c65e;
      padding: 10px 6px;
    }

    .cardLinha-Tres {
      background: #2583c65e;
      padding: 10px 6px;
    }

    .rowTotal {
      justify-content: center;
      display: flex;
      align-items: center;
    }


    .rowFinal {
      margin-top: 3.5rem;
      border-radius: 12px;
    }

    .px-0{
      margin-top: 0% !important;
    }

    .rowFinal hr {
      color: #2584c6 !important;
      font-weight: bold !important;
    }


    .investido-extra {
      margin-top: 4%;
    }


   .barra-tracinhos {
      display: flex;
      gap: 4px;
      height: 22px;
      align-items: center;
      margin-top: 0px;
      width: 100%;
      max-width: 700px;
    }

    .tracinho {
      flex: 1;
      height: 100%;
      border-radius: 4px;
      background: #e0e0e0;
      border: 1px solid #ccc;
      transition: background 0.3s;
    }

    .tracinho.vermelho {
      background: #e74c3c;
      border-color: #e74c3c;
    }

    .tracinho.amarelo {
      background: #f7c948;
      border-color: #f7c948;
    }

    .tracinho.azul {
      background: #2584c6;
      border-color: #2584c6;
    }

    .tracinho.verde {
      background: #198754;
      border-color: #198754;
    }

    .barra-contribuicao {
      margin-top: 6%;
      margin-bottom: 1%;
    }

    .borderFim {
      border: 1px solid #2583c6;
    }

    .buttonFim {
      color: #fff;
      background-color: #2584c6;
    }

    .faltaInvestir {
      color: #2583c6 !important;
    }

    .falta-investir,
    .investido-extra {
      border-radius: 5px;
    }

    .faltaInvestir-letras {
      color: #000 !important;
      font-size: 1.1rem !important;
    }

    .investido-extra .form-label {
      color: #333;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .investido-extra .input-group-text {
      background-color: #f1f5fb;
      border: 1px solid #d8dee9;
      color: #0069d9;
      border-radius: 10px 0 0 10px;
    }

    .investido-input {
      border-radius: 0 10px 10px 0;
      color: #2584c6;
      border: 1px solid #d8dee9;
      border-left: none;
      padding: 0.65rem 1rem;
    }



    /* Responsividade */
    
    @media (max-width: 600px) {
      .investido-extra .input-group-text {
        padding: 0.5rem;
      }

      .investido-input {
        padding: 0.5rem;
        font-size: 0.95rem;
      }
    }


    .text-dark {
      font-size: 1.1rem !important;
      font-weight: 500;

    }


    @media (max-width: 990px) {
      .cardResultado-Um {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-right: 0;
        padding-bottom: 16px;
        margin-bottom: 16px;
      }

      .cardResultado-Dois {
        padding-left: 0;
      }
    }

    


    .input-group-text {
      background-color: #f1f5fb;
      border: 1px solid #d8dee9;
      border-right: none;
      color: #0069d9;
    }

    .form-control,
    .form-select {
      border-radius: 10px;
      border: 1px solid #d8dee9;
      font-size: 0.95rem;
      padding: 0.65rem 1rem;
    }

    .form-control:focus,
    .form-select:focus {
      border-color: #0069d9;
      box-shadow: 0 0 0 0.25rem rgba(0, 105, 217, 0.15);
    }



    .barra-flex {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .barra-texto {
      font-weight: bold;
      color: #2584c6;
      min-width: 48px;
      font-size: 1.08rem;
    }

 



    .divImg img {
      width: 80%;
      max-width: 65%;
      height: auto;
      margin-bottom: 2rem;
    }

    @media (min-width: 1000px) {
      .divImg img {
        max-width: 100%;
      }
      
      .link {
        margin-top: 75%;
        width: 100%;
        justify-content: center;
        align-items: center;
        display: flex;
      }


    }

    @media (min-width: 1600px) {
      .divImg img {
        max-width: 65%;
      }
    }

    @media (max-width: 600px) {
      .rowTotal {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        align-items: stretch !important;
        justify-content: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
      }

      .cardTotal {
        box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
        border-radius: 5px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        display: block !important;
      }

      .cardResultado-Um,
      .cardResultado-Dois {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        margin: 0 !important;
        display: block !important;
      }

      .cardConteudo {
        padding: 0 !important;
      }

      .conteudo {
        padding-left: 30px !important;
        padding-right: 30px !important;
      }



      .colTexto {
        background-color: #2583c61a;
        border-left: 5px solid #2584c6;
        border-radius: 5px;
        text-align: left;
        margin: 0% 0% 3% 0%;
        padding: 5% 4.5%;
        color: #3f3f3f;
        font-size: 15px;
      }

      .colTexto h4 {
        font-size: 18px;
        color: #2584c6;
        font-weight: bold;
      }

      .colResultado {
        background-color: #fff;
        border-left: 5px solid #2584c6;
        border-radius: 5px;
        text-align: left;
        margin: 0% 0% 3% 0%;
        padding: 5%;
        color: #3f3f3f;
        font-size: 15px;
      }



      .link {
        width: 100%;
        justify-content: center;
        align-items: center;
        display: flex;
      }

      .link a {
        border: 1px solid #2584c6;
        background-color: #fff;
        color: #2584c6;
        padding: 1.5% 3%;
        border-radius: 10px;
        text-decoration: none;
        margin: 0 5%;
        text-align: center;
        font-size: 75%;
      }

      .tituloTopo {
        width: 100%;
        height: auto;
        padding: 8% 0%;
        background: linear-gradient(500deg, #2584c6 0%, #2e8dd1 90%);
        text-align: center;
      }

      .tituloTopo h4 {
        text-align: center !important;
        color: #fff !important;
        font-size: 28px;
        font-weight: 700;
        line-height: 1.2;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
      }

      .tituloTopo p {
        text-align: center !important;
        color: #fff !important;
        font-size: 0.9rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
      }


      .linha {
        padding: 5% 2.5%;
        background-color: #fff;
        border-radius: 5px;
        margin-bottom: 3%;
      }

      .linhaDois {
        padding: 5% 2.5%;
        background-color: #fff;
        border-radius: 5px;
        margin-bottom: 2.5%;
      }

    }



    @media (min-width: 991px) {
      .indicador .step {
        margin-bottom: 15px;
      }

      .indicador .step:last-child {
        margin-bottom: 0;
      }

    }


    @media (min-width: 1200px) {

      .colTexto {
        background-color: #2583c61a;
        border-radius: 5px;
        text-align: left;
        margin: 0% 0% 3% 0%;
        padding: 1.5% 3%;
        color: #3f3f3f;
        font-size: 15px;
      }
    }


    .separator {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      border-bottom: 2.5px solid #fff;
      background-color: #2583c6;
      padding: 2.5%;
      margin-bottom: -0.5%;
    }

    .separator span {
      color: #fff;
      font-size: 1.1rem;
      padding: 0 10px;
      border-radius: 6px;
    }


    @media (max-width: 600px) {
        .separator {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      border-bottom: 2.5px solid #fff;
      background-color: #2583c6;
      padding: 2.5%;
      margin-bottom: -1% !important;
    }

    .separator span {
      color: #fff;
      font-size: 1.1rem;
      padding: 0 10px;
      border-radius: 6px;
    }

    .investido-extra {
      margin-top: 10%;
      margin-bottom: 15%;
    }

    .conteudoFinal{
      margin-top: 15% !important;
      margin-bottom: 15% !important;
      padding: 5% !important;
      height: auto !important;
    }

    }

    .rowFinal {
      padding-top: 0.5rem;
    }

    .economiaTotal,
    .falta-investir {
      margin-top: 0.5rem;
    }


    .divTitulo {
      font-size: 1.1rem;
      text-align: center;
      padding: 2.5%;
      width: 100%;
      background-color: #2584c6;
      color: #fff;
    }


    .conteudoFinal {
      background-color: #fff;
      border-radius: 5px;
      padding: 2.55%;
      font-size: 1rem;
      border-left: 7px solid #2584c6;
      margin-top: 6.5%;
      margin-bottom: 3.5%;
    }


    .conteudoFinal h5 {
      color: #2584c6;
      font-size: 1.15rem;
    }

    .conteudoFinal a {
      color: #13649e;
      font-size: 0.95rem;
      text-decoration: none;
    }

.rowEconomiaTotal{
  background-color: #fff;
  width: 100% !important;
  margin: 0 !important;
  margin-left: calc(var(--bs-gutter-x) * -0.5) !important;
  margin-right: calc(var(--bs-gutter-x) * -0.5) !important;
  padding: 1.5rem !important;
  border-radius: 0px 0px 5px 5px;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}




#irAtualizadoSimulado {
  grid-area: ir;
  background: #eaf4fb;
  border-left: 4px solid #2584c6;
  border-radius: 8px;
  padding: 12px 14px;
  color: #0f2d44;
  font-weight: 600;
}

#irAtualizadoSimulado span {
  color: #2584c6;
  font-weight: 700;
}



.rowFinal > .col-12 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}


.barra-contribuicao {
  width: 100%;
}

.barra-tracinhos {
  display: flex;
  gap: 4px;
  height: 22px;
  align-items: center;
  margin-top: 0;
  width: 100%;
  max-width: none; /* antes: 700px */
  flex: 1 1 100%;
}

.tracinho {
  flex: 1 1 0; /* cresce para preencher toda a linha */
  height: 100%;
  border-radius: 4px;
  background: #e0e0e0;
  border: 1px solid #ccc;
  transition: background 0.3s;
}


.cardConteudo p,
.cardLinha-Um,
.cardLinha-Dois,
.cardLinha-Tres {
  padding: 0.6rem 1.5rem !important;
}



/* Ajuste para mobile */
@media (max-width: 767px) {
  .cardConteudo p,
  .cardLinha-Um,
  .cardLinha-Dois,
  .cardLinha-Tres {
    padding: 0.8rem 1rem !important;
    font-size: 0.92rem;
    word-wrap: break-word;
  }

  .cardResultado-Um,
  .cardResultado-Dois {
    padding: 1.5rem 1rem !important;
  }

  .cardTitulo {
    padding-left: 1rem !important;
    font-size: 1.1rem !important;
  }

  .left {
    padding: 0.6rem 1rem !important;
  }


}

/* Ajuste específico para telas muito pequenas */
@media (max-width: 480px) {
  .cardConteudo p,
  .cardLinha-Um,
  .cardLinha-Dois,
  .cardLinha-Tres {
    padding: 0.7rem 0.8rem !important;
    font-size: 0.88rem;
  }

  .cardResultado-Um,
  .cardResultado-Dois {
    padding: 1.2rem 0.8rem !important;
  }

  .cardTitulo {
    padding-left: 0.8rem !important;
    font-size: 1.05rem !important;
  }


}




.mensagem-sucesso {
  border: none !important;
  border-radius: 0px 0px 5px 5px !important;
  margin-bottom: 2.5%;
}


.conteudoFinal h5{
  color: #2583c6;
  border-bottom: 1.3px solid #2583c6;
  padding: 0.5% 0% 1.5% 0%;
}

.conteudoFinal h6{
  color: #2583c6;
  font-size: 1.1rem;
  margin-top: 4%;
}



.modal-periodo-custom {
  border-radius: 15px;
  border: 2px solid #dee2e6;
}

.modal-periodo-header {
  background-color: #f8f9fa;
  color: #2584c6;
  border-radius: 13px 13px 0 0;
  border-bottom: 1px solid #dee2e6;
}

.modal-periodo-header .modal-title {
  color: #2584c6;
  font-weight: 600;
}

.modal-periodo-body {
  padding: 25px;
  line-height: 1.8;
  background-color: #ffffff;
}

.modal-periodo-footer {
  border-top: 1px solid #dee2e6;
  padding: 15px 25px;
  background-color: #f8f9fa;
  border-radius: 0 0 13px 13px;
}

.btn-periodo-custom {
  background-color: #2584c6;
  border: none;
  padding: 10px 30px;
  color: #ffffff;
}

.btn-periodo-custom:hover {
  background-color: #1a6ba8;
}
