/* ============================================
   HEADER - Estilo baseado no design
   ============================================ */

.site-header {
	background-color: #FFFFFF;
	padding: 1rem 0;
	border-bottom: none;
}

.site-header .site-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
}

/* Logo */
.site-branding {
	flex-shrink: 0;
}

.logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.logo-link:hover {
	opacity: 0.8;
}

.site-logo {
	height: 35px;
	width: auto;
	display: block;
}

/* Navegação */
.main-navigation {
	flex: 1;
	display: flex;
	position: relative;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 2rem;
	align-items: center;
	margin: 0;
	padding: 0;
	position: relative;
	margin-left: 1.25rem;
}

.nav-menu li {
	margin: 0;
	position: relative;
}

/* Submenus */
.nav-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #fff;
	min-width: 200px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	padding: 0.5rem 0;
	margin-top: 0;
	padding-top: 0.75rem;
	z-index: 1000;
	list-style: none;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li.menu-item-has-children:hover > .sub-menu {
	display: block;
}

/* Cria uma área "ponte" invisível para manter o hover ativo */
.nav-menu li.menu-item-has-children::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 0.75rem;
	background: transparent;
	z-index: 999;
}

.nav-menu .sub-menu li {
	margin: 0;
	width: 100%;
}

.nav-menu .sub-menu a {
	padding: 0.75rem 1.5rem;
	color: #333;
	display: block;
	transition: background-color 0.3s ease, color 0.3s ease;
	border-bottom: none;
}

.nav-menu .sub-menu a:hover {
	background-color: #f5f5f5;
	color: #A71680;
}

.nav-menu .sub-menu .sub-menu {
	top: 0;
	left: 100%;
	margin-top: 0;
	margin-left: 0.5rem;
}

.nav-menu a {
	text-decoration: none;
	color: #B0B0B0;
	font-size: 0.95rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: color 0.3s ease;
	padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
	color: #A71680;
}

.nav-menu a.active {
	color: #A71680;
}

.dropdown-icon {
	font-size: 0.65rem;
	transition: transform 0.3s ease;
	display: inline-flex;
	align-items: center;
}

.nav-menu a:hover .dropdown-icon,
.nav-menu a.active .dropdown-icon {
	transform: rotate(180deg);
}

/* Ações do Header */
.header-actions {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-shrink: 0;
}

.header-phone {
	color: #B0B0B0;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
	white-space: nowrap;
	transition: color 0.3s ease;
}

.header-phone:hover {
	color: #000;
}

