html, body {
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
}
body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #333;
    justify-content: center;
    margin: 0;
    overflow-x: hidden;
}
.logo-project {
    margin: 25px 0 20px 0;
    max-width: 210px;
    width: 100%;
    
}
input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1); /* Destaque suave */
}


button:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.nav-menu {
  margin: 30px 0 20px 0;
  display: flex;
  padding: 30px;
  align-items: center;
  justify-content: center; /* <-- centraliza no wrap */
  gap: 30px; /* menor gap ajuda na responsividade */
  flex-wrap: wrap;
}

.nav-menu a {
  text-decoration: none;    
  color: #333;
  font-weight: 500;
  padding: 0 8px;
  transition: color 0.3s;
}

.menu-separator {
  height: 20px;
  width: 1px;
  background-color: #9ce3ed;
}
.welcome-message {
  color: #dc743f;
  font-size: 18px;
}
.nav-menu a:hover {
    color: #dc743f;
}
.user-info-group {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto;
    width: 90%;
    max-width: 1400px;
    position: relative;
    padding: 0 20px;
}

/* Linha de fundo da barra de progresso */
.progress-bar::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e0e0e0;
    z-index: 1;
    transform: translateY(-50%);
}

/* Preenchimento da barra de progresso */
.progress-fill {
    position: absolute;
    top: 25%;
    left: 0;
    height: 4px;
    background-color: #dc743f;
    z-index: 2;
    transform: translateY(-50%);
    transition: width 0.5s ease-in-out;
}

/* Estilo dos passos */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    color: #666;
    font-size: 14px;
    transition: all 0.4s ease;
    min-width: 80px;
}

/* Círculo dos passos */
.step::before {
    content: attr(data-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    color: #999;
    font-weight: 500;
    margin-bottom: 8px;
    transition: all 0.4s ease;
    z-index: 4;
}

/* Estilo para passos ativos */
.step.active {
    color: #dc743f;
    font-weight: 600;
}

.step.active::before {
    background-color: #dc743f;
    color: white;
    border-color: #dc743f;
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(220, 116, 63, 0.2);
}


/* Container geral */
.container {
    display: flex;
    justify-content: center; /* Isso centraliza os itens DENTRO do container */
    align-items: flex-start;
    width: 100%;
    max-width: 1400px; /* Limita a largura máxima do container */
    gap: 20px;
    margin-left: auto;  /* Adicione esta linha */
    margin-right: auto; /* Adicione esta linha */
    margin-bottom: 40px; 
}
/* Formulário */
.form-side {
    width: 100%;
    background-color: white;
}

.form-wrapper {
    display: flex;
    justify-content: space-between;
}
.login-side h1 {
  color: #dc743f;
    font-size: 24px;
    margin-bottom: 20px;
}
.login-toggle .toggle-btn {
    color: #dc743f;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 0;
    align-items: center;    
}
.form-side h1 {
    color: #dc743f;
    font-size: 24px;
    margin-bottom: 20px;
}

.form-side h3, 
.form-side h4 {
    color: #646464;
    margin-bottom: 20px;
}

.form-side .form-group {
    margin-bottom: 15px;
}

.form-side label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    color: #333;
}

.form-side input {
    width: 100%;
    max-width: 800px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    margin-right: 0;
}
.oculto {
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
/* Login (lado laranja fixo e alto) */
.login-container {
    background-color: #bbe8ee;
    color: #333;
    padding: 40px 30px;
    width: 100%;
    max-width: 400px; /* Largura máxima definida */
    height: fit-content;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-top: 40px; /* Espaço acima do container */
    margin-bottom: 40px; /* Espaço abaixo do container */
    z-index: 10;
    position: relative;
    top: auto;
    right: auto;
    margin-left: auto;
    margin-right: auto;
}

.login-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.login-form-fields {
    display: none; /* Esconde os campos inicialmente */
}

.login-form-fields.show {
    display: block; /* Mostra quando tem a classe show */
}
.login-title {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
    color: #333;
}

.login-form-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 15px
}

.login-label {
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.login-input {
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    width: 320px;
}

.login-btn {
    padding: 12px;
    background-color: #dc743f;
    border: none;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #a13f0e;
}

/* Botões compartilhados */
button.btn, .btn {
    padding: 12px;
    background-color: #9ce3ed;
    border: none;
    color: #333;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #7fd3db;
}

.site-footer {
    background-color: #dc743f;
    color: white;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto; /* ou height: 200px; se quiser fixo */
    padding: 20px 0; /* se quiser espaço interno */
}

.footer-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  max-width: 210px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.header-container {
  display: flex;
  justify-content: space-between; /* separa esquerda e direita */
  align-items: center;
  padding: 20px;
  flex-wrap: wrap;
  
}
.logo-project {
    margin: 0; /* Remove a margem anterior */
    max-width: 210px;
    width: auto; /* Mude de 100% para auto */
    height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}


.menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    padding: 8px;
}
.footer-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.footer-menu a:hover {
  opacity: 0.8;
}

.footer-separator {
  height: 16px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.5);
}

.footer-copy {
  font-size: 14px;
  margin-top: 30px;
  opacity: 0.8;
}
.header-mobile{
    display: none;
}
#parteEmpresa {
    display: none;
    max-width: 600px;
    margin: auto;
}

