.pontos-mega-menu {
	position: relative;
	z-index: 50;
	width: 100%;
	background: #ffffff;
	border-bottom: 1px solid rgba(20, 29, 45, 0.08);
	box-shadow: 0 16px 36px rgba(20, 29, 45, 0.06);
}

body.pontos-mega-menu-active #Header,
body.pontos-mega-menu-active #Header_creative,
body.pontos-mega-menu-active .header_placeholder {
	display: none !important;
}

.pontos-mega-menu,
.pontos-mega-menu * {
	box-sizing: border-box;
}

.pontos-mega-menu__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: min(1180px, calc(100% - 32px));
	min-height: 78px;
	margin: 0 auto;
}

.pontos-mega-menu__brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #13233a;
	font-size: 22px;
	font-weight: 800;
	text-decoration: none;
}

.pontos-mega-menu__brand::before {
	width: 38px;
	height: 38px;
	content: "";
	border-radius: 8px;
	background:
		linear-gradient(135deg, #1f7aec 0%, #25b88d 100%);
	box-shadow: 0 10px 20px rgba(31, 122, 236, 0.2);
}

.pontos-mega-menu__nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.pontos-mega-menu__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #26364d;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease;
}

.pontos-mega-menu__link:hover,
.pontos-mega-menu__link:focus-visible,
.pontos-mega-menu__item--open > .pontos-mega-menu__link {
	background: #eef5ff;
	color: #0d63d8;
	outline: none;
}

.pontos-mega-menu__item {
	position: static;
}

.pontos-mega-menu__panel {
	position: absolute;
	top: calc(100% - 1px);
	left: 50%;
	display: grid;
	grid-template-columns: minmax(250px, 0.8fr) minmax(580px, 1.8fr);
	gap: 26px;
	width: min(1180px, calc(100% - 32px));
	padding: 26px;
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
	transform: translate(-50%, 14px);
	border: 1px solid rgba(20, 29, 45, 0.08);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 26px 70px rgba(20, 29, 45, 0.16);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.pontos-mega-menu__item--open .pontos-mega-menu__panel,
.pontos-mega-menu__item--hover .pontos-mega-menu__panel,
.pontos-mega-menu__item--has-panel:hover .pontos-mega-menu__panel,
.pontos-mega-menu__item--has-panel:focus-within .pontos-mega-menu__panel {
	pointer-events: auto;
	visibility: visible;
	opacity: 1;
	transform: translate(-50%, 0);
}

.pontos-mega-menu__panel::before {
	position: absolute;
	top: -18px;
	left: 0;
	width: 100%;
	height: 18px;
	content: "";
}

.pontos-mega-menu__panel-intro {
	min-height: 100%;
	padding: 24px;
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(31, 122, 236, 0.94), rgba(20, 29, 45, 0.96));
	color: #ffffff;
}

.pontos-mega-menu__panel-intro span {
	display: inline-flex;
	margin-bottom: 12px;
	color: #bde7ff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pontos-mega-menu__panel-intro h3 {
	margin: 0 0 12px;
	color: #ffffff;
	font-size: 26px;
	line-height: 1.2;
}

.pontos-mega-menu__panel-intro p {
	margin: 0 0 20px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 15px;
	line-height: 1.6;
}

.pontos-mega-menu__panel-intro a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 8px;
	background: #ffffff;
	color: #0d63d8;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.pontos-mega-menu__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.pontos-mega-menu__group h4 {
	margin: 0 0 10px;
	color: #13233a;
	font-size: 15px;
	font-weight: 800;
}

.pontos-mega-menu__service {
	display: block;
	min-height: 76px;
	padding: 13px 14px;
	border: 1px solid rgba(20, 29, 45, 0.08);
	border-radius: 8px;
	background: #ffffff;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pontos-mega-menu__service + .pontos-mega-menu__service {
	margin-top: 10px;
}

.pontos-mega-menu__service strong {
	display: block;
	margin-bottom: 5px;
	color: #13233a;
	font-size: 14px;
	line-height: 1.25;
}

.pontos-mega-menu__service span {
	display: block;
	color: #637189;
	font-size: 13px;
	line-height: 1.45;
}

.pontos-mega-menu__service:hover,
.pontos-mega-menu__service:focus-visible {
	border-color: rgba(31, 122, 236, 0.34);
	box-shadow: 0 14px 32px rgba(20, 29, 45, 0.1);
	outline: none;
	transform: translateY(-2px);
}

.pontos-mega-menu__toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(20, 29, 45, 0.12);
	border-radius: 8px;
	background: #ffffff;
	cursor: pointer;
}

.pontos-mega-menu__toggle-line {
	display: block;
	width: 20px;
	height: 2px;
	margin: 4px auto;
	background: #13233a;
}

@media (max-width: 1024px) {
	.pontos-mega-menu__inner {
		min-height: 68px;
	}

	.pontos-mega-menu__toggle {
		display: inline-block;
	}

	.pontos-mega-menu__nav {
		position: absolute;
		top: 100%;
		left: 0;
		display: none;
		width: 100%;
		padding: 14px 16px 18px;
		border-top: 1px solid rgba(20, 29, 45, 0.08);
		background: #ffffff;
		box-shadow: 0 20px 36px rgba(20, 29, 45, 0.12);
	}

	.pontos-mega-menu--open .pontos-mega-menu__nav {
		display: block;
	}

	.pontos-mega-menu__link {
		justify-content: space-between;
		width: 100%;
	}

	.pontos-mega-menu__panel {
		position: static;
		display: none;
		width: 100%;
		margin-top: 8px;
		padding: 16px;
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		transform: none;
		box-shadow: none;
	}

	.pontos-mega-menu__item--open .pontos-mega-menu__panel {
		display: block;
	}

	.pontos-mega-menu__item--hover .pontos-mega-menu__panel {
		display: block;
	}

	.pontos-mega-menu__item--has-panel:hover .pontos-mega-menu__panel {
		display: none;
	}

	.pontos-mega-menu__item--open:hover .pontos-mega-menu__panel {
		display: block;
	}

	.pontos-mega-menu__panel-intro {
		margin-bottom: 16px;
	}

	.pontos-mega-menu__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.pontos-mega-menu__inner {
		width: min(100% - 24px, 1180px);
	}

	.pontos-mega-menu__brand {
		font-size: 19px;
	}

	.pontos-mega-menu__panel-intro h3 {
		font-size: 22px;
	}
}