/* Botão CTA */
.btn-cta {
	background-color: #A71680;
	color: #fff;
	padding: 0.75rem 1.5rem;
	border-radius: 25px;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	white-space: nowrap;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cta:hover {
	background-color: #8B1269;
	transform: translateY(-1px);
	color: #fff;
}

/* Botão Login */
.btn-login {
	background-color: transparent;
	color: #B0B0B0;
	padding: 0.75rem 1.5rem;
	border: 1px solid #B0B0B0;
	border-radius: 25px;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	white-space: nowrap;
	transition: all 0.3s ease;
}

.btn-login:hover {
	color: #000;
	border-color: #000;
	background-color: rgba(0, 0, 0, 0.05);
}

/* Menu Toggle Mobile */
.menu-toggle {
	display: none;
	background: transparent;
	border: 2px solid #B0B0B0;
	color: #000;
	padding: 0;
	cursor: pointer;
	border-radius: 8px;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.menu-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Responsive */
@media (max-width: 1200px) {
	.nav-menu {
		gap: 1.5rem;
	}
	
	.btn-cta {
		padding: 0.65rem 1.25rem;
		font-size: 0.9rem;
	}
	
	.btn-login {
		padding: 0.65rem 1.25rem;
		font-size: 0.9rem;
	}
}

@media (max-width: 1024px) {
	.header-phone {
		display: none;
	}
	
	.nav-menu {
		gap: 1rem;
	}
}

@media (max-width: 768px) {
	.site-header {
		padding: 1rem 0;
	}
	
	.site-header .site-container {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 1rem;
		align-items: center;
		row-gap: 1rem;
	}

	.site-branding {
		grid-column: 1;
		grid-row: 1;
		display: flex;
		align-items: center;
	}

	.main-navigation {
		grid-column: 2;
		grid-row: 1;
		position: relative;
		width: auto;
		margin: 0;
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}

	.menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		padding: 0;
		border-radius: 8px;
		transition: all 0.3s ease;
		background-color: transparent;
		border: 2px solid #B0B0B0;
		position: relative;
		flex-shrink: 0;
		margin: 0;
	}

	.menu-toggle:hover {
		background-color: #f8f8f8;
		border-color: #A71680;
	}

	.menu-toggle.active {
		background-color: #A71680;
		border-color: #A71680;
	}

	.menu-toggle .menu-icon {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 15px;
		height: 16px;
		position: relative;
		transition: all 0.3s ease;
	}

	.menu-toggle .menu-icon i {
		font-size: 1.25rem;
		color: #333;
		transition: all 0.3s ease;
	}

	.menu-toggle:hover .menu-icon i,
	.menu-toggle.active .menu-icon i {
		color: #A71680;
	}

	.menu-toggle.active .menu-icon i {
		color: #fff;
	}

	.header-actions {
		grid-column: 1 / -1;
		grid-row: 2;
		gap: 0.5rem;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
	}

	.nav-menu {
		display: none;
		flex-direction: column;
		width: 100vw;
		gap: 0;
		background-color: #fff;
		padding: 0;
		border-radius: 0;
		margin: 0;
		border: none;
		border-top: 1px solid #e0e0e0;
		position: fixed;
		left: 0;
		right: 0;
		z-index: 9999;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateX(0);
	}

	.main-navigation.toggled .nav-menu {
		display: flex;
		animation: slideDown 0.3s ease;
	}

	/* Ajusta o body quando menu está aberto */
	body.menu-open {
		overflow: hidden;
	}

	@keyframes slideDown {
		from {
			opacity: 0;
			transform: translateY(-10px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	.nav-menu > li {
		border-bottom: 1px solid #e0e0e0;
		margin: 0;
		width: 100%;
	}

	.nav-menu > li:last-child {
		border-bottom: none;
	}

	.nav-menu > li > a {
		padding: 1.25rem 1.5rem;
		border-bottom: none;
		justify-content: space-between;
		align-items: center;
		font-weight: 500;
		color: #333;
		transition: background-color 0.2s ease, color 0.2s ease;
		width: 100%;
		box-sizing: border-box;
		white-space: normal;
		word-wrap: break-word;
	}

	.nav-menu > li > a:hover {
		background-color: #f8f8f8;
		color: #A71680;
	}

	.nav-menu > li.menu-item-has-children > a {
		cursor: pointer;
	}

	.nav-menu > li.menu-item-has-children.active > a {
		background-color: #f8f8f8;
		color: #A71680;
	}

	.nav-menu > li.menu-item-has-children.active > a .dropdown-icon {
		transform: rotate(180deg);
	}

	/* Submenus no mobile */
	.nav-menu .sub-menu {
		display: none;
		position: static;
		box-shadow: none;
		background-color: #f8f8f8;
		margin-top: 0;
		border-radius: 0;
		padding: 0;
		width: 100%;
		border-top: 1px solid #e0e0e0;
		overflow: hidden;
	}

	.nav-menu li.menu-item-has-children.active > .sub-menu {
		display: block;
	}

	.nav-menu .sub-menu li {
		border-bottom: 1px solid #e8e8e8;
	}

	.nav-menu .sub-menu li:last-child {
		border-bottom: none;
	}

	.nav-menu .sub-menu a {
		padding: 1rem 1.5rem 1rem 2.5rem;
		font-size: 0.9rem;
		color: #666;
		transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
		white-space: normal;
		word-wrap: break-word;
		width: 100%;
		box-sizing: border-box;
	}

	.nav-menu .sub-menu a:hover {
		background-color: #f0f0f0;
		color: #A71680;
		padding-left: 2.75rem;
	}

	.nav-menu .sub-menu .sub-menu a {
		padding-left: 3.5rem;
	}

	.nav-menu .sub-menu .sub-menu a:hover {
		padding-left: 3.75rem;
	}

	.btn-cta {
		padding: 0.6rem 1rem;
		font-size: 0.8rem;
		white-space: nowrap;
	}

	.btn-login {
		padding: 0.6rem 1rem;
		font-size: 0.8rem;
		white-space: nowrap;
	}

	.site-logo {
		height: 32px;
	}
	
	.header-phone {
		display: none;
	}
}

@media (max-width: 480px) {
	.header-actions {
		width: 100%;
		justify-content: space-between;
	}
	
	.btn-cta {
		flex: 1;
		text-align: center;
		font-size: 0.75rem;
		padding: 0.5rem 0.75rem;
	}
	
	.btn-login {
		flex: 0 0 auto;
		font-size: 0.75rem;
		padding: 0.5rem 0.75rem;
	}
}

/* Hero base */
.inner-hero {
	position: relative;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	min-height: 480px;
	height: 480px;
	border-radius: 0;
	overflow: hidden;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

/* Container interno do hero (centraliza o conteúdo) */
.inner-hero__container {
	position: relative;
	z-index: 1;
	max-width: 1266px;
	margin: 0 auto;
	padding: 48px 64px 90px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	min-height: 100%;
}

/* Overlay com gradiente */
.inner-hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: url('../../assets/images/hero-overlay.png') no-repeat center center;
	background-size: cover;
	z-index: 0;
}

/* Breadcrumb */
.inner-hero__breadcrumb {
	color: #ffffff;
	font-size: 1rem;
	margin-top: 25px;
	margin-bottom: 1rem;
	max-width: 1384px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
	position: relative;
	z-index: 1;
}

.breadcrumb-link {
	color: #ffffff;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.breadcrumb-link:hover {
	opacity: 0.8;
}

.breadcrumb-separator {
	color: #ffffff;
	margin: 0 0.5rem;
}

.breadcrumb-current {
	color: #ffffff;
}


.inner-hero__content {
	max-width: 440px;
	width: 100%;
	text-align: left;
	margin-bottom: 128px;
}

.inner-hero__title {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
	color: #ffffff;
}

.inner-hero__subtitle {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	color: #ffffff;
}

/* Tabs do Hero Interno */
.inner-hero__tabs {
	margin-top: auto;
	margin-left: 14px;
	width: 100%;
}

.inner-tabs {
	display: flex;
	align-items: center;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 14px 10px;
	background: url('../../assets/images/hero-inner-tabs.png') no-repeat center center;
	border-radius: 36px;
	width: 100%;
	max-width: 1148px;
	height: 72px;
	justify-content: space-around;
	overflow: hidden;
}

.inner-tabs__item {
	margin: 0;
	padding: 0;
	flex: 0 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.inner-tabs__item--separator::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 55px;
	background-color: rgba(0, 0, 0, 0.2);
}

.inner-tabs__link {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border-radius: 36px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	transition: all 0.3s ease;
	white-space: nowrap;
	height: 56px;
	color: #ffffff;
	cursor: pointer;
	min-width: fit-content;
}

.inner-tabs__item--active .inner-tabs__link {
	background-color: #ffffff;
	color: #0066CC;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hover para tabs inativos */
.inner-tabs__item:not(.inner-tabs__item--active) .inner-tabs__link:hover {
	background-color: rgba(255, 255, 255, 0.15);
	color: #ffffff;
}

/* Hover para tab ativo */
.inner-tabs__item--active .inner-tabs__link:hover {
	background-color: #f8f8f8;
	color: #0052A3;
}

/* Responsive - Tabs do Hero */
@media (max-width: 1024px) {
	.inner-tabs {
		max-width: 100%;
		padding: 6px;
		height: 64px;
	}
	
	.inner-tabs__link {
		padding: 10px 16px;
		font-size: 12px;
		height: 52px;
	}
}

@media (max-width: 768px) {
	.inner-hero__tabs {
		padding-top: 1.5rem;
	}
	
	.inner-tabs {
		height: 60px;
		padding: 6px;
		border-radius: 30px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none; /* Firefox */
		-ms-overflow-style: none; /* IE e Edge */
		justify-content: flex-start;
		gap: 0.5rem;
	}
	
	/* Esconde scrollbar no Chrome/Safari */
	.inner-tabs::-webkit-scrollbar {
		display: none;
	}
	
	.inner-tabs__item {
		flex: 0 0 auto;
		min-width: auto;
	}
	
	.inner-tabs__link {
		padding: 10px 14px;
		font-size: 11px;
		height: 48px;
		white-space: nowrap;
	}
}

@media (max-width: 480px) {
	.inner-tabs {
		height: 56px;
		padding: 4px;
		border-radius: 28px;
	}
	
	.inner-tabs__link {
		padding: 8px 12px;
		font-size: 10px;
		height: 48px;
		letter-spacing: 0.2px;
	}
}