Legally, there is no difference between sexual harassment and sex-based discrimination: both are illegal. Treating a woman differently (e.g. worse) than a man, insulting a woman by saying "how stupid women are," etc. is illegal sex-based employment discrimination and is prohibited by both federal and your state's law. Based on what you write, you may have a viable legal claim, and should contact either the federal EEOC (Equal Employment Opportunity Commission) or your state's equal/civil rights agency.