/* Navegação entre etapas */
.navegacao {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 24px 0 16px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 120px;
}

.btn-primario {
    background-color: #9333EA;
    color: #ffffff;
}

.btn-primario:hover {
    background-color: #7C22D4;
    transform: translateY(-2px);
}

.btn:not(.btn-primario) {
    background-color: transparent;
    color: #b794f4;
    border: 1px solid rgba(147, 51, 234, 0.5);
}

.btn:not(.btn-primario):hover {
    background-color: rgba(147, 51, 234, 0.15);
}

/* Estilos para campos obrigatórios */
.campo-obrigatorio::after {
    content: ' *';
    color: #EF4444;
    font-weight: bold;
}

.campo-invalido {
    border-color: #EF4444 !important;
    background-color: rgba(239, 68, 68, 0.1) !important;
}

/* Mensagens de erro ocultas */
.mensagem-erro {
    display: none !important;
}

/* Estilos do Cabeçalho */
.header {
    background-color: #12022B;
    padding: 20px 0;
    width: 100%;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--branco);
    margin-bottom: 10px;
}

.slogan {
    font-size: 1rem;
    color: var(--branco);
    opacity: 0.8;
}

/* Seletor de Idiomas */
.lang-selector {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.lang-btn {
    background: none;
    border: 1px solid #4a1b80;
    color: #b794f4;
    padding: 2px 10px;
    margin: 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.lang-btn:hover, 
.lang-btn.active {
    background: #9333EA;
    color: white;
    border-color: #9333EA;
}

.lang-btn.active {
    box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.3);
}

/* Conteúdo Principal */
main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Estilo das Seções */
.secao-container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background: transparent;
    border: 1px solid #4A1B80;
    border-radius: 12px;
}

.secao-container:last-child {
    margin-bottom: 0;
}

.etapa {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.etapa.ativa {
    display: flex;
    animation: fadeIn 0.5s ease-in-out;
}

/* Formulário */
.form-group {
    width: 100%;
    margin-bottom: 1.75rem;
    text-align: left;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: #E9D5FF;
    font-weight: 500;
    font-size: 1.05rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="time"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #4A1B80;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: #E2E8F0;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.form-group input::placeholder {
    color: rgba(226, 232, 240, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9333EA;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

/* Checkbox e Radio Buttons */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px 15px;
    background: rgba(26, 32, 44, 0.7);
    border: 1px solid #4A1B80;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.checkbox-container:hover {
    background: rgba(74, 27, 128, 0.2);
    border-color: #7C3AED;
}

.checkbox-container input[type="checkbox"],
.checkbox-container input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #9333EA;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input[type="radio"] {
    border-radius: 50%;
}

.checkbox-container input[type="checkbox"]:checked,
.checkbox-container input[type="radio"]:checked {
    background-color: #9333EA;
    border-color: #9333EA;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
    box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.3);
}

.checkbox-container input[type="radio"]:checked {
    background-image: none;
    background-color: #9333EA;
    border-color: #9333EA;
    box-shadow: inset 0 0 0 2px white, 0 0 0 2px rgba(147, 51, 234, 0.3);
}

/* Botões de Navegação */
.botoes-navegacao {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 700px;
    margin: 2rem auto 0;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #9333EA;
    color: white;
}

.btn-primary:hover {
    background-color: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-secondary {
    background-color: #2D3748;
    color: #E2E8F0;
}

.btn-secondary:hover {
    background-color: #4A5568;
}

/* Responsividade */
@media (max-width: 768px) {
    .secao-container {
        padding: 1rem;
    }
    
    .checkbox-container {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .checkbox-container input[type="checkbox"],
    .checkbox-container input[type="radio"] {
        width: 16px;
        height: 16px;
        min-width: 16px;
        background-size: 10px;
    }
    
    .frase-destaque {
        text-align: center;
        margin: 0 auto 2.5rem;
        line-height: 1.2;
        font-weight: 700;
        max-width: 100%;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
    }

    [lang="es"] .frase-parte1,
    [lang="es"] .frase-parte2 {
        display: block;
        line-height: 1.4;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .botoes-navegacao {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .botoes-navegacao .btn {
        width: 100%;
    }
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Utilitários */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none !important; }
