/**
 * BAANNNG · ViniMegaMenu
 * Modal Mobile (RedHumb) Styles
 *
 * @since 2.5.2.0
 */


@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');




/* ============================================
   MODAL - Base (escondido por defeito)
   ============================================ */

.bglbc-redhumb {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--vmm-red, #BA2229);
	z-index: 99999;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transform: scale(0.2);
	transform-origin: center center;
	transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s;
	overflow: hidden;
}

/* Modal aberto */
.bglbc-redhumb.is-open {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}

/* Body bloqueado quando modal aberto */
body.bglbc-modal-open {
	overflow: hidden;
}


/* ============================================
   LINHA 01 - Switcher + Close
   ============================================ */

.bglbc-redhumb-line01 {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 1.5rem 2rem;
	gap: 2rem;
	flex-shrink: 0;
}

.bglbc-redhumb-close {
	width: 32px;
	height: 32px;
	cursor: pointer;
	transition: transform 0.2s ease-in-out;
}

.bglbc-redhumb-close:hover {
	transform: scale(1.1);
}

.bglbc-redhumb-close svg {
	width: 100%;
	height: 100%;
}


/* ============================================
   LINHA 02 - Logo + Menus (scrollável)
   ============================================ */

.bglbc-redhumb-line02 {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 3.2rem;
	flex: 1;
	overflow-y: auto;
	padding: 2rem 5%;
	align-items: center;
}

/* Logo - ocupa 3 colunas */
.bglbc-redhumb-logo {
	grid-column: span 5;
	display: flex;
	align-items: center;
	justify-content: center;
	position: sticky;
	top: 2rem;
}

.bglbc-redhumb-logo img {
	max-width: 100%;
	height: auto;
}

/* Container dos menus - ocupa 9 colunas */
.bglbc-redhumb-menus {
	grid-column: span 7;
}

.bglbc-redhumb-menus-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 3.2rem;
	width: 100%;
}


/* ============================================
   MENU ITEMS
   ============================================ */

.bglbc-redhumb-menu-item {
	/* Container do item */
}

.bglbc-redhumb-menu-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.2rem 0;
	border-bottom: 1px solid white;
	cursor: pointer;
}


.bglbc-redhumb-menu-title,
a.bglbc-redhumb-menu-title,
span.bglbc-redhumb-menu-title {
	font-family: "Exo 2", sans-serif !important;
	font-size: 2rem;
	line-height: 2.4rem;
	font-weight: 600!important;
	color: #ffffff !important;
	text-decoration: none !important;
	flex: 1;
	cursor: pointer!important;
}

/* Arrow */
.bglbc-redhumb-menu-arrow {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.5s ease-in-out;
	flex-shrink: 0;
	color: #ffffff;
	cursor: pointer;
}

.bglbc-redhumb-menu-arrow svg {
	width: 100%;
	height: 100%;
}

/* Arrow rotada quando aberto */
.bglbc-redhumb-menu-item.is-open .bglbc-redhumb-menu-arrow {
	transform: rotate(180deg);
}


/* ============================================
   SUBMENUS (Accordion)
   ============================================ */

.bglbc-redhumb-submenu {
	max-height: 0;
	overflow: hidden;
	transition: max-height 1s ease-in-out;
}

.bglbc-redhumb-menu-item.is-open .bglbc-redhumb-submenu {
	max-height: 1000px;
	transition: max-height 0.8s ease-in-out;
}

.bglbc-redhumb-submenu-link {
	display: block;
	font-family: "Exo 2", sans-serif;
	padding-left: 20px !important;
	font-size: 1.6rem;
	line-height: 2.4rem;
	font-weight: 400;
	color: #ffffff !important;
	text-decoration: none;
	padding: 0.75rem 0;
	cursor: pointer;
}

.bglbc-redhumb-submenu-link:first-child {
	padding-top: 1rem;
}


/* ============================================
   LINHA 03 - Footer
   ============================================ */

.bglbc-redhumb-line03 {
	display: flex;
	height: 50px;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 5%;
	flex-shrink: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.bglbc-redhumb-links {
	display: flex;
	gap: 2rem;
}

.bglbc-redhumb-links a {
	font-family: "Inter", sans-serif;
	font-size: 1.2rem;
	font-weight: 400;
	color: #ffffff !important;
	text-decoration: none;
	cursor: pointer;
}

/* Socials */
.bglbc-redhumb-socials {
	display: flex;
	gap: 1.5rem;
}

.bglbc-redhumb-socials a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: "Inter", sans-serif;
	font-size: 1.2rem;
	font-weight: 400;
	color: #ffffff !important;
	text-decoration: none!important;
	cursor: pointer;
}

.bglbc-redhumb-socials svg {
	width: 20px;
	height: 20px;
}


/* ============================================
   RESPONSIVIDADE
   ============================================ */

/* Tablets */
@media (max-width: 900px) {
	.bglbc-redhumb-line02 {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3rem;
		/* min-height: 100%; */
	}

	.bglbc-redhumb-logo {
		order: -1; /* Logo sempre primeiro */
		position: sticky;
		top: 0;
		background: var(--vmm-red, #BA2229);
		width: 100%;
		max-width: 60%;
		padding: 1rem 0;
		z-index: 10;
		flex-shrink: 0;
	}

	.bglbc-redhumb-menus {
		width: 100%;
		max-width: 600px;
	}

	.bglbc-redhumb-menus-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile */
@media (max-width: 600px) {
	.bglbc-redhumb-menus-grid {
		grid-template-columns: 1fr;
	}

	.bglbc-redhumb-logo {
		max-width: 80%;
	}
	/* .bglbc-redhumb-menu-title,
	a.bglbc-redhumb-menu-title,
	span.bglbc-redhumb-menu-title {
		font-size: 1.5rem;
		line-height: 2rem;
	} */

	.bglbc-redhumb-line03 {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}

	.bglbc-redhumb-links {
		flex-direction: column;
		gap: 0.5rem;
	}

	.bglbc-redhumb-socials {
		justify-content: center;
	}
}


/* ============================================
   CROSSFADE quando viewport > 1200px
   ============================================ */

@media (min-width: 1201px) {
	.bglbc-redhumb {
		display: none !important;
	}
}
