/* CONTEÚDO PARA: css/menu-style.css */

@import url('https://fonts.googleapis.com/css?family=Roboto');

/* Deixei body comentado pois a fonte pode ser definida no theme-switcher ou globalmente */
/* body{
	font-family: 'Roboto', sans-serif;
} */
* {
	/* margin: 0; */ /* Evitar resets globais que conflitam com Bootstrap */
	/* padding: 0; */
}
i { /* Espaço para ícones do menu */
	margin-right: 10px;
}
/*----------bootstrap-navbar-css------------*/
.navbar-logo{
	padding: 15px;
	color: #fff; /* Cor do logo no menu original */
}
.navbar-mainbg{
	background-color: #5161ce; /* Cor de fundo do menu original */
	padding: 0px;
}
#navbarSupportedContent{
	overflow: hidden;
	position: relative;
}
#navbarSupportedContent ul{
	padding: 0px;
	margin: 0px;
}
#navbarSupportedContent ul li a i{
	margin-right: 10px;
}
#navbarSupportedContent li {
	list-style-type: none;
	float: left; /* Necessário para o JS original calcular posição */
}
#navbarSupportedContent ul li a{
	color: rgba(255,255,255,0.5); /* Cor do link inativo */
    text-decoration: none;
    font-size: 15px;
    display: block;
    padding: 20px 20px;
    transition-duration:0.6s;
	transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}
#navbarSupportedContent>ul>li.active>a{
	color: #5161ce; /* Cor do texto ativo (contraste com seletor branco) */
	background-color: transparent;
	transition: all 0.7s;
}
#navbarSupportedContent a:not(:only-child):after {
	content: "\f105";
	position: absolute;
	right: 20px;
	top: 10px;
	font-size: 14px;
	font-family: "Font Awesome 6 Free"; /* Atualizado para FA6 */
    font-weight: 900; /* Garante que o ícone Free Solid apareça */
	display: inline-block;
	padding-right: 3px;
	vertical-align: middle;
	transition: 0.5s;
}
#navbarSupportedContent .active>a:not(:only-child):after {
	transform: rotate(90deg);
}
.hori-selector{
	display:inline-block;
	position:absolute;
	height: 100%;
	top: 0px;
	left: 0px;
	transition-duration:0.6s;
	transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
	background-color: #fff; /* Cor do seletor */
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	margin-top: 10px;
    z-index: 0; /* Para garantir que não fique sobre o texto do link ativo */
}
/* Ajuste para que o texto do link ativo fique sobre o seletor */
#navbarSupportedContent>ul>li.active>a {
    position: relative; /* Necessário para z-index */
    z-index: 1;
}

.hori-selector .right,
.hori-selector .left{
	position: absolute;
	width: 25px;
	height: 25px;
	background-color: #fff; /* Cor do seletor */
	bottom: 10px;
}
.hori-selector .right{
	right: -25px;
}
.hori-selector .left{
	left: -25px;
}
.hori-selector .right:before,
.hori-selector .left:before{
	content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #5161ce; /* Cor do fundo da navbar (para curva) */
}
.hori-selector .right:before{
	bottom: 0;
    right: -25px;
}
.hori-selector .left:before{
	bottom: 0;
    left: -25px;
}


/* Media Query Desktop */
@media(min-width: 992px){
	.navbar-expand-custom {
	    -ms-flex-flow: row nowrap;
	    flex-flow: row nowrap;
	    -ms-flex-pack: start;
	    justify-content: flex-start;
	}
	.navbar-expand-custom .navbar-nav {
	    -ms-flex-direction: row;
	    flex-direction: row;
	}
	.navbar-expand-custom .navbar-toggler {
	    display: none;
	}
	.navbar-expand-custom .navbar-collapse {
	    display: -ms-flexbox!important;
	    display: flex!important;
	    -ms-flex-preferred-size: auto;
	    flex-basis: auto;
	    align-items: center; /* Alinha itens verticalmente (inclui botão de tema) */
	}
}

/* Media Query Mobile/Tablet */
@media (max-width: 991px){
    #navbarSupportedContent li {
       float: none;
       width: 100%;
    }
	#navbarSupportedContent ul li a{
		padding: 12px 30px;
        text-align: left;
	}
    /* Esconde o seletor horizontal no mobile, opcionalmente */
	/* .hori-selector {
		 display: none;
	} */
     /* Ou ajusta para vertical (código anterior) */
     .hori-selector{
		margin-top: 0px;
		margin-left: 10px;
		border-radius: 0;
		border-top-left-radius: 25px;
		border-bottom-left-radius: 25px;
        width: 5px;
        height: 40px; /* JS ajusta */
        border-top-right-radius: 0;
	}
	.hori-selector .left,
	.hori-selector .right{
        height: 50px;
        width: 25px;
        left: 10px;
        bottom: auto;
        background-color: #fff;
	}
	.hori-selector .left{ top: -25px; }
	.hori-selector .right{ bottom: -25px; top: auto; }
	.hori-selector .left:before{ left: -25px; top: -25px; background-color: #5161ce;}
	.hori-selector .right:before{ left: -25px; bottom: -25px; top: auto; background-color: #5161ce;}
}