@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* CSS (style.css) */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    min-height: 100vh;
    background-color: #f4f6f9;

}


.multiform {
    display: flex;
    width: 100%;
    min-height: 100vh;
    box-shadow: none;
    background-color: #fff;
    border-radius: 0;
}

.multiform__sidebar {
    width: 55%;
    background: url(../assets/imgs/Fundo-1.png) no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    border-radius: 0;
}

.multfirom__sidebar-logo{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 20px;
    left: -20px;
    text-transform: uppercase;
}

.multfirom__sidebar-logo p{
    color: #04276b;
    font-size: 12px;
    font-weight: 500;
    margin: -8% 0 0px 55px;
    letter-spacing: 3.3px;
} 


/* Texts of sidebar */

.multiform__sidebar-texts{
    position: absolute;
    padding: 20px;
    left: 20px;
}

.multiform__sidebar-texts h1{
  color: #fff;
  font-weight: 600;
}

.multiform__sidebar-texts h1 span{
    color: #0E78F2;
  }

.multiform__sidebar-texts p{
    color: #fff;
  }

.multiform__sidebar-texts p span{
    position: relative;
    left: 20px;
    top: 10px;
  }

/* Contêiner interativo */
.interactive-toggle {
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 10px;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    width: 350px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.interactive-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Botão interativo */
.toggle-button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

/* Estilo da seta (SVG) */
.arrow {
    transition: transform 0.3s ease;
}

.arrow.up {
    transform: rotate(180deg); /* Rotaciona a seta */
}

/* Conteúdo ocultável */
.toggle-content {
    margin-top: 10px;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.toggle-content.visible {
    max-height: 300px; /* Ajuste conforme necessário */
    opacity: 1;
}   

/* Linha de progresso de fundo */
.progress-line {
    position: absolute;
    top: 30px;
    width: 2px;
    height: 85%;
    background-color: #e0e0e0;
    z-index: 0; 
}

/* Linha de progresso preenchida */
.progress-line-filled {
    position: absolute;
    top: 30px; /* Inicia no topo */
    width: 2px;
    height: 0%; /* Começa vazio */
    background-color: #0E78F2; /* Azul para o preenchimento */
    z-index: 1; /* Fica acima da linha cinza */
    transition: height 0.5s ease; /* Transição suave */
}

/* Ajuste da posição das etapas (círculos) */
.multiform__steps {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px; /* Espaçamento entre os círculos */
    margin-right: 40px;
    padding: 20px 0;
   
}


.multiform__step {
    width: 50px;
    height: 50px;
    background-color: #0E78F2;
    color: #fff;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 3px solid #0E78F2;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.multiform__step--active {
    background-color: #fff;
    color: #0E78F2;
    border-color: #0E78F2;
    font-weight: bold;
}

.multiform__step-wrapper {
    border: 1px solid #0E78F2;
    padding: 6px;
    border-radius: 100px;
    position: relative;
    z-index: 2; /* Mantém os círculos acima da linha */
}

.multiform__step-wrapper:nth-child(2),.multiform__step-wrapper:nth-child(3) {
    border: 1px solid white;
    padding: 6px;
    border-radius: 100px;
}


.multiform__content {
    padding: 60px;
    width: 40%;
}

.multiform__title {
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: 600;
    margin-block: 0;
}

.multiform__link {
    color: #0E78F2;
    text-decoration: none;
}

.multiform__subtitle {
    font-size: 16px;
    margin-bottom: 40px;
    color: #707070;
}

.multiform__label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.multiform__input {
    width:max-content;
    padding: 10px;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid wheat;
    border-radius: 0px;
}

.multiform__input:focus {
    outline: 0;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

.multiform__button {
    background-color: #0E78F2;
    color: #fff;
    padding: 15px;
    transition: background .5s ease;
    -moz-transition: background .5s ease;
    -webkit-transition: background .5s ease;
    -o-transition: background .5s ease;
    font-size: 16px;
    border: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    text-align: center;
    font-weight: 500;
    margin-left: auto;
}

.multiform__button:hover {
    background-color: #3a78c2;
}



/* Animações otimizadas */
@keyframes smoothAppear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .multiform__form {
    animation: smoothAppear 0.4s ease-out;
  }
  
  /* Media Queries Otimizadas */
  @media (max-width: 768px) {
    .multiform {
      flex-direction: column;
    }
    
    .multiform__sidebar,
    .multiform__content {
      width: 100%;
      min-height: auto;
    }
  }

  /* 1. Elementos com largura relativa */
.multiform__input {
    padding: 0.6rem;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}

/* 2. Botões e caixa interativa usando % */
.interactive-toggle {
    width: 100%;
    max-width: 400px;    /* evita ficar largo demais em telas grandes */
    margin-top: 1rem;
}

/* 3. Ajustes de layout para telas maiores — estilo padrão */
.multiform {
    display: flex;
    flex-direction: row;
}

.multiform__content {
    max-width: 100%;
}

.multiform__sidebar {
    max-width: 100%;
}


/* 4. Breakpoint para telas médias (tablets) */
@media (max-width: 768px) {
    .multiform {
        flex-direction: column;
    }
    .multiform__sidebar,
    .multiform__content {
        width: 100%;
    }
}

/* 5. Breakpoint adicional para telas bem pequenas (smartphones) */
@media (max-width: 480px) {
    .multiform__sidebar-texts h1 {
        font-size: 1.5rem;
    }
    .multiform__step {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    .interactive-toggle {
        max-width: none;
    }

    .multiform__title{
        font-size: 22px;
        margin-bottom: 10px;
        font-weight: 600;
        margin-block: 0;
        margin-left: 10px;
        margin-top: 20px;

    }

    .multiform__subtitle {
        font-size: 16px;
        margin-bottom: 40px;
        color: #707070;
        margin-left: 10px;
    }

    .multiform__label {
        display: block;
        margin-left: 12px;
        margin-bottom: 10px;
        font-weight: bold;
    }

    .multiform__button{
        margin-left: 60%;
    }

    .multiform__content {
        padding: 0;
    }
    
    .interactive-toggle{
        display: none;
    }

    .multiform__input {
        margin-left: 20px;
    }
}
