/***  ESTRUTURA BÁSICA  ***/

/*  Header  */

#main-header {
	background: transparent;
	position: fixed;
	top: 30px;
	width: 100%;
	transition: .4s all;
	z-index: 99;
}

@media (max-width: 992px) {
	#main-header.menu-mob-aberto {
		-webkit-transform: translateX(-260px);
		-moz-transform: translateX(-260px);
		-ms-transform: translateX(-260px);
		-o-transform: translateX(-260px);
		transform: translateX(-260px);
	}
}

#main-header .conteudo {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px 0;
}

#main-header .logo img {
	height: 35px;
	transition: .4s all;
}

#main-header #menu-mob-botao {
	color: var(--main-color);
	font-size: 28px;
	display: none;
	cursor: pointer;
	margin: 10px;
}

@media (max-width: 992px) {
	#main-header #menu-mob-botao {
		display: block;
	}
}

#main-header.menu-mob-aberto #menu-mob-botao i:before {
	content: '\f00d';
}

@media (max-width: 992px) {
    #main-header .menu-header {
        color: #fff;
        background-color: rgba(255, 255, 255, .99);
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
        position: fixed;
        top: -30px;
        right: -20px;
        width: 260px;
        height: 100vh;
        overflow-y: auto;
        transition: transform 0.5s ease;
        z-index: 1000;
    	overscroll-behavior: contain;
		-webkit-transform: translateX(260px);
		-moz-transform: translateX(260px);
		-ms-transform: translateX(260px);
		-o-transform: translateX(260px);
		transform: translateX(260px);
    }
}

#main-header .menu-header .menu {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

@media (max-width: 992px) {
    #main-header .menu-header .menu {
        flex-direction: column;
        justify-content: center;
        margin: 30px 20px;
    }
}

#main-header .menu-header .menu > li {
	cursor: pointer;
	margin: 0 12px;
}

@media (max-width: 992px) {
    #main-header .menu-header .menu > li {
        text-align: center;
		border-bottom: 1px solid #f5f5f5;
		width: 100%;
        margin: auto;
    }
}

#main-header .menu-header .menu > li:last-child {
	margin-right: 0;
}

@media (max-width: 992px) {
	#main-header .menu-header .menu > li:last-child {
		margin-right: auto;
		border-bottom: 0;
	}
}

#main-header .menu-header .menu > li a {
	color: var(--gray);
	font-size: 14px;
	font-weight: 500;
	display: block;
	transition: .3s all;
	position: relative;
	padding: 15px 0;
}

#main-header .menu-header .menu > li a:hover {
	color: #5465FF;
}

#main-header .menu-header .menu > li.menu-item-has-children > a:after {
	content: "\f107";
	font-family: "FontAwesome";
	margin-left: 7px;
}

#main-header .menu-header .menu > li .sub-menu {
	width: 100vw;
	max-width: 200px;
	background: #fff;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(40, 40, 40, 0.25);
	-moz-box-shadow: 0px 0px 10px 0px rgba(40, 40, 40, 0.25);
	box-shadow: 0px 0px 10px 0px rgba(40, 40, 40, 0.25);
	border-bottom: 2px solid var(--main-color);
	display: none;
	transition: 0.5s all;
	position: absolute;
	padding: 0 20px 5px;
	margin: 0 0 0;
	z-index: 9;
}

@media (max-width: 992px) {
	#main-header .menu-header .menu > li .sub-menu {
		position: relative;
		box-shadow: none;
		border: 0;
		max-width: 100%;
		padding: 0;
		margin: 0;
	}
}

@media (max-width: 992px) {
	#main-header .menu-header .menu > li.opened .sub-menu {
		display: block;
	}
}

@media (min-width: 992px) {
	#main-header .menu-header .menu > li.menu-item-has-children:hover .sub-menu {
		display: block;
	}
}

#main-header .menu-header .menu > li .sub-menu li {
	margin: 15px 0;
}

@media (max-width: 992px) {
	#main-header .menu-header .menu > li .sub-menu li {
		background: #fefefe;
		border-top: 1px solid #f5f5f5;
		margin: 0;
	}
}

#main-header .menu-header .menu > li .sub-menu li a {
	color: var(--main-color);
	padding: 4px 0;
}

#main-header .menu-header .menu > li .sub-menu li a:hover {
	opacity: 0.75;
}

#main-header.scroll-ativo {
	top: 20px;
}