/* Responsividade */
@media (min-width: 901px) {
    .container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 60px;
    }
    .header-container {
        gap: 0px;
    }
    
}


@media (max-width: 768px) {
    .progress-bar {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 20px;
    }
    /* Esconde nav por padrão no mobile */
/* Geral */
.header {
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-container {
        gap: 0px;
    }

.nav-menu {
    display: flex;
    gap: 16px;
}
.welcome-message {
        display: none;
    }
.menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: none; /* Esconde no desktop */
}

/* Mobile */
    .nav-menu {
        display: none; /* Esconde no mobile */
        flex-direction: column;
        background: white;
        padding: 16px;
        position: absolute;
        top: 60px;
        right: 16px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
        z-index: 9999;
    }

    .menu-toggle {
        display: block; /* Mostra o botão no mobile */
    }
    body {
        width: 100%;
        overflow-x: hidden;
        position: relative;
    }

.menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

    .progress-bar::before,
    .progress-fill {
        width: 4px;
        height: 100%;
        left: 19px;
        top: 0;
        transform: none;
    }
    
    .step {
        flex-direction: row;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .step::before {
        margin-bottom: 0;
        margin-right: 0;
    }
  .container {
    width: 100%;
    padding: 0;
    margin:0;
    
  }
   .login-container {
    width: 100%;
    position: static;
    margin-top: 40px;
    border-radius: 12px;
  }

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Centralizar o formulário de empresa */
.centralizado {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Inputs maiores */
#parteEmpresa .form-group input,
.form-group input {
    display: flex;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-top: 4px;
    box-sizing: border-box;
}

/* Opcional: ajustar a largura do formulário */
#parteEmpresa {
    display: none;
    max-width: 600px;
    margin: auto;
}

.form-group.inline {
    display: flex;
    align-items: center;
}

.form-group.inline input {
    flex: 1;
    padding: 12px;
    font-size: 16px;
}

.form-group.inline button {
    padding: 12px 20px;
    font-size: 16px;
}
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    font-family: 'Poppins', sans-serif;
    color: #999;
    font-weight: 500;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ccc;
    margin: 0 10px;
}
/* Adicione no final do arquivo CSS */
.login-toggle {
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    align-items: center;
}

.login-toggle .toggle-text {
    color: #333;
    font-weight: 500;
    align-items: center;
}

.login-toggle .toggle-btn {
    color: #dc743f;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 0;
    align-items: center;
}

.login-form-fields {
    display: none; /* Esconde os campos inicialmente */
}

.login-form-fields.show {
    display: block; /* Mostra quando tem a classe show */
}
/* Adicione no final do arquivo CSS */
.senha-alerta-container {
    width: 100%;
    margin-top: 4px; /* Espaço entre o input e o alerta */
}

#senha_alerta {
    display: block; /* Mude de inline para block */
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.3;
}
}
/* Adicione isso no final do arquivo CSS */

@media (max-width: 768px) {
    /* Ajustes gerais */
    body {
        width: 100%;
        overflow-x: hidden;
        position: relative;
    }
    
    /* Progress Bar - Mantém em linha */
.progress-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas de largura igual */
    gap: 8px; /* espaçamento entre os itens */
    padding-bottom: 10px;
}
.form-side{
    padding: 12px;

}
    
    .progress-bar::before,
    .progress-fill {
        top: 15px;
        height: 4px;
        width: 100%;
        left: 0;
        transform: none;
        display: none;
    }
    
    .step {
        flex-direction: column;
        min-width: 60px;
        font-size: 12px;
    }
    
    .step::before {
        margin-right: 0;
        margin-bottom: 5px;
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    /* Container principal - Formulário acima, Login abaixo */
    .container {
        flex-direction: column;
        gap: 0;
    }
    
    .form-side {
        order: 1;
        width: 100%;
    }
    
    .login-container {
        order: 2;
        width: 100%;

        max-width: 84%;
        padding: 12px;
        border-radius: 12px;
    }
    
    /* Ajustes nos formulários */
    .form-side input {
        font-size: 16px;
        padding: 12px;
    }
    .site-footer {
        background-color: #dc743f;
        color: white;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        /* Remova margin-top se existir */
        height: auto; /* Mude de 200px fixo para auto */
        /* Adicione para garantir que fique no final */
        margin-top: auto;
    }
    /* Menu de navegação */
    .nav-menu {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu-separator {
        display: none;
    }
    .site-footer{
        background-color: #dc743f;
        color: white;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        /* Remova margin-top se existir */
        height: auto; /* Mude de 200px fixo para auto */
        /* Adicione para garantir que fique no final */
        margin-top: auto;
    }
    .footer-content {
        width: 100%;
        padding: 0;

        font-size: 12px;
    }
    /* Rodapé */
    .footer-menu {
        gap: 8px;
        flex-wrap: wrap;
        padding: 10px;
    }
    
    .footer-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    
    /* Ajustes adicionais para telas muito pequenas */
    .progress-bar {
        gap: 4px;
    }
    .form-side input{
        padding: 10px;
    }
    .step {
        min-width: 50px;
        font-size: 11px;
    }
    
    .form-side h1 {
        font-size: 22px;
    }
    
    .login-title {
        font-size: 20px;
    }
    
    .btn, .login-btn {
        padding: 14px;
        font-size: 16px;
    }
}