#main-header.scroll-ativo .conteudo {
	background: var(--main-color);
    border-radius: 60px;
	box-shadow: 0 8px 30px -12px oklch(30% .05 285/.18);
	padding: 20px 25px;
}

@media (max-width: 992px) {
	#main-header.scroll-ativo .conteudo {
		padding: 10px 25px;
	}
}

#main-header.scroll-ativo .logo img {
	filter: brightness(0) saturate(100%) invert(100%) sepia(93%) saturate(2%) hue-rotate(136deg) brightness(106%) contrast(101%);
}

@media (max-width: 992px) {
	#main-header.scroll-ativo #menu-mob-botao {
		color: #fff;
	}
}

#main-header.scroll-ativo .menu-header .menu > li a {
	color: #fff;
}

@media (max-width: 992px) {
	#main-header.scroll-ativo .menu-header .menu > li a {
		color: var(--gray);
	}
}

#main-header.scroll-ativo .menu-header .menu > li a:hover {
	color: #ccc;
}

/*  Footer  */

#main-footer {
	border-top: 1px solid #ccc;
}

#main-footer .conteudo {
	padding: 64px 0 32px;
}

@media (max-width: 992px) {
	#main-footer .conteudo {
		padding: 40px 10px;
	}
}

#main-footer .boxes {
	display: flex;
	flex-wrap: wrap;
	row-gap: 20px;
}

#main-footer .box {
	width: 182px;
}

@media (max-width: 992px) {
	#main-footer .box {
		width: 100%;
	}
}

#main-footer .box h3 {
	color: var(--black);
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 20px;
}

#main-footer .box .menu li {
	margin-bottom: 8px;
}

#main-footer .box .menu li a {
	color: var(--gray);
	font-size: 14px;
	line-height: 18px;
	display: block;
	margin-bottom: 15px;
}

#main-footer .box .menu li a:hover {
	color: #5465FF;
}

#main-footer .box.sobre {
	width: calc(100% - 364px);
}

@media (max-width: 992px) {
	#main-footer .box.sobre {
		width: 100%;
		margin-bottom: 10px;
	}
}

#main-footer .box.sobre .logo img {
	height: 35px;
	margin-bottom: 20px;
}

#main-footer .box.sobre p {
	color: var(--gray);
	font-size: 14px;
	line-height: 20px;
	max-width: 230px;
	margin-bottom: 15px;
}

#main-footer .box.sobre .redes-sociais ul {
	display: flex;
	flex-wrap: wrap;
	column-gap: 8px;
}

#main-footer .box.sobre .redes-sociais ul li a {
	font-size: 18px;
	background: rgba(241, 240, 242, 0.8);
	backdrop-filter: blur(10px);
	border-radius: 50%;
	width: 38px;
	height: 38px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: .3s all;
}

#main-footer .box.sobre .redes-sociais ul li a:hover {
	background: var(--main-color);
}

#main-footer .box.contatos p {
	color: var(--gray);
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 15px;
}

#main-footer .box.contatos p i {
	color: var(--gray);
	margin-right: 4px;
}

#main-footer .copy {
	border-top: 1px solid #ccc;
	display: flex;
	justify-content: space-between;
	padding-top: 32px;
	margin-top: 32px;
}

@media (max-width: 992px) {
	#main-footer .copy {
		flex-direction: column;
		row-gap: 8px;
		margin-top: 25px;
	}
}

#main-footer .copy p {
	color: var(--gray);
	font-size: 13px;
	line-height: 18px;
	margin: 0;
}

#main-footer .copy p a {
	color: var(--gray);
}

#main-footer .copy p a:hover {
	text-decoration: underline;
}

#main-footer .copy p.nmv a {
	background: linear-gradient(90deg, rgba(155, 71, 156, 1) 0%, rgba(239, 63, 98, 1) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}

/*  WhatsApp  */

#whatsapp {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 999;
}

#whatsapp .conteudo {
	background: rgba(37, 211, 102, 0.8);
	border-radius: 50%;
	box-shadow: 1px 6px 24px 0 rgba(7, 94, 84, .24);
	width: 60px;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	animation: zappulse 2s infinite;
	transition: transform 0.3s ease;
}

#whatsapp .conteudo img {
	height: 40px;
}

@keyframes zappulse {
	0% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
		transform: scale(1);
	}
	50% {
		box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
		transform: scale(1.1);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
		transform: scale(1);
	}
}
